mirror of https://github.com/YosysHQ/yosys.git
Since muxcover uses MUX4s, blast them back to gates here
This commit is contained in:
parent
dd22edcd28
commit
c6b4653ebe
|
@ -84,3 +84,10 @@ module \$shiftx (A, B, Y);
|
||||||
end
|
end
|
||||||
endgenerate
|
endgenerate
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
module \$_MUX4_ (A, B, C, D, S, T, Y);
|
||||||
|
input A, B, C, D, S, T;
|
||||||
|
output Y;
|
||||||
|
assign Y = T ? (S ? D : C) :
|
||||||
|
(S ? B : A);
|
||||||
|
endmodule
|
||||||
|
|
Loading…
Reference in New Issue