aboutsummaryrefslogtreecommitdiffstats
path: root/manual/PRESENTATION_ExAdv/macc_xilinx_swap_map.v
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-02-21 14:59:59 +0100
committerClifford Wolf <clifford@clifford.at>2014-02-21 14:59:59 +0100
commit79edcd4318590974ef49b2d5f561382eea3454bf (patch)
tree0b6a309ed5aa66508f53b450e9d488ae0f65d59e /manual/PRESENTATION_ExAdv/macc_xilinx_swap_map.v
parent038eac741415c3d7ddef3a1e9348586e7ba3d4ad (diff)
downloadyosys-79edcd4318590974ef49b2d5f561382eea3454bf.tar.gz
yosys-79edcd4318590974ef49b2d5f561382eea3454bf.tar.bz2
yosys-79edcd4318590974ef49b2d5f561382eea3454bf.zip
Progress in presentation
Diffstat (limited to 'manual/PRESENTATION_ExAdv/macc_xilinx_swap_map.v')
-rw-r--r--manual/PRESENTATION_ExAdv/macc_xilinx_swap_map.v4
1 files changed, 1 insertions, 3 deletions
diff --git a/manual/PRESENTATION_ExAdv/macc_xilinx_swap_map.v b/manual/PRESENTATION_ExAdv/macc_xilinx_swap_map.v
index 1f4867d11..e36967225 100644
--- a/manual/PRESENTATION_ExAdv/macc_xilinx_swap_map.v
+++ b/manual/PRESENTATION_ExAdv/macc_xilinx_swap_map.v
@@ -1,4 +1,3 @@
-
(* techmap_celltype = "$mul" *)
module mul_swap_ports (A, B, Y);
@@ -12,7 +11,7 @@ input [A_WIDTH-1:0] A;
input [B_WIDTH-1:0] B;
output [Y_WIDTH-1:0] Y;
-wire _TECHMAP_FAIL_ = A_WIDTH >= B_WIDTH;
+wire _TECHMAP_FAIL_ = A_WIDTH <= B_WIDTH;
\$mul #(
.A_SIGNED(B_SIGNED),
@@ -27,4 +26,3 @@ wire _TECHMAP_FAIL_ = A_WIDTH >= B_WIDTH;
);
endmodule
-