aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/gowin
diff options
context:
space:
mode:
authorPepijn de Vos <pepijndevos@gmail.com>2019-09-05 16:38:47 +0200
committerPepijn de Vos <pepijndevos@gmail.com>2019-09-05 16:38:47 +0200
commit7a43be5e431f7518203b37bad2eb9ffb3b74add4 (patch)
tree7e5934fd22f71dcda8f99de049d1e7efb37ab7d5 /techlibs/gowin
parent3eff2271d0fe25632f7e6b22cf0be078d2cd9990 (diff)
downloadyosys-7a43be5e431f7518203b37bad2eb9ffb3b74add4.tar.gz
yosys-7a43be5e431f7518203b37bad2eb9ffb3b74add4.tar.bz2
yosys-7a43be5e431f7518203b37bad2eb9ffb3b74add4.zip
use singleton ground and vcc nets, apparently this makes pnr happier
Diffstat (limited to 'techlibs/gowin')
-rw-r--r--techlibs/gowin/synth_gowin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/techlibs/gowin/synth_gowin.cc b/techlibs/gowin/synth_gowin.cc
index 4d32f62d4..3581d050e 100644
--- a/techlibs/gowin/synth_gowin.cc
+++ b/techlibs/gowin/synth_gowin.cc
@@ -212,7 +212,7 @@ struct SynthGowinPass : public ScriptPass
{
run("techmap -map +/gowin/cells_map.v");
run("setundef -undriven -zero");
- run("hilomap -hicell VCC V -locell GND G");
+ run("hilomap -singleton -hicell VCC V -locell GND G");
run("iopadmap -bits -inpad IBUF O:I -outpad OBUF I:O", "(unless -noiopads)");
run("dffinit -ff DFF Q INIT");
run("clean");