Forum Discussion
Altera_Forum
Honored Contributor
17 years agoDSP Builder to ModelSim
Hi , im just perform RTL simulations with the ModelSim software. I add a TestBench block to my DSP builder model. Then I get the following error: # ** Error: (vsim-3817) Formal port "clk" decl...
Altera_Forum
Honored Contributor
17 years ago --- Quote Start --- I should have clarified it's the name of the entity in the file not the file itself that will clash. In your original log you have tb_dpt2, which seems to indicate your original model was called dpt2. It also references DSPBuilder_dpt2_import/dpt2.vho, which would indicate you imported a file called dpt2.vhd via HDL Import. Also you might have some stale files around. Try deleting the DSPBuilder_dpt2_import and tb_dpt2 directories and regenerate. --- Quote End --- thank you very much! i got this problem solved!! in the model, i set the inputs through the matlab function blockset with function defined as: double(rgb2gray(imread('pic.tif'))) but why cant this value been shown in the modelsim?