C
chainastole
Guest
I write something like that:
wire [3:0] a;
assign a = b[3:0] & c[1:0];
The question is: will the "c" be extended to the width 4 with 2 MSB
zero padded during assignment, or the above writing style may lead to
errors and I should extend the "c" manually to be the same width as "a"
and "b"?
wire [3:0] a;
assign a = b[3:0] & c[1:0];
The question is: will the "c" be extended to the width 4 with 2 MSB
zero padded during assignment, or the above writing style may lead to
errors and I should extend the "c" manually to be the same width as "a"
and "b"?