P
Pasacco
Guest
------------------------------------------------
wire [1:0] tmp2;
wire [1:0] tmp3;
wire tmp1;
.....
------------------------------------------------
Does the following two sentences have same meaning?
assign tmp1 = (tmp2 == tmp3);
assign tmp1 = (tmp2 == tmp3) ? 1'b1 : 1'b0;
wire [1:0] tmp2;
wire [1:0] tmp3;
wire tmp1;
.....
------------------------------------------------
Does the following two sentences have same meaning?
assign tmp1 = (tmp2 == tmp3);
assign tmp1 = (tmp2 == tmp3) ? 1'b1 : 1'b0;