- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm facing a problem with my Qsys generated testbench. I generated a VHDL testbench from Qsys. In Qsys I used three own components and one clock input, all connected using Avalon Streaming Interface. I checked all signals and connections. When I start the testbench in ModelSim, it compiles and then gives a warning that all my components are not bound in the testbench file. Afterwards nothing happens in the simulation as not component is actually simulated. I checked the ModelSim script and the compile order is ok, I also compiled the VHDL files of my components myself in ModelSim and all is fine. What is the reason I get these warnings?# Loading testbench_inst.testbench(rtl)# ** Warning: (vsim-3473) Component instance "avalon_sink_tb_0 : testbench_Avalon_Sink_TB_0" is not bound.# Time: 0 ps Iteration: 0 Instance: /testbench_tb/testbench_inst File: ./../testbench_tb/simulation/submodules/testbench.vhd# ** Warning: (vsim-3473) Component instance "avalon_sink_tb_1 : testbench_Avalon_Sink_TB_1" is not bound.# Time: 0 ps Iteration: 0 Instance: /testbench_tb/testbench_inst File: ./../testbench_tb/simulation/submodules/testbench.vhd# ** Warning: (vsim-3473) Component instance "avalon_source_tb_0 : testbench_Avalon_Source_TB_0" is not bound.# Time: 0 ps Iteration: 0 Instance: /testbench_tb/testbench_inst File: ./../testbench_tb/simulation/submodules/testbench.vhd# ** Warning: (vsim-3473) Component instance "distribution_pixel_0 : testbench_Distribution_Pixel_0" is not bound.# Time: 0 ps Iteration: 0 Instance: /testbench_tb/testbench_inst File: ./../testbench_tb/simulation/submodules/testbench.vhd
Quartus 15.1 and ModelSim 10.3, target device: CycloneV SOC
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you told modelsim that the test bench is the top level entity? Also, does you test bench instantiate your design and map the ports to your test bench?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, you are correct. The TCL file for the components in Qsys were missing the definition of the top level entity for the simulation file set (why can I set the top level entity for synthese in Qsys and for simulation not?). I fixed this and now ModelSim runs the simulation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That makes sense. The TCL file can't be created with the top level because the test bench doesn't exist if you didn't tell the tool to create one when building the component.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page