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

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

Open
ucbjrl opened this issue Oct 29, 2018 · 0 comments
Open

Comments

@ucbjrl
Copy link
Contributor

ucbjrl commented Oct 29, 2018

(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.

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

No branches or pull requests

1 participant