In reply to dave_59:
thks for dave’s answering my question;
when i got the message that “There are no good reasons to ever use a blocking assignment with an intra-assignment delay.”,i got the answer.in fact,in my daily jobs there is no usage of blocking assignment with an intra-assignment delay but recently i reread the systemverilog and do the test by myself.so here comes the problem;
the first example: i got what u say;
the second example:
before read your answer,the point that i ignored is that:the blocking assfinment after inter-assignment delay also pushed to the inactive region;
that is statement:
1.
initial begin
data_test = #0 1;
data_test = 2;
end
is the same as:
coding that now my understanding;
initial begin
tmp = 1;
#0;
data_test = 1;
data_test = 2;
end
coding that my ealier-understanding before read your message;
initial begin
fork
begin
tmp = 1;
#0;
data_test = 1;
end
data_test = 2;
join
end