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
modport declaration incorrectly treats some outputs as inputs #1246
Original Assignee: Wilson Snyder (@wsnyder)
If you have define multiple outputs in a list within a modport, the first is treated as an output, but subsequent items are not, which (due to fix for bug 1110), causes it to erroneously flag an error. For example, given this:
a would be marked as an output, but b would not and would flag an error if someone attempted to assign a value to it. I'd expect b to be also treated as an output.
I've attached a test case that reproduces the issue.