필터 지우기
필터 지우기

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

조회 수: 30 (최근 30일)
Jaykishan Solanki
Jaykishan Solanki 2024년 7월 8일 5:43
편집: akshatsood 2024년 7월 15일 12:04
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.

답변 (1개)

akshatsood
akshatsood 2024년 7월 15일 12:02
편집: akshatsood 2024년 7월 15일 12:04
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.

카테고리

Help CenterFile Exchange에서 Transforms에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by