buffering without using a buffer

7 views (last 30 days)
stephen russell
stephen russell on 15 Mar 2014
Answered: Tim McBrayer on 1 Jun 2015
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

Answers (2)

Ahmed
Ahmed on 31 May 2015
Try to use a Mux block to buffer and Demux block to unbuffer

Tim McBrayer
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.

Community Treasure Hunt

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

Start Hunting!