aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/coolrunner2/synth_coolrunner2.cc
diff options
context:
space:
mode:
authorR. Ou <rqou@robertou.com>2020-02-16 20:25:46 -0800
committerR. Ou <rqou@robertou.com>2020-02-16 20:25:46 -0800
commit6a0682f5a0148949beacad0eb93ec5b754bf29cd (patch)
treedecc145a7bc6e32f684dfcbcb700cb06c93137c0 /techlibs/coolrunner2/synth_coolrunner2.cc
parentcd60f079d6c96e1d8a00c3c081fab1148d432b44 (diff)
downloadyosys-6a0682f5a0148949beacad0eb93ec5b754bf29cd.tar.gz
yosys-6a0682f5a0148949beacad0eb93ec5b754bf29cd.tar.bz2
yosys-6a0682f5a0148949beacad0eb93ec5b754bf29cd.zip
coolrunner2: Separate and improve buffer cell insertion pass
The new pass will contain all of the logic for inserting "passthrough" product term and XOR cells as appropriate for the architecture. For example, this commit fixes connecting an input pin directly to another output pin with no logic in between.
Diffstat (limited to 'techlibs/coolrunner2/synth_coolrunner2.cc')
-rw-r--r--techlibs/coolrunner2/synth_coolrunner2.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/techlibs/coolrunner2/synth_coolrunner2.cc b/techlibs/coolrunner2/synth_coolrunner2.cc
index 3bac8623d..b30b3775b 100644
--- a/techlibs/coolrunner2/synth_coolrunner2.cc
+++ b/techlibs/coolrunner2/synth_coolrunner2.cc
@@ -178,6 +178,7 @@ struct SynthCoolrunner2Pass : public ScriptPass
run("iopadmap -bits -inpad IBUF O:I -outpad IOBUFE I:IO -inoutpad IOBUFE O:IO -toutpad IOBUFE E:I:IO -tinoutpad IOBUFE E:O:I:IO");
run("attrmvcp -attr src -attr LOC t:IOBUFE n:*");
run("attrmvcp -attr src -attr LOC -driven t:IBUF n:*");
+ run("coolrunner2_fixup");
run("splitnets");
run("clean");
}