aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-07-09 14:28:54 -0700
committerEddie Hung <eddie@fpgeh.com>2019-07-09 14:28:54 -0700
commit5b48b18d29dabfaa3aa51fc4946f14b0ea8954e2 (patch)
treead394e4644f1844f6708126873bf25cde1528fb4 /techlibs
parentb1a048a703b12bc02433d8c2c98b4b35cc799979 (diff)
downloadyosys-5b48b18d29dabfaa3aa51fc4946f14b0ea8954e2.tar.gz
yosys-5b48b18d29dabfaa3aa51fc4946f14b0ea8954e2.tar.bz2
yosys-5b48b18d29dabfaa3aa51fc4946f14b0ea8954e2.zip
Restore missing techmap -map +/cmp2lut.v with LUT_WIDTH=6
Diffstat (limited to 'techlibs')
-rw-r--r--techlibs/xilinx/synth_xilinx.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc
index 0152af481..7e10a392a 100644
--- a/techlibs/xilinx/synth_xilinx.cc
+++ b/techlibs/xilinx/synth_xilinx.cc
@@ -2,6 +2,7 @@
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Clifford Wolf <clifford@clifford.at>
+ * (C) 2019 Eddie Hung <eddie@fpgeh.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -252,6 +253,7 @@ struct SynthXilinxPass : public ScriptPass
run("wreduce" + std::string(widemux > 0 ? " -keepdc" : ""));
run("peepopt");
run("opt_clean");
+ run("techmap -map +/cmp2lut.v -D LUT_WIDTH=6");
run("alumacc");
run("share");
run("opt");