Electronics > Beginners
how to change run length at ModelSim.
(1/1)
hatokay:
hey guys, dose someone has any idea how to change the run length time at the software ModelSim form ns (nano seconds) to ps (pico seconds).
i have 10.4a version and i have the run length thing stuck on ns when i need ps.
thx for the help.
Bassman59:
--- Quote from: hatokay on January 04, 2019, 04:04:21 pm ---hey guys, dose someone has any idea how to change the run length time at the software ModelSim form ns (nano seconds) to ps (pico seconds).
i have 10.4a version and i have the run length thing stuck on ns when i need ps.
thx for the help.
--- End quote ---
That's not the "run length." That's the simulator resolution.
Create a Simulation Configuration. (Right-click in the Project area, choose "Add To Project," choose "Simulation Configuration.") Give your configuration a name. Choose the top-level entity and architecture (generally your test bench file's entity). You should see "Resolution" in the lower-right corner. It is usually set to "Default." Change it to whatever you like.
When you double-click on a Simulation Configuration, the vsim command is executed. But the simulation has not started running yet. Add signals to the waveform viewer and the type
run {runtime}
into the transcript/terminal window. You can give that run time any units you like, like for instance run 10 ms simulates the first 10 milliseconds.
hatokay:
--- Quote from: Bassman59 on January 04, 2019, 11:26:39 pm ---
--- Quote from: hatokay on January 04, 2019, 04:04:21 pm ---hey guys, dose someone has any idea how to change the run length time at the software ModelSim form ns (nano seconds) to ps (pico seconds).
i have 10.4a version and i have the run length thing stuck on ns when i need ps.
thx for the help.
--- End quote ---
That's not the "run length." That's the simulator resolution.
Create a Simulation Configuration. (Right-click in the Project area, choose "Add To Project," choose "Simulation Configuration.") Give your configuration a name. Choose the top-level entity and architecture (generally your test bench file's entity). You should see "Resolution" in the lower-right corner. It is usually set to "Default." Change it to whatever you like.
When you double-click on a Simulation Configuration, the vsim command is executed. But the simulation has not started running yet. Add signals to the waveform viewer and the type
run {runtime}
into the transcript/terminal window. You can give that run time any units you like, like for instance run 10 ms simulates the first 10 milliseconds.
--- End quote ---
thank you so much man! you helped me alot
Navigation
[0] Message Index
Go to full version