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
Module port lists do not support interfaces with constant unpacked dimension #815
A syntax error is produced when parsing a module port list that contains an interface with an unpacked dimension of the constant_expression type. (i.e., not constant range). For example:
Attached is a complete example that shows the erroneous behavior.
Original Redmine Comment
Doing a little bit of digging in VParseBison.y, I'm guessing that it's hitting a rule from portE that goes to rangeListE rather than one that goes to variable_dimensionListE. (rangeListE seems to require unpacked dimensions to be of the form [a:b] instead of the [a] form I used.)