projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e444e59
)
Added wire start_offset and upto handling BLIF back-end
author
Clifford Wolf
<clifford@clifford.at>
Wed, 23 Nov 2016 12:49:25 +0000
(13:49 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 23 Nov 2016 12:54:33 +0000
(13:54 +0100)
backends/blif/blif.cc
patch
|
blob
|
history
diff --git
a/backends/blif/blif.cc
b/backends/blif/blif.cc
index d9d0cc177f50b9ed608017b37e5b9113d32d1534..4dbaca0bdf816275b510fe06fa09a2e0b2fa92e5 100644
(file)
--- a/
backends/blif/blif.cc
+++ b/
backends/blif/blif.cc
@@
-112,7
+112,7
@@
struct BlifDumper
str[i] = '?';
if (sig.wire->width != 1)
- str += stringf("[%d]", sig.offset);
+ str += stringf("[%d]", sig.
wire->upto ? sig.wire->start_offset+sig.wire->width-sig.offset-1 : sig.wire->start_offset+sig.
offset);
cstr_buf.push_back(str);
return cstr_buf.back().c_str();