Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Run length with modelsim

Status
Not open for further replies.

srinivasbakki

Junior Member level 1
Junior Member level 1
Joined
Jan 11, 2010
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,406
Hi,
Am trying to debug my circuit with ModelSim. Am a beginner at this. Am using Modelsim SE PLUS 6.5.Wanted to know how to change the run length for a wave capture. With the Simulate->Runtime options->Default run doesnt seem to change the length. It always goes back to 1 ms. I also tried editing it directly in the box but that doesnt change either. I want to drive my clock at 100MHZ. so i set the drive like this :
Force clk 0 0 ns, 1 5 ns -r 10 ns. I expect this command to set the clock to '0' at 0 ns and then '1' at 5 ns and then repeat this over the period 10 ns which amounts to 100MHZ.
But the command gives me an error saying "repeat should be atleast 1 ms" I suspect this is because the runlength is set at 1 ms.
If i omit the ns from the command then the clock is simulated over 1 ms period.
Can somebody help with this ?

Srinivas
 

just type in the command window:

run X ns/us/ms

or if you have a testbench that can stop itself:

run -all
 

You mean "run 10 ns" ?
Ok, i'll phrase my question the other way - show me the commands to simulate a 100MHZ clock. Provided you have the runlength set to 1ms by default.

I saw on google that most of them get the simulator launched with default setting of 100ns on their runlength box. I dont know for what reason my simulator launches with 1ms runlength.

Thanks,
Srinivas
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top