HDL System Blockset FPGA design generation Error

1 vue (au cours des 30 derniers jours)
Shady
Shady le 4 Août 2022
Commenté : Shady le 15 Sep 2022
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

Réponse acceptée

Chandra Adusumalli
Chandra Adusumalli le 11 Août 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 commentaire
Shady
Shady le 15 Sep 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur FPGA, ASIC, and SoC Development dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by