mirror of
https://github.com/YosysHQ/yosys
synced 2026-02-14 04:41:48 +00:00
Add test that connects a wire with init to a constant
This commit is contained in:
parent
c81d7b00da
commit
e5cf1a90f1
1 changed files with 9 additions and 0 deletions
9
tests/opt/opt_clean_init_const.ys
Normal file
9
tests/opt/opt_clean_init_const.ys
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
read_rtlil << EOT
|
||||
module \top
|
||||
attribute \init 1'0
|
||||
wire \w
|
||||
|
||||
connect \w 1'0
|
||||
end
|
||||
EOT
|
||||
opt_clean
|
||||
Loading…
Add table
Add a link
Reference in a new issue