mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 02:45:52 +00:00
Add new lines
This commit is contained in:
parent
17c8567b02
commit
1953a42f0d
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue