aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-04-01 14:58:43 +0200
committerClifford Wolf <clifford@clifford.at>2013-04-01 14:58:43 +0200
commitaf4444e5b96e133f0c64b931759acf5df86475ad (patch)
tree61c72f6bde0b70e041a069bde9d39d4cd0f18e35 /kernel
parent32ee794bfb4aebbab10da4b620d9bece6e89035e (diff)
downloadyosys-af4444e5b96e133f0c64b931759acf5df86475ad.tar.gz
yosys-af4444e5b96e133f0c64b931759acf5df86475ad.tar.bz2
yosys-af4444e5b96e133f0c64b931759acf5df86475ad.zip
Fixed/improved handling of colored wires in show command
Diffstat (limited to 'kernel')
-rw-r--r--kernel/show.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/show.cc b/kernel/show.cc
index 8855c8098..572ba5896 100644
--- a/kernel/show.cc
+++ b/kernel/show.cc
@@ -182,12 +182,12 @@ struct ShowWorker
label_string += stringf("<s%d> %d:%d - %d:%d |", i, pos, pos-c.width+1, c.offset+c.width-1, c.offset);
net_conn_map[net].in.insert(stringf("x%d:s%d", idx, i));
net_conn_map[net].bits = c.width;
- net_conn_map[net].color = nextColor(sig, net_conn_map[net].color);
+ net_conn_map[net].color = nextColor(c, net_conn_map[net].color);
} else {
label_string += stringf("<s%d> %d:%d - %d:%d |", i, c.offset+c.width-1, c.offset, pos, pos-c.width+1);
net_conn_map[net].out.insert(stringf("x%d:s%d", idx, i));
net_conn_map[net].bits = c.width;
- net_conn_map[net].color = nextColor(sig, net_conn_map[net].color);
+ net_conn_map[net].color = nextColor(c, net_conn_map[net].color);
}
pos -= c.width;
}