Skip to content

[enhancement] Improve codegen_main default flag values #1999

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

Open
grebe opened this issue Mar 12, 2025 · 0 comments
Open

[enhancement] Improve codegen_main default flag values #1999

grebe opened this issue Mar 12, 2025 · 0 comments
Labels
codegen Related to emitting (System)Verilog. enhancement New feature or request ux User experience (end-user invoking XLS and its related tools)

Comments

@grebe
Copy link
Collaborator

grebe commented Mar 12, 2025

What's hard to do? (limit 100 words)

Currently, the default flag values will not produce a useable output for most (all?) procs. Some things may not have reasonable defaults, but many of them do (e.g. channel port suffixes).

Current best alternative workaround (limit 100 words)

Big "default arguments" dictionaries in bazel, wrapper scripts, etc.

Your view of the "best case XLS enhancement" (limit 100 words)

./codegen_main file.opt.ir produces a useful, usable output. Interactive use doesn't require copy-pasting a huge number of flags.

@grebe grebe added enhancement New feature or request codegen Related to emitting (System)Verilog. ux User experience (end-user invoking XLS and its related tools) labels Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codegen Related to emitting (System)Verilog. enhancement New feature or request ux User experience (end-user invoking XLS and its related tools)
Projects
None yet
Development

No branches or pull requests

1 participant