HDL coder buffer design in Simulink

6 views (last 30 days)
Hi;
How can I Design Buffer in HDL coder by using simulink.
Regards

Accepted Answer

Bharath Venkataraman
Bharath Venkataraman on 11 Jun 2015
Edited: Bharath Venkataraman on 11 Jun 2015
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 Comments
Catteau Ophélie
Catteau Ophélie on 22 Mar 2021
Can you explain please how to do with RAM and counter block ?
Thank you
Bharath Venkataraman
Bharath Venkataraman on 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.

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!