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

Tracking issue for RFC 50: Print statement and string formatting #1186

Closed
wanda-phi opened this issue Mar 4, 2024 · 1 comment
Closed

Tracking issue for RFC 50: Print statement and string formatting #1186

wanda-phi opened this issue Mar 4, 2024 · 1 comment
Labels
Milestone

Comments

@wanda-phi
Copy link
Member

wanda-phi commented Mar 4, 2024

@wanda-phi
Copy link
Member Author

wanda-phi commented Mar 11, 2024

Most of this is done in #1190; However, yosys doesn't yet support some Format features. The plan is:

  • add missing features to yosys, extending its format language
  • wait for yosys release
  • bump yosys version requirement
  • change RTLIL backend to actually emit the newly added format specifiers

The missing features are:

  • X type specifier (uppercase hex), which will probably be called H in yosys
  • = alignment mode
  • arbitrary fill byte (yosys only supports and 0)
  • 0, #, and _ options
  • as sign
  • (usefulness unclear) a mode to print a value as single Unicode character (currently we can only support ASCII via c)

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

No branches or pull requests

2 participants