K
kbhar
Guest
Hi,
Is it legal to define input ports as wires ? For instance,
module (input clock,
input a,
input b,
output c
);
wire clock, a, b;
The compiler doesn't complain, so how does one justify not defining
them as wires? And if the definition is redundant, then is there a
different scenario for behavioral or structural models (one needs
inputs to be defined as wires and the other not)?
Thanks
kbhar
Is it legal to define input ports as wires ? For instance,
module (input clock,
input a,
input b,
output c
);
wire clock, a, b;
The compiler doesn't complain, so how does one justify not defining
them as wires? And if the definition is redundant, then is there a
different scenario for behavioral or structural models (one needs
inputs to be defined as wires and the other not)?
Thanks
kbhar