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

[ExportVerilog] Drop external module emission #7558

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

seldridge
Copy link
Member

Stop emitting external modules entirely in single file emission and drop the creation of "extern_modules.sv" in split file emission. This is done because it creates problems/confusion for Verilog generation flows which are trying to hide the existence of some modules. E.g., the existence of "extern_modules.sv" will leak what external modules were instantiated under a FIRRTL layerblock.

Alternatively, this could be revived by creating these files by respecting the output file attributes on external modules such that each significant directory got such a file.

Stop emitting external modules entirely in single file emission and drop
the creation of "extern_modules.sv" in split file emission.  This is done
because it creates problems/confusion for Verilog generation flows which
are trying to hide the existence of some modules.  E.g., the existence of
"extern_modules.sv" will leak what external modules were instantiated
under a FIRRTL layerblock.

Alternatively, this could be revived by creating these files by respecting
the output file attributes on external modules such that each significant
directory got such a file.

Signed-off-by: Schuyler Eldridge <[email protected]>
@seldridge seldridge merged commit 1afd3a5 into main Aug 28, 2024
4 checks passed
@seldridge seldridge deleted the dev/seldridge/drop-extern_modules.sv branch August 28, 2024 14:56
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.

1 participant