Filter löschen
Filter löschen

Unable to see FFT output in co-simulation after HDL conversion.

1 Ansicht (letzte 30 Tage)
Jaykishan Solanki
Jaykishan Solanki am 8 Jul. 2024
Bearbeitet: akshatsood am 15 Jul. 2024
I have converted the following simulink model to VHDL:
modelname = 'FFTHDLOptimizedExample_Streaming';
open_system(modelname);
The issue I am facing is that after conversion to hdl when I do co-simulationm, I am only seeing clock pulses for hdl output, is there any way i can see the fft output for hdl.
I want to see the fft output in co-simulation such that i see simulink model output first, followed by hdl output (fft wanted) and lastly the error between them.

Antworten (1)

akshatsood
akshatsood am 15 Jul. 2024
Bearbeitet: akshatsood am 15 Jul. 2024
I understand that you are performing a co-simulation and are unable to locate the FFT output. Since I have limited information about your model setup and the steps you have followed, I recommend consulting the MathWorks documentation titled "Set Up for HDL Cosimulation," which can be accessed from the link below:
This documentation outlines the requirements for co-simulating your HDL code with your Simulink design.
Moreoever, I suggest reviewing the example "Fixed-point Viterbi Decoder". This example demonstrates how to build a Simulink model, generate HDL code, launch an HDL simulator, and conclude with running the co-simulation and comparing the BER results for both Simulink and HDL simulation. This example seems to align with the requirements specified in your question. Please access it using the link below:
I hope this helps.

Produkte


Version

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by