mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-23 04:38:55 +00:00
sv: fix two struct access bugs
- preserve signedness of struct members - fix initial width detection of struct members (e.g., in case expressions)
This commit is contained in:
parent
1aab608cff
commit
a9c8ca21d5
5 changed files with 102 additions and 1 deletions
4
tests/verilog/struct_access.ys
Normal file
4
tests/verilog/struct_access.ys
Normal file
|
@ -0,0 +1,4 @@
|
|||
read_verilog -formal -sv struct_access.sv
|
||||
proc
|
||||
opt -full
|
||||
sat -verify -seq 1 -prove-asserts -show-all
|
Loading…
Add table
Add a link
Reference in a new issue