Forum Discussion
How to simulate an inertial delay in ModelSim?
I am attempting to simulate an inertial delay in ModelSim. The code compiles in Quartus II; however, the delays in my code are not showing up in the simlation. I assume it is a configuration issue, but I have not found any tutorials on how to set Quartus and ModelSim up to account for intertial delays. The software is Quartus II 12.0 WE and ModelSim ASE 10d.
A simple case of what I'd like to simulate is: A <= B or C after 5 ns; During the simulation, the output A receives the "OR" of B and C, but the change is instant. There is no 5 ns delay. Any How To's are appreciated.17 Replies
- Altera_Forum
Honored Contributor
NOT port still not implemented and no warnings! this is puzzling me..
I did from settings> "Remove redundant logic cells" , "off" "Ignore LCELL buffers", "off" "PowerPlay optimization", "off" How do I specify not to optimize the logic in block design file ? Thanks! - Altera_Forum
Honored Contributor
0 error, 0 warnings
but NOT gate is not implemented.. :cry: here attached the messages while executing. regards - Altera_Forum
Honored Contributor
Note gates are often implemented by inverting the input to a cell, so are basically "free". You will need to force an LCELL or some other logic.
- Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
I would say this is pretty telling:
--- Quote Start --- Info (17016): Found the following redundant logic cells in design Info (17048): Logic cell "inst4" Info (17048): Logic cell "inst6" Info (17048): Logic cell "inst7" Info (17048): Logic cell "inst8" Info (17048): Logic cell "inst11" Info (17048): Logic cell "inst10" Info (17048): Logic cell "inst9" Info (17048): Logic cell "inst3" Info (17048): Logic cell "inst4" Info (17048): Logic cell "inst6" Info (17048): Logic cell "inst7" Info (17048): Logic cell "inst8" Info (17048): Logic cell "inst11" Info (17048): Logic cell "inst10" Info (17048): Logic cell "inst9" Info (17048): Logic cell "inst3" --- Quote End --- Because they are redundant, they will be removed during synthesis. - Altera_Forum
Honored Contributor
Hi Tricky, I did suppress optimization which is removing redundant cell, indeed on the Map Viewer all the LCELL are implemented - see screenshot.
The problem is the NOT gate is not implemented.. how come? Maybe has to do with NOT inserted in a loop of LCELL? Hope to understand how to solve this! Thanks a lot for your suggestions so far! - Altera_Forum
Honored Contributor
Hi all i was not able to solve the previous issue with simulating delay through a network of LCELL in Altera ModelSim.
I am now using Program VWF tool from "New" as a simulation waveform editor to run functional simulation. I will update here when I find the way to simulate delays in the initial simple circuit with ModelSim