Why are these two codes not equivalent? I am checking the logical equivalence between the two, they are failing, what could be the error? Will it take it as width mismatch, or net driven by multiple drivers? I am using cadence LEC for formal verification
module driver (a, b);
input [3:0] a;
output wand b;
assign b = a;
endmodule
module driver (a, b);
input [3:0] a;
output wand b;
assign b = a[3];
assign b = a[2];
assign b = a[1];
assign b = a[0];
endmodule