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.

What's the difference between '#5 a = b;' and 'a = #5 b;'?

Status
Not open for further replies.

wufei

Junior Member level 2
Joined
Nov 2, 2007
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Moon
Activity points
1,417
#5 a=b

What's the difference between '#5 a = b;' and 'a = #5 b;'?

#5 a = b;

and

a = #5 b;
 

difference of 5

how can i verify the difference?
 

difference between 5a and 5b

Simulate in Modelsim and check..!!!!

# 5 a = b ; Its Inter assignment delay

a= # 5 b ; Its Intra assignment delay

Intra-assignment delays block assignment but not evaluation
Inter-assignment delays block both evaluation and assignment

For details refer any verilog book.
 

thanks
but it seems that simulations of these two assignments in Modelsim have the same results...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top