Skip to content

Conversation

RRozak
Copy link
Member

@RRozak RRozak commented Nov 16, 2022

Referencing things defined outside the current package currently doesn't work on master. The problem is only with references in packages. As I checked, it works properly in modules.
This PR fixes it. It adds $unit package as a scope above the current package.

Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
@wsnyder wsnyder merged commit 3ddfa21 into verilator:master Nov 16, 2022
@tgorochowik tgorochowik deleted the rrozak/pkg-using-dollar-unit branch November 21, 2022 16:30
mglb pushed a commit to antmicro/verilator that referenced this pull request Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants