Parallelise data coming out of RAM Simulink

1 visualizzazione (ultimi 30 giorni)
arbalt
arbalt il 14 Lug 2022
I am writing data words into a RAM. The data words are 128-bits long. What I want to do is to wait until 512 data words have been read out and then send these onto a Matlab function block which is do some processing of the 512-element wide array.
I thought about using the deserialiser block, however the deserialiser block with a rate transition is not being able to be generated into HDL code (as the HDLcoder tool gets stuck and Matlab freezes). Is there are way to do this in a more simple fashion?

Risposte (1)

Bharath Venkataraman
Bharath Venkataraman il 14 Lug 2022
What kind of processing do you want to do on the 512-element array? For an HDL implementation, it makes sense to work on a single word at a time rather than the entire array. So you want to make your algorithm working on the streaming 128-bit word input instead of expecting to have access to all 512 elements.

Categorie

Scopri di più su Code Generation in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by