aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-03-24 15:15:28 +0100
committerClifford Wolf <clifford@clifford.at>2013-03-24 15:15:28 +0100
commit2887e4305f7ac07f513f26f2cc44582f09e2783b (patch)
tree91eb682e5c20a8b42007099eb17b0faf398cddd4 /kernel
parent181b479e770e9e366f9252ea91739cbfb01bba76 (diff)
downloadyosys-2887e4305f7ac07f513f26f2cc44582f09e2783b.tar.gz
yosys-2887e4305f7ac07f513f26f2cc44582f09e2783b.tar.bz2
yosys-2887e4305f7ac07f513f26f2cc44582f09e2783b.zip
Fixed handling of internal signals 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 22e2109ff..942f5b264 100644
--- a/kernel/show.cc
+++ b/kernel/show.cc
@@ -201,14 +201,14 @@ struct ShowWorker
const char *shape = "diamond";
if (it.second->port_input || it.second->port_output)
shape = "octagon";
- if (it.first[0] == '\\')
+ if (it.first[0] == '\\') {
fprintf(f, "n%d [ shape=%s, label=\"%s\" ];\n",
id2num(it.first), shape, escape(it.first));
if (it.second->port_input)
all_sources.insert(stringf("n%d", id2num(it.first)));
else if (it.second->port_output)
all_sinks.insert(stringf("n%d", id2num(it.first)));
- else {
+ } else {
wires_on_demand[stringf("n%d", id2num(it.first))] = it.first;
}
}