Author Topic: how to change run length at ModelSim.  (Read 6063 times)

0 Members and 1 Guest are viewing this topic.

Offline hatokayTopic starter

  • Newbie
  • Posts: 8
  • Country: il
how to change run length at ModelSim.
« 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.
 

Offline Bassman59

  • Super Contributor
  • ***
  • Posts: 2501
  • Country: us
  • Yes, I do this for a living
Re: how to change run length at ModelSim.
« Reply #1 on: January 04, 2019, 11:26:39 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.

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.
 

Offline hatokayTopic starter

  • Newbie
  • Posts: 8
  • Country: il
Re: how to change run length at ModelSim.
« Reply #2 on: January 05, 2019, 11:05:01 am »
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.

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.

thank you so much man! you helped me alot
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf