LIBRARY exemplar
BEGIN
FUNCTION wire (IN)
RETURNS (OUT)
FUNCTION "CBUF" ("IN")
RETURNS ("OUT")
END
BEGIN
FUNCTION wire (IN)
RETURNS (OUT)
FUNCTION "DELAY" ("IN1")
RETURNS ("Y")
END
BEGIN
FUNCTION wire (IN)
RETURNS (OUT)
FUNCTION "BUF" ("IN1")
RETURNS ("Y")
END
BEGIN
FUNCTION wire (IN)
RETURNS (OUT)
FUNCTION "OUTBUF" ("IN")
RETURNS ("OUT")
END
BEGIN
FUNCTION wire (IN)
RETURNS (OUT)
FUNCTION "INBUF" ("IN")
RETURNS ("OUT")
END
BEGIN
FUNCTION DFFE (D, CLK, CLRN, PRN, ENA)
RETURNS (Q)
FUNCTION "DFFE" ("D", "CLK", "CLRN", "PRN", "ENA")
RETURNS ("Q")
END
BEGIN
FUNCTION NOT (IN)
RETURNS (OUT)
FUNCTION "NOT" ("IN1")
RETURNS ("Y")
END
BEGIN
FUNCTION WIRE(IN)
RETURNS (OUT)
FUNCTION "VCC" ("VCC")
RETURNS ("Y")
END
BEGIN
FUNCTION WIRE(IN)
RETURNS (OUT)
FUNCTION "GND" ("GND")
RETURNS ("Y")
END
BEGIN
FUNCTION 21MUX (S, A, B)
RETURNS (Y)
FUNCTION "MUX" ("SEL", "B", "A")
RETURNS ("Y")
END
BEGIN
FUNCTION and12 (IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8,IN9,IN10,IN11,IN12)
RETURNS (OUT)
FUNCTION "AND12" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8","IN9","IN10","IN11","IN12")
RETURNS ("Y")
END
BEGIN
FUNCTION and11 (IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8,IN9,IN10,IN11)
RETURNS (OUT)
FUNCTION "AND11" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8","IN9","IN10","IN11")
RETURNS ("Y")
END
BEGIN
FUNCTION and10 (IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8,IN9,IN10)
RETURNS (OUT)
FUNCTION "AND10" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8","IN9","IN10")
RETURNS ("Y")
END
BEGIN
FUNCTION and9 (IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8,IN9)
RETURNS (OUT)
FUNCTION "AND9" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8","IN9")
RETURNS ("Y")
END
BEGIN
FUNCTION and8 (IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8)
RETURNS (OUT)
FUNCTION "AND8" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8")
RETURNS ("Y")
END
BEGIN
FUNCTION and7 (IN1,IN2,IN3,IN4,IN5,IN6,IN7)
RETURNS (OUT)
FUNCTION "AND7" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7")
RETURNS ("Y")
END
BEGIN
FUNCTION and6 (IN1,IN2,IN3,IN4,IN5,IN6)
RETURNS (OUT)
FUNCTION "AND6" ("IN1","IN2","IN3","IN4","IN5","IN6")
RETURNS ("Y")
END
BEGIN
FUNCTION and5 (IN1,IN2,IN3,IN4,IN5)
RETURNS (OUT)
FUNCTION "AND5" ("IN1","IN2","IN3","IN4","IN5")
RETURNS ("Y")
END
BEGIN
FUNCTION and4 (IN1,IN2,IN3,IN4)
RETURNS (OUT)
FUNCTION "AND4" ("IN1","IN2","IN3","IN4")
RETURNS ("Y")
END
BEGIN
FUNCTION and3 (IN1,IN2,IN3)
RETURNS (OUT)
FUNCTION "AND3" ("IN1","IN2","IN3")
RETURNS ("Y")
END
BEGIN
FUNCTION and2 (IN1,IN2)
RETURNS (OUT)
FUNCTION "AND2" ("IN1","IN2")
RETURNS ("Y")
END
BEGIN
FUNCTION and (IN)
RETURNS (OUT)
FUNCTION "AND1" ("IN1")
RETURNS ("Y")
END
BEGIN
FUNCTION or12 (IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8,IN9,IN10,IN11,IN12)
RETURNS (OUT)
FUNCTION "OR12" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8","IN9","IN10","IN11","IN12")
RETURNS ("Y")
END
BEGIN
FUNCTION or11 (IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8,IN9,IN10,IN11)
RETURNS (OUT)
FUNCTION "OR11" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8","IN9","IN10","IN11")
RETURNS ("Y")
END
BEGIN
FUNCTION or10 (IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8,IN9,IN10)
RETURNS (OUT)
FUNCTION "OR10" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8","IN9","IN10")
RETURNS ("Y")
END
BEGIN
FUNCTION or (IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8,IN9)
RETURNS (OUT)
FUNCTION "OR9" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8","IN9")
RETURNS ("Y")
END
BEGIN
FUNCTION or (IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8)
RETURNS (OUT)
FUNCTION "OR8" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8")
RETURNS ("Y")
END
BEGIN
FUNCTION or (IN1,IN2,IN3,IN4,IN5,IN6,IN7)
RETURNS (OUT)
FUNCTION "OR7" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7")
RETURNS ("Y")
END
BEGIN
FUNCTION or (IN1,IN2,IN3,IN4,IN5,IN6)
RETURNS (OUT)
FUNCTION "OR6" ("IN1","IN2","IN3","IN4","IN5","IN6")
RETURNS ("Y")
END
BEGIN
FUNCTION or (IN1,IN2,IN3,IN4,IN5)
RETURNS (OUT)
FUNCTION "OR5" ("IN1","IN2","IN3","IN4","IN5")
RETURNS ("Y")
END
BEGIN
FUNCTION or (IN1,IN2,IN3,IN4)
RETURNS (OUT)
FUNCTION "OR4" ("IN1","IN2","IN3","IN4")
RETURNS ("Y")
END
BEGIN
FUNCTION or (IN1,IN2,IN3)
RETURNS (OUT)
FUNCTION "OR3" ("IN1","IN2","IN3")
RETURNS ("Y")
END
BEGIN
FUNCTION or (IN1,IN2)
RETURNS (OUT)
FUNCTION "OR2" ("IN1","IN2")
RETURNS ("Y")
END
BEGIN
FUNCTION or (IN)
RETURNS (OUT)
FUNCTION "OR1" ("IN1")
RETURNS ("Y")
END
BEGIN
FUNCTION nand12 (IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8,IN9,IN10,IN11,IN12)
RETURNS (OUT)
FUNCTION "NAND12" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8","IN9","IN10","IN11","IN12")
RETURNS ("Y")
END
BEGIN
FUNCTION nand8 (IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8)
RETURNS (OUT)
FUNCTION "NAND8" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8")
RETURNS ("Y")
END
BEGIN
FUNCTION nand6 (IN1,IN2,IN3,IN4,IN5,IN6)
RETURNS (OUT)
FUNCTION "NAND6" ("IN1","IN2","IN3","IN4","IN5","IN6")
RETURNS ("Y")
END
BEGIN
FUNCTION nand4 (IN1,IN2,IN3,IN4)
RETURNS (OUT)
FUNCTION "NAND4" ("IN1","IN2","IN3","IN4")
RETURNS ("Y")
END
BEGIN
FUNCTION nand3 (IN1,IN2,IN3)
RETURNS (OUT)
FUNCTION "NAND3" ("IN1","IN2","IN3")
RETURNS ("Y")
END
BEGIN
FUNCTION nand2 (IN1,IN2)
RETURNS (OUT)
FUNCTION "NAND2" ("IN1","IN2")
RETURNS ("Y")
END
BEGIN
FUNCTION nor12 (IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8,IN9,IN10,IN11,IN12)
RETURNS (OUT)
FUNCTION "NOR12" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8","IN9","IN10","IN11","IN12")
RETURNS ("Y")
END
BEGIN
FUNCTION nor8 (IN1,IN2,IN3,IN4,IN5,IN6,IN7,IN8)
RETURNS (OUT)
FUNCTION "NOR8" ("IN1","IN2","IN3","IN4","IN5","IN6","IN7","IN8")
RETURNS ("Y")
END
BEGIN
FUNCTION nor6 (IN1,IN2,IN3,IN4,IN5,IN6)
RETURNS (OUT)
FUNCTION "NOR6" ("IN1","IN2","IN3","IN4","IN5","IN6")
RETURNS ("Y")
END
BEGIN
FUNCTION nor4 (IN1,IN2,IN3,IN4)
RETURNS (OUT)
FUNCTION "NOR4" ("IN1","IN2","IN3","IN4")
RETURNS ("Y")
END
BEGIN
FUNCTION nor3 (IN1,IN2,IN3)
RETURNS (OUT)
FUNCTION "NOR3" ("IN1","IN2","IN3")
RETURNS ("Y")
END
BEGIN
FUNCTION nor2 (IN1,IN2)
RETURNS (OUT)
FUNCTION "NOR2" ("IN1","IN2")
RETURNS ("Y")
END
BEGIN
FUNCTION xor (IN1,IN2)
RETURNS (OUT)
FUNCTION "XOR2" ("IN1","IN2")
RETURNS ("Y")
END
BEGIN
FUNCTION dff (D,CLK,CLRN,PRN)
RETURNS (Q)
FUNCTION "DFF" ("D","CLK","CLRN","PRN")
RETURNS ("Q")
END
BEGIN
FUNCTION dff (D,CLK,CLRN,PRN)
RETURNS (Q)
FUNCTION "DFFP" ("D","CLK","VCC", "PRN")
RETURNS ("Q")
END
BEGIN
FUNCTION dff (D,CLK,CLRN,PRN)
RETURNS (Q)
FUNCTION "DFFC" ("D","CLK","CLRN","VCC")
RETURNS ("Q")
END
BEGIN
FUNCTION tff (T,CLK,CLRN,PRN)
RETURNS (Q)
FUNCTION "TFF" ("T","CLK","CLRN","PRN")
RETURNS ("Q")
END
BEGIN
FUNCTION tff (T,CLK,CLRN,PRN)
RETURNS (Q)
FUNCTION "TFFC" ("T","CLK","CLRN","VCC")
RETURNS ("Q")
END
BEGIN
FUNCTION tff (T,CLK,CLRN,PRN)
RETURNS (Q)
FUNCTION "TFFP" ("T","CLK","VCC", "PRN")
RETURNS ("Q")
END
BEGIN
FUNCTION tri (IN,OE)
RETURNS (OUT)
FUNCTION "TRI" ("IN","OE")
RETURNS ("OUT")
END
BEGIN
FUNCTION tri (IN,OE)
RETURNS (OUT)
FUNCTION "BUFT" ("IN","OE")
RETURNS ("OUT")
END
BEGIN
FUNCTION exp (IN)
RETURNS (OUT)
FUNCTION "EXP" ("IN1")
RETURNS ("Y")
END
BEGIN
FUNCTION latch (D,ENA)
RETURNS (Q)
FUNCTION "LATCH" ("D","ENA")
RETURNS ("Q")
END
BEGIN
FUNCTION global (IN)
RETURNS (OUT)
FUNCTION "GLOBAL" ("A_IN")
RETURNS ("A_OUT")
END
BEGIN
FUNCTION soft (IN)
RETURNS (OUT)
FUNCTION "SOFT" ("IN1")
RETURNS ("Y")
END
BEGIN
FUNCTION lcell (IN)
RETURNS (OUT)
FUNCTION "LCELL" ("IN1")
RETURNS ("Y")
END
BEGIN
FUNCTION cascade (IN)
RETURNS (OUT)
FUNCTION "CASCADE" ("IN1")
RETURNS ("Y")
END
BEGIN
FUNCTION carry (IN)
RETURNS (OUT)
FUNCTION "CARRY" ("IN1")
RETURNS ("Y")
END
BEGIN
FUNCTION opndrn ( IN )
RETURNS ( OUT )
FUNCTION "OPNDRN" ( "A_IN" )
RETURNS ( "A_OUT" )
END