Skip to content

Choose specific options based on the value of firrtlOptions.compilerName. #216

@ucbjrl

Description

@ucbjrl

(from @seldridge chipsalliance/firrtl#916)
#214 makes sense, generally. The user should be able to add options. However, I think there's motivation for verilogToCpp or verilogToVerilator to choose specific options based on the value of firrtlOptions.compilerName. I.e., if the user has requested -X sverilog it would be reasonable to include -sv when calling Verilator automatically.

Note: once the options/annotations stuff lands, the clean way to do this is to examine the contents of the EmitterAnnotation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions