Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Bit selection from struct causes internal error #600
The following code causes an internal error:
The error is:
The code works with VCS. Please pull the test case from branch struct-bit-sel at firstname.lastname@example.org:jeremybennett/verilator.git.
Original Redmine Comment
This is fixed in git towards 3.845. This uncovered handing of packed arrays-of-structs-of-arrays was also even more broken.
To fix this packed arrays are now represented as a single linear vector in Verilated models this may affect packed arrays that are public or accessed via the VPI. This is a relatively large change that may introduce fallout, as always let me know any issues.