T
TestUser13
Guest
Hi,
How defined the working the ~, & operators in this context?
It seems ~a is ~a[0] but I'm not sure also what does &a ?
module test(u, v);
input u;
output v;
reg c, d;
reg [3:0] a;
initial
begin
a = 3'b000;
c = &a;
c = ~a;
d = 0;
end
endmodule
How defined the working the ~, & operators in this context?
It seems ~a is ~a[0] but I'm not sure also what does &a ?
module test(u, v);
input u;
output v;
reg c, d;
reg [3:0] a;
initial
begin
a = 3'b000;
c = &a;
c = ~a;
d = 0;
end
endmodule