aboutsummaryrefslogtreecommitdiffstats
path: root/tests/various/logic_param_simple.ys
diff options
context:
space:
mode:
Diffstat (limited to 'tests/various/logic_param_simple.ys')
-rw-r--r--tests/various/logic_param_simple.ys9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/various/logic_param_simple.ys b/tests/various/logic_param_simple.ys
new file mode 100644
index 000000000..968564080
--- /dev/null
+++ b/tests/various/logic_param_simple.ys
@@ -0,0 +1,9 @@
+read_verilog -sv <<EOT
+module test_logic_param();
+parameter logic a = 0;
+parameter logic [31:0] e = 0;
+parameter logic signed b = 0;
+parameter logic unsigned c = 0;
+parameter logic unsigned [31:0] d = 0;
+endmodule
+EOT