Skip to content

[wip] Add support for functions declarations with port list #101

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

noloerino
Copy link

Addresses #100.

This code may allow illegal output definitions as well (such as function [3:0] f(output a); endfunction), though this case seems somewhat pathological. Fixing it would require adding a few more parser rules, which I can do if requested.

Please let me know if any other changes should be made.

@noloerino
Copy link
Author

I did some more testing, and it seems like there's still some edge cases to fix. I'll let you know when this is ready for review.

@noloerino noloerino changed the title Add support for functions declarations with port list [wip] Add support for functions declarations with port list Mar 31, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant