Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- How Can I get modelsim to use 1ns for a time interval for simulation rather than something in the Pico second range? Are there any other methods for speeding up simulation? It takes 45 minuts to get to 1ms as of now and I need to look at the design later on but I do not have time to wait. I'm using v6.5 PE --- Quote End --- Verilog or VHDL? vsim -t 1 ns .... will set the timescale to 1ns. But for Verilog it might complain about the files themselves having timescales set. Can you figure out what is taking so long? Look at your code and think about how the simulator will run it. Can you optimize it? For example, is there needless calls to functions or tasks? (Needless in that a single call to a function or task can be used to initialize a constant, and then the simulation use that constant). Cheers, Dave