projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68bbb15
)
Fixes in cmos_cells.v
author
Clifford Wolf
<clifford@clifford.at>
Wed, 25 Mar 2015 08:00:41 +0000
(09:00 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 25 Mar 2015 08:00:41 +0000
(09:00 +0100)
techlibs/cmos/cmos_cells.v
patch
|
blob
|
history
diff --git
a/techlibs/cmos/cmos_cells.v
b/techlibs/cmos/cmos_cells.v
index da75270cb4e54936cf657b9284161422213072fd..27278facb3ebafe84a72345838ba76af3ab13ca4 100644
(file)
--- a/
techlibs/cmos/cmos_cells.v
+++ b/
techlibs/cmos/cmos_cells.v
@@
-1,17
+1,26
@@
+module BUF(A, Y);
+input A;
+output Y;
+assign Y = A;
+endmodule
+
module NOT(A, Y);
input A;
-output Y = ~A;
+output Y;
+assign Y = ~A;
endmodule
module NAND(A, B, Y);
input A, B;
-output Y = ~(A & B);
+output Y;
+assign Y = ~(A & B);
endmodule
module NOR(A, B, Y);
input A, B;
-output Y = ~(A | B);
+output Y;
+assign Y = ~(A | B);
endmodule
module DFF(C, D, Q);