Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
1175 Discussions

DSP builder blocks for simulink models

Altera_Forum
Honored Contributor II
1,153 Views

Does anyone know how to use DSP builder blocks(input and output blocks) in simulink model......

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
466 Views

Please give an specificer description of your problem.

0 Kudos
Altera_Forum
Honored Contributor II
466 Views

Hello, 

 

I want to convert this above simulink model to vhdl by using dsp builder blocks (top part is simulink and down part is with dsp builder blocks). 

 

In this model 'p' is a square matrix (for example 4x4 matrix). 'p1' is column vector (4x1 matrix). Subtract each column of P from p1. Calculate the norm 2. 

 

Then I got a vector of column vector (4x1).After this step i want to calculate the minimum value and corresponding index in this column vector. 

 

Here out1 stores the index value. Finally i want to display that index value in lcd display on altera DE2 kit. 

 

one more thing is that i am also facing problems with configuration parameter settings (stop time)...so could you please check and specify that also... 

 

Do you know any other methods to convert the simulink model into VHDl code...if so please specify those methods and the steps that i need to follow..... 

 

Anyways thanks for your reply.... 

 

 

 

Gupta..... 

 

 

http://i37.tinypic.com/2wf2wp3.jpg
0 Kudos
Reply