mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-21 16:16:39 +00:00
Add new lines
This commit is contained in:
parent
17c8567b02
commit
1953a42f0d
|
@ -367,9 +367,12 @@ void dump_sigspec(std::ostream &f, const RTLIL::SigSpec &sig)
|
|||
dump_sigchunk(f, sig.as_chunk());
|
||||
} else {
|
||||
f << stringf("{ ");
|
||||
int i = 0;
|
||||
for (auto it = sig.chunks().rbegin(); it != sig.chunks().rend(); ++it) {
|
||||
if (it != sig.chunks().rbegin())
|
||||
f << stringf(", ");
|
||||
if (i++ % 20 == 19)
|
||||
f << stringf("\n");
|
||||
dump_sigchunk(f, *it, true);
|
||||
}
|
||||
f << stringf(" }");
|
||||
|
|
Loading…
Reference in a new issue