Parallelise data coming out of RAM Simulink

1 Ansicht (letzte 30 Tage)
arbalt
arbalt am 14 Jul. 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?
  1 Kommentar
Benjamin Thompson
Benjamin Thompson am 14 Jul. 2022
Can you post the Simulink model files instead just the picture?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Bharath Venkataraman
Bharath Venkataraman am 14 Jul. 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.

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by