Swap register contents with and without an extra register
Swap register contents with and without an extra register
Model answer
Without a temporary register (non-blocking assignments sample both RHS values before either update): With a temporary variable (blocking assignments, in order): Using <= for the temp version would **not** swap correctly.