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.

Difference between the Delay in verilog

Status
Not open for further replies.

RubyS

Newbie level 6
Newbie level 6
Joined
Sep 12, 2012
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Bangalore
Activity points
1,368
Whats the differnce between
#10 b=0;
and
b=#10 0;
 

"In #10 b = 0; the simulator will execute b = 0; after 10 units of time (like inertial delay). In b = #10 0; "0" will be assigned to "b" after 10 units of time (like transport delay)."
Answer to similar question also available at: https://only-vlsi.blogspot.com/2008/01/verilog-2.html

Hope this will be helpful.
 
#10 b=0; execution of this command will be happened only after 10 time units (inter delay assignments)
whereas "b=#10 0;" command starts execution in "0" time units, but the value(0) is assigned to "b" only after 10 time units.(intra delay assignments)

hope this will add some more idea.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top