Réponse acceptée

Bharath Venkataraman
Bharath Venkataraman le 11 Juin 2015
Modifié(e) : Bharath Venkataraman le 11 Juin 2015

0 votes

You can use the HDL FIFO block. If that does not meet your needs, there are RAM and counter blocks available in Simulink. You can uses these to build a FIFO.

2 commentaires

Catteau Ophélie
Catteau Ophélie le 22 Mar 2021
Can you explain please how to do with RAM and counter block ?
Thank you
Bharath Venkataraman
Bharath Venkataraman le 26 Mar 2021
I need more info on what exactly you are trying to do.
Depending on what you need to do specifically, a simple approach is to write data into the RAM with incremental write address and read it out with a read address that is configured to read out the data from the RAM in the order you desire.
If what you are hoping is to combine a number of successive values and send them out in one shot, you can simply use enabled registers to store the data and send them out together.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Code Generation dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by