G
glen herrmannsfeldt
Guest
Essen wrote:
when they are not being assigned, but wires must be
continuously driven. Use wires with continuous
assignment statements, and to connect between modules.
I think that anything assigned in an always block
should be a reg. That is, that behavioral model is
being used.
In most cases, it won't compile if you use the wrong one.
-- glen
The way I remember it is that reg's keep their valueI'm confusing about wire and reg type in verilog.
In case statement, if i replace output "reg" with "wire",
is there different between the result?
when they are not being assigned, but wires must be
continuously driven. Use wires with continuous
assignment statements, and to connect between modules.
I think that anything assigned in an always block
should be a reg. That is, that behavioral model is
being used.
In most cases, it won't compile if you use the wrong one.
-- glen