Forum Discussion
Altera_Forum
Honored Contributor
18 years agoWow...I don't know how to express my appreciation! Thanks very very very much for all you replies.
I'm a newer in QuartusII & Modelsim! I have lots of question need answer. :( Today, I got another question: How to write testbench so that I can observe signals of sub-module during modelsim post-simulation? My system is NiosII system, and I integreted a custom IP into the NiosII system. In modelsim, I create a testbench for top-level module automatically. Then I add stimulus in the testbench. But I hope to observe my custom IP signals to check if it's correct. How could I do? My idea is that: Create another testbench for custom IP and check the signals. But is doing this way, another two problems come up: 1. Due to modelsim post-simulation, so the custom IP testbench is based on post-fitting netlist file, the signals become hard to observe and check. 2. In modelsim, as I know, if I want to apply '*.sdo' during simulation, I have to select the design entity(means top-level entity, right?) the corresponds to the standard delay format output file. which means that if I want to apply '*.sdo', I could only simulate top-level entity, am I right?? If yes, how could I integreted testbench files while applying '*.sdo' in modelsim post-simulation. If no, could you kindly figure out where I understand wrong. Happy Christmas and Thanks again.