projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fe9cdf
)
coolrunner2: Split multi-bit nets
author
Robert Ou
<rqou@robertou.com>
Sat, 31 Mar 2018 09:56:11 +0000
(
02:56
-0700)
committer
Robert 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
patch
|
blob
|
history
diff --git
a/techlibs/coolrunner2/synth_coolrunner2.cc
b/techlibs/coolrunner2/synth_coolrunner2.cc
index 5d9e3cc90d0b012c2ca098de3703cfdd51d146bc..2e94c34495e8bb3125d2da981cf0be6a81b9b120 100644
(file)
--- 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");
}