buffering without using a buffer

4 visualizzazioni (ultimi 30 giorni)
stephen russell
stephen russell il 15 Mar 2014
Risposto: Tim McBrayer il 1 Giu 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

Risposte (2)

Ahmed
Ahmed il 31 Mag 2015
Try to use a Mux block to buffer and Demux block to unbuffer

Tim McBrayer
Tim McBrayer il 1 Giu 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.

Categorie

Scopri di più su Code Generation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by