Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
1084 Discussions

DSP builder blocks for simulink models

Honored Contributor II

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

0 Kudos
2 Replies
Honored Contributor II

Please give an specificer description of your problem.

Honored Contributor II



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) 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....