projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b417400
)
Fixed techmap of $reduce_xnor with multi-bit outputs
author
Clifford Wolf
<clifford@clifford.at>
Wed, 6 Nov 2013 23:58:06 +0000
(
00:58
+0100)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 6 Nov 2013 23:58:06 +0000
(
00:58
+0100)
techlibs/common/stdcells.v
patch
|
blob
|
history
diff --git
a/techlibs/common/stdcells.v
b/techlibs/common/stdcells.v
index ca73f5bcd5c01e77dfa8dd9545b37bfe0fa1ec10..e37ad20d5a5cf59a9c841537abd14e86fcd7d088 100644
(file)
--- a/
techlibs/common/stdcells.v
+++ b/
techlibs/common/stdcells.v
@@
-351,9
+351,15
@@
endgenerate
assign buffer[0] = A[0];
\$_INV_ gate_inv (
.A(buffer[A_WIDTH-1]),
- .Y(Y)
+ .Y(Y
[0]
)
);
+generate
+ if (Y_WIDTH > 1) begin:V
+ assign Y[Y_WIDTH-1:1] = 0;
+ end
+endgenerate
+
endmodule
// --------------------------------------------------------