How to serialize an HDL Coder function with a vector input ?

6 visualizzazioni (ultimi 30 giorni)
Hello,
I have a function that I want to convert to HDL code.
The function input is a vector containing around 3000 elements. But when I convert the code and get the resource report, the number of I/O bits is too large for the FPGA to handle, so I read that I should instead feed the vector element by element to reduce the number of I/O bits. I searched in the workflow advisor but didn't manage to find anything to do that. So what is the proper way to do this ?
Thanks in advance

Risposta accettata

Kiran Kintali
Kiran Kintali il 23 Feb 2020
You can use mlhdlc_heq.m and mlhdlc_heq_tb.m example files on how to serialize input passed to the design. Thanks.
  3 Commenti
Abdulaziz Alharbi
Abdulaziz Alharbi il 24 Feb 2020
Nevermind, I think I figured it out.
Thank you very much.
SAI DHRUVA
SAI DHRUVA il 13 Lug 2022
Sir, I'm too facing the same problem. I need to serialise huge vector of elements. Could you please tell me how did you figure it out ? It would be very helpful, sir.

Accedi per commentare.

Più risposte (1)

Kiran Kintali
Kiran Kintali il 13 Lug 2022
Can you share you algorithm? You would need to share a design.m and a testbech.m files.
Thanks

Tag

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by