buffering without using a buffer
7 views (last 30 days)
Show older comments
is there a way to buffer a continuous string of integers with out using a buffer. i am using a MATLAB function block to store integers in a vector and then outputting the vector to the input of a reed-solomon encoder. however i can not seem to get it to work. the next question i have is: is it possible to use a reed-solomon in sample mode as apposed to frame mode. this is all to by-pass the VHDL code generating limitations associated with frame-based modeling.
thanks srussell22
0 Comments
Answers (2)
Tim McBrayer
on 1 Jun 2015
If you are targeting VHDL via HDL Coder you will need some form of storage for your data; it has to be kept somewhere. The simplest to implement might be an Integer Delay block of the appropriate length. A second is to use a HDL FIFO, which will give you more control than the simple Delay block. Another option is to design using a RAM block to store your data. A fourth option, depending on your hardware setup, is to store the data in an external RAM (not part of your HDL design) and feed the data sequentially into your encoder.
0 Comments
See Also
Categories
Find more on HDL Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!