projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
039bb45
)
Bugfix in delete command
author
Clifford Wolf
<clifford@clifford.at>
Sun, 9 Feb 2014 08:34:58 +0000
(09:34 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sun, 9 Feb 2014 08:34:58 +0000
(09:34 +0100)
passes/cmds/delete.cc
patch
|
blob
|
history
diff --git
a/passes/cmds/delete.cc
b/passes/cmds/delete.cc
index 8ed650402138b05c5903088ec0876f7dd4f58a23..d75386a953df4970f99da587884107ba7551a95e 100644
(file)
--- a/
passes/cmds/delete.cc
+++ b/
passes/cmds/delete.cc
@@
-29,8
+29,10
@@
struct DeleteWireWorker
void operator()(RTLIL::SigSpec &sig) {
sig.optimize();
for (auto &c : sig.chunks)
- if (c.wire != NULL && delete_wires_p->count(c.wire->name))
+ if (c.wire != NULL && delete_wires_p->count(c.wire->name))
{
c.wire = module->new_wire(c.width, NEW_ID);
+ c.offset = 0;
+ }
}
};