Assignment
To assign one signal to the value of another signal, use the <=
operator. This is a hardware synthesizable assignment connecting two wires together.
var a = Logic(), b = Logic();
// assign a to always have the same value as b
a <= b;
To assign one signal to the value of another signal, use the <=
operator. This is a hardware synthesizable assignment connecting two wires together.
var a = Logic(), b = Logic();
// assign a to always have the same value as b
a <= b;