projects
/
yosys.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix unextend method for signed constants
[yosys.git]
/
passes
/
pmgen
/
ice40_dsp.pmg
diff --git
a/passes/pmgen/ice40_dsp.pmg
b/passes/pmgen/ice40_dsp.pmg
index 7a01cbd51e299b6d2b72e406b1c0eaa9f46249a4..378f251c09fb6a8f2bcea0e1de861f6fbb874c9e 100644
(file)
--- a/
passes/pmgen/ice40_dsp.pmg
+++ b/
passes/pmgen/ice40_dsp.pmg
@@
-29,8
+29,7
@@
code sigA sigB sigH
if (sig[i] != sig[i-1])
break;
// Do not remove non-const sign bit
- if (sig[i].wire)
- ++i;
+ ++i;
return sig.extract(0, i);
};
sigA = unextend(port(mul, \A));