aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-11-21 22:39:10 +0100
committerClifford Wolf <clifford@clifford.at>2013-11-21 22:39:10 +0100
commit1c4a6411af4339a26d28d1e4b93cd2c44eb16228 (patch)
treef813c95339f9c88afef4873ebc1a38932117e00e /techlibs
parent40d9542647420e16d7980eeb917e3f2387b1f399 (diff)
downloadyosys-1c4a6411af4339a26d28d1e4b93cd2c44eb16228.tar.gz
yosys-1c4a6411af4339a26d28d1e4b93cd2c44eb16228.tar.bz2
yosys-1c4a6411af4339a26d28d1e4b93cd2c44eb16228.zip
Updated abc
Diffstat (limited to 'techlibs')
-rw-r--r--techlibs/cmos/cmos_cells.lib6
-rw-r--r--techlibs/cmos/cmos_cells.sp5
2 files changed, 11 insertions, 0 deletions
diff --git a/techlibs/cmos/cmos_cells.lib b/techlibs/cmos/cmos_cells.lib
index 164256c01..697d8205c 100644
--- a/techlibs/cmos/cmos_cells.lib
+++ b/techlibs/cmos/cmos_cells.lib
@@ -1,4 +1,10 @@
library(demo) {
+ cell(BUF) {
+ area: 6;
+ pin(A) { direction: input; }
+ pin(Y) { direction: output;
+ function: "A"; }
+ }
cell(NOT) {
area: 3;
pin(A) { direction: input; }
diff --git a/techlibs/cmos/cmos_cells.sp b/techlibs/cmos/cmos_cells.sp
index cb94caa23..673b20d08 100644
--- a/techlibs/cmos/cmos_cells.sp
+++ b/techlibs/cmos/cmos_cells.sp
@@ -1,4 +1,9 @@
+.SUBCKT BUF A Y
+X1 A B NOT
+X2 B Y NOT
+.ENDS NOT
+
.SUBCKT NOT A Y
M1 Y A Vdd Vdd cmosp L=1u W=10u
M2 Y A Vss Vss cmosn L=1u W=10u