aboutsummaryrefslogtreecommitdiffstats
path: root/tests/arch/gowin/init-error.ys
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arch/gowin/init-error.ys')
-rw-r--r--tests/arch/gowin/init-error.ys5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/arch/gowin/init-error.ys b/tests/arch/gowin/init-error.ys
new file mode 100644
index 000000000..de3813d6f
--- /dev/null
+++ b/tests/arch/gowin/init-error.ys
@@ -0,0 +1,5 @@
+read_verilog init.v
+chparam -set INIT 0 myDFF*P*
+hierarchy -top myDFFP
+logger -expect error "unsupported initial value and async reset value combination" 1
+synth_gowin