-
In the ROHD documentation, there is no mention of blocking and non-blocking assignments, as there is in System Verilog (https://nandland.com/blocking-vs-nonblocking-in-verilog/). The documentation only mentions the following:
In System Verilog's always block, you have the option to use The question is, how does ROHD know when to use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
For a blocking assignment use the MoreROHD has two logical assignment operators:
a0 <= b0;
d0 <= c0;
Combinational([
a1 < b1
]);
Combinational([
d1 < c1
]);
|
Beta Was this translation helpful? Give feedback.
<=
(assign
in Verilog) is used outside ofCombinational
/Sequential
blocks.<
(blocking/non-blocking assignment) is used insideCombinational
/Sequential
blocks.For a blocking assignment use the
Combinational
block, for a non-blocking assignment use theSequential
block. ROHD does not allow mixing different assignment types in the same block.More
ROHD has two logical assignment operators:
<=
and<
.<=
(similar to assign from Verilog) cannot be used insideCombinational
/Sequential
procedural blocks. It should behave likeCombinational
with a single assignment (although the…