Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add option to treat unknown modules as external #225

Open
fabianschuiki opened this issue Mar 30, 2021 · 0 comments
Open

Add option to treat unknown modules as external #225

fabianschuiki opened this issue Mar 30, 2021 · 0 comments
Labels
C-enhancement Category: Adding or improving on features. L-vlog Language: Verilog and SystemVerilog.

Comments

@fabianschuiki
Copy link
Owner

Instantiating a module without providing a corresponding module ... definition currently triggers a compiler error. However, it is quite common in Verilog to have extern modules by simply not providing a definition. Moore should provide an option to treat some or all of the undefined modules as external, and infer the types of its ports from the connected signals (as is commonly done). This might combine well with an implementation for the extern module construct of SV. The resulting LLHD should then contain corresponding module declarations.

@fabianschuiki fabianschuiki added L-vlog Language: Verilog and SystemVerilog. C-enhancement Category: Adding or improving on features. labels Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Adding or improving on features. L-vlog Language: Verilog and SystemVerilog.
Projects
None yet
Development

No branches or pull requests

1 participant