aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/gowin
diff options
context:
space:
mode:
authorPepijn de Vos <pepijndevos@gmail.com>2019-12-03 15:12:25 +0100
committerPepijn de Vos <pepijndevos@gmail.com>2019-12-03 15:12:25 +0100
commita3b25b4af899b78d7401ec2ea7cd988d6209e226 (patch)
treeaaa7cfbb4f30b9e5d593cd6765e5881303cd43e9 /techlibs/gowin
parent72d03dc910da379779f2f7a0a0406dd61593d696 (diff)
downloadyosys-a3b25b4af899b78d7401ec2ea7cd988d6209e226.tar.gz
yosys-a3b25b4af899b78d7401ec2ea7cd988d6209e226.tar.bz2
yosys-a3b25b4af899b78d7401ec2ea7cd988d6209e226.zip
Use -match-init to not synth contradicting init values
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 49fde540c..6cf058f29 100644
--- a/techlibs/gowin/synth_gowin.cc
+++ b/techlibs/gowin/synth_gowin.cc
@@ -216,7 +216,7 @@ struct SynthGowinPass : public ScriptPass
if (check_label("map_ffs"))
{
run("dffsr2dff");
- run("dff2dffs");
+ run("dff2dffs -match-init");
run("opt_clean");
if (!nodffe)
run("dff2dffe -direct-match $_DFF_* -direct-match $__DFFS_*");