projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2442eb3
)
Fixed wreduce $shiftx handling
author
Clifford Wolf
<clifford@clifford.at>
Mon, 15 Sep 2014 09:29:09 +0000
(11:29 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Mon, 15 Sep 2014 09:29:09 +0000
(11:29 +0200)
passes/opt/wreduce.cc
patch
|
blob
|
history
diff --git
a/passes/opt/wreduce.cc
b/passes/opt/wreduce.cc
index 9e43bb902faf08ac17550a2b99311aac1e82339a..58a6d1b0d66bb788b358cb436d44e9c7a7b6e5c7 100644
(file)
--- a/
passes/opt/wreduce.cc
+++ b/
passes/opt/wreduce.cc
@@
-186,7
+186,7
@@
struct WreduceWorker
bool port_a_signed = false;
bool port_b_signed = false;
- if (max_port_a_size >= 0)
+ if (max_port_a_size >= 0
&& cell->type != "$shiftx"
)
run_reduce_inport(cell, 'A', max_port_a_size, port_a_signed, did_something);
if (max_port_b_size >= 0)