Skip to content

[ExportVerilog] Should ignore unknown top-level ops #6426

Open
@teqdruid

Description

@teqdruid

If we want to allow passes to run after ExportVerilog (e.g. to analyze the actual names assigned in ExportVerilog), ExportVerilog needs to ignore unknown ops instead of producing an error. (So that passes before ExportVerilog can leave behind ops which have information which needs to be combined with SV names.)

At least ops at the top level.

Is this the way we want to go with this? The other option would be to move all of the ExportVerilog side effects into PrepareForEmission. That includes the final SV names since passes may have to know about name mangling. Seems far simpler to me to run things after ExportVerilog.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions