projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c347f28
)
slice bug corrected
author
Ahmed Irfan
<irfan@ubuntu.(none)>
Mon, 20 Jan 2014 17:35:52 +0000
(18:35 +0100)
committer
Ahmed Irfan
<irfan@ubuntu.(none)>
Mon, 20 Jan 2014 17:35:52 +0000
(18:35 +0100)
backends/btor/btor.cc
patch
|
blob
|
history
diff --git
a/backends/btor/btor.cc
b/backends/btor/btor.cc
index 8377b25917e1840eabaed4af09299bd4a71c1102..7e36db9fccc229a157d642a81bf4ae9713851aff 100644
(file)
--- a/
backends/btor/btor.cc
+++ b/
backends/btor/btor.cc
@@
-275,7
+275,7
@@
struct BtorDumper
assert(wire_line_num>0);
++line_num;
str = stringf("%d slice %d %d %d %d;2", line_num, chunk->width, wire_line_num,
- chunk->wi
re->width - chunk->offset - 1, chunk->wire->width - chunk->offset - chunk->width
);
+ chunk->wi
dth + chunk->offset - 1, chunk->offset
);
fprintf(f, "%s\n", str.c_str());
l = line_num;
}