Forum Discussion
DSP builder jammed
hi,
every time that i click COMPILE on the Signal Compiler dialog box my simulink, matlab and other window that are related will be jammed and not responding. i couldnt figure out why and this really give me a big headache...can someone help???? thanks :(23 Replies
- Altera_Forum
Honored Contributor
erm..whats TestBench block?
- Altera_Forum
Honored Contributor
The TestBench Block is used to compare the results of simulation in Simulink against Modelsim. It's in the AltLab library where you would have found the Signal Compiler Block.
- Altera_Forum
Honored Contributor
i just tried, when i click on the button Compare Against HDL..the same thing happened. the entire thing jammed again. :(
- Altera_Forum
Honored Contributor
I forgot to ask earlier, does simulation work for you in 2006a? The first thing Signal Compiler and TestBench does is to try and resolve the types in your design. It does this by doing the equivalent of Ctrl+D (update diagram) on your design.
If this step fails then there might be problems. If you can simulate a design without any error messages then this is not likely to be the problem. After it finds all the port sizes, it creates a file called <model>.mdlxml where <model>.mdl is the name of your model file. Does this file exist? - Altera_Forum
Honored Contributor
the simulation is fine. i press on the play button (start simulation) then i get my graph by clicking the scope.
i do find the <model>.mdl file - Altera_Forum
Honored Contributor
But not the mdlxml file?
- Altera_Forum
Honored Contributor
ya. unfortunately not the mdlxml file. the file does not exist...
- Altera_Forum
Honored Contributor
Ok now can you try the following command:
alt_dspbuilder_mdl2xml <modelname> At the end of running this command, do you have a .mdlxml file? Does it hang? - Altera_Forum
Honored Contributor
ya, it hang again. what should i do?
- Altera_Forum
Honored Contributor
I'm at a bit of a loss. Unfortunately this command is compiled as a .p file, so you can't step through it and find the point where it fails. I might try and get you a version of this file that can print a trace out, but you'll have to give me a little time.