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
Incorrect result for packed array with non-zero LSB typedef #1172
Author Name: James Pallister
Original Assignee: Wilson Snyder (@wsnyder)
Defining an array with a type created by a typedef, then using that array with a subscript results in the wrong value.
I've added a testcase to show the problem at: https://github.com/jpallister/verilator on branch typedef_array
Original Redmine Comment
Fixed in git towards 3.905.
The problem was more related to the :1 in the unpacked array. I fixed another similar problem with little endian arrays. There might be additional issues, so watch for that.