globals { {{Font Times-Roman} {Text GND}} -2 {{Font Times-Roman} {Text Vdd}} -1 } circuit { { name pmos ports {1 2 3} devices { { {{Font Times-Roman} {Text {spice:M%i %pD %pG %pS Vdd pmos}}} {{Font Times-Roman} {Text {sim:p %pG %pS %pD}}} } } nets { 1 {{Font Times-Roman} {Text S}} 2 {{Font Times-Roman} {Text D}} 3 {{Font Times-Roman} {Text G}} } } { name nmos ports {1 2 3} devices { { {{Font Times-Roman} {Text {spice:M%i %pD %pG %pS GND nmos}}} {{Font Times-Roman} {Text {sim:n %pG %pS %pD}}} } } nets { 1 {{Font Times-Roman} {Text G}} 2 {{Font Times-Roman} {Text S}} 3 {{Font Times-Roman} {Text D}} } } { name nor ports {1 9 3} calls { { name pmos ports {-1 14 9} } { name nmos ports {9 -2 1} } { name nmos ports {3 -2 1} } { name pmos ports {14 1 3} } } devices {{} {}} nets { 1 {{Font Times-Roman} {Text Y}} 9 {{Font Times-Roman} {Text A}} 3 {{Font Times-Roman} {Text B}} 14 {{Text ext14}} } } { name half_ff ports {1 2 3} calls { { name nor ports {2 1 3} } } devices {{}} nets { 1 {{Text ext5}} 2 {{Text ext4}} 3 {{Text ext3}} } } { name SRflipflop calls { { name half_ff ports {1 5 4} } { name half_ff ports {2 4 5} } } devices {{} {}} nets { 1 {{Font Times-Roman} {Text S}} 5 {{Font Times-Roman} Overline {Text Q}} 4 {{Font Times-Roman} {Text Q}} 2 {{Font Times-Roman} {Text R}} } } { name sr_ff2_use calls { { name SRflipflop ports {1 2 3 7} } } devices {{}} nets { 1 {{Font Times-Roman} {Text Set}} 2 {{Font Times-Roman} {Text Reset}} 3 {{Font Times-Roman} {Text Out}} 7 {{Text ext7}} } } }