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

[enhancement] trace_fmt should support formatting u8[N] as strings #1929

Open
proppy opened this issue Feb 14, 2025 · 0 comments
Open

[enhancement] trace_fmt should support formatting u8[N] as strings #1929

proppy opened this issue Feb 14, 2025 · 0 comments
Labels
dslx DSLX (domain specific language) implementation / front-end enhancement New feature or request 🧦 sox

Comments

@proppy
Copy link
Member

proppy commented Feb 14, 2025

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

currently printing a u8[N] w/ trace_fmt and {} result in printing the underlying u8 array, making it challening to display data-driven trace labels in table-based test function.

Current best alternative workaround (limit 100 words)

none that I know of.

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

ideally we have a new format directive {:s} that interpret and print the underlying u8[N] as a string

@proppy proppy added dslx DSLX (domain specific language) implementation / front-end enhancement New feature or request 🧦 sox labels Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dslx DSLX (domain specific language) implementation / front-end enhancement New feature or request 🧦 sox
Projects
Status: No status
Development

No branches or pull requests

1 participant