3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-06-02 15:18:07 +00:00

Use digit separators for large decimal integers

This commit is contained in:
Emil J. Tywoniak 2025-11-24 12:28:30 +01:00
parent 8f00c1824f
commit 8e2038c419
4 changed files with 9 additions and 9 deletions

View file

@ -570,7 +570,7 @@ static void select_op_expand(RTLIL::Design *design, const std::string &arg, char
ct.setup(design);
if (pos < int(arg.size()) && arg[pos] == '*') {
levels = 1000000;
levels = 1'000'000;
pos++;
} else
if (pos < int(arg.size()) && '0' <= arg[pos] && arg[pos] <= '9') {