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:
parent
8f00c1824f
commit
8e2038c419
4 changed files with 9 additions and 9 deletions
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue