Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
756 Views

Problem with DSPB Input

Hello All, 

 

The input block of DSBP is connected to the input block (to the output) of SIMULINK. The SIMULINK input block takes a row vector of 16 elements, but the DSPB input block throws an error saying that the input should be a 1 dimensional vector with 1 element.  

Hence, please let me as how do i make the DSPB input block to accept 16 elements in one take. 

 

Best Regards, 

Anitha
0 Kudos
3 Replies
Altera_Forum
Honored Contributor I
32 Views

You need to use the Simulink Demux block to break up the vector input into multiple signals. You will then have to create multiple Input blocks to feed these into.

Altera_Forum
Honored Contributor I
32 Views

Expect for the input and output blocks, I cannot use any other SIMULINK blocks in the model as they are not synthesizable into the FPGA. All I can use the DSPB blocks and hence the issue as mentioned earlier.  

Thanks in advance.
Altera_Forum
Honored Contributor I
32 Views

You can use other simulink blocks so long as they are not in the synthesizable part of the design. The DSPB Input and Output blocks delimit what will be synthesized, so put the Demux on the "simulink" side of the input block to achieve what you want. 

 

It's hard to be specific without a model.
Reply