aboutsummaryrefslogtreecommitdiffstats
path: root/tests/various/rand_const.sv
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2021-01-21 16:56:19 +0100
committerGitHub <noreply@github.com>2021-01-21 16:56:19 +0100
commit1f88a3de74eae3896e39795fd5a12d885ab29a93 (patch)
tree2d887c1512458456391bb6c098f2dc2eba46db90 /tests/various/rand_const.sv
parent699a98b265a41b0565637323f929e6cb1f8837e0 (diff)
parent1096b969efb24dc28b501585f23ceb242d781745 (diff)
downloadyosys-1f88a3de74eae3896e39795fd5a12d885ab29a93.tar.gz
yosys-1f88a3de74eae3896e39795fd5a12d885ab29a93.tar.bz2
yosys-1f88a3de74eae3896e39795fd5a12d885ab29a93.zip
Merge pull request #2553 from zachjs/rand-const-modifiers
Allow combination of rand and const modifiers
Diffstat (limited to 'tests/various/rand_const.sv')
-rw-r--r--tests/various/rand_const.sv8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/various/rand_const.sv b/tests/various/rand_const.sv
new file mode 100644
index 000000000..be00812c0
--- /dev/null
+++ b/tests/various/rand_const.sv
@@ -0,0 +1,8 @@
+module top;
+ rand const reg rx;
+ const reg ry;
+ rand reg rz;
+ rand const integer ix;
+ const integer iy;
+ rand integer iz;
+endmodule