projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd22edc
)
Since muxcover uses MUX4s, blast them back to gates here
author
Eddie Hung
<eddie@fpgeh.com>
Fri, 21 Jun 2019 18:13:01 +0000
(11:13 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 21 Jun 2019 18:13:01 +0000
(11:13 -0700)
techlibs/xilinx/mux_map.v
patch
|
blob
|
history
diff --git
a/techlibs/xilinx/mux_map.v
b/techlibs/xilinx/mux_map.v
index 6ad83a4887bc8dbeca3ae442943b0a34eb76954f..b7ff6ca90f55ef72412bf2550ddf748394801fca 100644
(file)
--- a/
techlibs/xilinx/mux_map.v
+++ b/
techlibs/xilinx/mux_map.v
@@
-84,3
+84,10
@@
module \$shiftx (A, B, Y);
end
endgenerate
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