M
Mahurshi Akilla
Guest
i guess this is another basic question. it
is bugging me out. it is about when to (and
maybe when not to) use a wire.
i have the following code:
module wire_nowire(a, b);
input a;
output b;
wire a;
wire b;
assign b = ~a;
endmodule
i simulated the above and i get b = ~a, which is good.
i still get the same output even if i comment out
wire a, or wire b, or both wire a and wire b.
so when should (and shouldn't) a wire be used anyway?
Mahurshi Akilla
is bugging me out. it is about when to (and
maybe when not to) use a wire.
i have the following code:
module wire_nowire(a, b);
input a;
output b;
wire a;
wire b;
assign b = ~a;
endmodule
i simulated the above and i get b = ~a, which is good.
i still get the same output even if i comment out
wire a, or wire b, or both wire a and wire b.
so when should (and shouldn't) a wire be used anyway?
Mahurshi Akilla