aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Ou <rqou@robertou.com>2017-11-19 01:15:54 -0800
committerRobert Ou <rqou@robertou.com>2018-01-17 16:17:32 -0800
commit2abcd98527076bfe9a82a16205be74ca3e61c63f (patch)
tree68d636dd3b8247d9a72428dcde87bcca1b37e2f0
parent57e02b662906f80ae43445a328c5476d1b92bd60 (diff)
downloadyosys-2abcd98527076bfe9a82a16205be74ca3e61c63f.tar.gz
yosys-2abcd98527076bfe9a82a16205be74ca3e61c63f.tar.bz2
yosys-2abcd98527076bfe9a82a16205be74ca3e61c63f.zip
coolrunner2: Move LOC attributes onto the IO cells
-rw-r--r--techlibs/coolrunner2/synth_coolrunner2.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/techlibs/coolrunner2/synth_coolrunner2.cc b/techlibs/coolrunner2/synth_coolrunner2.cc
index 562cce460..183282629 100644
--- a/techlibs/coolrunner2/synth_coolrunner2.cc
+++ b/techlibs/coolrunner2/synth_coolrunner2.cc
@@ -164,6 +164,8 @@ struct SynthCoolrunner2Pass : public ScriptPass
run("dffinit -ff LDCP_N Q INIT");
run("coolrunner2_sop");
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("clean");
}