diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/arch/gowin/init.ys | 6 |
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 |