buffering without using a buffer

4 vues (au cours des 30 derniers jours)
stephen russell
stephen russell le 15 Mar 2014
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

Réponses (2)

Ahmed
Ahmed le 31 Mai 2015
Try to use a Mux block to buffer and Demux block to unbuffer

Tim McBrayer
Tim McBrayer le 1 Juin 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.

Catégories

En savoir plus sur Code Generation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by