필터 지우기
필터 지우기

HDL System Blockset FPGA design generation Error

조회 수: 2 (최근 30일)
Shady
Shady 2022년 8월 4일
댓글: Shady 2022년 9월 15일
I am trying to downsample my data in FPGA using xilinx SoC blockset. I downsampled data using FIR Filters and downsampler and it downsamples correctly as I can see using color legends in simulink and data is also downsampled in simulation but when I tried to compile it using SoC Buiilder it gave me this error "HDL System Blockset FPGA design generation requires all input and output ports use the same sample rate" so I applied some Multirate SoC Design techniques which involved using rate transition blocks. In simulation it shows correct data recieved at processor side but after making the bitfile and running on hardware the data after conversion from u32 to comlpex doesn't make sense like it is neither noisy data nor actual data it is some thing else. i am posting screenshot of my design and data output
Above mentioned is design and below is Actual Output and Simulated Ouput
Kindly help in this regard is this downsampling issue or transition block issue.
Currently I am trying to compile it using HDL Workflow Advisor it is giving me this error

채택된 답변

Chandra Adusumalli
Chandra Adusumalli 2022년 8월 11일
Hi Shady,
Please use proper downsampler for data and use same rate trantition block for valid and ready signals in your design. Then, generate the bit file and try it on hardware.
For hdl workflow adviser error, you need to run the HWA on DUT model only and not on FPGA model. Run the HWA on DUT model itself.
  댓글 수: 1
Shady
Shady 2022년 9월 15일
Thank you for replying. I figured it out by using Upsampler(inserting 0 for N-1 cycles) before sending data into FIFO this way it removed that error of "HDL System Blockset FPGA design generation requires all input and output ports use the same sample rate". But it was using much resources moreover Filter repsonse using Auto Coefficients was not good so I used this example and it helped alot.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 FPGA, ASIC, and SoC Development에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by