google / google/xls

[enhancement] Improve codegen_main default flag values

Open
#1,999 0 comments 0 reactions 0 assignees View on GitHub
codegen enhancement ux
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.