mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
Allow combination of rand and const modifiers
This commit is contained in:
parent
699a98b265
commit
1096b969ef
3 changed files with 19 additions and 2 deletions
8
tests/various/rand_const.sv
Normal file
8
tests/various/rand_const.sv
Normal file
|
@ -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
|
1
tests/various/rand_const.ys
Normal file
1
tests/various/rand_const.ys
Normal file
|
@ -0,0 +1 @@
|
|||
read_verilog -sv rand_const.sv
|
Loading…
Add table
Add a link
Reference in a new issue