aboutsummaryrefslogtreecommitdiffstats
path: root/tests/arch
diff options
context:
space:
mode:
authorDan Ravensloft <dan.ravensloft@gmail.com>2020-04-01 01:07:30 +0100
committerMarcelina Koƛcielnicka <mwk@0x04.net>2020-07-05 22:07:17 +0200
commit7f45cab27af410df5ca3b737cbed03c17c589206 (patch)
tree49cbfcebf5e7d6755945d063e5a711d1cdfd95a7 /tests/arch
parent0d4c2f0a65de2fccd767a56b9698be3d913fdd9f (diff)
downloadyosys-7f45cab27af410df5ca3b737cbed03c17c589206.tar.gz
yosys-7f45cab27af410df5ca3b737cbed03c17c589206.tar.bz2
yosys-7f45cab27af410df5ca3b737cbed03c17c589206.zip
synth_gowin: ABC9 support
This adds ABC9 support for synth_gowin; drastically improving synthesis quality.
Diffstat (limited to 'tests/arch')
-rw-r--r--tests/arch/gowin/init.ys6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/arch/gowin/init.ys b/tests/arch/gowin/init.ys
index ddc0e4757..4d8e442ac 100644
--- a/tests/arch/gowin/init.ys
+++ b/tests/arch/gowin/init.ys
@@ -30,7 +30,6 @@ select -assert-count 1 t:DFFRE
select -assert-count 1 t:DFFS
select -assert-count 1 t:DFFSE
-delete
design -load read
# these should synth to a flop with reset
@@ -68,6 +67,11 @@ select -assert-count 2 t:DFFS
select -assert-count 2 t:DFFSE
select -assert-count 12 t:LUT2
+# Remove all whiteboxes so we don't inadvertently
+# count init attributes inside them
+# Should be superseded by https://github.com/YosysHQ/yosys/pull/1949
+delete A:whitebox=1
+
# check the expected leftover init values
# this would happen if your reset value is not the initial value
# which would be weird