diff options
author | Robert Ou <rqou@robertou.com> | 2018-03-31 02:56:11 -0700 |
---|---|---|
committer | Robert Ou <rqou@robertou.com> | 2018-03-31 02:56:11 -0700 |
commit | cfa3753b89c684b66e2cb164226a3358493e5232 (patch) | |
tree | 27b9d618e4df71cbdaa62adad853cfe9b88f1d3c /techlibs/coolrunner2 | |
parent | 8fe9cdf36428b07ab22e9f831470e7e4c37978e2 (diff) | |
download | yosys-cfa3753b89c684b66e2cb164226a3358493e5232.tar.gz yosys-cfa3753b89c684b66e2cb164226a3358493e5232.tar.bz2 yosys-cfa3753b89c684b66e2cb164226a3358493e5232.zip |
coolrunner2: Split multi-bit nets
The PAR tool doesn't expect any "dangling" nets with no drivers nor
sinks. By splitting the nets, clean removes them.
Diffstat (limited to 'techlibs/coolrunner2')
-rw-r--r-- | techlibs/coolrunner2/synth_coolrunner2.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/techlibs/coolrunner2/synth_coolrunner2.cc b/techlibs/coolrunner2/synth_coolrunner2.cc index 5d9e3cc90..2e94c3449 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("splitnets"); run("clean"); } |