3 ms·
You're not wrong, but blocking assignments (and their equivalent in VHDL, variables), are useful as local variables to a process/always block. For instance to f
by alain94040 6mo ago
You're not wrong, but blocking assignments (and their equivalent in VHDL, variables), are useful as local variables to a process/always block. For instance to factor common sub-expressions and not repeat them. So using only non-blocking assignments everywhere would lead to more ugly code.
- artemonster 6mo agoOfc blocking assign is used too and even it that always_comb case scheduler splits eval/assign into 2 phases!