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.

infinite simulation loop in verilog

Status
Not open for further replies.

coolajnabee1

Newbie level 3
Joined
Jan 23, 2010
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,296
Hi every1, i am stuck at a problem, i am having an infinite simulation loop how to solve it

Any ideas, hints would be helpful.
 

Re: How would you create infinite simulation loop in verilog

you mean you want to have a state which can't be stoped , right?
 

Re: How would you create infinite simulation loop in verilog

yes that is correct

any ideas ??
 

Re: How would you create infinite simulation loop in verilog

In Verilog you can create infinite loop using forever, while blocks.

forever
begin
...
...
end

while(1)
begin
...
...
...
end

But you should be sure that you are using any time consuming statements inside a loop.
It can be delay operator #5 or event @(...).
Otherwise your simulation will be stopped.

Please remember code execution is sequential not parallel.

Bests,
Tiksan
 

Re: How would you create infinite simulation loop in verilog

Hey Syswip,

thanks for your help..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top