3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-29 23:43:16 +00:00

fmt,cxxrtl: add support for uppercase hex format.

This is necessary for translating Python format strings in Amaranth.
This commit is contained in:
Catherine 2024-03-28 06:13:35 +00:00 committed by Marcelina Kościelnicka
parent a5441bc00c
commit 8388846e3a
3 changed files with 11 additions and 4 deletions

View file

@ -77,6 +77,7 @@ struct FmtPart {
unsigned base = 10;
bool signed_ = false;
bool plus = false;
bool hex_upper = false;
// VLOG_TIME type
bool realtime = false;