Azzera filtri
Azzera filtri

HDL System Blockset FPGA design generation Error

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Chandra Adusumalli
Chandra Adusumalli il 11 Ago 2022
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 Commento
Shady
Shady il 15 Set 2022
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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su FPGA, ASIC, and SoC Development in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by