buffering without using a buffer

조회 수: 8 (최근 30일)
stephen russell
stephen russell 2014년 3월 15일
답변: Tim McBrayer 2015년 6월 1일
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

답변 (2개)

Ahmed
Ahmed 2015년 5월 31일
Try to use a Mux block to buffer and Demux block to unbuffer

Tim McBrayer
Tim McBrayer 2015년 6월 1일
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.

카테고리

Help CenterFile Exchange에서 Code Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by