coolrunner2: Split multi-bit nets
authorRobert Ou <rqou@robertou.com>
Sat, 31 Mar 2018 09:56:11 +0000 (02:56 -0700)
committerRobert Ou <rqou@robertou.com>
Sat, 31 Mar 2018 09:56:11 +0000 (02:56 -0700)
The PAR tool doesn't expect any "dangling" nets with no drivers nor
sinks. By splitting the nets, clean removes them.

techlibs/coolrunner2/synth_coolrunner2.cc

index 5d9e3cc90d0b012c2ca098de3703cfdd51d146bc..2e94c34495e8bb3125d2da981cf0be6a81b9b120 100644 (file)
@@ -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");
                }