Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

i need a help to generate hdl code from simulink model

Status
Not open for further replies.

thenmozhigtm

Newbie level 1
Joined
Feb 14, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
my project is adaptive noise cancellation...i've used NLMS algorithm for filteringand the input is a sound file...when i tried to generate hdl code using simulink hdl coder following errors are shown: 'Frame based models are not supported in this release.' 'Matrices are not supported in this release.' 'LMS block only supports fixed point inputs on the Input and Desired ports.' 'Normalized mode of the LMS block is not supported.'...these errors are shown..plz help me to generate hdl code from my model and suggest if there are any changes to be done...i attach my simulink model here... simulink model.jpg...plz help me....my email id is thenmozhi.g1990@gmail.com
 

Ok
This is the problem with tools like this - it can be easy to think that because you have an HDL coder, then you should be able to put your code on an FPGA right? wrong.

Basically, you need to re-engineer the algorithm so that its in a suitable format to go onto an FPGA.
1. It needs to be fixed point
2. It needs to be streaming, rather than frame based
3. like it says, no matrices

So if you can fix all that away you go.

I suggest you start by learning a bit about FPGAs and how they work. Its not as simple as using HDL coder from any old model (whatever mathworks want you to think).
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top