ukapil
Member level 2
- Joined
- Jan 23, 2002
- Messages
- 49
- Helped
- 1
- Reputation
- 2
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 339
How does this work ?
**************
always@(($time-time_cs_start)>`tCEM) begin
$display("max tCEM violation", $time);
$display("time_cs_start = %t",time_cs_start);
end
**************
`tCEM = 4000ns
It is observed that when $time = 5 ns & time_cs_start = 5 ns, it enters into the always block.
Please explain me the working of the always block.
thnx,
ukapil
**************
always@(($time-time_cs_start)>`tCEM) begin
$display("max tCEM violation", $time);
$display("time_cs_start = %t",time_cs_start);
end
**************
`tCEM = 4000ns
It is observed that when $time = 5 ns & time_cs_start = 5 ns, it enters into the always block.
Please explain me the working of the always block.
thnx,
ukapil