From 1e548a07da04646202ee20673e6a4470ee063708 Mon Sep 17 00:00:00 2001 From: fahimkhan Date: Wed, 9 Mar 2016 15:21:48 +0530 Subject: [PATCH 01/52] Remove lower case function as it is not required --- src/ngspicetoModelica/NgspicetoModelica.py | 23 ++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 95f991bd2..95a93b36a 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -40,9 +40,13 @@ def separateNetlistInfo(self,data): if eachline[0]=='*': continue elif eachline[0]=='.': - optionInfo.append(eachline.lower()) + optionInfo.append(eachline) + ##No need of making it lower case as netlist is already converted to ngspice + #optionInfo.append(eachline.lower()) else: - schematicInfo.append(eachline.lower()) + schematicInfo.append(eachline) + ##No need of making it lower case as netlist is already converted to ngspice + #schematicInfo.append(eachline.lower()) return optionInfo,schematicInfo def addModel(self,optionInfo): @@ -104,7 +108,7 @@ def addModel(self,optionInfo): for eachitem in info: modelInfo[eachmodel][info[0]] = info[1] #dic within a dic #modelInfo[eachmodel] = modelInfo[eachmodel].split() - # modelInfo[eachmodel] = modelInfo[eachmodel].lower() + #modelInfo[eachmodel] = modelInfo[eachmodel].lower() f.close() @@ -168,7 +172,6 @@ def splitIntoVal(self,val): """ print "Val------------->",val for i in range(0,len(val),1): - print "Val[i]----------------->",val[i] if val[i] in ['k','u','p','t','g','m','n','f']: newval = val.split(val[i]) print "new Value------------>",newval @@ -672,22 +675,22 @@ def main(args): #Getting all the require information lines = obj_NgMoConverter.readNetlist(filename) #print "Complete Lines of Ngspice netlist :lines ---------------->",lines - optionInfo, schematicInfo=obj_NgMoConverter.separateNetlistInfo(lines) + optionInfo, schematicInfo = obj_NgMoConverter.separateNetlistInfo(lines) #print "All option details like analysis,subckt,.ic,.model : OptionInfo------------------->",optionInfo #print "Schematic connection info :schematicInfo",schematicInfo modelName, modelInfo, subcktName, paramInfo, inbuiltmodelName, inbuiltmodelInfo = obj_NgMoConverter.addModel(optionInfo) print "Name of Model : modelName-------------------->",modelName print "Model Information :modelInfo--------------------->",modelInfo - print "Subcircuit Name :subcktName------------------------>",subcktName - print "Parameter Information :paramInfo---------------------->",paramInfo - print "Ngspice inbuiltmodelName :inbuiltmodelName---------------------->",inbuiltmodelName - print "Ngspice inbuiltmodelInfo :inbuiltmodelInfo----------------------->",inbuiltmodelInfo + #print "Subcircuit Name :subcktName------------------------>",subcktName + #print "Parameter Information :paramInfo---------------------->",paramInfo + #print "Ngspice inbuiltmodelName :inbuiltmodelName---------------------->",inbuiltmodelName + #print "Ngspice inbuiltmodelInfo :inbuiltmodelInfo----------------------->",inbuiltmodelInfo modelicaParamInit = obj_NgMoConverter.processParam(paramInfo) #print "Make modelicaParamInit from paramInfo :processParamInit------------->",modelicaParamInit compInfo, plotInfo = obj_NgMoConverter.separatePlot(schematicInfo) - #print "Info like run etc : CompInfo----------------->",compInfo + print "Info like run etc : CompInfo----------------->",compInfo #print "Plot info like plot,print etc :plotInfo",plotInfo IfMOS = '0' From 91f2816832a8f708db659ae856a5b2c97744c0cc Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 14 Mar 2016 15:09:54 +0530 Subject: [PATCH 02/52] Make it work for External Model Library --- src/ngspicetoModelica/NgspicetoModelica.py | 28 ++++++++++++---------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 95a93b36a..74401c9b9 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -84,6 +84,7 @@ def addModel(self,optionInfo): #Adding details of model(external) and subckt into modelInfo and subcktInfo + print "Model Name ------------ >",modelName for eachmodel in modelName: filename = eachmodel + '.lib' if os.path.exists(filename): @@ -96,19 +97,19 @@ def addModel(self,optionInfo): print filename + " does not exist" sys.exit() data = f.read() - data = data.lower() + #data = data.lower() #No need to make it lower case newdata = data.split('(') - newdata = newdata[1].split() - modelInfo[eachmodel] = {} + refModelName = newdata[0].split()[1] + modelParameter = newdata[1].split() + + modelInfo[refModelName] = {} - for eachline in newdata: + for eachline in modelParameter: if len(eachline) > 1: info = eachline.split('=') # modelInfo[eachmodel][info[0]] = {} for eachitem in info: - modelInfo[eachmodel][info[0]] = info[1] #dic within a dic - #modelInfo[eachmodel] = modelInfo[eachmodel].split() - #modelInfo[eachmodel] = modelInfo[eachmodel].lower() + modelInfo[refModelName][info[0]] = info[1] #dic within a dic f.close() @@ -202,7 +203,7 @@ def splitIntoVal(self,val): def compInit(self,compInfo, node, modelInfo, subcktName): """ - For each component in the netlist initialise it acc to Modelica format + For each component in the netlist initialize it according to Modelica format """ print "CompInfo inside compInit function : compInit",compInfo #### initial processing to check if MOs is present. If so, library to be used is BondLib @@ -253,6 +254,8 @@ def compInit(self,compInfo, node, modelInfo, subcktName): modelicaCompInit.append(stat) elif eachline[0] == 'd': if len(words) > 3: + print words[3] + print "ModelInfo",modelInfo n = float(modelInfo[words[3]]['n']) vt_temp = 0.025*n vt = str(vt_temp) @@ -413,8 +416,7 @@ def nodeSeparate(self,compInfo, ifSub, subname, subcktName,numNodesSub): for i in range(0,len(compInfo),1): compInfo[i] = compInfo[i].replace("[","").replace("]","") - - + for eachline in compInfo: words = eachline.split() if eachline[0] in ['m', 'e', 'g', 't']: @@ -719,8 +721,8 @@ def main(args): node, nodeDic, pinInit, pinProtectedInit = obj_NgMoConverter.nodeSeparate(compInfo, '0', [], subcktName,[]) print "All nodes in the netlist :node---------------->",node print "NodeDic which will be used for modelica : nodeDic------------->",nodeDic - print "PinInit-------------->",pinInit - print "pinProtectedInit----------->",pinProtectedInit + #print "PinInit-------------->",pinInit + #print "pinProtectedInit----------->",pinProtectedInit modelicaCompInit, numNodesSub = obj_NgMoConverter.compInit(compInfo,node, modelInfo, subcktName) print "ModelicaComponents : modelicaCompInit----------->",modelicaCompInit @@ -728,7 +730,7 @@ def main(args): connInfo = obj_NgMoConverter.connectInfo(compInfo, node, nodeDic, numNodesSub,subcktName) - print "ConnInfo------------------>",connInfo + #print "ConnInfo------------------>",connInfo ###After Sub Ckt Func From 697ff38a5712f97a4ca5b81731d4bd3bf0bc69f6 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 21 Mar 2016 14:12:08 +0530 Subject: [PATCH 03/52] Removing Lower case functionality for Reference Model Name --- src/ngspicetoModelica/NgspicetoModelica.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 74401c9b9..582e87960 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -97,9 +97,11 @@ def addModel(self,optionInfo): print filename + " does not exist" sys.exit() data = f.read() - #data = data.lower() #No need to make it lower case - newdata = data.split('(') + #data = data.lower() #Won't work if Reference model name is Upper Case + newdata = data.split('(') + #First fetch the refModelName and then lower case its parameter refModelName = newdata[0].split()[1] + newdata[1] = newdata[1].lower() modelParameter = newdata[1].split() modelInfo[refModelName] = {} @@ -255,7 +257,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName): elif eachline[0] == 'd': if len(words) > 3: print words[3] - print "ModelInfo",modelInfo + print "ModelInfo----------->",modelInfo n = float(modelInfo[words[3]]['n']) vt_temp = 0.025*n vt = str(vt_temp) From 09306d977713deba69879a3f35a025c018b74876 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Tue, 22 Mar 2016 17:17:53 +0530 Subject: [PATCH 04/52] write getUnitVal function to fetch the proper unit value for modelica --- src/ngspicetoModelica/NgspicetoModelica.py | 31 +++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 582e87960..61843c25e 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -1,11 +1,17 @@ import sys import os import re +import json from string import maketrans class NgMoConverter: + ifMOS = False + def __init__(self): - pass + #Loading JSON file which hold the mapping information between ngspice and Modelica. + with open('Mapping.json') as mappingFile: + self.mappingData = json.load(mappingFile) + def readNetlist(self,filename): """ @@ -43,6 +49,10 @@ def separateNetlistInfo(self,data): optionInfo.append(eachline) ##No need of making it lower case as netlist is already converted to ngspice #optionInfo.append(eachline.lower()) + elif eachline[0]=='m': + ifMOS = True + print "Mos is present ",ifMOS + schematicInfo.append(eachline) else: schematicInfo.append(eachline) ##No need of making it lower case as netlist is already converted to ngspice @@ -203,6 +213,24 @@ def splitIntoVal(self,val): value = val return value + def getUnitVal(self,compValue): + print "Received compValue--------> ",compValue + regExp = re.compile("([0-9]+)([a-zA-Z]+)") + matchString = regExp.match(str(compValue)) #separating number and string + try: + numValue = matchString.group(1) + unitValue = matchString.group(2) + #print "Num Value---------->",numValue + #print "Unit Value------->",unitValue + #print "Converted Unit ------->",self.mappingData["Units"][unitValue] + modifiedcompValue = numValue+self.mappingData["Units"][unitValue] + return modifiedcompValue + except: + return compValue + + def getModelicaComponent(self): + print "Get Modelica Component" + def compInit(self,compInfo, node, modelInfo, subcktName): """ For each component in the netlist initialize it according to Modelica format @@ -233,6 +261,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName): words = eachline.split() val = words[3] value = self.splitIntoVal(val) + _value = self.getUnitVal(words[-1]) if eachline[0] == 'r': stat = 'Analog.Basic.Resistor ' + words[0] + '(R = ' + value + ');' modelicaCompInit.append(stat) From 5f405de9cf3f3e968f7a45f48710ae99a2372941 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Wed, 23 Mar 2016 11:12:39 +0530 Subject: [PATCH 05/52] Remove number dependency of node --- src/ngspicetoModelica/NgspicetoModelica.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 61843c25e..df7113ac7 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -259,9 +259,9 @@ def compInit(self,compInfo, node, modelInfo, subcktName): break for eachline in compInfo: words = eachline.split() - val = words[3] - value = self.splitIntoVal(val) - _value = self.getUnitVal(words[-1]) + #val = words[3] + #value = self.splitIntoVal(val) + value = self.getUnitVal(words[-1]) if eachline[0] == 'r': stat = 'Analog.Basic.Resistor ' + words[0] + '(R = ' + value + ');' modelicaCompInit.append(stat) @@ -384,7 +384,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName): else: continue - if '0' in node: + if '0' or 'gnd' in node: modelicaCompInit.append('Analog.Basic.Ground g;') return modelicaCompInit, numNodesSub From 35e169f59e7d7ba8da89c944f205f9c092b21960 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Wed, 23 Mar 2016 16:56:18 +0530 Subject: [PATCH 06/52] Completed code for mapping of Source And started Mapping code for device --- src/ngspicetoModelica/NgspicetoModelica.py | 139 +++++++++++---------- 1 file changed, 70 insertions(+), 69 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index df7113ac7..090967950 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -5,13 +5,18 @@ from string import maketrans class NgMoConverter: - ifMOS = False + def __init__(self): #Loading JSON file which hold the mapping information between ngspice and Modelica. with open('Mapping.json') as mappingFile: self.mappingData = json.load(mappingFile) + self.ifMOS = False + self.sourceDetail = [] + self.deviceDetail = [] + self.deviceList = ['d','D','j','J','q','Q'] #MOSFET is excluded as it has special case + def readNetlist(self,filename): """ @@ -39,6 +44,7 @@ def separateNetlistInfo(self,data): """ optionInfo = [] schematicInfo = [] + for eachline in data: if len(eachline) > 1: #if eachline[0] == '+': @@ -49,10 +55,14 @@ def separateNetlistInfo(self,data): optionInfo.append(eachline) ##No need of making it lower case as netlist is already converted to ngspice #optionInfo.append(eachline.lower()) - elif eachline[0]=='m': - ifMOS = True - print "Mos is present ",ifMOS - schematicInfo.append(eachline) + elif eachline[0] in self.deviceList: + if eachline[0]=='m' or eachline[0]=='M': + self.ifMOS = True + schematicInfo.append(eachline) + self.deviceDetail.append(eachline) + elif eachline[0]=='v' or eachline[0]=='V': + #schematicInfo.append(eachline) + self.sourceDetail.append(eachline) else: schematicInfo.append(eachline) ##No need of making it lower case as netlist is already converted to ngspice @@ -220,22 +230,17 @@ def getUnitVal(self,compValue): try: numValue = matchString.group(1) unitValue = matchString.group(2) - #print "Num Value---------->",numValue - #print "Unit Value------->",unitValue - #print "Converted Unit ------->",self.mappingData["Units"][unitValue] modifiedcompValue = numValue+self.mappingData["Units"][unitValue] return modifiedcompValue except: return compValue - def getModelicaComponent(self): - print "Get Modelica Component" - + def compInit(self,compInfo, node, modelInfo, subcktName): """ For each component in the netlist initialize it according to Modelica format """ - print "CompInfo inside compInit function : compInit",compInfo + print "CompInfo inside compInit function : compInit------->",compInfo #### initial processing to check if MOs is present. If so, library to be used is BondLib modelicaCompInit = [] numNodesSub = {} @@ -257,6 +262,57 @@ def compInit(self,compInfo, node, modelInfo, subcktName): if eachline[0] == 'm': IfMOS = '1' break + + #Lets Start with Source details + for eachline in self.sourceDetail: + eachline = eachline.lower() + words = eachline.split() + typ = words[3].split('(') + if typ[0] == "pulse": + per = words[9].split(')') + stat = self.mappingData["Sources"][typ[0]]+' '+words[0]+'(rising = '+words[6]+', V = '+words[4]\ + +', width = '+words[8]+', period = '+per[0]+', offset = '+typ[1]+', startTime = '+words[5]+', falling = '+words[7]+');' + modelicaCompInit.append(stat) + if typ[0] == "sine": + theta = words[7].split(')') + stat = self.mappingData["Sources"][typ[0]]+' '+words[0]+'(offset = '+typ[1]+', V = '+words[4]+', freqHz = '+words[5]+', startTime = '+words[6]+', phase = '+theta[0]+');' + modelicaCompInit.append(stat) + if typ[0] == "pwl": + keyw = self.mappingData["Sources"][typ[0]]+' ' + stat = keyw + words[0] + '(table = [' + typ[1] + ',' + words[4] + ';' + length = len(words); + for i in range(6,length,2): + if i == length-2: + w = words[i].split(')') + stat = stat + words[i-1] + ',' + w[0] + else: + stat = stat + words[i-1] + ',' + words[i] + ';' + stat = stat + ']);' + modelicaCompInit.append(stat) + if typ[0] == words[3] and typ[0] != "dc": + #It is DC constant but no dc keyword + val_temp = typ[0].split('v') + stat = self.mappingData["Sources"]["dc"]+' ' + words[0] + '(V = ' + val_temp[0] + ');' + modelicaCompInit.append(stat) + elif typ[0] == words[3] and typ[0] == "dc": + stat = self.mappingData["Sources"][typ[0]]+' ' + words[0] + '(V = ' + words[4] + ');' ### check this + modelicaCompInit.append(stat) + + #Lets start for device + for eachline in self.deviceDetail: + words=eachline.split() + if eachline[0]=='d' or eachline[0]=='D': + if len(words)>3: + if modelInfo[words[3]].has_key('n'): + n = float(modelInfo[words[3]]['n']) + else: + n = 1.0 + vt = str(float(0.025*n)) + stat = self.mappingData["Devices"][eachline[0]]+' '+ words[0] + '(Ids = ' + modelInfo[words[3]]['is'] + ', Vt = ' + vt + ', R = 1e12' +');' + else: + stat = self.mappingData["Devices"][eachline[0]]+' '+ words[0] +';' + modelicaCompInit.append(stat) + for eachline in compInfo: words = eachline.split() #val = words[3] @@ -283,17 +339,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName): elif eachline[0] == 'h': stat = 'Analog.Basic.CCV ' + words[0] + '(transResistance = ' + self.splitIntoVal(words[4]) + ');' modelicaCompInit.append(stat) - elif eachline[0] == 'd': - if len(words) > 3: - print words[3] - print "ModelInfo----------->",modelInfo - n = float(modelInfo[words[3]]['n']) - vt_temp = 0.025*n - vt = str(vt_temp) - stat = 'Analog.Semiconductors.Diode ' + words[0] + '(Ids = ' + modelInfo[words[3]]['is'] + ', Vt = ' + vt + ', R = 1e12' +');' - else: - stat = 'Analog.Semiconductors.Diode ' + words[0] +';' - modelicaCompInit.append(stat) + elif eachline[0] == 'm': line_l = words[7].split('=') line_w = words[8].split('=') @@ -319,52 +365,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName): + line_pd[1] + ', PS = ' + line_pd[1] + ');' stat = stat.translate(maketrans('{}', ' ')) modelicaCompInit.append(stat) - elif eachline[0] == 'v': - typ = words[3].split('(') - if typ[0] == "pulse": - per = words[9].split(')') - #if IfMOS == '0': - #stat = 'Spice3.Sources.V_pulse '+words[0]+'(TR = '+words[6]+', V2 = '+words[4]+', PW = '+words[8]+', PER = '+per[0]+', V1 = '+typ[1]+', TD = '+words[5]+', TF = '+words[7]+');' - #elif IfMOS == '1': - stat = 'Analog.Sources.TrapezoidVoltage '+words[0]+'(rising = '+words[6]+', V = '+words[4]\ - +', width = '+words[8]+', period = '+per[0]+', offset = '+typ[1]+', startTime = '+words[5]+', falling = '+words[7]+');' - modelicaCompInit.append(stat) - if typ[0] == "sine": - theta = words[7].split(')') - #if IfMOS == '0': - #stat = 'Spice3.Sources.V_sin '+words[0]+'(VO = '+typ[1]+', VA = '+words[4]+', FREQ = '+words[5]+', TD = '+words[6]+', THETA = '+theta[0]+');' - #elif IfMOS == '1': - stat = 'Analog.Sources.SineVoltage '+words[0]+'(offset = '+typ[1]+', V = '+words[4]+', freqHz = '+words[5]+', startTime = '+words[6]+', phase = '+theta[0]+');' - modelicaCompInit.append(stat) - if typ[0] == "pwl": - #if IfMOS == '0': - #keyw = 'Spice3.Sources.V_pwl ' - #elif IfMOS == '1': - keyw = 'Analog.Sources.TableVoltage ' - stat = keyw + words[0] + '(table = [' + typ[1] + ',' + words[4] + ';' - length = len(words); - for i in range(6,length,2): - if i == length-2: - w = words[i].split(')') - stat = stat + words[i-1] + ',' + w[0] - else: - stat = stat + words[i-1] + ',' + words[i] + ';' - stat = stat + ']);' - modelicaCompInit.append(stat) - if typ[0] == words[3] and typ[0] != "dc": - val_temp = typ[0].split('v') - #if IfMOS == '0': - stat = 'Analog.Sources.ConstantVoltage ' + words[0] + '(V = ' + val_temp[0] + ');' - #elif IfMOS == '1': - #stat = 'Analog.Sources.ConstantVoltage ' + words[0] + '(V = ' + val_temp[0] + ');' - modelicaCompInit.append(stat) - elif typ[0] == words[3] and typ[0] == "dc": - #if IfMOS == '0': - #stat = 'Spice3.Sources.V_constant ' + words[0] + '(V = ' + words[4] + ');' ### check this - #elif IfMOS == '1': - stat = 'Analog.Sources.ConstantVoltage ' + words[0] + '(V = ' + words[4] + ');' ### check this - modelicaCompInit.append(stat) - + elif eachline[0] == 'x': temp_line = eachline.split() temp = temp_line[0].split('x') From c32dbc8033fbabbf7ae8291eef05e5da11ecfadf Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 28 Mar 2016 10:09:17 +0530 Subject: [PATCH 07/52] Added intial Mapping.json --- src/ngspicetoModelica/Mapping.json | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/ngspicetoModelica/Mapping.json diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json new file mode 100644 index 000000000..68359d80a --- /dev/null +++ b/src/ngspicetoModelica/Mapping.json @@ -0,0 +1,38 @@ +{ + "Components":{ + "R" : "Analog.Basic.Resistor", + "C" : "Analog.Basic.Capacitor", + "L" : "Analog.Basic.Inductor", + "e" : "Analog.Basic.VCV", + "g" : "Analog.Basic.VCC", + "f" : "Analog.Basic.CCC", + "h" : "Analog.Basic.CCV", + "0" : "Analog.Basic.Ground", + "gnd" : "Analog.Basic.Ground" + + }, + "Sources":{ + "pulse":"Analog.Sources.TrapezoidVoltage", + "sine":"Analog.Sources.SineVoltage", + "pwl" : "Analog.Sources.TableVoltage", + "dc" : "Analog.Sources.ConstantVoltage" + }, + "Devices":{ + "d" : "Analog.Semiconductors.Diode", + "D" : "Analog.Semiconductors.Diode" + }, + + "Units":{ + "k":"e3", + "u":"e-6", + "p":"e-12", + "t":"e12", + "g":"e9", + "m":"e-3", + "me":"e6", + "n":"e-9", + "f":"e-15" + + } + +} \ No newline at end of file From 8084cd3300be5d7237039b61b840e8c6195f000e Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 28 Mar 2016 17:25:17 +0530 Subject: [PATCH 08/52] Modified code for Transistor --- src/ngspicetoModelica/Mapping.json | 10 +- src/ngspicetoModelica/NgspicetoModelica.py | 140 ++++++++++++++++----- 2 files changed, 121 insertions(+), 29 deletions(-) diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index 68359d80a..2b3d94a64 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -19,7 +19,15 @@ }, "Devices":{ "d" : "Analog.Semiconductors.Diode", - "D" : "Analog.Semiconductors.Diode" + "D" : "Analog.Semiconductors.Diode", + "M" :"BondLib.Electrical.Analog.Spice", + "m" : "BondLib.Electrical.Analog.Spice", + "Q": "Analog.Semiconductors", + "q": "Analog.Semiconductors" + }, + "Parameters":{ + "Diode":"List Of Diode Param", + "Mosfet":"List of Mosfet Param" }, "Units":{ diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 090967950..f4402b801 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -3,6 +3,7 @@ import re import json from string import maketrans +from lepl.matchers.derived import Star class NgMoConverter: @@ -22,6 +23,7 @@ def readNetlist(self,filename): """ Read Ngspice Netlist """ + netlist = [] if os.path.exists(filename): try: f = open(filename) @@ -34,26 +36,30 @@ def readNetlist(self,filename): sys.exit() data = f.read() - #data = data.translate(maketrans('\n+', ' ')) + data = data.splitlines() f.close() - return data.splitlines() + for eachline in data: + eachline=eachline.strip() + if len(eachline)>1: + if eachline[0]=='+': + netlist.append(netlist.pop()+eachline.replace('+',' ',1)) + else: + netlist.append(eachline) + return netlist - def separateNetlistInfo(self,data): + def separateNetlistInfo(self,netlist): """ Separate schematic data and option data """ optionInfo = [] schematicInfo = [] - for eachline in data: + for eachline in netlist: if len(eachline) > 1: - #if eachline[0] == '+': - # eachline=eachline.translate(maketrans('\n+',' ')) if eachline[0]=='*': continue elif eachline[0]=='.': optionInfo.append(eachline) - ##No need of making it lower case as netlist is already converted to ngspice #optionInfo.append(eachline.lower()) elif eachline[0] in self.deviceList: if eachline[0]=='m' or eachline[0]=='M': @@ -78,9 +84,8 @@ def addModel(self,optionInfo): modelInfo = {} subcktName = [] paramInfo = [] - inbuiltmodelName = [] - inbuiltmodelInfo = {} - #modelInfo['paramInfo'] = {} + transInfo = {} + for eachline in optionInfo: words = eachline.split() if words[0] == '.include': @@ -92,16 +97,36 @@ def addModel(self,optionInfo): elif words[0] == '.param': paramInfo.append(eachline) elif words[0] == '.model': + model = words[1] + modelInfo[model] = {} + eachline = eachline.replace(' = ','=').replace('= ','=').replace(' =','=') + eachline = eachline.split('(') + templine = eachline[0].split() + trans = templine[1] + transInfo[trans] = [] + if templine[2] in ['npn', 'pnp', 'pmos', 'nmos']: + transInfo[trans] = templine[2] + eachline[1] = eachline[1].lower() + eachline = eachline[1].split() + + for eachitem in eachline: + if len(eachitem) > 1: + eachitem = eachitem.replace(')','') + iteminfo = eachitem.split('=') + for each in iteminfo: + modelInfo[model][iteminfo[0]] = iteminfo[1] + + """ name = words[1]+':'+words[2].split('(')[0] #model_ref_name:actual_model_name - inbuiltmodelName.append(name) - inbuiltmodelInfo[name] = {} + modelName.append(name) + modelInfo[name] = {} #Get all the data with () of .model line paramData = re.compile("\((.*)\)" ).search(eachline).group(1) info = paramData.split() for eachitem in info: eachitem = eachitem.split('=') - inbuiltmodelInfo[name][eachitem[0]] = eachitem[1] - + modelInfo[name][eachitem[0]] = eachitem[1] + """ #Adding details of model(external) and subckt into modelInfo and subcktInfo print "Model Name ------------ >",modelName @@ -117,8 +142,29 @@ def addModel(self,optionInfo): print filename + " does not exist" sys.exit() data = f.read() + data = data.replace('+', '').replace('\n','').replace(' = ','=').replace('= ','=').replace(' =','=') #data = data.lower() #Won't work if Reference model name is Upper Case - newdata = data.split('(') + newdata = data.split('(') + templine_f = newdata[0].split() + trans_f = templine_f[1] + transInfo[trans_f] = [] + if templine_f[2] in ['npn', 'pnp', 'pmos', 'nmos']: + transInfo[trans_f] = templine_f[2] + + refModelName = trans_f + newdata[1] = newdata[1].lower() + modelParameter = newdata[1].split() + + modelInfo[refModelName] = {} + + for eachline in modelParameter: + if len(eachline) > 1: + eachline = eachline.replace(')','') + info = eachline.split('=') + for eachitem in info: + modelInfo[refModelName][info[0]] = info[1] + f.close() + ''' #First fetch the refModelName and then lower case its parameter refModelName = newdata[0].split()[1] newdata[1] = newdata[1].lower() @@ -133,9 +179,9 @@ def addModel(self,optionInfo): for eachitem in info: modelInfo[refModelName][info[0]] = info[1] #dic within a dic f.close() - + ''' - return modelName, modelInfo, subcktName, paramInfo,inbuiltmodelName,inbuiltmodelInfo + return modelName, modelInfo, subcktName, paramInfo ,transInfo def processParam(self,paramInfo): """ @@ -152,7 +198,6 @@ def processParam(self,paramInfo): stat = 'parameter Real ' + final_line + ';' stat = stat.translate(maketrans('{}', ' ')) modelicaParam.append(stat) - print "Modelica Parameter----------->",modelicaParam return modelicaParam @@ -193,11 +238,9 @@ def splitIntoVal(self,val): """ Split the number k,u,p,t,g etc into powers e3,e-6 etc """ - print "Val------------->",val for i in range(0,len(val),1): if val[i] in ['k','u','p','t','g','m','n','f']: newval = val.split(val[i]) - print "new Value------------>",newval if val[i] == 'k': value = newval[0] + 'e3' if val[i] == 'u': @@ -234,9 +277,21 @@ def getUnitVal(self,compValue): return modifiedcompValue except: return compValue + + def tryExists(self,modelInfo,words,wordNo, key,default): + """ + checks if entry for key exists in dictionary, else returns default + """ + try: + keyval = modelInfo[words[wordNo]][key] + keyval = self.getUnitVal(keyval) + print "Key------->",modelInfo + except KeyError: + keyval = str(default) + return keyval - def compInit(self,compInfo, node, modelInfo, subcktName): + def compInit(self,compInfo, node, modelInfo, subcktName,dir_name): """ For each component in the netlist initialize it according to Modelica format """ @@ -255,8 +310,10 @@ def compInit(self,compInfo, node, modelInfo, subcktName): subSchemInfo = [] for eachsub in subcktName: filename_tem = eachsub + '.sub' + filename_tem = os.path.join(dir_name, filename_tem) data = self.readNetlist(filename_tem) subOptionInfo, subSchemInfo = self.separateNetlistInfo(data) + for eachline in subSchemInfo: #words = eachline.split() if eachline[0] == 'm': @@ -312,6 +369,32 @@ def compInit(self,compInfo, node, modelInfo, subcktName): else: stat = self.mappingData["Devices"][eachline[0]]+' '+ words[0] +';' modelicaCompInit.append(stat) + + elif eachline[0]=='q' or eachline[0]=='Q': + print "Starting Transistor" + if words[4]=='npn': + start = 'Analog.Semiconductors.NPN ' + elif words[4]=='pnp': + start = 'Analog.Semiconductors.PNP ' + + inv_vak = float(self.tryExists(modelInfo,words,4, 'vaf', 50)) + vak_temp = 1/inv_vak + vak = str(vak_temp) + bf = self.tryExists(modelInfo,words,4, 'bf', 50) + br = self.tryExists(modelInfo,words,4, 'br', 0.1) + Is = self.tryExists(modelInfo,words,4, 'is', 1e-16) + tf = self.tryExists(modelInfo,words,4, 'tf', 1.2e-10) + tr = self.tryExists(modelInfo,words,4, 'tr', 5e-9) + cjs = self.tryExists(modelInfo,words,4, 'cjs', 1e-12) + cje = self.tryExists(modelInfo,words,4, 'cje', 4e-13) + cjc = self.tryExists(modelInfo,words,4, 'cjc', 5e-13) + vje = self.tryExists(modelInfo,words,4, 'vje', 0.8) + mje = self.tryExists(modelInfo,words,4, 'mje', 0.4) + vjc = self.tryExists(modelInfo,words,4, 'vjc', 0.8) + mjc = self.tryExists(modelInfo,words,4, 'mjc', 0.333) + stat = start + words[0] +'(Bf = ' + bf + ', Br = ' + br + ', Is = ' +Is+ ', Vak = ' + vak + ', Tauf = ' +tf+ ', Taur = ' +tr+ ', Ccs = ' +cjs+ ', Cje = ' +cje+ ', Cjc = ' +cjc+ ', Phie = ' + vje + ', Me = ' + mje + ', Phic = ' + vjc + ', Mc = ' + mjc + ');' + modelicaCompInit.append(stat) + for eachline in compInfo: words = eachline.split() @@ -552,7 +635,6 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): temp = templine[0].split('x') index = temp[1] for i in range(0,len(templine),1): - print "Test------------------>" if templine[i] in subcktName: #Ask Manas Added subcktName in function Call subname = templine[i] nodeNumInfo = self.getSubInterface(subname, numNodesSub) @@ -604,11 +686,12 @@ def procesSubckt(self,subcktName,numNodesSub): for i in range(0,len(intLine),1): nodeSubInterface.append(intLine[i]) - subModel, subModelInfo, subsubName, subParamInfo,subinbuiltmodelName, subinbuiltmodelInfo = self.addModel(subOptionInfo) + subModel, subModelInfo, subsubName, subParamInfo,transInfo = self.addModel(subOptionInfo) print "Sub Model------------------------------------>",subModel print "SubModelInfo---------------------------------->",subModelInfo print "subsubName------------------------------------->",subsubName print "subParamInfo----------------------------------->",subParamInfo + print "transInfo----------------------------------->",transInfo IfMOSsub = '0' for eachline in subSchemInfo: #words = eachline.split() @@ -703,6 +786,9 @@ def main(args): print "USAGE:" print "python NgspicetoModelica.py " sys.exit() + + dir_name = os.path.dirname(os.path.realpath(filename)) + file_basename = os.path.basename(filename) obj_NgMoConverter = NgMoConverter() @@ -712,14 +798,12 @@ def main(args): optionInfo, schematicInfo = obj_NgMoConverter.separateNetlistInfo(lines) #print "All option details like analysis,subckt,.ic,.model : OptionInfo------------------->",optionInfo #print "Schematic connection info :schematicInfo",schematicInfo - modelName, modelInfo, subcktName, paramInfo, inbuiltmodelName, inbuiltmodelInfo = obj_NgMoConverter.addModel(optionInfo) + modelName, modelInfo, subcktName, paramInfo,transInfo = obj_NgMoConverter.addModel(optionInfo) print "Name of Model : modelName-------------------->",modelName print "Model Information :modelInfo--------------------->",modelInfo #print "Subcircuit Name :subcktName------------------------>",subcktName #print "Parameter Information :paramInfo---------------------->",paramInfo - #print "Ngspice inbuiltmodelName :inbuiltmodelName---------------------->",inbuiltmodelName - #print "Ngspice inbuiltmodelInfo :inbuiltmodelInfo----------------------->",inbuiltmodelInfo - + modelicaParamInit = obj_NgMoConverter.processParam(paramInfo) #print "Make modelicaParamInit from paramInfo :processParamInit------------->",modelicaParamInit @@ -756,7 +840,7 @@ def main(args): #print "PinInit-------------->",pinInit #print "pinProtectedInit----------->",pinProtectedInit - modelicaCompInit, numNodesSub = obj_NgMoConverter.compInit(compInfo,node, modelInfo, subcktName) + modelicaCompInit, numNodesSub = obj_NgMoConverter.compInit(compInfo,node, modelInfo, subcktName,dir_name) print "ModelicaComponents : modelicaCompInit----------->",modelicaCompInit print "SubcktNumNodes : numNodesSub---------------->",numNodesSub From dc5ea0f98eeb95f9cfd3d8110eb0ae987c77da89 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Tue, 29 Mar 2016 11:51:32 +0530 Subject: [PATCH 09/52] Modified MOSFET functionality according to new code --- src/ngspicetoModelica/NgspicetoModelica.py | 93 ++++++++++++++-------- 1 file changed, 62 insertions(+), 31 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index f4402b801..86c96bc1a 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -64,7 +64,7 @@ def separateNetlistInfo(self,netlist): elif eachline[0] in self.deviceList: if eachline[0]=='m' or eachline[0]=='M': self.ifMOS = True - schematicInfo.append(eachline) + #schematicInfo.append(eachline) self.deviceDetail.append(eachline) elif eachline[0]=='v' or eachline[0]=='V': #schematicInfo.append(eachline) @@ -291,7 +291,7 @@ def tryExists(self,modelInfo,words,wordNo, key,default): return keyval - def compInit(self,compInfo, node, modelInfo, subcktName,dir_name): + def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): """ For each component in the netlist initialize it according to Modelica format """ @@ -299,6 +299,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name): #### initial processing to check if MOs is present. If so, library to be used is BondLib modelicaCompInit = [] numNodesSub = {} + mosInfo = {} IfMOS = '0' for eachline in compInfo: #words = eachline.split() @@ -371,7 +372,6 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name): modelicaCompInit.append(stat) elif eachline[0]=='q' or eachline[0]=='Q': - print "Starting Transistor" if words[4]=='npn': start = 'Analog.Semiconductors.NPN ' elif words[4]=='pnp': @@ -394,6 +394,63 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name): mjc = self.tryExists(modelInfo,words,4, 'mjc', 0.333) stat = start + words[0] +'(Bf = ' + bf + ', Br = ' + br + ', Is = ' +Is+ ', Vak = ' + vak + ', Tauf = ' +tf+ ', Taur = ' +tr+ ', Ccs = ' +cjs+ ', Cje = ' +cje+ ', Cjc = ' +cjc+ ', Phie = ' + vje + ', Me = ' + mje + ', Phic = ' + vjc + ', Mc = ' + mjc + ');' modelicaCompInit.append(stat) + + elif eachline[0]=='m' or eachline[0]=="M": + print "Starting Mosfet" + eachline = eachline.split(words[5]) + eachline = eachline[1] + eachline = eachline.strip() + eachline = eachline.replace(' = ', '=').replace('= ','=').replace(' =','=').replace(' * ', '*').replace(' + ', '+').replace(' { ', '').replace(' } ', '') + eachline = eachline.split() + mosInfo[words[0]] = {} + for each in eachline: + if len(each) > 1: + each = each.split('=') + mosInfo[words[0]][each[0]] = each[1] + trans = transInfo[words[5]] + if trans == 'nmos': + start = 'BondLib.Electrical.Analog.Spice.Mn ' + else: + start = 'BondLib.Electrical.Analog.Spice.Mp ' + vto = self.tryExists(modelInfo,words,5,'vto',0) + gam = self.tryExists(modelInfo,words,5,'gamma',0) + phi = self.tryExists(modelInfo,words,5, 'phi', 0) + ld = self.tryExists(modelInfo,words,5,'ld',0) + uo = self.tryExists(modelInfo,words,5,'uo',0) + lam = self.tryExists(modelInfo,words,5,'lambda',0) + tox = self.tryExists(modelInfo,words,5,'tox',3e-9) + pb = self.tryExists(modelInfo,words,5, 'pb',0.8) + cj = self.tryExists(modelInfo,words,5, 'cj',0) + cjsw = self.tryExists(modelInfo,words,5, 'cjsw',1e-9) + mj = self.tryExists(modelInfo,words,5, 'mj',0.33) + mjsw = self.tryExists(modelInfo,words,5, 'mjsw',0.33) + cgdo = self.tryExists(modelInfo,words,5, 'cgdo',0) + js = self.tryExists(modelInfo,words,5, 'js',0) + cgbo = self.tryExists(modelInfo,words,5, 'cgbo',0) + cgso = self.tryExists(modelInfo,words,5,'cgso',0) + try: + l = mosInfo[words[0]]['l'] + except KeyError: + l = '1e-6' + try: + w = mosInfo[words[0]]['w'] + except KeyError: + w = '100e-6' + try: + As = mosInfo[words[0]]['as'] + ad = mosInfo[words[0]]['ad'] + except KeyError: + As = '0' + ad = '0' + try: + ps = mosInfo[words[0]]['ps'] + pd = mosInfo[words[0]]['pd'] + except KeyError: + ps = '0' + pd = '0' + stat = start + words[0] + '(Tnom = 300, VT0 = ' + vto + ', GAMMA = ' + gam + ', PHI = ' + phi + ', LD = ' +ld+ ', U0 = ' + str(float(uo)*0.0001) + ', LAMBDA = ' + lam + ', TOX = ' +tox+ ', PB = ' + pb + ', CJ = ' +cj+ ', CJSW = ' +cjsw+ ', MJ = ' + mj + ', MJSW = ' + mjsw + ', CGD0 = ' +cgdo+ ', JS = ' +js+ ', CGB0 = ' +cgbo+ ', CGS0 = ' +cgso+ ', L = ' +l+ ', W = ' + w + ', Level = 1' + ', AD = ' + ad + ', AS = ' + As + ', PD = ' + pd + ', PS = ' + ps + ');' + stat = stat.translate(maketrans('{}', ' ')) + modelicaCompInit.append(stat) for eachline in compInfo: @@ -422,33 +479,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name): elif eachline[0] == 'h': stat = 'Analog.Basic.CCV ' + words[0] + '(transResistance = ' + self.splitIntoVal(words[4]) + ');' modelicaCompInit.append(stat) - - elif eachline[0] == 'm': - line_l = words[7].split('=') - line_w = words[8].split('=') - line_pd = words[9].split('=') - line_ps = words[10].split('=') - line_ad = words[11].split('=') - line_as = words[12].split('=') - if words[5] == "mos_n" or words[5] == "mosfet_n": - start = 'BondLib.Electrical.Analog.Spice.Mn ' - if words[5] == "mos_p" or words[5] == "mosfet_p": - start = 'BondLib.Electrical.Analog.Spice.Mp ' - stat = start + words[0] + '(Tnom = 300, VT0 = ' + modelInfo[\ - words[5]]['vto'] + ', GAMMA = ' + modelInfo[words[5]]['gamma'] +\ - ', PHI = ' + modelInfo[words[5]]['phi'] + ', LD = ' + self.splitIntoVal(modelInfo[words[5]]['ld'])\ - + ', U0 = ' + str(float(self.splitIntoVal(modelInfo[words[5]]['uo']))*0.0001) + ', LAMBDA = ' \ - + modelInfo[words[5]]['lambda'] + ', TOX = ' + self.splitIntoVal(modelInfo[words[5]]['tox']) \ - + ', PB = ' + modelInfo[words[5]]['pb'] + ', CJ = ' + self.splitIntoVal(modelInfo[words[5]]['cj']) \ - + ', CJSW = ' + self.splitIntoVal(modelInfo[words[5]]['cjsw']) + ', MJ = ' + modelInfo[words[5]]['mj'] \ - + ', MJSW = ' + modelInfo[words[5]]['mjsw'] + ', CGD0 = ' + self.splitIntoVal(modelInfo[words[5]]['cgdo']) \ - + ', JS = ' + self.splitIntoVal(modelInfo[words[5]]['js']) + ', CGB0 = ' + self.splitIntoVal(modelInfo[words[5]]['cgbo']) \ - + ', CGS0 = ' + self.splitIntoVal(modelInfo[words[5]]['cgso']) + ', L = ' + self.splitIntoVal(line_l[1]) + ', W = ' \ - + line_w[1] + ', Level = 1' + ', AD = ' + line_ad[1] + ', AS = ' + line_as[1] + ', PD = ' \ - + line_pd[1] + ', PS = ' + line_pd[1] + ');' - stat = stat.translate(maketrans('{}', ' ')) - modelicaCompInit.append(stat) - + elif eachline[0] == 'x': temp_line = eachline.split() temp = temp_line[0].split('x') @@ -840,7 +871,7 @@ def main(args): #print "PinInit-------------->",pinInit #print "pinProtectedInit----------->",pinProtectedInit - modelicaCompInit, numNodesSub = obj_NgMoConverter.compInit(compInfo,node, modelInfo, subcktName,dir_name) + modelicaCompInit, numNodesSub = obj_NgMoConverter.compInit(compInfo,node, modelInfo, subcktName,dir_name,transInfo) print "ModelicaComponents : modelicaCompInit----------->",modelicaCompInit print "SubcktNumNodes : numNodesSub---------------->",numNodesSub From 3e77eeefe130134733eeef04512da0546c4beb63 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Tue, 29 Mar 2016 12:09:05 +0530 Subject: [PATCH 10/52] Modifeid code for sub circuit --- src/ngspicetoModelica/NgspicetoModelica.py | 38 +++++++++++++--------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 86c96bc1a..bda2e14ee 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -16,6 +16,7 @@ def __init__(self): self.ifMOS = False self.sourceDetail = [] self.deviceDetail = [] + self.subCktDetail = [] self.deviceList = ['d','D','j','J','q','Q'] #MOSFET is excluded as it has special case @@ -66,6 +67,8 @@ def separateNetlistInfo(self,netlist): self.ifMOS = True #schematicInfo.append(eachline) self.deviceDetail.append(eachline) + elif eachline[0]=='x' or eachline[0]=='X': + self.subCktDetail.append(eachline) elif eachline[0]=='v' or eachline[0]=='V': #schematicInfo.append(eachline) self.sourceDetail.append(eachline) @@ -451,6 +454,25 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): stat = start + words[0] + '(Tnom = 300, VT0 = ' + vto + ', GAMMA = ' + gam + ', PHI = ' + phi + ', LD = ' +ld+ ', U0 = ' + str(float(uo)*0.0001) + ', LAMBDA = ' + lam + ', TOX = ' +tox+ ', PB = ' + pb + ', CJ = ' +cj+ ', CJSW = ' +cjsw+ ', MJ = ' + mj + ', MJSW = ' + mjsw + ', CGD0 = ' +cgdo+ ', JS = ' +js+ ', CGB0 = ' +cgbo+ ', CGS0 = ' +cgso+ ', L = ' +l+ ', W = ' + w + ', Level = 1' + ', AD = ' + ad + ', AS = ' + As + ', PD = ' + pd + ', PS = ' + ps + ');' stat = stat.translate(maketrans('{}', ' ')) modelicaCompInit.append(stat) + + #Lets start for Subcircuit + for eachline in self.subCktDetail: + temp_line = eachline.split() + temp = temp_line[0].split('x') + index = temp[1] + for i in range(0,len(temp_line),1): + if temp_line[i] in subcktName: + subname = temp_line[i] + numNodesSub[subname] = i - 1 + point = i + if len(temp_line) > point + 1: + rem = temp_line[point+1:len(temp_line)] + rem_new = ','.join(rem) + stat = subname + ' ' + subname +'_instance' + index + '(' + rem_new + ');' + else: + stat = subname + ' ' + subname +'_instance' + index + ';' + modelicaCompInit.append(stat) + for eachline in compInfo: @@ -480,22 +502,6 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): stat = 'Analog.Basic.CCV ' + words[0] + '(transResistance = ' + self.splitIntoVal(words[4]) + ');' modelicaCompInit.append(stat) - elif eachline[0] == 'x': - temp_line = eachline.split() - temp = temp_line[0].split('x') - index = temp[1] - for i in range(0,len(temp_line),1): - if temp_line[i] in subcktName: - subname = temp_line[i] - numNodesSub[subname] = i - 1 - point = i - if len(temp_line) > point + 1: - rem = temp_line[point+1:len(temp_line)] - rem_new = ','.join(rem) - stat = subname + ' ' + subname +'_instance' + index + '(' + rem_new + ');' - else: - stat = subname + ' ' + subname +'_instance' + index + ';' - modelicaCompInit.append(stat) else: continue From b1b818837136a647084b3133fa913622894e490f Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Tue, 29 Mar 2016 14:47:16 +0530 Subject: [PATCH 11/52] Remove zero voltage source from netlist --- src/ngspicetoModelica/NgspicetoModelica.py | 50 ++++++++++++++-------- 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index bda2e14ee..eb5842d2a 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -71,7 +71,11 @@ def separateNetlistInfo(self,netlist): self.subCktDetail.append(eachline) elif eachline[0]=='v' or eachline[0]=='V': #schematicInfo.append(eachline) - self.sourceDetail.append(eachline) + #Removing zero voltage source as it is not require in Modelica + if eachline.split()[-1]=='0': + continue + else: + self.sourceDetail.append(eachline) else: schematicInfo.append(eachline) ##No need of making it lower case as netlist is already converted to ngspice @@ -526,7 +530,7 @@ def getSubInterface(self,subname,numNodesSub): nodesInfoLine = intLine[0:newindex] return nodesInfoLine - def getSubParamLine(self,subname, numNodesSub, subParamInfo): + def getSubParamLine(self,subname, numNodesSub, subParamInfo,dir_name): """ Take subcircuit name and give the info related to parameters in the first line and initislise it in """ @@ -534,10 +538,10 @@ def getSubParamLine(self,subname, numNodesSub, subParamInfo): subOptionInfo_p = [] subSchemInfo_p = [] filename_t = subname + '.sub' + filename_t = os.path.join(dir_name, filename_t) data_p = self.readNetlist(filename_t) subOptionInfo_p, subSchemInfo_p = self.separateNetlistInfo(data_p) - print "subOptionInfo_p------------------------->",subOptionInfo_p - print "subSchemInfo_p----------------------------->",subSchemInfo_p + if len(subOptionInfo_p) > 0: newline = subOptionInfo_p[0] newline = newline.split('.subckt '+ subname) @@ -571,16 +575,16 @@ def nodeSeparate(self,compInfo, ifSub, subname, subcktName,numNodesSub): for eachline in compInfo: words = eachline.split() - if eachline[0] in ['m', 'e', 'g', 't']: + if eachline[0] in ['m', 'e', 'g', 't','M','E','G','T']: nodeTemp.append(words[1]) nodeTemp.append(words[2]) nodeTemp.append(words[3]) nodeTemp.append(words[4]) - elif eachline[0] in ['q', 'j']: + elif eachline[0] in ['q', 'j','J','Q']: nodeTemp.append(words[1]) nodeTemp.append(words[2]) nodeTemp.append(words[3]) - elif eachline[0] == 'x': + elif eachline[0]=='x' or eachline[0]=='X': templine = eachline.split() for i in range(0,len(templine),1): if templine[i] in subcktName: @@ -632,12 +636,13 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): sourcesInfo = self.separateSource(compInfo) for eachline in compInfo: words = eachline.split() - if eachline[0] == 'r' or eachline[0] == 'c' or eachline[0] == 'd' or eachline[0] == 'l' or eachline[0] == 'v': + if eachline[0]=='r' or eachline[0]=='R' or eachline[0]=='c' or eachline[0]=='C' or eachline[0]=='d' or eachline[0]=='D' \ + or eachline[0]=='l' or eachline[0]=='L' or eachline[0]=='v' or eachline[0]=='V': conn = 'connect(' + words[0] + '.p,' + nodeDic[words[1]] + ');' connInfo.append(conn) conn = 'connect(' + words[0] + '.n,' + nodeDic[words[2]] + ');' connInfo.append(conn) - elif eachline[0] == 'm': + elif eachline[0]=='m' or eachline[0]=='M': conn = 'connect(' + words[0] + '.D,' + nodeDic[words[1]] + ');' connInfo.append(conn) conn = 'connect(' + words[0] + '.G,' + nodeDic[words[2]] + ');' @@ -646,7 +651,7 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): connInfo.append(conn) conn = 'connect(' + words[0] + '.B,' + nodeDic[words[4]] + ');' connInfo.append(conn) - elif eachline[0] in ['f','h']: + elif eachline[0] in ['f','h','F','H']: vsource = words[3] sourceNodes = sourcesInfo[vsource] sourceNodes = sourceNodes.split() @@ -658,7 +663,16 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): connInfo.append(conn) conn = 'connect(' + words[0] + '.n2,'+ nodeDic[words[2]] + ');' connInfo.append(conn) - elif eachline[0] in ['g','e']: + elif eachline[0] in ['g','e','G','E']: + conn = 'connect(' + words[0] + '.p1,'+ nodeDic[words[3]] + ');' + connInfo.append(conn) + conn = 'connect(' + words[0] + '.n1,'+ nodeDic[words[4]] + ');' + connInfo.append(conn) + conn = 'connect(' + words[0] + '.p2,'+ nodeDic[words[1]] + ');' + connInfo.append(conn) + conn = 'connect(' + words[0] + '.n2,'+ nodeDic[words[2]] + ');' + connInfo.append(conn) + elif eachline[0] in ['g','e','G','E']: conn = 'connect(' + words[0] + '.p1,'+ nodeDic[words[3]] + ');' connInfo.append(conn) conn = 'connect(' + words[0] + '.n1,'+ nodeDic[words[4]] + ');' @@ -667,7 +681,7 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): connInfo.append(conn) conn = 'connect(' + words[0] + '.n2,'+ nodeDic[words[2]] + ');' connInfo.append(conn) - elif eachline[0] == 'x': + elif eachline[0]=='x' or eachline[0]=='X': templine = eachline.split() temp = templine[0].split('x') index = temp[1] @@ -681,14 +695,14 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): connInfo.append(conn) else: continue - if '0' in node: + if '0' or 'gnd' in node: conn = 'connect(g.p,n0);' connInfo.append(conn) return connInfo - def procesSubckt(self,subcktName,numNodesSub): + def procesSubckt(self,subcktName,numNodesSub,dir_name): #Process the subcircuit file .sub in the project folder @@ -699,8 +713,8 @@ def procesSubckt(self,subcktName,numNodesSub): subModelInfo = {} subsubName = [] subParamInfo = [] - subinbuiltmodelName = [] - subinbuiltmodelInfo = {} + #subinbuiltmodelName = [] + #subinbuiltmodelInfo = {} nodeSubInterface = [] nodeSub = [] nodeDicSub = {} @@ -762,7 +776,7 @@ def procesSubckt(self,subcktName,numNodesSub): modelicaSubCompInit, numNodesSubsub = self.compInit(subSchemInfo, nodeSub, subModelInfo, subsubName) print "modelicaSubCompInit--------------------->",modelicaSubCompInit print "numNodesSubsub-------------------------->",numNodesSubsub - modelicaSubParamNew = self.getSubParamLine(eachsub, numNodesSub, modelicaSubParam) ###Ask Manas + modelicaSubParamNew = self.getSubParamLine(eachsub, numNodesSub, modelicaSubParam,dir_name) ###Ask Manas print "modelicaSubParamNew----------------->",modelicaSubParamNew connSubInfo = self.connectInfo(subSchemInfo, nodeSub, nodeDicSub, numNodesSubsub,subcktName) newname = filename.split('.') @@ -889,7 +903,7 @@ def main(args): ###After Sub Ckt Func if len(subcktName) > 0: data, subOptionInfo, subSchemInfo, subModel, subModelInfo, subsubName,subParamInfo, modelicaSubCompInit, modelicaSubParam,\ - nodeSubInterface,nodeSub, nodeDicSub, pinInitSub, connSubInfo = obj_NgMoConverter.procesSubckt(subcktName,numNodesSub) #Adding 'numNodesSub' by Fahim + nodeSubInterface,nodeSub, nodeDicSub, pinInitSub, connSubInfo = obj_NgMoConverter.procesSubckt(subcktName,numNodesSub,dir_name) #Adding 'numNodesSub' by Fahim #Creating Final Output file newfile = filename.split('.') From 4569b2cb1ca37e6e291640d269521897760541c0 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Tue, 29 Mar 2016 17:54:10 +0530 Subject: [PATCH 12/52] Remove the unwanted import statement --- src/ngspicetoModelica/NgspicetoModelica.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index eb5842d2a..d2d36c8c1 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -3,7 +3,6 @@ import re import json from string import maketrans -from lepl.matchers.derived import Star class NgMoConverter: @@ -955,4 +954,4 @@ def main(args): # Call main function if __name__ == '__main__': - main(sys.argv) \ No newline at end of file + main(sys.argv) From 8ac1b2874949f65dda3d940de77cc315a3babd69 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Wed, 30 Mar 2016 14:16:34 +0530 Subject: [PATCH 13/52] Remove splitval function completly --- src/ngspicetoModelica/NgspicetoModelica.py | 68 ++-------------------- 1 file changed, 4 insertions(+), 64 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index d2d36c8c1..c89c742b3 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -121,18 +121,6 @@ def addModel(self,optionInfo): iteminfo = eachitem.split('=') for each in iteminfo: modelInfo[model][iteminfo[0]] = iteminfo[1] - - """ - name = words[1]+':'+words[2].split('(')[0] #model_ref_name:actual_model_name - modelName.append(name) - modelInfo[name] = {} - #Get all the data with () of .model line - paramData = re.compile("\((.*)\)" ).search(eachline).group(1) - info = paramData.split() - for eachitem in info: - eachitem = eachitem.split('=') - modelInfo[name][eachitem[0]] = eachitem[1] - """ #Adding details of model(external) and subckt into modelInfo and subcktInfo print "Model Name ------------ >",modelName @@ -170,22 +158,6 @@ def addModel(self,optionInfo): for eachitem in info: modelInfo[refModelName][info[0]] = info[1] f.close() - ''' - #First fetch the refModelName and then lower case its parameter - refModelName = newdata[0].split()[1] - newdata[1] = newdata[1].lower() - modelParameter = newdata[1].split() - - modelInfo[refModelName] = {} - - for eachline in modelParameter: - if len(eachline) > 1: - info = eachline.split('=') - # modelInfo[eachmodel][info[0]] = {} - for eachitem in info: - modelInfo[refModelName][info[0]] = info[1] #dic within a dic - f.close() - ''' return modelName, modelInfo, subcktName, paramInfo ,transInfo @@ -240,38 +212,6 @@ def separateSource(self,compInfo): sourceInfo[words_s[0]] = words_s[1:3] return sourceInfo - def splitIntoVal(self,val): - """ - Split the number k,u,p,t,g etc into powers e3,e-6 etc - """ - for i in range(0,len(val),1): - if val[i] in ['k','u','p','t','g','m','n','f']: - newval = val.split(val[i]) - if val[i] == 'k': - value = newval[0] + 'e3' - if val[i] == 'u': - value = newval[0] + 'e-6' - if val[i] == 'p': - value = newval[0] + 'e-12' - if val[i] == 't': - value = newval[0] + 'e12' - if val[i] == 'g': - value = newval[0] + 'e9' - if val[i] == 'm': - if i != len(val)-1: - if val[i+1] == 'e': - value = newval[0] + 'e6' - else: - value = newval[0] +'e-3' - if val[i] == 'n': - value = newval[0] + 'e-9' - if val[i] == 'f': - value = newval[0] +'e-15' - - else: - value = val - return value - def getUnitVal(self,compValue): print "Received compValue--------> ",compValue regExp = re.compile("([0-9]+)([a-zA-Z]+)") @@ -493,16 +433,16 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): stat = 'Analog.Basic.Inductor ' + words[0] + '(L = ' + value + ');' modelicaCompInit.append(stat) elif eachline[0] == 'e': - stat = 'Analog.Basic.VCV ' + words[0] + '(gain = ' + self.splitIntoVal(words[5]) + ');' + stat = 'Analog.Basic.VCV ' + words[0] + '(gain = ' + self.getUnitVal(words[5]) + ');' modelicaCompInit.append(stat) elif eachline[0] == 'g': - stat = 'Analog.Basic.VCC ' + words[0] + '(transConductance = ' + self.splitIntoVal(words[5]) + ');' + stat = 'Analog.Basic.VCC ' + words[0] + '(transConductance = ' + self.getUnitVal(words[5]) + ');' modelicaCompInit.append(stat) elif eachline[0] == 'f': - stat = 'Analog.Basic.CCC ' + words[0] + '(gain = ' + self.splitIntoVal(words[4]) + ');' + stat = 'Analog.Basic.CCC ' + words[0] + '(gain = ' + self.getUnitVal(words[4]) + ');' modelicaCompInit.append(stat) elif eachline[0] == 'h': - stat = 'Analog.Basic.CCV ' + words[0] + '(transResistance = ' + self.splitIntoVal(words[4]) + ');' + stat = 'Analog.Basic.CCV ' + words[0] + '(transResistance = ' + self.getUnitVal(words[4]) + ');' modelicaCompInit.append(stat) else: From 9ff48b10ff4c184aa605003df48ccf463ccecf2b Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Thu, 31 Mar 2016 14:00:58 +0530 Subject: [PATCH 14/52] Modified getUnitVal function to accomodate decimal values --- src/ngspicetoModelica/NgspicetoModelica.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index c89c742b3..6fe75516d 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -214,12 +214,17 @@ def separateSource(self,compInfo): def getUnitVal(self,compValue): print "Received compValue--------> ",compValue - regExp = re.compile("([0-9]+)([a-zA-Z]+)") + #regExp = re.compile("([0-9]+)([a-zA-Z]+)") + regExp = re.compile("([0-9]+)\.?([0-9]+)?([a-zA-Z])?") matchString = regExp.match(str(compValue)) #separating number and string try: - numValue = matchString.group(1) - unitValue = matchString.group(2) - modifiedcompValue = numValue+self.mappingData["Units"][unitValue] + valBeforeDecimal = matchString.group(1) + valAfterDecimal = matchString.group(2) + unitValue = matchString.group(3) + if str(valAfterDecimal)=='None': + modifiedcompValue = valBeforeDecimal+self.mappingData["Units"][unitValue] + else: + modifiedcompValue = valBeforeDecimal+'.'+valAfterDecimal+self.mappingData["Units"][unitValue] return modifiedcompValue except: return compValue From fefb08b28917b55a545815b517c19736934fe3e4 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Tue, 5 Apr 2016 16:17:06 +0530 Subject: [PATCH 15/52] Modified subcircuit functionality in Openmodelica --- src/ngspicetoModelica/NgspicetoModelica.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 6fe75516d..fa915c415 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -405,6 +405,9 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): #Lets start for Subcircuit for eachline in self.subCktDetail: + print "each Line-------->",eachline + global point + global subname temp_line = eachline.split() temp = temp_line[0].split('x') index = temp[1] @@ -717,7 +720,7 @@ def procesSubckt(self,subcktName,numNodesSub,dir_name): print "NodeDicSub-------------------------->",nodeDicSub print "PinInitSub-------------------------->",pinInitSub print "PinProtectedInitSub------------------->",pinProtectedInitSub - modelicaSubCompInit, numNodesSubsub = self.compInit(subSchemInfo, nodeSub, subModelInfo, subsubName) + modelicaSubCompInit, numNodesSubsub = self.compInit(subSchemInfo, nodeSub, subModelInfo, subsubName,dir_name,transInfo) print "modelicaSubCompInit--------------------->",modelicaSubCompInit print "numNodesSubsub-------------------------->",numNodesSubsub modelicaSubParamNew = self.getSubParamLine(eachsub, numNodesSub, modelicaSubParam,dir_name) ###Ask Manas From 68ab58bafcb572f3d75a06e85c62aede7eadbff9 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Wed, 13 Apr 2016 14:09:57 +0530 Subject: [PATCH 16/52] Subject:Modified to append the voltage,device and subcircuit detail into schematicInfo Description:Modified to append the voltage,device and subcircuit detail into schematicInfo --- src/ngspicetoModelica/NgspicetoModelica.py | 24 +++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index fa915c415..0ebf8436b 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -64,12 +64,12 @@ def separateNetlistInfo(self,netlist): elif eachline[0] in self.deviceList: if eachline[0]=='m' or eachline[0]=='M': self.ifMOS = True - #schematicInfo.append(eachline) + schematicInfo.append(eachline) self.deviceDetail.append(eachline) elif eachline[0]=='x' or eachline[0]=='X': self.subCktDetail.append(eachline) elif eachline[0]=='v' or eachline[0]=='V': - #schematicInfo.append(eachline) + schematicInfo.append(eachline) #Removing zero voltage source as it is not require in Modelica if eachline.split()[-1]=='0': continue @@ -236,7 +236,6 @@ def tryExists(self,modelInfo,words,wordNo, key,default): try: keyval = modelInfo[words[wordNo]][key] keyval = self.getUnitVal(keyval) - print "Key------->",modelInfo except KeyError: keyval = str(default) return keyval @@ -423,8 +422,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): else: stat = subname + ' ' + subname +'_instance' + index + ';' modelicaCompInit.append(stat) - - + for eachline in compInfo: words = eachline.split() @@ -572,6 +570,10 @@ def nodeSeparate(self,compInfo, ifSub, subname, subcktName,numNodesSub): pinInit = pinInit + nodeDic[protectedNode[i]] pinInit = pinInit + ';' pinProtectedInit = pinProtectedInit + ';' + print "Node---->",node + print "nodeDic----->",nodeDic + print "PinInit----->",pinInit + print "pinProtectedinit--->",pinProtectedInit return node, nodeDic, pinInit, pinProtectedInit @@ -580,15 +582,27 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): Make node connections in the modelica netlist """ connInfo = [] + print "compinfo-------->",compInfo sourcesInfo = self.separateSource(compInfo) for eachline in compInfo: words = eachline.split() + print "eachline----->",eachline + print "eachline[0]------->",eachline[0] if eachline[0]=='r' or eachline[0]=='R' or eachline[0]=='c' or eachline[0]=='C' or eachline[0]=='d' or eachline[0]=='D' \ or eachline[0]=='l' or eachline[0]=='L' or eachline[0]=='v' or eachline[0]=='V': conn = 'connect(' + words[0] + '.p,' + nodeDic[words[1]] + ');' connInfo.append(conn) conn = 'connect(' + words[0] + '.n,' + nodeDic[words[2]] + ');' connInfo.append(conn) + elif eachline[0]=='q' or eachline[0]=='Q': + print "Inside Transistor--->" + print "Node Dict------>",nodeDic + conn = 'connect(' + words[0] + '.C,' + nodeDic[words[1]] + ');' + connInfo.append(conn) + conn = 'connect(' + words[0] + '.B,' + nodeDic[words[2]] + ');' + connInfo.append(conn) + conn = 'connect(' + words[0] + '.E,' + nodeDic[words[3]] + ');' + connInfo.append(conn) elif eachline[0]=='m' or eachline[0]=='M': conn = 'connect(' + words[0] + '.D,' + nodeDic[words[1]] + ');' connInfo.append(conn) From 6cb70b28dd399fb2bc460b7412fddbfd59c8244d Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Fri, 15 Apr 2016 12:03:12 +0530 Subject: [PATCH 17/52] Remove Extra condition --- src/ngspicetoModelica/NgspicetoModelica.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 0ebf8436b..8509a8839 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -633,15 +633,6 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): connInfo.append(conn) conn = 'connect(' + words[0] + '.n2,'+ nodeDic[words[2]] + ');' connInfo.append(conn) - elif eachline[0] in ['g','e','G','E']: - conn = 'connect(' + words[0] + '.p1,'+ nodeDic[words[3]] + ');' - connInfo.append(conn) - conn = 'connect(' + words[0] + '.n1,'+ nodeDic[words[4]] + ');' - connInfo.append(conn) - conn = 'connect(' + words[0] + '.p2,'+ nodeDic[words[1]] + ');' - connInfo.append(conn) - conn = 'connect(' + words[0] + '.n2,'+ nodeDic[words[2]] + ');' - connInfo.append(conn) elif eachline[0]=='x' or eachline[0]=='X': templine = eachline.split() temp = templine[0].split('x') From a17747edc9d3829603358b8de48e7b2ce1ba5e09 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 18 Apr 2016 11:56:26 +0530 Subject: [PATCH 18/52] Gnd issue solved --- src/ngspicetoModelica/NgspicetoModelica.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 8509a8839..813f1a5e3 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -454,7 +454,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): else: continue - if '0' or 'gnd' in node: + if '0' in node: modelicaCompInit.append('Analog.Basic.Ground g;') return modelicaCompInit, numNodesSub @@ -647,7 +647,7 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): connInfo.append(conn) else: continue - if '0' or 'gnd' in node: + if '0' in node: conn = 'connect(g.p,n0);' connInfo.append(conn) From f9f323cb8f895dd7e1378b8c97ced398ad472b4a Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 18 Apr 2016 12:23:59 +0530 Subject: [PATCH 19/52] Utilised Get UnitFunction for Source value as well --- src/ngspicetoModelica/NgspicetoModelica.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 813f1a5e3..0aaf79365 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -278,16 +278,16 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): typ = words[3].split('(') if typ[0] == "pulse": per = words[9].split(')') - stat = self.mappingData["Sources"][typ[0]]+' '+words[0]+'(rising = '+words[6]+', V = '+words[4]\ - +', width = '+words[8]+', period = '+per[0]+', offset = '+typ[1]+', startTime = '+words[5]+', falling = '+words[7]+');' + stat = self.mappingData["Sources"][typ[0]]+' '+words[0]+'(rising = '+self.getUnitVal(words[6])+', V = '+self.getUnitVal(words[4])\ + +', width = '+self.getUnitVal(words[8])+', period = '+self.getUnitVal(per[0])+', offset = '+self.getUnitVal(typ[1])+', startTime = '+self.getUnitVal(words[5])+', falling = '+self.getUnitVal(words[7])+');' modelicaCompInit.append(stat) if typ[0] == "sine": theta = words[7].split(')') - stat = self.mappingData["Sources"][typ[0]]+' '+words[0]+'(offset = '+typ[1]+', V = '+words[4]+', freqHz = '+words[5]+', startTime = '+words[6]+', phase = '+theta[0]+');' + stat = self.mappingData["Sources"][typ[0]]+' '+words[0]+'(offset = '+self.getUnitVal(typ[1])+', V = '+self.getUnitVal(words[4])+', freqHz = '+self.getUnitVal(words[5])+', startTime = '+self.getUnitVal(words[6])+', phase = '+self.getUnitVal(theta[0])+');' modelicaCompInit.append(stat) if typ[0] == "pwl": keyw = self.mappingData["Sources"][typ[0]]+' ' - stat = keyw + words[0] + '(table = [' + typ[1] + ',' + words[4] + ';' + stat = keyw + words[0] + '(table = [' + self.getUnitVal(typ[1]) + ',' + self.getUnitVal(words[4]) + ';' length = len(words); for i in range(6,length,2): if i == length-2: @@ -300,10 +300,10 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): if typ[0] == words[3] and typ[0] != "dc": #It is DC constant but no dc keyword val_temp = typ[0].split('v') - stat = self.mappingData["Sources"]["dc"]+' ' + words[0] + '(V = ' + val_temp[0] + ');' + stat = self.mappingData["Sources"]["dc"]+' ' + words[0] + '(V = ' + self.getUnitVal(val_temp[0]) + ');' modelicaCompInit.append(stat) elif typ[0] == words[3] and typ[0] == "dc": - stat = self.mappingData["Sources"][typ[0]]+' ' + words[0] + '(V = ' + words[4] + ');' ### check this + stat = self.mappingData["Sources"][typ[0]]+' ' + words[0] + '(V = ' + self.getUnitVal(words[4]) + ');' ### check this modelicaCompInit.append(stat) #Lets start for device From c7283f5300b5c8704c8a7866bd9b4b2bb8ce169b Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 18 Apr 2016 12:41:02 +0530 Subject: [PATCH 20/52] Remove Zero Voltage condition as It is now working in OpenModelica OMEdit --- src/ngspicetoModelica/NgspicetoModelica.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 0aaf79365..169c382ab 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -70,11 +70,7 @@ def separateNetlistInfo(self,netlist): self.subCktDetail.append(eachline) elif eachline[0]=='v' or eachline[0]=='V': schematicInfo.append(eachline) - #Removing zero voltage source as it is not require in Modelica - if eachline.split()[-1]=='0': - continue - else: - self.sourceDetail.append(eachline) + self.sourceDetail.append(eachline) else: schematicInfo.append(eachline) ##No need of making it lower case as netlist is already converted to ngspice From 93dec048fc303048c8391b71f93add6b6d294b23 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 18 Apr 2016 13:43:13 +0530 Subject: [PATCH 21/52] Remove Unwanted lower function --- src/ngspicetoModelica/NgspicetoModelica.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 169c382ab..0ea21b8d7 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -269,7 +269,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): #Lets Start with Source details for eachline in self.sourceDetail: - eachline = eachline.lower() + #eachline = eachline.lower() words = eachline.split() typ = words[3].split('(') if typ[0] == "pulse": From 55cfe66779913747c29f8c4fbc7e1a8e02c04f3c Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 18 Apr 2016 13:56:03 +0530 Subject: [PATCH 22/52] Modeified Lower case of Voltage Issue --- src/ngspicetoModelica/NgspicetoModelica.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 0ea21b8d7..b6ea58359 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -269,8 +269,12 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): #Lets Start with Source details for eachline in self.sourceDetail: - #eachline = eachline.lower() words = eachline.split() + #Preserve component name from lower case function + compName = words[0] + #Now Lower case all other + words = eachline.lower().split() + words[0] = compName typ = words[3].split('(') if typ[0] == "pulse": per = words[9].split(')') From b693280f4bcb6f662c3679145162e4d69dddf839 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 18 Apr 2016 15:49:44 +0530 Subject: [PATCH 23/52] Final gnd and zero issue resolved --- src/ngspicetoModelica/NgspicetoModelica.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index b6ea58359..d00e29dc4 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -454,7 +454,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): else: continue - if '0' in node: + if '0' or 'gnd' in node: modelicaCompInit.append('Analog.Basic.Ground g;') return modelicaCompInit, numNodesSub @@ -650,6 +650,9 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): if '0' in node: conn = 'connect(g.p,n0);' connInfo.append(conn) + elif 'gnd' in node: + conn = 'connect(g.p,ngnd);' + connInfo.append(conn) return connInfo From b5ae41e385deab139479d3992d99edcaf895fc2f Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Thu, 21 Apr 2016 11:35:51 +0530 Subject: [PATCH 24/52] started working for inbuit ngspice model --- src/ngspicetoModelica/Mapping.json | 4 ++++ src/ngspicetoModelica/NgspicetoModelica.py | 26 +++++++++++++--------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index 2b3d94a64..3ecc26a25 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -30,6 +30,10 @@ "Mosfet":"List of Mosfet Param" }, + "Models":{ + + }, + "Units":{ "k":"e3", "u":"e-6", diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index d00e29dc4..56225b301 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -16,7 +16,9 @@ def __init__(self): self.sourceDetail = [] self.deviceDetail = [] self.subCktDetail = [] + self.inbuiltModelDetail = [] self.deviceList = ['d','D','j','J','q','Q'] #MOSFET is excluded as it has special case + self.inbuiltModelList = {} def readNetlist(self,filename): @@ -70,7 +72,10 @@ def separateNetlistInfo(self,netlist): self.subCktDetail.append(eachline) elif eachline[0]=='v' or eachline[0]=='V': schematicInfo.append(eachline) - self.sourceDetail.append(eachline) + self.sourceDetail.append(eachline) + elif eachline[0]=='a' or eachline[0]=='A': + schematicInfo.append(eachline) + self.inbuiltModelDetail.append(eachline) else: schematicInfo.append(eachline) ##No need of making it lower case as netlist is already converted to ngspice @@ -119,7 +124,6 @@ def addModel(self,optionInfo): modelInfo[model][iteminfo[0]] = iteminfo[1] #Adding details of model(external) and subckt into modelInfo and subcktInfo - print "Model Name ------------ >",modelName for eachmodel in modelName: filename = eachmodel + '.lib' if os.path.exists(filename): @@ -209,7 +213,6 @@ def separateSource(self,compInfo): return sourceInfo def getUnitVal(self,compValue): - print "Received compValue--------> ",compValue #regExp = re.compile("([0-9]+)([a-zA-Z]+)") regExp = re.compile("([0-9]+)\.?([0-9]+)?([a-zA-Z])?") matchString = regExp.match(str(compValue)) #separating number and string @@ -247,6 +250,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): numNodesSub = {} mosInfo = {} IfMOS = '0' + for eachline in compInfo: #words = eachline.split() if eachline[0] == 'm': @@ -324,7 +328,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): elif eachline[0]=='q' or eachline[0]=='Q': if words[4]=='npn': start = 'Analog.Semiconductors.NPN ' - elif words[4]=='pnp': + else: start = 'Analog.Semiconductors.PNP ' inv_vak = float(self.tryExists(modelInfo,words,4, 'vaf', 50)) @@ -346,7 +350,6 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): modelicaCompInit.append(stat) elif eachline[0]=='m' or eachline[0]=="M": - print "Starting Mosfet" eachline = eachline.split(words[5]) eachline = eachline[1] eachline = eachline.strip() @@ -401,10 +404,14 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): stat = start + words[0] + '(Tnom = 300, VT0 = ' + vto + ', GAMMA = ' + gam + ', PHI = ' + phi + ', LD = ' +ld+ ', U0 = ' + str(float(uo)*0.0001) + ', LAMBDA = ' + lam + ', TOX = ' +tox+ ', PB = ' + pb + ', CJ = ' +cj+ ', CJSW = ' +cjsw+ ', MJ = ' + mj + ', MJSW = ' + mjsw + ', CGD0 = ' +cgdo+ ', JS = ' +js+ ', CGB0 = ' +cgbo+ ', CGS0 = ' +cgso+ ', L = ' +l+ ', W = ' + w + ', Level = 1' + ', AD = ' + ad + ', AS = ' + As + ', PD = ' + pd + ', PS = ' + ps + ');' stat = stat.translate(maketrans('{}', ' ')) modelicaCompInit.append(stat) + + #Lets start for inbuilt model of ngspice + for eachline in self.inbuiltModelDetail: + print "each line of inbuilt Model------->",eachline + print "Model Info--------->",modelInfo #Lets start for Subcircuit for eachline in self.subCktDetail: - print "each Line-------->",eachline global point global subname temp_line = eachline.split() @@ -491,7 +498,6 @@ def getSubParamLine(self,subname, numNodesSub, subParamInfo,dir_name): newline = subOptionInfo_p[0] newline = newline.split('.subckt '+ subname) intLine = newline[1].split() - print "numNodesSub Index---------->",numNodesSub newindex = numNodesSub[subname] appen_line = intLine[newindex:len(intLine)] appen_param = ','.join(appen_line) @@ -511,7 +517,7 @@ def nodeSeparate(self,compInfo, ifSub, subname, subcktName,numNodesSub): pinInit = 'Modelica.Electrical.Analog.Interfaces.Pin ' pinProtectedInit = 'Modelica.Electrical.Analog.Interfaces.Pin ' protectedNode = [] - print "CompInfo coming to nodeSeparate function: compInfo",compInfo + #print "CompInfo coming to nodeSeparate function: compInfo",compInfo #Removing '[' and ']' from compInfo for Digital node for i in range(0,len(compInfo),1): @@ -586,8 +592,8 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): sourcesInfo = self.separateSource(compInfo) for eachline in compInfo: words = eachline.split() - print "eachline----->",eachline - print "eachline[0]------->",eachline[0] + #print "eachline----->",eachline + #print "eachline[0]------->",eachline[0] if eachline[0]=='r' or eachline[0]=='R' or eachline[0]=='c' or eachline[0]=='C' or eachline[0]=='d' or eachline[0]=='D' \ or eachline[0]=='l' or eachline[0]=='L' or eachline[0]=='v' or eachline[0]=='V': conn = 'connect(' + words[0] + '.p,' + nodeDic[words[1]] + ');' From 955682e89b02d66b1985687cd1d2466f6c06320e Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Thu, 21 Apr 2016 14:46:23 +0530 Subject: [PATCH 25/52] Inbuilt model of Ngspice is mapped(Only Zener is mapped for time being) --- src/ngspicetoModelica/Mapping.json | 28 +++++++++++--- src/ngspicetoModelica/NgspicetoModelica.py | 44 ++++++++++++++++++++-- 2 files changed, 63 insertions(+), 9 deletions(-) diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index 3ecc26a25..5ebd2affa 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -25,15 +25,31 @@ "Q": "Analog.Semiconductors", "q": "Analog.Semiconductors" }, - "Parameters":{ - "Diode":"List Of Diode Param", - "Mosfet":"List of Mosfet Param" - }, + "Models":{ - - }, + "zener":{ + "import":"Analog.Semiconductors.ZDiode", + "mapping":{ + "v_breakdown":"Bv", + "i_breakdown":"Ibv", + "i_sat":"Ids", + "n_forward":"Nbv" + + }, + "default":{ + "Ids":"880.5e-18", + "Vt":"0.025", + "R":"1e12", + "Bv":"8.1", + "Ibv":"0.020245", + "Nbv":"1.6989" + } + + } + }, + "Units":{ "k":"e3", "u":"e-6", diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 56225b301..72e2c6ebd 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -18,7 +18,7 @@ def __init__(self): self.subCktDetail = [] self.inbuiltModelDetail = [] self.deviceList = ['d','D','j','J','q','Q'] #MOSFET is excluded as it has special case - self.inbuiltModelList = {} + self.inbuiltModelDict = {} def readNetlist(self,filename): @@ -113,6 +113,8 @@ def addModel(self,optionInfo): transInfo[trans] = [] if templine[2] in ['npn', 'pnp', 'pmos', 'nmos']: transInfo[trans] = templine[2] + else: + self.inbuiltModelDict[model]=templine[2] eachline[1] = eachline[1].lower() eachline = eachline[1].split() @@ -407,9 +409,45 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): #Lets start for inbuilt model of ngspice for eachline in self.inbuiltModelDetail: - print "each line of inbuilt Model------->",eachline - print "Model Info--------->",modelInfo + words=eachline.split() + userModelParamList = [] + #print "Model Info--------->",modelInfo + #print "Inbuilt Model Mapped to ref---------->",self.inbuiltModelDict + refName = words[-1] + print "Reference Model Name------->",refName + actualModelName = self.inbuiltModelDict[refName] + print "Actual Model Name------->",actualModelName + start = self.mappingData["Models"][actualModelName]["import"] + print "Import Statement-------->",start + stat = start +" "+ words[0]+"(" + tempstatList=[] + print "Start Stat-------->",stat + for key in modelInfo[refName]: + #If parameter is not mapped then it will just pass + try: + actualModelicaParam = self.mappingData["Models"][actualModelName]["mapping"][key] + tempstatList.append(actualModelicaParam+"="+modelInfo[refName][actualModelicaParam]+" ") + userModelParamList.append(str(actualModelicaParam)) + except: + pass + print "User Model list---->",userModelParamList + + #Running loop over default parameter of OpenModelica + for default in self.mappingData["Models"][actualModelName]["default"]: + if default in userModelParamList: + continue + else: + defaultValue = self.mappingData["Models"][actualModelName]["default"][default] + tempstatList.append(default+"="+defaultValue+" ") + + #print "My Stat------------>",stat + #print "Temp Stat List--------->",tempstatList + stat += ",".join(str(item) for item in tempstatList)+");" + print "End Stat---------->",stat + modelicaCompInit.append(stat) + + #Lets start for Subcircuit for eachline in self.subCktDetail: global point From c86b02741c88f220219410508d388bbc56fa766f Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Thu, 21 Apr 2016 15:56:56 +0530 Subject: [PATCH 26/52] Modified inbuilt ngspice model code for getUnitVal function --- src/ngspicetoModelica/NgspicetoModelica.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 72e2c6ebd..cdb412996 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -411,8 +411,6 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): for eachline in self.inbuiltModelDetail: words=eachline.split() userModelParamList = [] - #print "Model Info--------->",modelInfo - #print "Inbuilt Model Mapped to ref---------->",self.inbuiltModelDict refName = words[-1] print "Reference Model Name------->",refName actualModelName = self.inbuiltModelDict[refName] @@ -421,17 +419,17 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): print "Import Statement-------->",start stat = start +" "+ words[0]+"(" tempstatList=[] - print "Start Stat-------->",stat + print "Start of Stat-------->",stat for key in modelInfo[refName]: #If parameter is not mapped then it will just pass try: actualModelicaParam = self.mappingData["Models"][actualModelName]["mapping"][key] - tempstatList.append(actualModelicaParam+"="+modelInfo[refName][actualModelicaParam]+" ") + tempstatList.append(actualModelicaParam+"="+self.getUnitVal(modelInfo[refName][key])+" ") userModelParamList.append(str(actualModelicaParam)) except: pass - print "User Model list---->",userModelParamList + print "User Model Parameter list---->",userModelParamList #Running loop over default parameter of OpenModelica for default in self.mappingData["Models"][actualModelName]["default"]: @@ -439,7 +437,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): continue else: defaultValue = self.mappingData["Models"][actualModelName]["default"][default] - tempstatList.append(default+"="+defaultValue+" ") + tempstatList.append(default+"="+self.getUnitVal(defaultValue)+" ") #print "My Stat------------>",stat #print "Temp Stat List--------->",tempstatList From a89ff374e616efcc48945d8644f6d329f18a05bb Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Thu, 21 Apr 2016 16:35:23 +0530 Subject: [PATCH 27/52] Remove hyphen from ngspice node --- src/ngspicetoModelica/NgspicetoModelica.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index cdb412996..5467b98b5 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -558,6 +558,8 @@ def nodeSeparate(self,compInfo, ifSub, subname, subcktName,numNodesSub): #Removing '[' and ']' from compInfo for Digital node for i in range(0,len(compInfo),1): compInfo[i] = compInfo[i].replace("[","").replace("]","") + #Remove "-" from node as it does not work in modelica + compInfo[i] = compInfo[i].replace("-","") for eachline in compInfo: @@ -583,7 +585,8 @@ def nodeSeparate(self,compInfo, ifSub, subname, subcktName,numNodesSub): for i in nodeTemp: if i not in node: node.append(i) - + + for i in range(0, len(node),1): nodeDic[node[i]] = 'n' + node[i] if ifSub == '0': From 6147bc36dd3ab957b8700e7af26f5c2e2c43cfcc Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Thu, 21 Apr 2016 20:21:19 +0530 Subject: [PATCH 28/52] Modified code for mosfet--- Need to design again --- src/ngspicetoModelica/NgspicetoModelica.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 5467b98b5..fbf7103e2 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -17,7 +17,7 @@ def __init__(self): self.deviceDetail = [] self.subCktDetail = [] self.inbuiltModelDetail = [] - self.deviceList = ['d','D','j','J','q','Q'] #MOSFET is excluded as it has special case + self.deviceList = ['d','D','j','J','q','Q','m','M'] self.inbuiltModelDict = {} @@ -363,6 +363,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): each = each.split('=') mosInfo[words[0]][each[0]] = each[1] trans = transInfo[words[5]] + print "trans------------>",trans if trans == 'nmos': start = 'BondLib.Electrical.Analog.Spice.Mn ' else: @@ -404,7 +405,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): ps = '0' pd = '0' stat = start + words[0] + '(Tnom = 300, VT0 = ' + vto + ', GAMMA = ' + gam + ', PHI = ' + phi + ', LD = ' +ld+ ', U0 = ' + str(float(uo)*0.0001) + ', LAMBDA = ' + lam + ', TOX = ' +tox+ ', PB = ' + pb + ', CJ = ' +cj+ ', CJSW = ' +cjsw+ ', MJ = ' + mj + ', MJSW = ' + mjsw + ', CGD0 = ' +cgdo+ ', JS = ' +js+ ', CGB0 = ' +cgbo+ ', CGS0 = ' +cgso+ ', L = ' +l+ ', W = ' + w + ', Level = 1' + ', AD = ' + ad + ', AS = ' + As + ', PD = ' + pd + ', PS = ' + ps + ');' - stat = stat.translate(maketrans('{}', ' ')) + #stat = stat.translate(maketrans('{}', ' ')) #Not required modelicaCompInit.append(stat) #Lets start for inbuilt model of ngspice From 5f6efbb2f906457d0982188068e3359f723988d0 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Fri, 22 Apr 2016 12:02:47 +0530 Subject: [PATCH 29/52] Modified Transistor import section code to include proper name from dictionary --- src/ngspicetoModelica/NgspicetoModelica.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index fbf7103e2..2d6084028 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -328,7 +328,8 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): modelicaCompInit.append(stat) elif eachline[0]=='q' or eachline[0]=='Q': - if words[4]=='npn': + trans = transInfo[words[4]] + if trans == 'npn': start = 'Analog.Semiconductors.NPN ' else: start = 'Analog.Semiconductors.PNP ' From e70346be5682964b5e24463267609b0f32decd19 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Fri, 22 Apr 2016 12:33:43 +0530 Subject: [PATCH 30/52] Modified again for transistor --- src/ngspicetoModelica/NgspicetoModelica.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 2d6084028..00a33604f 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -111,6 +111,7 @@ def addModel(self,optionInfo): templine = eachline[0].split() trans = templine[1] transInfo[trans] = [] + templine[2] = templine[2].lower() if templine[2] in ['npn', 'pnp', 'pmos', 'nmos']: transInfo[trans] = templine[2] else: @@ -143,7 +144,8 @@ def addModel(self,optionInfo): newdata = data.split('(') templine_f = newdata[0].split() trans_f = templine_f[1] - transInfo[trans_f] = [] + transInfo[trans_f] = [] + templine_f[2] = templine_f[2].lower() if templine_f[2] in ['npn', 'pnp', 'pmos', 'nmos']: transInfo[trans_f] = templine_f[2] @@ -329,6 +331,8 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): elif eachline[0]=='q' or eachline[0]=='Q': trans = transInfo[words[4]] + print "Trans---------->",trans + print "TransInfo---------->",transInfo if trans == 'npn': start = 'Analog.Semiconductors.NPN ' else: From a815ce722770e1e8271f5a5987b3d1ad88ff61e0 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Fri, 22 Apr 2016 19:33:33 +0530 Subject: [PATCH 31/52] Started new Mapping for Diode and Transistor --- src/ngspicetoModelica/Mapping.json | 61 ++++++++++-- src/ngspicetoModelica/NgspicetoModelica.py | 104 ++++++++++++++------- 2 files changed, 127 insertions(+), 38 deletions(-) diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index 5ebd2affa..47743535e 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -18,13 +18,62 @@ "dc" : "Analog.Sources.ConstantVoltage" }, "Devices":{ - "d" : "Analog.Semiconductors.Diode", - "D" : "Analog.Semiconductors.Diode", + "d":{ + "import":"Analog.Semiconductors.Diode", + "mapping":{ + + "is":"Ids" + }, + "default":{ + "Ids":"880.5e-18", + "Vt":"0.025", + "R":"1e12" + } + + }, + "q":{ + "import":"Analog.Semiconductors", + "mapping":{ + "bf":"Bf", + "br":"Br", + "is":"Is", + "vak":"Vak", + "tf":"Tauf", + "tr":"Taur", + "cjs":"Ccs", + "cje":"Cje", + "cjc":"Cjc", + "vje":"Phie", + "mje":"Me", + "vjc":"Phic", + "mjc":"Mc" + }, + "default":{ + "Bf":"50", + "Br":"0.1", + "Is":"1e-16", + "Tauf":"1.2e-10", + "Taur":"5e-9", + "Vak":"0.02", + "Ccs":"1e-12", + "Cje":"4e-12", + "Cjc":"5e-13", + "Phie":"0.8", + "Me":"0.4", + "Phic":"0.8", + "Mc":"0.333" + + } + + }, + "a" : "Analog.Semiconductors.Diode", + "b" : "Analog.Semiconductors.Diode", "M" :"BondLib.Electrical.Analog.Spice", "m" : "BondLib.Electrical.Analog.Spice", - "Q": "Analog.Semiconductors", - "q": "Analog.Semiconductors" - }, + "Qs": "Analog.Semiconductors", + "qs": "Analog.Semiconductors" + + }, "Models":{ @@ -57,7 +106,7 @@ "t":"e12", "g":"e9", "m":"e-3", - "me":"e6", + "meg":"e6", "n":"e-9", "f":"e-15" diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 00a33604f..9985b8f03 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -19,6 +19,7 @@ def __init__(self): self.inbuiltModelDetail = [] self.deviceList = ['d','D','j','J','q','Q','m','M'] self.inbuiltModelDict = {} + def readNetlist(self,filename): @@ -148,7 +149,7 @@ def addModel(self,optionInfo): templine_f[2] = templine_f[2].lower() if templine_f[2] in ['npn', 'pnp', 'pmos', 'nmos']: transInfo[trans_f] = templine_f[2] - + refModelName = trans_f newdata[1] = newdata[1].lower() modelParameter = newdata[1].split() @@ -317,46 +318,86 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): #Lets start for device for eachline in self.deviceDetail: words=eachline.split() - if eachline[0]=='d' or eachline[0]=='D': + deviceName = eachline[0].lower() + if deviceName=='d': if len(words)>3: if modelInfo[words[3]].has_key('n'): n = float(modelInfo[words[3]]['n']) else: n = 1.0 vt = str(float(0.025*n)) - stat = self.mappingData["Devices"][eachline[0]]+' '+ words[0] + '(Ids = ' + modelInfo[words[3]]['is'] + ', Vt = ' + vt + ', R = 1e12' +');' + #stat = self.mappingData["Devices"][deviceName]["import"]+' '+ words[0] + '(Ids = ' + modelInfo[words[3]]['is'] + ', Vt = ' + vt + ', R = 1e12' +');' + start = self.mappingData["Devices"][deviceName]["import"] + stat = start+" "+words[0]+"(" + tempstatList=[] + userDeviceParamList=[] + refName = words[-1] + for key in modelInfo[refName]: + #If parameter is not mapped then it will just pass + try: + actualModelicaParam = self.mappingData["Devices"][deviceName]["mapping"][key] + tempstatList.append(actualModelicaParam+"="+self.getUnitVal(modelInfo[refName][key])+" ") + userDeviceParamList.append(str(actualModelicaParam)) + except: + pass + #Adding Vt and R + userDeviceParamList.append("Vt") + tempstatList.append("Vt="+vt) + #Running loop over default parameter of OpenModelica + for default in self.mappingData["Devices"][deviceName]["default"]: + if default in userDeviceParamList: + continue + else: + defaultValue = self.mappingData["Devices"][deviceName]["default"][default] + tempstatList.append(default+"="+self.getUnitVal(defaultValue)+" ") + + stat += ",".join(str(item) for item in tempstatList)+");" + else: - stat = self.mappingData["Devices"][eachline[0]]+' '+ words[0] +';' + stat = self.mappingData["Devices"][deviceName]["import"]+" "+ words[0] +";" modelicaCompInit.append(stat) - elif eachline[0]=='q' or eachline[0]=='Q': + elif deviceName=='q': trans = transInfo[words[4]] - print "Trans---------->",trans - print "TransInfo---------->",transInfo if trans == 'npn': - start = 'Analog.Semiconductors.NPN ' + start = self.mappingData["Devices"][deviceName]["import"]+".NPN" + elif trans == 'pnp': + start = self.mappingData["Devices"][deviceName]["import"]+".PNP" else: - start = 'Analog.Semiconductors.PNP ' - - inv_vak = float(self.tryExists(modelInfo,words,4, 'vaf', 50)) - vak_temp = 1/inv_vak - vak = str(vak_temp) - bf = self.tryExists(modelInfo,words,4, 'bf', 50) - br = self.tryExists(modelInfo,words,4, 'br', 0.1) - Is = self.tryExists(modelInfo,words,4, 'is', 1e-16) - tf = self.tryExists(modelInfo,words,4, 'tf', 1.2e-10) - tr = self.tryExists(modelInfo,words,4, 'tr', 5e-9) - cjs = self.tryExists(modelInfo,words,4, 'cjs', 1e-12) - cje = self.tryExists(modelInfo,words,4, 'cje', 4e-13) - cjc = self.tryExists(modelInfo,words,4, 'cjc', 5e-13) - vje = self.tryExists(modelInfo,words,4, 'vje', 0.8) - mje = self.tryExists(modelInfo,words,4, 'mje', 0.4) - vjc = self.tryExists(modelInfo,words,4, 'vjc', 0.8) - mjc = self.tryExists(modelInfo,words,4, 'mjc', 0.333) - stat = start + words[0] +'(Bf = ' + bf + ', Br = ' + br + ', Is = ' +Is+ ', Vak = ' + vak + ', Tauf = ' +tf+ ', Taur = ' +tr+ ', Ccs = ' +cjs+ ', Cje = ' +cje+ ', Cjc = ' +cjc+ ', Phie = ' + vje + ', Me = ' + mje + ', Phic = ' + vjc + ', Mc = ' + mjc + ');' + print "Transistor "+trans+" does not support" + sys.exit(1) + + stat = start+" "+words[0]+"(" + tempstatList=[] + userDeviceParamList=[] + refName = words[-1] + for key in modelInfo[refName]: + #If parameter is not mapped then it will just pass + try: + if key=="vaf": + inv_vak = float(self.getUnitVal(modelInfo[refName][key])) + vak_temp = 1/inv_vak + vak = str(vak_temp) + tempstatList.append("Vak="+vak+" ") + userDeviceParamList.append(str("Vak")) + else: + actualModelicaParam = self.mappingData["Devices"][deviceName]["mapping"][key] + tempstatList.append(actualModelicaParam+"="+self.getUnitVal(modelInfo[refName][key])+" ") + userDeviceParamList.append(str(actualModelicaParam)) + except: + pass + #Running loop over default parameter of OpenModelica + for default in self.mappingData["Devices"][deviceName]["default"]: + if default in userDeviceParamList: + continue + else: + defaultValue = self.mappingData["Devices"][deviceName]["default"][default] + tempstatList.append(default+"="+self.getUnitVal(defaultValue)+" ") + + stat += ",".join(str(item) for item in tempstatList)+");" modelicaCompInit.append(stat) - elif eachline[0]=='m' or eachline[0]=="M": + elif deviceName=='m': eachline = eachline.split(words[5]) eachline = eachline[1] eachline = eachline.strip() @@ -621,10 +662,10 @@ def nodeSeparate(self,compInfo, ifSub, subname, subcktName,numNodesSub): pinInit = pinInit + nodeDic[protectedNode[i]] pinInit = pinInit + ';' pinProtectedInit = pinProtectedInit + ';' - print "Node---->",node - print "nodeDic----->",nodeDic - print "PinInit----->",pinInit - print "pinProtectedinit--->",pinProtectedInit + #print "Node---->",node + #print "nodeDic----->",nodeDic + #print "PinInit----->",pinInit + #print "pinProtectedinit--->",pinProtectedInit return node, nodeDic, pinInit, pinProtectedInit @@ -646,7 +687,6 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): conn = 'connect(' + words[0] + '.n,' + nodeDic[words[2]] + ');' connInfo.append(conn) elif eachline[0]=='q' or eachline[0]=='Q': - print "Inside Transistor--->" print "Node Dict------>",nodeDic conn = 'connect(' + words[0] + '.C,' + nodeDic[words[1]] + ');' connInfo.append(conn) From bbc4735bafa85adc9d838fc6b8d5a06de735a13f Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 25 Apr 2016 14:18:48 +0530 Subject: [PATCH 32/52] Subject: Major changes for mapping the parameters of Devices Description: Now the parameters are written in Mapping.json and any new parameter and device can be eaily added and removed. --- src/ngspicetoModelica/Mapping.json | 55 +++++++++++-- src/ngspicetoModelica/NgspicetoModelica.py | 95 +++++++++++++--------- 2 files changed, 107 insertions(+), 43 deletions(-) diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index 47743535e..ce493eabe 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -30,6 +30,53 @@ "R":"1e12" } + }, + + "m":{ + "import":"BondLib.Electrical.Analog.Spice", + "mapping":{ + "tnom":"TNOM", + "vto":"VTO", + "gamma":"GAMMA", + "phi":"PHI", + "ld":"LD", + "uo":"U0", + "lambda":"LAMBDA", + "tox":"TOX", + "pb":"PB", + "cj":"CJ", + "cjsw":"CJSW", + "mj":"MJ", + "mjsw":"MJSW", + "cgdo":"CGDO", + "js":"JS", + "cgbo":"CGB0", + "cgso":"CGS0" + + + }, + "default":{ + "TNOM":"300", + "VTO":"0", + "GAMMA":"0", + "PHI":"0", + "LD":"0", + "U0":"0", + "LAMBDA":"0", + "TOX":"3e-9", + "PB":"0.8", + "CJ":"0", + "CJSW":"1e-9", + "MJ":"0.33", + "MJSW":"0.33", + "CGDO":"0", + "JS":"0", + "CGB0":"0", + "CGS0":"0" + + + } + }, "q":{ "import":"Analog.Semiconductors", @@ -65,13 +112,11 @@ } - }, + }, "a" : "Analog.Semiconductors.Diode", "b" : "Analog.Semiconductors.Diode", - "M" :"BondLib.Electrical.Analog.Spice", - "m" : "BondLib.Electrical.Analog.Spice", - "Qs": "Analog.Semiconductors", - "qs": "Analog.Semiconductors" + "M" :"BondLib.Electrical.Analog.Spice" + }, diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 9985b8f03..93eac1f54 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -364,13 +364,13 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): elif trans == 'pnp': start = self.mappingData["Devices"][deviceName]["import"]+".PNP" else: - print "Transistor "+trans+" does not support" + print "Transistor "+trans+" Not found" sys.exit(1) stat = start+" "+words[0]+"(" tempstatList=[] userDeviceParamList=[] - refName = words[-1] + refName = words[4] for key in modelInfo[refName]: #If parameter is not mapped then it will just pass try: @@ -409,49 +409,75 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): each = each.split('=') mosInfo[words[0]][each[0]] = each[1] trans = transInfo[words[5]] - print "trans------------>",trans + if trans == 'nmos': - start = 'BondLib.Electrical.Analog.Spice.Mn ' + start = self.mappingData["Devices"][deviceName]["import"]+".Mn" + elif trans=='pmos' : + start = self.mappingData["Devices"][deviceName]["import"]+".Mp" else: - start = 'BondLib.Electrical.Analog.Spice.Mp ' - vto = self.tryExists(modelInfo,words,5,'vto',0) - gam = self.tryExists(modelInfo,words,5,'gamma',0) - phi = self.tryExists(modelInfo,words,5, 'phi', 0) - ld = self.tryExists(modelInfo,words,5,'ld',0) - uo = self.tryExists(modelInfo,words,5,'uo',0) - lam = self.tryExists(modelInfo,words,5,'lambda',0) - tox = self.tryExists(modelInfo,words,5,'tox',3e-9) - pb = self.tryExists(modelInfo,words,5, 'pb',0.8) - cj = self.tryExists(modelInfo,words,5, 'cj',0) - cjsw = self.tryExists(modelInfo,words,5, 'cjsw',1e-9) - mj = self.tryExists(modelInfo,words,5, 'mj',0.33) - mjsw = self.tryExists(modelInfo,words,5, 'mjsw',0.33) - cgdo = self.tryExists(modelInfo,words,5, 'cgdo',0) - js = self.tryExists(modelInfo,words,5, 'js',0) - cgbo = self.tryExists(modelInfo,words,5, 'cgbo',0) - cgso = self.tryExists(modelInfo,words,5,'cgso',0) + print "MOSFET "+trans+" not found" + sys.exit(1) + + + stat = start+" "+words[0]+"(" + tempstatList=[] + userDeviceParamList=[] + refName = words[5] + + for key in modelInfo[refName]: + #If parameter is not mapped then it will just pass + try: + if key=="uo": + U0 = str(float(self.getUnitVal(modelInfo[refName][key]))*0.0001) + tempstatList.append("U0="+U0+" ") + userDeviceParamList.append(str("U0")) + else: + actualModelicaParam = self.mappingData["Devices"][deviceName]["mapping"][key] + tempstatList.append(actualModelicaParam+"="+self.getUnitVal(modelInfo[refName][key])+" ") + userDeviceParamList.append(str(actualModelicaParam)) + except Exception as err: + print str(err) + + #Running loop over default parameter of OpenModelica + for default in self.mappingData["Devices"][deviceName]["default"]: + if default in userDeviceParamList: + continue + else: + defaultValue = self.mappingData["Devices"][deviceName]["default"][default] + tempstatList.append(default+"="+self.getUnitVal(defaultValue)+" ") + + + #Adding LEVEL(This is constant not the device levele) + tempstatList.append("LEVEL=1"+" ") + try: l = mosInfo[words[0]]['l'] + tempstatList.append("L="+self.getUnitVal(l)+" ") except KeyError: - l = '1e-6' + tempstatList.append("L=1e-6"+" ") try: w = mosInfo[words[0]]['w'] + tempstatList.append("W="+self.getUnitVal(w)+" ") except KeyError: - w = '100e-6' + tempstatList.append("W=100e-6"+" ") try: As = mosInfo[words[0]]['as'] ad = mosInfo[words[0]]['ad'] + tempstatList.append("AS="+self.getUnitVal(As)+" ") + tempstatList.append("AD="+self.getUnitVal(ad)+" ") except KeyError: - As = '0' - ad = '0' + tempstatList.append("AS=0"+" ") + tempstatList.append("AD=0"+" ") try: ps = mosInfo[words[0]]['ps'] pd = mosInfo[words[0]]['pd'] + tempstatList.append("PS="+self.getUnitVal(ps)+" ") + tempstatList.append("PD="+self.getUnitVal(pd)+" ") except KeyError: - ps = '0' - pd = '0' - stat = start + words[0] + '(Tnom = 300, VT0 = ' + vto + ', GAMMA = ' + gam + ', PHI = ' + phi + ', LD = ' +ld+ ', U0 = ' + str(float(uo)*0.0001) + ', LAMBDA = ' + lam + ', TOX = ' +tox+ ', PB = ' + pb + ', CJ = ' +cj+ ', CJSW = ' +cjsw+ ', MJ = ' + mj + ', MJSW = ' + mjsw + ', CGD0 = ' +cgdo+ ', JS = ' +js+ ', CGB0 = ' +cgbo+ ', CGS0 = ' +cgso+ ', L = ' +l+ ', W = ' + w + ', Level = 1' + ', AD = ' + ad + ', AS = ' + As + ', PD = ' + pd + ', PS = ' + ps + ');' - #stat = stat.translate(maketrans('{}', ' ')) #Not required + tempstatList.append("PS=0"+" ") + tempstatList.append("PD=0"+" ") + + stat += ",".join(str(item) for item in tempstatList)+");" modelicaCompInit.append(stat) #Lets start for inbuilt model of ngspice @@ -459,14 +485,12 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): words=eachline.split() userModelParamList = [] refName = words[-1] - print "Reference Model Name------->",refName actualModelName = self.inbuiltModelDict[refName] - print "Actual Model Name------->",actualModelName + start = self.mappingData["Models"][actualModelName]["import"] - print "Import Statement-------->",start stat = start +" "+ words[0]+"(" tempstatList=[] - print "Start of Stat-------->",stat + for key in modelInfo[refName]: #If parameter is not mapped then it will just pass try: @@ -476,8 +500,6 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): except: pass - print "User Model Parameter list---->",userModelParamList - #Running loop over default parameter of OpenModelica for default in self.mappingData["Models"][actualModelName]["default"]: if default in userModelParamList: @@ -486,10 +508,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): defaultValue = self.mappingData["Models"][actualModelName]["default"][default] tempstatList.append(default+"="+self.getUnitVal(defaultValue)+" ") - #print "My Stat------------>",stat - #print "Temp Stat List--------->",tempstatList stat += ",".join(str(item) for item in tempstatList)+");" - print "End Stat---------->",stat modelicaCompInit.append(stat) From 99001f8ddcfa492c8068b864ec08fe2a85a88106 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 25 Apr 2016 15:44:05 +0530 Subject: [PATCH 33/52] Modified code to include current source --- src/ngspicetoModelica/Mapping.json | 18 ++++-- src/ngspicetoModelica/NgspicetoModelica.py | 69 +++++++++++++--------- 2 files changed, 53 insertions(+), 34 deletions(-) diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index ce493eabe..22a10f438 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -12,10 +12,17 @@ }, "Sources":{ - "pulse":"Analog.Sources.TrapezoidVoltage", - "sine":"Analog.Sources.SineVoltage", - "pwl" : "Analog.Sources.TableVoltage", - "dc" : "Analog.Sources.ConstantVoltage" + "v":{ + "pulse":"Analog.Sources.TrapezoidVoltage", + "sine":"Analog.Sources.SineVoltage", + "pwl" : "Analog.Sources.TableVoltage", + "dc" : "Analog.Sources.ConstantVoltage" + }, + + "i":{ + "dc":"Analog.Sources.ConstantCurrent" + } + }, "Devices":{ "d":{ @@ -153,7 +160,8 @@ "m":"e-3", "meg":"e6", "n":"e-9", - "f":"e-15" + "f":"e-15", + "ma":"e-3" } diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 93eac1f54..90c288a69 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -18,6 +18,7 @@ def __init__(self): self.subCktDetail = [] self.inbuiltModelDetail = [] self.deviceList = ['d','D','j','J','q','Q','m','M'] + self.sourceList = ['v','V','i','I'] self.inbuiltModelDict = {} @@ -71,7 +72,7 @@ def separateNetlistInfo(self,netlist): self.deviceDetail.append(eachline) elif eachline[0]=='x' or eachline[0]=='X': self.subCktDetail.append(eachline) - elif eachline[0]=='v' or eachline[0]=='V': + elif eachline[0] in self.sourceList: schematicInfo.append(eachline) self.sourceDetail.append(eachline) elif eachline[0]=='a' or eachline[0]=='A': @@ -285,36 +286,46 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): words = eachline.lower().split() words[0] = compName typ = words[3].split('(') - if typ[0] == "pulse": - per = words[9].split(')') - stat = self.mappingData["Sources"][typ[0]]+' '+words[0]+'(rising = '+self.getUnitVal(words[6])+', V = '+self.getUnitVal(words[4])\ - +', width = '+self.getUnitVal(words[8])+', period = '+self.getUnitVal(per[0])+', offset = '+self.getUnitVal(typ[1])+', startTime = '+self.getUnitVal(words[5])+', falling = '+self.getUnitVal(words[7])+');' - modelicaCompInit.append(stat) - if typ[0] == "sine": - theta = words[7].split(')') - stat = self.mappingData["Sources"][typ[0]]+' '+words[0]+'(offset = '+self.getUnitVal(typ[1])+', V = '+self.getUnitVal(words[4])+', freqHz = '+self.getUnitVal(words[5])+', startTime = '+self.getUnitVal(words[6])+', phase = '+self.getUnitVal(theta[0])+');' - modelicaCompInit.append(stat) - if typ[0] == "pwl": - keyw = self.mappingData["Sources"][typ[0]]+' ' - stat = keyw + words[0] + '(table = [' + self.getUnitVal(typ[1]) + ',' + self.getUnitVal(words[4]) + ';' - length = len(words); - for i in range(6,length,2): - if i == length-2: - w = words[i].split(')') - stat = stat + words[i-1] + ',' + w[0] - else: - stat = stat + words[i-1] + ',' + words[i] + ';' - stat = stat + ']);' - modelicaCompInit.append(stat) - if typ[0] == words[3] and typ[0] != "dc": - #It is DC constant but no dc keyword - val_temp = typ[0].split('v') - stat = self.mappingData["Sources"]["dc"]+' ' + words[0] + '(V = ' + self.getUnitVal(val_temp[0]) + ');' - modelicaCompInit.append(stat) - elif typ[0] == words[3] and typ[0] == "dc": - stat = self.mappingData["Sources"][typ[0]]+' ' + words[0] + '(V = ' + self.getUnitVal(words[4]) + ');' ### check this + + sourceType = compName[0].lower() + + if sourceType == 'v': + if typ[0] == "pulse": + per = words[9].split(')') + stat = self.mappingData["Sources"][sourceType][typ[0]]+' '+compName+'(rising = '+self.getUnitVal(words[6])+', V = '+self.getUnitVal(words[4])\ + +', width = '+self.getUnitVal(words[8])+', period = '+self.getUnitVal(per[0])+', offset = '+self.getUnitVal(typ[1])+', startTime = '+self.getUnitVal(words[5])+', falling = '+self.getUnitVal(words[7])+');' + modelicaCompInit.append(stat) + if typ[0] == "sine": + theta = words[7].split(')') + stat = self.mappingData["Sources"][sourceType][typ[0]]+' '+compName+'(offset = '+self.getUnitVal(typ[1])+', V = '+self.getUnitVal(words[4])+', freqHz = '+self.getUnitVal(words[5])+', startTime = '+self.getUnitVal(words[6])+', phase = '+self.getUnitVal(theta[0])+');' + modelicaCompInit.append(stat) + if typ[0] == "pwl": + keyw = self.mappingData["Sources"][sourceType][typ[0]]+' ' + stat = keyw + compName + '(table = [' + self.getUnitVal(typ[1]) + ',' + self.getUnitVal(words[4]) + ';' + length = len(words); + for i in range(6,length,2): + if i == length-2: + w = words[i].split(')') + stat = stat + words[i-1] + ',' + w[0] + else: + stat = stat + words[i-1] + ',' + words[i] + ';' + stat = stat + ']);' + modelicaCompInit.append(stat) + if typ[0] == words[3] and typ[0] != "dc": + #It is DC constant but no dc keyword + val_temp = typ[0].split('v') + stat = self.mappingData["Sources"][sourceType]["dc"]+' ' + compName + '(V = ' + self.getUnitVal(val_temp[0]) + ');' + modelicaCompInit.append(stat) + elif typ[0] == words[3] and typ[0] == "dc": + stat = self.mappingData["Sources"][sourceType][typ[0]]+' ' + compName + '(V = ' + self.getUnitVal(words[4]) + ');' ### check this + modelicaCompInit.append(stat) + + elif sourceType=='i': + print "Word---------------->",words[3] + stat = self.mappingData["Sources"][sourceType]["dc"]+' '+compName+'(I='+self.getUnitVal(words[3])+');' modelicaCompInit.append(stat) + #Lets start for device for eachline in self.deviceDetail: words=eachline.split() From 7981bce4c6391e585d07011c0a3b122c847ab32a Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 25 Apr 2016 19:30:59 +0530 Subject: [PATCH 34/52] Added node details for Constant Current Source --- src/ngspicetoModelica/NgspicetoModelica.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 90c288a69..ad60a46ab 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -708,10 +708,9 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): sourcesInfo = self.separateSource(compInfo) for eachline in compInfo: words = eachline.split() - #print "eachline----->",eachline - #print "eachline[0]------->",eachline[0] + if eachline[0]=='r' or eachline[0]=='R' or eachline[0]=='c' or eachline[0]=='C' or eachline[0]=='d' or eachline[0]=='D' \ - or eachline[0]=='l' or eachline[0]=='L' or eachline[0]=='v' or eachline[0]=='V': + or eachline[0]=='l' or eachline[0]=='L' or eachline[0]=='v' or eachline[0]=='V' or eachline[0]=='i' or eachline[0]=='I': conn = 'connect(' + words[0] + '.p,' + nodeDic[words[1]] + ');' connInfo.append(conn) conn = 'connect(' + words[0] + '.n,' + nodeDic[words[2]] + ');' From 7439467316fad7746d6ecc8335f7c294a254f869 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Tue, 26 Apr 2016 11:45:03 +0530 Subject: [PATCH 35/52] Table voltage unit (PWL) resolved --- src/ngspicetoModelica/Mapping.json | 7 ++++--- src/ngspicetoModelica/NgspicetoModelica.py | 5 ++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index 22a10f438..0387f3038 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -161,8 +161,9 @@ "meg":"e6", "n":"e-9", "f":"e-15", - "ma":"e-3" - + "ma":"e-3", + "v":"", + "V":"" } -} \ No newline at end of file +} diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index ad60a46ab..5735db4bb 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -306,9 +306,9 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): for i in range(6,length,2): if i == length-2: w = words[i].split(')') - stat = stat + words[i-1] + ',' + w[0] + stat = stat + self.getUnitVal(words[i-1]) + ',' + self.getUnitVal(w[0]) else: - stat = stat + words[i-1] + ',' + words[i] + ';' + stat = stat + self.getUnitVal(words[i-1]) + ',' + self.getUnitVal(words[i]) + ';' stat = stat + ']);' modelicaCompInit.append(stat) if typ[0] == words[3] and typ[0] != "dc": @@ -321,7 +321,6 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): modelicaCompInit.append(stat) elif sourceType=='i': - print "Word---------------->",words[3] stat = self.mappingData["Sources"][sourceType]["dc"]+' '+compName+'(I='+self.getUnitVal(words[3])+');' modelicaCompInit.append(stat) From 5022a36736ffff855f7dada14b5b98988179ecbe Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Tue, 26 Apr 2016 14:01:51 +0530 Subject: [PATCH 36/52] Modified getUnitVal function --- src/ngspicetoModelica/NgspicetoModelica.py | 57 ++++++++++++++++------ 1 file changed, 42 insertions(+), 15 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 5735db4bb..6483bd139 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -220,20 +220,38 @@ def separateSource(self,compInfo): def getUnitVal(self,compValue): #regExp = re.compile("([0-9]+)([a-zA-Z]+)") - regExp = re.compile("([0-9]+)\.?([0-9]+)?([a-zA-Z])?") + #Remove '(' and ')' if any + compValue = compValue.replace('(','').replace(')','') + regExp = re.compile("([-])?([0-9]+)\.?([0-9]+)?([a-zA-Z])?") matchString = regExp.match(str(compValue)) #separating number and string try: - valBeforeDecimal = matchString.group(1) - valAfterDecimal = matchString.group(2) - unitValue = matchString.group(3) + signVal = matchString.group(1) + valBeforeDecimal = matchString.group(2) + valAfterDecimal = matchString.group(3) + unitValue = matchString.group(4) + modifiedcompValue = "" + + if str(signVal)=='None': + pass + else: + modifiedcompValue += signVal + + modifiedcompValue += valBeforeDecimal + if str(valAfterDecimal)=='None': - modifiedcompValue = valBeforeDecimal+self.mappingData["Units"][unitValue] + pass else: - modifiedcompValue = valBeforeDecimal+'.'+valAfterDecimal+self.mappingData["Units"][unitValue] + modifiedcompValue += valAfterDecimal + + if str(unitValue)=='None': + pass + else: + modifiedcompValue += self.mappingData["Units"][unitValue] + return modifiedcompValue except: return compValue - + def tryExists(self,modelInfo,words,wordNo, key,default): """ checks if entry for key exists in dictionary, else returns default @@ -634,12 +652,11 @@ def nodeSeparate(self,compInfo, ifSub, subname, subcktName,numNodesSub): #Removing '[' and ']' from compInfo for Digital node for i in range(0,len(compInfo),1): compInfo[i] = compInfo[i].replace("[","").replace("]","") - #Remove "-" from node as it does not work in modelica - compInfo[i] = compInfo[i].replace("-","") - + for eachline in compInfo: words = eachline.split() + if eachline[0] in ['m', 'e', 'g', 't','M','E','G','T']: nodeTemp.append(words[1]) nodeTemp.append(words[2]) @@ -658,8 +675,11 @@ def nodeSeparate(self,compInfo, ifSub, subname, subcktName,numNodesSub): else: nodeTemp.append(words[1]) nodeTemp.append(words[2]) + + #Replace hyphen '-' from node for i in nodeTemp: if i not in node: + i = i.replace("-","") node.append(i) @@ -703,11 +723,14 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): Make node connections in the modelica netlist """ connInfo = [] - print "compinfo-------->",compInfo sourcesInfo = self.separateSource(compInfo) for eachline in compInfo: words = eachline.split() + #Remove '-' from compInfo + for i in range(0,len(words),1): + words[i] = words[i].replace("-","") + if eachline[0]=='r' or eachline[0]=='R' or eachline[0]=='c' or eachline[0]=='C' or eachline[0]=='d' or eachline[0]=='D' \ or eachline[0]=='l' or eachline[0]=='L' or eachline[0]=='v' or eachline[0]=='V' or eachline[0]=='i' or eachline[0]=='I': conn = 'connect(' + words[0] + '.p,' + nodeDic[words[1]] + ');' @@ -715,7 +738,6 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): conn = 'connect(' + words[0] + '.n,' + nodeDic[words[2]] + ');' connInfo.append(conn) elif eachline[0]=='q' or eachline[0]=='Q': - print "Node Dict------>",nodeDic conn = 'connect(' + words[0] + '.C,' + nodeDic[words[1]] + ');' connInfo.append(conn) conn = 'connect(' + words[0] + '.B,' + nodeDic[words[2]] + ');' @@ -757,11 +779,10 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): temp = templine[0].split('x') index = temp[1] for i in range(0,len(templine),1): - if templine[i] in subcktName: #Ask Manas Added subcktName in function Call + if templine[i] in subcktName: subname = templine[i] nodeNumInfo = self.getSubInterface(subname, numNodesSub) for i in range(0, numNodesSub[subname], 1): - #conn = 'connect(' + subname + '_instance' + index + '.' + nodeDic[nodeNumInfo[i]] + ',' + nodeDic[words[i+1]] + ');' conn = 'connect(' + subname + '_instance' + index + '.' + 'n'+ nodeNumInfo[i] + ',' + nodeDic[words[i+1]] + ');' connInfo.append(conn) else: @@ -772,6 +793,13 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): elif 'gnd' in node: conn = 'connect(g.p,ngnd);' connInfo.append(conn) + + print "Connection Information--------->",connInfo + + + # Removing hypen from netlist as it is not supported in modelica + #for i in range(0,len(connInfo),1): + # connInfo[i] = connInfo[i].replace("-","") return connInfo @@ -933,7 +961,6 @@ def main(args): modelicaParamInit = obj_NgMoConverter.processParam(paramInfo) #print "Make modelicaParamInit from paramInfo :processParamInit------------->",modelicaParamInit compInfo, plotInfo = obj_NgMoConverter.separatePlot(schematicInfo) - print "Info like run etc : CompInfo----------------->",compInfo #print "Plot info like plot,print etc :plotInfo",plotInfo IfMOS = '0' From 9eb2372278e7823e0df3ccb94306ce7f62e3f97b Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Wed, 27 Apr 2016 11:31:51 +0530 Subject: [PATCH 37/52] Modified Code for dependant source --- src/ngspicetoModelica/NgspicetoModelica.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 6483bd139..af926cdbc 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -756,7 +756,9 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): elif eachline[0] in ['f','h','F','H']: vsource = words[3] sourceNodes = sourcesInfo[vsource] - sourceNodes = sourceNodes.split() + #print "Source Nodes------>",sourceNodes + #print "Source Info------->",sourcesInfo + #sourceNodes = sourceNodes.split() #No need to split as it is in the form of list conn = 'connect(' + words[0] + '.p1,'+ nodeDic[sourceNodes[0]] + ');' connInfo.append(conn) conn = 'connect(' + words[0] + '.n1,'+ nodeDic[sourceNodes[1]] + ');' From d72f0914f3b7944fb97e3d242e3757b1d6388de0 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Wed, 27 Apr 2016 14:53:43 +0530 Subject: [PATCH 38/52] Modified code to exclude voltage source of main circuit into subcircuit netlist --- src/ngspicetoModelica/Mapping.json | 4 +++- src/ngspicetoModelica/NgspicetoModelica.py | 11 ++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index 0387f3038..3db10391d 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -163,7 +163,9 @@ "f":"e-15", "ma":"e-3", "v":"", - "V":"" + "V":"", + "i":"", + "I":"" } } diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index af926cdbc..b512cfefd 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -241,7 +241,7 @@ def getUnitVal(self,compValue): if str(valAfterDecimal)=='None': pass else: - modifiedcompValue += valAfterDecimal + modifiedcompValue += '.'+valAfterDecimal if str(unitValue)=='None': pass @@ -342,6 +342,10 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): stat = self.mappingData["Sources"][sourceType]["dc"]+' '+compName+'(I='+self.getUnitVal(words[3])+');' modelicaCompInit.append(stat) + #Now empty the source list as it may be used by subcircuit + self.sourceDetail[:] = [] + + print "Source Detail after processing-------->",self.sourceDetail #Lets start for device for eachline in self.deviceDetail: @@ -508,6 +512,9 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): stat += ",".join(str(item) for item in tempstatList)+");" modelicaCompInit.append(stat) + #Empty device details as well + self.deviceDetail[:]=[] + #Lets start for inbuilt model of ngspice for eachline in self.inbuiltModelDetail: words=eachline.split() @@ -539,6 +546,8 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): stat += ",".join(str(item) for item in tempstatList)+");" modelicaCompInit.append(stat) + #Empty inbuilt Model + self.inbuiltModelDetail[:] = [] #Lets start for Subcircuit for eachline in self.subCktDetail: From 9ceb75c40199d846c4075d05efca41925a56db78 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Wed, 27 Apr 2016 16:30:38 +0530 Subject: [PATCH 39/52] Resolve Mega Units --- src/ngspicetoModelica/NgspicetoModelica.py | 29 ++++++++++++++++------ 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index b512cfefd..6689d0c6f 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -48,7 +48,9 @@ def readNetlist(self,filename): if eachline[0]=='+': netlist.append(netlist.pop()+eachline.replace('+',' ',1)) else: + print "EachLine------------>",eachline netlist.append(eachline) + print "Netlist.............>",netlist return netlist def separateNetlistInfo(self,netlist): @@ -58,7 +60,10 @@ def separateNetlistInfo(self,netlist): optionInfo = [] schematicInfo = [] + + for eachline in netlist: + if len(eachline) > 1: if eachline[0]=='*': continue @@ -71,6 +76,7 @@ def separateNetlistInfo(self,netlist): schematicInfo.append(eachline) self.deviceDetail.append(eachline) elif eachline[0]=='x' or eachline[0]=='X': + schematicInfo.append(eachline) self.subCktDetail.append(eachline) elif eachline[0] in self.sourceList: schematicInfo.append(eachline) @@ -82,6 +88,8 @@ def separateNetlistInfo(self,netlist): schematicInfo.append(eachline) ##No need of making it lower case as netlist is already converted to ngspice #schematicInfo.append(eachline.lower()) + + print "Subcircuit------->",self.subCktDetail return optionInfo,schematicInfo def addModel(self,optionInfo): @@ -222,7 +230,8 @@ def getUnitVal(self,compValue): #regExp = re.compile("([0-9]+)([a-zA-Z]+)") #Remove '(' and ')' if any compValue = compValue.replace('(','').replace(')','') - regExp = re.compile("([-])?([0-9]+)\.?([0-9]+)?([a-zA-Z])?") + #regExp = re.compile("([-])?([0-9]+)\.?([0-9]+)?([a-zA-Z])?") + regExp = re.compile("([-])?([0-9]+)\.?([0-9]+)?(\w+)?") matchString = regExp.match(str(compValue)) #separating number and string try: signVal = matchString.group(1) @@ -230,7 +239,6 @@ def getUnitVal(self,compValue): valAfterDecimal = matchString.group(3) unitValue = matchString.group(4) modifiedcompValue = "" - if str(signVal)=='None': pass else: @@ -568,7 +576,9 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): else: stat = subname + ' ' + subname +'_instance' + index + ';' modelicaCompInit.append(stat) - + + #Empty Sub Circuit Detail + self.subCktDetail[:] = [] for eachline in compInfo: words = eachline.split() @@ -677,13 +687,18 @@ def nodeSeparate(self,compInfo, ifSub, subname, subcktName,numNodesSub): nodeTemp.append(words[3]) elif eachline[0]=='x' or eachline[0]=='X': templine = eachline.split() + print "TempLine------------>",templine + print "Subckt Name---------->",subcktName for i in range(0,len(templine),1): if templine[i] in subcktName: point = i + print "Added in node----->",words[1:point] nodeTemp.extend(words[1:point]) else: nodeTemp.append(words[1]) nodeTemp.append(words[2]) + + #Replace hyphen '-' from node for i in nodeTemp: @@ -994,12 +1009,12 @@ def main(args): if eachline[0] == 'm': IfMOS = '1' break - #print "Subcircuit OptionInfo : subOptionInfo------------------->",subOptionInfo - #print "Subcircuit Schematic Info :subSchemInfo-------------------->",subSchemInfo + print "Subcircuit OptionInfo : subOptionInfo------------------->",subOptionInfo + print "Subcircuit Schematic Info :subSchemInfo-------------------->",subSchemInfo node, nodeDic, pinInit, pinProtectedInit = obj_NgMoConverter.nodeSeparate(compInfo, '0', [], subcktName,[]) - print "All nodes in the netlist :node---------------->",node - print "NodeDic which will be used for modelica : nodeDic------------->",nodeDic + #print "All nodes in the netlist :node---------------->",node + #print "NodeDic which will be used for modelica : nodeDic------------->",nodeDic #print "PinInit-------------->",pinInit #print "pinProtectedInit----------->",pinProtectedInit From 11ac9b3874e4e84576c3b735c8ecbfd6583648bc Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Thu, 28 Apr 2016 12:14:32 +0530 Subject: [PATCH 40/52] Modified Code for Sub Circuit --- src/ngspicetoModelica/NgspicetoModelica.py | 69 +++++++++++----------- 1 file changed, 36 insertions(+), 33 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 6689d0c6f..ad5f703ab 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -48,9 +48,8 @@ def readNetlist(self,filename): if eachline[0]=='+': netlist.append(netlist.pop()+eachline.replace('+',' ',1)) else: - print "EachLine------------>",eachline netlist.append(eachline) - print "Netlist.............>",netlist + #print "Netlist.............>",netlist return netlist def separateNetlistInfo(self,netlist): @@ -89,7 +88,7 @@ def separateNetlistInfo(self,netlist): ##No need of making it lower case as netlist is already converted to ngspice #schematicInfo.append(eachline.lower()) - print "Subcircuit------->",self.subCktDetail + #print "Subcircuit------->",self.subCktDetail return optionInfo,schematicInfo def addModel(self,optionInfo): @@ -276,7 +275,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): """ For each component in the netlist initialize it according to Modelica format """ - print "CompInfo inside compInit function : compInit------->",compInfo + #print "CompInfo inside compInit function : compInit------->",compInfo #### initial processing to check if MOs is present. If so, library to be used is BondLib modelicaCompInit = [] numNodesSub = {} @@ -353,7 +352,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): #Now empty the source list as it may be used by subcircuit self.sourceDetail[:] = [] - print "Source Detail after processing-------->",self.sourceDetail + #print "Source Detail after processing-------->",self.sourceDetail #Lets start for device for eachline in self.deviceDetail: @@ -692,7 +691,7 @@ def nodeSeparate(self,compInfo, ifSub, subname, subcktName,numNodesSub): for i in range(0,len(templine),1): if templine[i] in subcktName: point = i - print "Added in node----->",words[1:point] + #print "Added in node----->",words[1:point] nodeTemp.extend(words[1:point]) else: nodeTemp.append(words[1]) @@ -820,7 +819,7 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): conn = 'connect(g.p,ngnd);' connInfo.append(conn) - print "Connection Information--------->",connInfo + #print "Connection Information--------->",connInfo # Removing hypen from netlist as it is not supported in modelica @@ -852,11 +851,13 @@ def procesSubckt(self,subcktName,numNodesSub,dir_name): if len(subcktName) > 0: for eachsub in subcktName: filename = eachsub + '.sub' + basename = filename + filename = os.path.join(dir_name, filename) data = self.readNetlist(filename) print "Data-------------------->",data subOptionInfo, subSchemInfo = self.separateNetlistInfo(data) - print "SubOptionInfo------------------->",subOptionInfo - print "SubSchemInfo-------------------->",subSchemInfo + #print "SubOptionInfo------------------->",subOptionInfo + #print "SubSchemInfo-------------------->",subSchemInfo if len(subOptionInfo) > 0: newline = subOptionInfo[0] subInitLine = newline @@ -865,12 +866,12 @@ def procesSubckt(self,subcktName,numNodesSub,dir_name): for i in range(0,len(intLine),1): nodeSubInterface.append(intLine[i]) - subModel, subModelInfo, subsubName, subParamInfo,transInfo = self.addModel(subOptionInfo) - print "Sub Model------------------------------------>",subModel - print "SubModelInfo---------------------------------->",subModelInfo - print "subsubName------------------------------------->",subsubName - print "subParamInfo----------------------------------->",subParamInfo - print "transInfo----------------------------------->",transInfo + subModel, subModelInfo, subsubName, subParamInfo,subtransInfo = self.addModel(subOptionInfo) + #print "Sub Model------------------------------------>",subModel + #print "SubModelInfo---------------------------------->",subModelInfo + #print "subsubName------------------------------------->",subsubName + #print "subParamInfo----------------------------------->",subParamInfo + #print "subtransInfo----------------------------------->",subtransInfo IfMOSsub = '0' for eachline in subSchemInfo: #words = eachline.split() @@ -883,7 +884,8 @@ def procesSubckt(self,subcktName,numNodesSub,dir_name): #subsubOptionInfo = [] #subsubSchemInfo = [] for eachsub in subsubName: - filename_stemp = eachsub + '.sub' + filename_st = eachsub + '.sub' + filename_stemp = os.path.join(dir_name, filename_st) data = self.readNetlist(filename_stemp) subsubOptionInfo, subsubSchemInfo = self.separateNetlistInfo(data) for eachline in subsubSchemInfo: @@ -891,22 +893,23 @@ def procesSubckt(self,subcktName,numNodesSub,dir_name): if eachline[0] == 'm': IfMOSsub = '1' break - print "subsubOptionInfo-------------------------->",subsubOptionInfo - print "subsubSchemInfo-------------------------->",subsubSchemInfo + #print "subsubOptionInfo-------------------------->",subsubOptionInfo + #print "subsubSchemInfo-------------------------->",subsubSchemInfo modelicaSubParam = self.processParam(subParamInfo) - print "modelicaSubParam------------------->",modelicaSubParam + #print "modelicaSubParam------------------->",modelicaSubParam nodeSub, nodeDicSub, pinInitSub, pinProtectedInitSub = self.nodeSeparate(subSchemInfo, '1', eachsub, subsubName,numNodesSub) - print "NodeSub------------------------->",nodeSub - print "NodeDicSub-------------------------->",nodeDicSub - print "PinInitSub-------------------------->",pinInitSub - print "PinProtectedInitSub------------------->",pinProtectedInitSub - modelicaSubCompInit, numNodesSubsub = self.compInit(subSchemInfo, nodeSub, subModelInfo, subsubName,dir_name,transInfo) - print "modelicaSubCompInit--------------------->",modelicaSubCompInit - print "numNodesSubsub-------------------------->",numNodesSubsub + #print "NodeSub------------------------->",nodeSub + #print "NodeDicSub-------------------------->",nodeDicSub + #print "PinInitSub-------------------------->",pinInitSub + #print "PinProtectedInitSub------------------->",pinProtectedInitSub + modelicaSubCompInit, numNodesSubsub = self.compInit(subSchemInfo, nodeSub, subModelInfo, subsubName,dir_name,subtransInfo) + #print "modelicaSubCompInit--------------------->",modelicaSubCompInit + #print "numNodesSubsub-------------------------->",numNodesSubsub modelicaSubParamNew = self.getSubParamLine(eachsub, numNodesSub, modelicaSubParam,dir_name) ###Ask Manas - print "modelicaSubParamNew----------------->",modelicaSubParamNew + #print "modelicaSubParamNew----------------->",modelicaSubParamNew connSubInfo = self.connectInfo(subSchemInfo, nodeSub, nodeDicSub, numNodesSubsub,subcktName) + #print "connSubInfo----------------->",connSubInfo newname = filename.split('.') newfilename = newname[0] outfilename = newfilename+ ".mo" @@ -978,8 +981,8 @@ def main(args): #print "All option details like analysis,subckt,.ic,.model : OptionInfo------------------->",optionInfo #print "Schematic connection info :schematicInfo",schematicInfo modelName, modelInfo, subcktName, paramInfo,transInfo = obj_NgMoConverter.addModel(optionInfo) - print "Name of Model : modelName-------------------->",modelName - print "Model Information :modelInfo--------------------->",modelInfo + #print "Name of Model : modelName-------------------->",modelName + #print "Model Information :modelInfo--------------------->",modelInfo #print "Subcircuit Name :subcktName------------------------>",subcktName #print "Parameter Information :paramInfo---------------------->",paramInfo @@ -1009,8 +1012,8 @@ def main(args): if eachline[0] == 'm': IfMOS = '1' break - print "Subcircuit OptionInfo : subOptionInfo------------------->",subOptionInfo - print "Subcircuit Schematic Info :subSchemInfo-------------------->",subSchemInfo + #print "Subcircuit OptionInfo : subOptionInfo------------------->",subOptionInfo + #print "Subcircuit Schematic Info :subSchemInfo-------------------->",subSchemInfo node, nodeDic, pinInit, pinProtectedInit = obj_NgMoConverter.nodeSeparate(compInfo, '0', [], subcktName,[]) #print "All nodes in the netlist :node---------------->",node @@ -1019,8 +1022,8 @@ def main(args): #print "pinProtectedInit----------->",pinProtectedInit modelicaCompInit, numNodesSub = obj_NgMoConverter.compInit(compInfo,node, modelInfo, subcktName,dir_name,transInfo) - print "ModelicaComponents : modelicaCompInit----------->",modelicaCompInit - print "SubcktNumNodes : numNodesSub---------------->",numNodesSub + #print "ModelicaComponents : modelicaCompInit----------->",modelicaCompInit + #print "SubcktNumNodes : numNodesSub---------------->",numNodesSub connInfo = obj_NgMoConverter.connectInfo(compInfo, node, nodeDic, numNodesSub,subcktName) From 458d27e3fa3f8864eb2b47e2b39ca74a6f5e035f Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Thu, 28 Apr 2016 15:08:08 +0530 Subject: [PATCH 41/52] Generated Subcircuit .mo file properly when the folder contains '.' in path --- src/ngspicetoModelica/NgspicetoModelica.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index ad5f703ab..058a24422 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -910,11 +910,12 @@ def procesSubckt(self,subcktName,numNodesSub,dir_name): #print "modelicaSubParamNew----------------->",modelicaSubParamNew connSubInfo = self.connectInfo(subSchemInfo, nodeSub, nodeDicSub, numNodesSubsub,subcktName) #print "connSubInfo----------------->",connSubInfo - newname = filename.split('.') + newname = basename.split('.') newfilename = newname[0] outfilename = newfilename+ ".mo" + outfilename = os.path.join(dir_name, outfilename) out = open(outfilename,"w") - out.writelines('model ' + os.path.basename(newfilename)) + out.writelines('model ' + newfilename) out.writelines('\n') if IfMOSsub == '0': out.writelines('import Modelica.Electrical.*;') @@ -949,7 +950,7 @@ def procesSubckt(self,subcktName,numNodesSub,dir_name): else: out.writelines(eachline) out.writelines('\n') - out.writelines('end '+ os.path.basename(newfilename) + ';') + out.writelines('end '+ newfilename + ';') out.writelines('\n') out.close() From 2debdb42d3acc1e6beacbba0809905f38ee06fcc Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Thu, 28 Apr 2016 16:46:32 +0530 Subject: [PATCH 42/52] Modified getunit function : Now it lower the case before taking value from Mapping.json --- src/ngspicetoModelica/Mapping.json | 4 +--- src/ngspicetoModelica/NgspicetoModelica.py | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index 3db10391d..711a97247 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -163,9 +163,7 @@ "f":"e-15", "ma":"e-3", "v":"", - "V":"", - "i":"", - "I":"" + "a":"" } } diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 058a24422..a8ef60484 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -229,6 +229,7 @@ def getUnitVal(self,compValue): #regExp = re.compile("([0-9]+)([a-zA-Z]+)") #Remove '(' and ')' if any compValue = compValue.replace('(','').replace(')','') + compValue = compValue.lower() #regExp = re.compile("([-])?([0-9]+)\.?([0-9]+)?([a-zA-Z])?") regExp = re.compile("([-])?([0-9]+)\.?([0-9]+)?(\w+)?") matchString = regExp.match(str(compValue)) #separating number and string From 2f9d37a36662c312c716914fc4eac1f4e6926621 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 2 May 2016 11:34:40 +0530 Subject: [PATCH 43/52] Added more Units to Mapping.json --- src/ngspicetoModelica/Mapping.json | 84 ++++++++++++++++++++++++++++-- 1 file changed, 81 insertions(+), 3 deletions(-) diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index 711a97247..ef515460f 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -156,14 +156,92 @@ "u":"e-6", "p":"e-12", "t":"e12", + "f":"e-15", "g":"e9", "m":"e-3", "meg":"e6", "n":"e-9", - "f":"e-15", - "ma":"e-3", + "v":"", - "a":"" + "a":"", + "s":"", + "hz":"", + "ohm":"", + "mho":"", + "h":"", + + + "kv":"e3", + "ka":"e3", + "ks":"e3", + "khz":"e3", + "kohm":"e3", + "kmho":"e3", + "kh":"e3", + + + "uv":"e-06", + "ua":"e-06", + "us":"e-06", + "uhz":"e-06", + "uohm":"e-06", + "umho":"e-06", + "uh":"e-06", + + "pv":"e-12", + "pa":"e-12", + "ps":"e-12", + "phz":"e-12", + "pohm":"e-12", + "pmho":"e-12", + "ph":"e-12", + + + "tv":"e12", + "ta":"e12", + "ts":"e12", + "thz":"e12", + "tohm":"e12", + "tmho":"e12", + "th":"e12", + + + "gv":"e9", + "ga":"e9", + "gs":"e9", + "ghz":"e9", + "gohm":"e9", + "gmho":"e9", + "gh":"e9", + + + "mv":"e-03", + "ma":"e-03", + "ms":"e-03", + "mhz":"e-03", + "mohm":"e-03", + "mmho":"e-03", + "mh":"e-03", + + + "megv":"e06", + "mega":"e06", + "megs":"e06", + "meghz":"e06", + "megohm":"e06", + "megmho":"e06", + "megh":"e06", + + + + "nv":"e-09", + "na":"e-09", + "ns":"e-09", + "nhz":"e-09", + "nohm":"e-09", + "nmho":"e-09", + "nh":"e-09" + } } From c753fd25e8a6492c359acd0d518fdc7f6528e64b Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Mon, 2 May 2016 15:04:22 +0530 Subject: [PATCH 44/52] Modified few parameters name of MOSFET- O to 0 --- src/ngspicetoModelica/Mapping.json | 12 ++++++------ src/ngspicetoModelica/NgspicetoModelica.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index ef515460f..5d5d84d17 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -42,8 +42,8 @@ "m":{ "import":"BondLib.Electrical.Analog.Spice", "mapping":{ - "tnom":"TNOM", - "vto":"VTO", + "tnom":"Tnom", + "vto":"VT0", "gamma":"GAMMA", "phi":"PHI", "ld":"LD", @@ -55,7 +55,7 @@ "cjsw":"CJSW", "mj":"MJ", "mjsw":"MJSW", - "cgdo":"CGDO", + "cgdo":"CGD0", "js":"JS", "cgbo":"CGB0", "cgso":"CGS0" @@ -63,8 +63,8 @@ }, "default":{ - "TNOM":"300", - "VTO":"0", + "Tnom":"300", + "VT0":"0", "GAMMA":"0", "PHI":"0", "LD":"0", @@ -76,7 +76,7 @@ "CJSW":"1e-9", "MJ":"0.33", "MJSW":"0.33", - "CGDO":"0", + "CGD0":"0", "JS":"0", "CGB0":"0", "CGS0":"0" diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index a8ef60484..fd2d4d7c1 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -488,7 +488,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): #Adding LEVEL(This is constant not the device levele) - tempstatList.append("LEVEL=1"+" ") + tempstatList.append("level=1"+" ") try: l = mosInfo[words[0]]['l'] From 27a8bfb7902a0ce85e1ce02b11d6b172f5ee21fb Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Tue, 3 May 2016 14:28:29 +0530 Subject: [PATCH 45/52] Change parameter level with Level --- src/ngspicetoModelica/NgspicetoModelica.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index fd2d4d7c1..35ab5ec2e 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -487,8 +487,8 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): tempstatList.append(default+"="+self.getUnitVal(defaultValue)+" ") - #Adding LEVEL(This is constant not the device levele) - tempstatList.append("level=1"+" ") + #Adding LEVEL(This is constant not the device level) + tempstatList.append("Level=1"+" ") try: l = mosInfo[words[0]]['l'] From e53b087fbe87c1857b3b04b0dbd4030e774f404d Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Wed, 4 May 2016 14:30:19 +0530 Subject: [PATCH 46/52] Added functionality for inbuilt ngspice model inside SubCircuit --- src/ngspicetoModelica/NgspicetoModelica.py | 146 +++++++++------------ 1 file changed, 63 insertions(+), 83 deletions(-) diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 35ab5ec2e..3aabc72dd 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -16,10 +16,10 @@ def __init__(self): self.sourceDetail = [] self.deviceDetail = [] self.subCktDetail = [] - self.inbuiltModelDetail = [] self.deviceList = ['d','D','j','J','q','Q','m','M'] self.sourceList = ['v','V','i','I'] - self.inbuiltModelDict = {} + + @@ -49,7 +49,7 @@ def readNetlist(self,filename): netlist.append(netlist.pop()+eachline.replace('+',' ',1)) else: netlist.append(eachline) - #print "Netlist.............>",netlist + return netlist def separateNetlistInfo(self,netlist): @@ -81,14 +81,13 @@ def separateNetlistInfo(self,netlist): schematicInfo.append(eachline) self.sourceDetail.append(eachline) elif eachline[0]=='a' or eachline[0]=='A': - schematicInfo.append(eachline) - self.inbuiltModelDetail.append(eachline) + schematicInfo.append(eachline) else: schematicInfo.append(eachline) ##No need of making it lower case as netlist is already converted to ngspice #schematicInfo.append(eachline.lower()) - #print "Subcircuit------->",self.subCktDetail + return optionInfo,schematicInfo def addModel(self,optionInfo): @@ -101,6 +100,7 @@ def addModel(self,optionInfo): subcktName = [] paramInfo = [] transInfo = {} + inbuiltModelDict = {} for eachline in optionInfo: words = eachline.split() @@ -124,10 +124,9 @@ def addModel(self,optionInfo): if templine[2] in ['npn', 'pnp', 'pmos', 'nmos']: transInfo[trans] = templine[2] else: - self.inbuiltModelDict[model]=templine[2] + inbuiltModelDict[model]=templine[2] eachline[1] = eachline[1].lower() eachline = eachline[1].split() - for eachitem in eachline: if len(eachitem) > 1: eachitem = eachitem.replace(')','') @@ -171,8 +170,9 @@ def addModel(self,optionInfo): for eachitem in info: modelInfo[refModelName][info[0]] = info[1] f.close() - - return modelName, modelInfo, subcktName, paramInfo ,transInfo + + + return modelName, modelInfo, subcktName, paramInfo ,transInfo,inbuiltModelDict def processParam(self,paramInfo): """ @@ -259,20 +259,9 @@ def getUnitVal(self,compValue): return modifiedcompValue except: return compValue + - def tryExists(self,modelInfo,words,wordNo, key,default): - """ - checks if entry for key exists in dictionary, else returns default - """ - try: - keyval = modelInfo[words[wordNo]][key] - keyval = self.getUnitVal(keyval) - except KeyError: - keyval = str(default) - return keyval - - - def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): + def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo,inbuiltModelDict): """ For each component in the netlist initialize it according to Modelica format """ @@ -522,41 +511,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): #Empty device details as well self.deviceDetail[:]=[] - - #Lets start for inbuilt model of ngspice - for eachline in self.inbuiltModelDetail: - words=eachline.split() - userModelParamList = [] - refName = words[-1] - actualModelName = self.inbuiltModelDict[refName] - - start = self.mappingData["Models"][actualModelName]["import"] - stat = start +" "+ words[0]+"(" - tempstatList=[] - - for key in modelInfo[refName]: - #If parameter is not mapped then it will just pass - try: - actualModelicaParam = self.mappingData["Models"][actualModelName]["mapping"][key] - tempstatList.append(actualModelicaParam+"="+self.getUnitVal(modelInfo[refName][key])+" ") - userModelParamList.append(str(actualModelicaParam)) - except: - pass - - #Running loop over default parameter of OpenModelica - for default in self.mappingData["Models"][actualModelName]["default"]: - if default in userModelParamList: - continue - else: - defaultValue = self.mappingData["Models"][actualModelName]["default"][default] - tempstatList.append(default+"="+self.getUnitVal(defaultValue)+" ") - - stat += ",".join(str(item) for item in tempstatList)+");" - modelicaCompInit.append(stat) - - #Empty inbuilt Model - self.inbuiltModelDetail[:] = [] - + #Lets start for Subcircuit for eachline in self.subCktDetail: global point @@ -580,12 +535,40 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): #Empty Sub Circuit Detail self.subCktDetail[:] = [] + #Lets start for inbuilt model of ngspice for eachline in compInfo: - words = eachline.split() - #val = words[3] - #value = self.splitIntoVal(val) + words=eachline.split() value = self.getUnitVal(words[-1]) - if eachline[0] == 'r': + if eachline[0] == 'a' or eachline[0] == 'A': + userModelParamList = [] + refName = words[-1] + actualModelName = inbuiltModelDict[refName] + + start = self.mappingData["Models"][actualModelName]["import"] + stat = start +" "+ words[0]+"(" + tempstatList=[] + + for key in modelInfo[refName]: + #If parameter is not mapped then it will just pass + try: + actualModelicaParam = self.mappingData["Models"][actualModelName]["mapping"][key] + tempstatList.append(actualModelicaParam+"="+self.getUnitVal(modelInfo[refName][key])+" ") + userModelParamList.append(str(actualModelicaParam)) + except: + pass + + #Running loop over default parameter of OpenModelica + for default in self.mappingData["Models"][actualModelName]["default"]: + if default in userModelParamList: + continue + else: + defaultValue = self.mappingData["Models"][actualModelName]["default"][default] + tempstatList.append(default+"="+self.getUnitVal(defaultValue)+" ") + + stat += ",".join(str(item) for item in tempstatList)+");" + modelicaCompInit.append(stat) + + elif eachline[0] == 'r': stat = 'Analog.Basic.Resistor ' + words[0] + '(R = ' + value + ');' modelicaCompInit.append(stat) elif eachline[0] == 'c': @@ -606,10 +589,10 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo): elif eachline[0] == 'h': stat = 'Analog.Basic.CCV ' + words[0] + '(transResistance = ' + self.getUnitVal(words[4]) + ');' modelicaCompInit.append(stat) - else: continue - + + if '0' or 'gnd' in node: modelicaCompInit.append('Analog.Basic.Ground g;') return modelicaCompInit, numNodesSub @@ -633,7 +616,7 @@ def getSubInterface(self,subname,numNodesSub): def getSubParamLine(self,subname, numNodesSub, subParamInfo,dir_name): """ - Take subcircuit name and give the info related to parameters in the first line and initislise it in + Take subcircuit name and give the info related to parameters in the first line and initialize it in """ #nodeSubInterface = [] subOptionInfo_p = [] @@ -687,8 +670,6 @@ def nodeSeparate(self,compInfo, ifSub, subname, subcktName,numNodesSub): nodeTemp.append(words[3]) elif eachline[0]=='x' or eachline[0]=='X': templine = eachline.split() - print "TempLine------------>",templine - print "Subckt Name---------->",subcktName for i in range(0,len(templine),1): if templine[i] in subcktName: point = i @@ -820,13 +801,9 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): conn = 'connect(g.p,ngnd);' connInfo.append(conn) - #print "Connection Information--------->",connInfo - + - # Removing hypen from netlist as it is not supported in modelica - #for i in range(0,len(connInfo),1): - # connInfo[i] = connInfo[i].replace("-","") - + return connInfo @@ -841,21 +818,18 @@ def procesSubckt(self,subcktName,numNodesSub,dir_name): subModelInfo = {} subsubName = [] subParamInfo = [] - #subinbuiltmodelName = [] - #subinbuiltmodelInfo = {} nodeSubInterface = [] nodeSub = [] nodeDicSub = {} pinInitsub = [] connSubInfo = [] - print "subcktName------------------>",subcktName if len(subcktName) > 0: for eachsub in subcktName: filename = eachsub + '.sub' basename = filename filename = os.path.join(dir_name, filename) data = self.readNetlist(filename) - print "Data-------------------->",data + #print "Data-------------------->",data subOptionInfo, subSchemInfo = self.separateNetlistInfo(data) #print "SubOptionInfo------------------->",subOptionInfo #print "SubSchemInfo-------------------->",subSchemInfo @@ -867,12 +841,14 @@ def procesSubckt(self,subcktName,numNodesSub,dir_name): for i in range(0,len(intLine),1): nodeSubInterface.append(intLine[i]) - subModel, subModelInfo, subsubName, subParamInfo,subtransInfo = self.addModel(subOptionInfo) + subModel, subModelInfo, subsubName, subParamInfo,subtransInfo,subInbuiltModelDict = self.addModel(subOptionInfo) #print "Sub Model------------------------------------>",subModel #print "SubModelInfo---------------------------------->",subModelInfo #print "subsubName------------------------------------->",subsubName #print "subParamInfo----------------------------------->",subParamInfo #print "subtransInfo----------------------------------->",subtransInfo + #print "subInbuiltModel----------------------------------->",subInbuiltModelDict + IfMOSsub = '0' for eachline in subSchemInfo: #words = eachline.split() @@ -904,7 +880,7 @@ def procesSubckt(self,subcktName,numNodesSub,dir_name): #print "NodeDicSub-------------------------->",nodeDicSub #print "PinInitSub-------------------------->",pinInitSub #print "PinProtectedInitSub------------------->",pinProtectedInitSub - modelicaSubCompInit, numNodesSubsub = self.compInit(subSchemInfo, nodeSub, subModelInfo, subsubName,dir_name,subtransInfo) + modelicaSubCompInit, numNodesSubsub = self.compInit(subSchemInfo, nodeSub, subModelInfo, subsubName,dir_name,subtransInfo,subInbuiltModelDict) #print "modelicaSubCompInit--------------------->",modelicaSubCompInit #print "numNodesSubsub-------------------------->",numNodesSubsub modelicaSubParamNew = self.getSubParamLine(eachsub, numNodesSub, modelicaSubParam,dir_name) ###Ask Manas @@ -982,15 +958,17 @@ def main(args): optionInfo, schematicInfo = obj_NgMoConverter.separateNetlistInfo(lines) #print "All option details like analysis,subckt,.ic,.model : OptionInfo------------------->",optionInfo #print "Schematic connection info :schematicInfo",schematicInfo - modelName, modelInfo, subcktName, paramInfo,transInfo = obj_NgMoConverter.addModel(optionInfo) + modelName, modelInfo, subcktName, paramInfo,transInfo,inbuiltModelDict = obj_NgMoConverter.addModel(optionInfo) #print "Name of Model : modelName-------------------->",modelName #print "Model Information :modelInfo--------------------->",modelInfo #print "Subcircuit Name :subcktName------------------------>",subcktName #print "Parameter Information :paramInfo---------------------->",paramInfo + #print "InBuilt Model ---------------------->",inbuiltModelDict + modelicaParamInit = obj_NgMoConverter.processParam(paramInfo) - #print "Make modelicaParamInit from paramInfo :processParamInit------------->",modelicaParamInit + #print "Make modelicaParamInit from paramInfo : processParamInit------------->",modelicaParamInit compInfo, plotInfo = obj_NgMoConverter.separatePlot(schematicInfo) #print "Plot info like plot,print etc :plotInfo",plotInfo IfMOS = '0' @@ -1000,6 +978,7 @@ def main(args): if eachline[0] == 'm': IfMOS = '1' break + subOptionInfo = [] subSchemInfo = [] if len(subcktName) > 0: @@ -1008,6 +987,7 @@ def main(args): for eachsub in subcktName: filename_temp = eachsub + '.sub' data = obj_NgMoConverter.readNetlist(filename_temp) + #print "Data---------->",data subOptionInfo, subSchemInfo = obj_NgMoConverter.separateNetlistInfo(data) for eachline in subSchemInfo: words = eachline.split() @@ -1016,14 +996,14 @@ def main(args): break #print "Subcircuit OptionInfo : subOptionInfo------------------->",subOptionInfo #print "Subcircuit Schematic Info :subSchemInfo-------------------->",subSchemInfo - + node, nodeDic, pinInit, pinProtectedInit = obj_NgMoConverter.nodeSeparate(compInfo, '0', [], subcktName,[]) #print "All nodes in the netlist :node---------------->",node #print "NodeDic which will be used for modelica : nodeDic------------->",nodeDic #print "PinInit-------------->",pinInit #print "pinProtectedInit----------->",pinProtectedInit - modelicaCompInit, numNodesSub = obj_NgMoConverter.compInit(compInfo,node, modelInfo, subcktName,dir_name,transInfo) + modelicaCompInit, numNodesSub = obj_NgMoConverter.compInit(compInfo,node, modelInfo, subcktName,dir_name,transInfo,inbuiltModelDict) #print "ModelicaComponents : modelicaCompInit----------->",modelicaCompInit #print "SubcktNumNodes : numNodesSub---------------->",numNodesSub From c5a108d361ea264cbe33b8486e8ad0b6b32d252b Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Fri, 6 May 2016 12:53:50 +0530 Subject: [PATCH 47/52] Added JFET model --- src/ngspicetoModelica/Mapping.json | 41 ++++++++++++++++-- src/ngspicetoModelica/NgspicetoModelica.py | 49 +++++++++++++++++++--- 2 files changed, 81 insertions(+), 9 deletions(-) diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index 5d5d84d17..2600d65a8 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -120,10 +120,43 @@ } }, - "a" : "Analog.Semiconductors.Diode", - "b" : "Analog.Semiconductors.Diode", - "M" :"BondLib.Electrical.Analog.Spice" - + + "j":{ + "import":"Analog.Semiconductors", + "mapping":{ + "bf":"Bf", + "br":"Br", + "is":"Is", + "vak":"Vak", + "tf":"Tauf", + "tr":"Taur", + "cjs":"Ccs", + "cje":"Cje", + "cjc":"Cjc", + "vje":"Phie", + "mje":"Me", + "vjc":"Phic", + "mjc":"Mc" + }, + "default":{ + "Bf":"50", + "Br":"0.1", + "Is":"1e-16", + "Tauf":"1.2e-10", + "Taur":"5e-9", + "Vak":"0.02", + "Ccs":"1e-12", + "Cje":"4e-12", + "Cjc":"5e-13", + "Phie":"0.8", + "Me":"0.4", + "Phic":"0.8", + "Mc":"0.333" + + } + + } + }, diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 3aabc72dd..1e67c07bf 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -74,6 +74,7 @@ def separateNetlistInfo(self,netlist): self.ifMOS = True schematicInfo.append(eachline) self.deviceDetail.append(eachline) + print "Device Detail--------->",self.deviceDetail elif eachline[0]=='x' or eachline[0]=='X': schematicInfo.append(eachline) self.subCktDetail.append(eachline) @@ -121,7 +122,7 @@ def addModel(self,optionInfo): trans = templine[1] transInfo[trans] = [] templine[2] = templine[2].lower() - if templine[2] in ['npn', 'pnp', 'pmos', 'nmos']: + if templine[2] in ['npn', 'pnp', 'pmos', 'nmos','njf','pjf']: transInfo[trans] = templine[2] else: inbuiltModelDict[model]=templine[2] @@ -154,7 +155,7 @@ def addModel(self,optionInfo): trans_f = templine_f[1] transInfo[trans_f] = [] templine_f[2] = templine_f[2].lower() - if templine_f[2] in ['npn', 'pnp', 'pmos', 'nmos']: + if templine_f[2] in ['npn', 'pnp', 'pmos', 'nmos','njf','pjf']: transInfo[trans_f] = templine_f[2] refModelName = trans_f @@ -171,6 +172,8 @@ def addModel(self,optionInfo): modelInfo[refModelName][info[0]] = info[1] f.close() + print "Model Info----->",modelInfo + return modelName, modelInfo, subcktName, paramInfo ,transInfo,inbuiltModelDict @@ -393,7 +396,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo,inbui elif trans == 'pnp': start = self.mappingData["Devices"][deviceName]["import"]+".PNP" else: - print "Transistor "+trans+" Not found" + print "Transistor "+str(trans)+" Not found" sys.exit(1) stat = start+" "+words[0]+"(" @@ -444,7 +447,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo,inbui elif trans=='pmos' : start = self.mappingData["Devices"][deviceName]["import"]+".Mp" else: - print "MOSFET "+trans+" not found" + print "MOSFET "+str(trans)+" not found" sys.exit(1) @@ -508,7 +511,43 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo,inbui stat += ",".join(str(item) for item in tempstatList)+");" modelicaCompInit.append(stat) - + + elif deviceName=='j': + print "TransInfo---->",transInfo + trans = transInfo[words[4]] + if trans == 'njf': + start = self.mappingData["Devices"][deviceName]["import"]+".NJF" + elif trans == 'pjf': + start = self.mappingData["Devices"][deviceName]["import"]+".PJF" + else: + print "JFET "+str(trans)+" Not found" + sys.exit(1) + + stat = start+" "+words[0]+"(" + tempstatList=[] + userDeviceParamList=[] + refName = words[4] + for key in modelInfo[refName]: + #If parameter is not mapped then it will just pass + try: + actualModelicaParam = self.mappingData["Devices"][deviceName]["mapping"][key] + tempstatList.append(actualModelicaParam+"="+self.getUnitVal(modelInfo[refName][key])+" ") + userDeviceParamList.append(str(actualModelicaParam)) + except: + pass + #Running loop over default parameter of OpenModelica + for default in self.mappingData["Devices"][deviceName]["default"]: + if default in userDeviceParamList: + continue + else: + defaultValue = self.mappingData["Devices"][deviceName]["default"][default] + tempstatList.append(default+"="+self.getUnitVal(defaultValue)+" ") + + stat += ",".join(str(item) for item in tempstatList)+");" + modelicaCompInit.append(stat) + + + #Empty device details as well self.deviceDetail[:]=[] From 6c73f608fd6b4b3fec92cdc6c4842a5afc0a9d6f Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Fri, 6 May 2016 14:26:14 +0530 Subject: [PATCH 48/52] Mapping for JFET is done --- src/ngspicetoModelica/Mapping.json | 57 ++++++++++++---------- src/ngspicetoModelica/NgspicetoModelica.py | 8 ++- 2 files changed, 33 insertions(+), 32 deletions(-) diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index 2600d65a8..a75a82805 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -122,36 +122,39 @@ }, "j":{ - "import":"Analog.Semiconductors", + "import":"Modelica.Electrical.Spice3.Semiconductors", "mapping":{ - "bf":"Bf", - "br":"Br", - "is":"Is", - "vak":"Vak", - "tf":"Tauf", - "tr":"Taur", - "cjs":"Ccs", - "cje":"Cje", - "cjc":"Cjc", - "vje":"Phie", - "mje":"Me", - "vjc":"Phic", - "mjc":"Mc" + "kf":"KF", + "rs":"RS", + "is":"IS", + "cgd":"CGD", + "vto":"VTO", + "rd":"RD", + "pb":"PB", + "beta":"BETA", + "fc":"FC", + "af":"AF", + "cgs":"CGS", + "lambda":"LAMBDA", + "b" : "B" + + }, "default":{ - "Bf":"50", - "Br":"0.1", - "Is":"1e-16", - "Tauf":"1.2e-10", - "Taur":"5e-9", - "Vak":"0.02", - "Ccs":"1e-12", - "Cje":"4e-12", - "Cjc":"5e-13", - "Phie":"0.8", - "Me":"0.4", - "Phic":"0.8", - "Mc":"0.333" + "KF":"0", + "RS":"0", + "IS":"1e-14", + "CGD":"0", + "VTO":"-2", + "RD":"0", + "PB":"1", + "BETA":"1e-4", + "FC":"0.5", + "AF":"1", + "CGS":"0", + "LAMBDA":"0", + "B":"1" + } diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 1e67c07bf..df165fa0c 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -74,7 +74,6 @@ def separateNetlistInfo(self,netlist): self.ifMOS = True schematicInfo.append(eachline) self.deviceDetail.append(eachline) - print "Device Detail--------->",self.deviceDetail elif eachline[0]=='x' or eachline[0]=='X': schematicInfo.append(eachline) self.subCktDetail.append(eachline) @@ -172,7 +171,7 @@ def addModel(self,optionInfo): modelInfo[refModelName][info[0]] = info[1] f.close() - print "Model Info----->",modelInfo + return modelName, modelInfo, subcktName, paramInfo ,transInfo,inbuiltModelDict @@ -513,12 +512,11 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo,inbui modelicaCompInit.append(stat) elif deviceName=='j': - print "TransInfo---->",transInfo trans = transInfo[words[4]] if trans == 'njf': - start = self.mappingData["Devices"][deviceName]["import"]+".NJF" + start = self.mappingData["Devices"][deviceName]["import"]+".J_NJFJFET" elif trans == 'pjf': - start = self.mappingData["Devices"][deviceName]["import"]+".PJF" + start = self.mappingData["Devices"][deviceName]["import"]+".J_PJFJFET" else: print "JFET "+str(trans)+" Not found" sys.exit(1) From 703b45855189130cb65f8fabf9d2fe5a54910e16 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Tue, 10 May 2016 10:45:31 +0530 Subject: [PATCH 49/52] Modifed JFET modelica model --- src/ngspicetoModelica/Mapping.json | 14 ++++++-------- src/ngspicetoModelica/NgspicetoModelica.py | 14 ++++++++++++-- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json index a75a82805..e254d66a7 100644 --- a/src/ngspicetoModelica/Mapping.json +++ b/src/ngspicetoModelica/Mapping.json @@ -121,8 +121,8 @@ }, - "j":{ - "import":"Modelica.Electrical.Spice3.Semiconductors", + "j":{ + "import":"Spice3.Internal.JFET", "mapping":{ "kf":"KF", "rs":"RS", @@ -137,9 +137,9 @@ "cgs":"CGS", "lambda":"LAMBDA", "b" : "B" - - + }, + "default":{ "KF":"0", "RS":"0", @@ -157,11 +157,9 @@ } - } - - - }, + + }, "Models":{ diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index df165fa0c..e9855e034 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -513,6 +513,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo,inbui elif deviceName=='j': trans = transInfo[words[4]] + """ if trans == 'njf': start = self.mappingData["Devices"][deviceName]["import"]+".J_NJFJFET" elif trans == 'pjf': @@ -520,8 +521,10 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo,inbui else: print "JFET "+str(trans)+" Not found" sys.exit(1) + """ + start = self.mappingData["Devices"][deviceName]["import"] - stat = start+" "+words[0]+"(" + stat = start+" "+words[0]+"(modelcard(" tempstatList=[] userDeviceParamList=[] refName = words[4] @@ -541,7 +544,7 @@ def compInit(self,compInfo, node, modelInfo, subcktName,dir_name,transInfo,inbui defaultValue = self.mappingData["Devices"][deviceName]["default"][default] tempstatList.append(default+"="+self.getUnitVal(defaultValue)+" ") - stat += ",".join(str(item) for item in tempstatList)+");" + stat += ",".join(str(item) for item in tempstatList)+"));" modelicaCompInit.append(stat) @@ -786,6 +789,13 @@ def connectInfo(self,compInfo, node, nodeDic, numNodesSub,subcktName): connInfo.append(conn) conn = 'connect(' + words[0] + '.E,' + nodeDic[words[3]] + ');' connInfo.append(conn) + elif eachline[0]=='j' or eachline[0]=='J': + conn = 'connect('+words[0]+'.D,' + nodeDic[words[1]]+');' + connInfo.append(conn) + conn = 'connect('+words[0]+'.G,' + nodeDic[words[2]]+');' + connInfo.append(conn) + conn = 'connect('+words[0]+'.S,' + nodeDic[words[3]]+');' + connInfo.append(conn) elif eachline[0]=='m' or eachline[0]=='M': conn = 'connect(' + words[0] + '.D,' + nodeDic[words[1]] + ');' connInfo.append(conn) From bb8a6a6974d2f425d51df1a3042706011ff351ad Mon Sep 17 00:00:00 2001 From: athulappadan Date: Wed, 25 May 2016 14:17:33 +0530 Subject: [PATCH 50/52] DockWidget added in UI for ngspice to modelica conversion --- install-linux.sh | 1 + src/configuration/Appconfig.py | 5 ++ src/frontEnd/Application.py | 4 + src/frontEnd/DockArea.py | 30 ++++++++ src/ngspicetoModelica/ModelicaUI.py | 86 ++++++++++++++++++++++ src/ngspicetoModelica/NgspicetoModelica.py | 14 +++- src/ngspicetoModelica/__init__.py | 0 7 files changed, 136 insertions(+), 4 deletions(-) create mode 100644 src/ngspicetoModelica/ModelicaUI.py create mode 100644 src/ngspicetoModelica/__init__.py diff --git a/install-linux.sh b/install-linux.sh index 2a57a502c..855897d77 100755 --- a/install-linux.sh +++ b/install-linux.sh @@ -44,6 +44,7 @@ function createConfigFile echo "KicadLib = %(eSim_HOME)s/kicadSchematicLibrary" >> $config_dir/$config_file echo "IMAGES = %(eSim_HOME)s/images" >> $config_dir/$config_file echo "VERSION = %(eSim_HOME)s/VERSION" >> $config_dir/$config_file + echo "MODELICA_MAP_JSON = %(eSim_HOME)s/src/ngspicetoModelica/Mapping.json" >> $config_dir/$config_file } diff --git a/src/configuration/Appconfig.py b/src/configuration/Appconfig.py index 3e4afad68..d94791374 100644 --- a/src/configuration/Appconfig.py +++ b/src/configuration/Appconfig.py @@ -20,6 +20,7 @@ from PyQt4 import QtGui import os import json +from ConfigParser import SafeConfigParser class Appconfig(QtGui.QWidget): @@ -42,6 +43,10 @@ class Appconfig(QtGui.QWidget): dock_dict={} #holds all dockwidgets dictPath = os.path.join(os.path.expanduser("~"), ".projectExplorer.txt") noteArea = {} + + parser_esim = SafeConfigParser() + parser_esim.read(os.path.join(os.path.expanduser("~"), os.path.join('.esim','config.ini'))) + modelica_map_json = parser_esim.get('eSim', 'MODELICA_MAP_JSON') try: project_explorer = json.load(open(dictPath)) except: diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py index 1008c7b53..2f9bca280 100755 --- a/src/frontEnd/Application.py +++ b/src/frontEnd/Application.py @@ -306,6 +306,7 @@ def open_OMedit(self): self.ngspiceNetlist = os.path.join(self.projDir,self.projName+".cir.out") self.modelicaNetlist = os.path.join(self.projDir,self.projName+".mo") + """ try: #Creating a command for Ngspice to Modelica converter self.cmd1 = "python ../ngspicetoModelica/NgspicetoModelica.py "+self.ngspiceNetlist @@ -335,6 +336,9 @@ def open_OMedit(self): self.msg.showMessage('Unable to convert NgSpice netlist to Modelica netlist :'+str(e)) self.msg.setWindowTitle("Ngspice to Modelica conversion error") self.obj_appconfig.print_error(str(e)) + """ + + self.obj_Mainview.obj_dockarea.modelicaEditor(self.projDir) else: self.msg = QtGui.QErrorMessage() diff --git a/src/frontEnd/DockArea.py b/src/frontEnd/DockArea.py index dcb487043..073072bf5 100644 --- a/src/frontEnd/DockArea.py +++ b/src/frontEnd/DockArea.py @@ -7,6 +7,7 @@ from kicadtoNgspice.KicadtoNgspice import MainWindow from browser.Welcome import Welcome from browser.UserManual import UserManual +from ngspicetoModelica.ModelicaUI import OpenModelicaEditor import os dockList = ['Welcome'] @@ -273,6 +274,35 @@ def usermanual(self): count = count + 1 + def modelicaEditor(self, projDir): + """ + This function sets up the UI for ngspice to modelica conversion + """ + + global count + self.modelicaWidget = QtGui.QWidget() + self.modelicaLayout = QtGui.QVBoxLayout() + self.modelicaLayout.addWidget(OpenModelicaEditor(projDir)) + + self.modelicaWidget.setLayout(self.modelicaLayout) + dock['Modelica-'+str(count)] = QtGui.QDockWidget('Modelica-'+str(count)) + dock['Modelica-'+str(count)].setWidget(self.modelicaWidget) + self.addDockWidget(QtCore.Qt.TopDockWidgetArea, dock['Modelica-'+str(count)]) + self.tabifyDockWidget(dock['Welcome'],dock['Modelica-'+str(count)]) + + dock['Modelica-'+str(count)].setVisible(True) + dock['Modelica-'+str(count)].setFocus() + dock['Modelica-'+str(count)].raise_() + + #CSS + dock['Modelica-'+str(count)].setStyleSheet(" \ + .QWidget { border-radius: 15px; border: 1px solid gray; padding: 5px; width: 200px; height: 150px; } \ + ") + + self.obj_appconfig.dock_dict[self.obj_appconfig.current_project['ProjectName']].append(dock['Modelica-'+str(count)]) + + count = count + 1 + def closeDock (self): for dockwidget in self.obj_appconfig.dock_dict[self.obj_appconfig.current_project['ProjectName']]: dockwidget.close() diff --git a/src/ngspicetoModelica/ModelicaUI.py b/src/ngspicetoModelica/ModelicaUI.py new file mode 100644 index 000000000..e443810d9 --- /dev/null +++ b/src/ngspicetoModelica/ModelicaUI.py @@ -0,0 +1,86 @@ +import os +import sys +from PyQt4 import QtGui, QtCore +from configuration.Appconfig import Appconfig +from projManagement import Worker +from projManagement.Validation import Validation + +BROWSE_LOCATION = '/home' + +class OpenModelicaEditor(QtGui.QWidget): + + def __init__(self, dir=None): + QtGui.QWidget.__init__(self) + self.obj_validation = Validation() + self.obj_appconfig = Appconfig() + self.projDir = dir + self.projName = os.path.basename(self.projDir) + self.ngspiceNetlist = os.path.join(self.projDir,self.projName+".cir.out") + self.modelicaNetlist = os.path.join(self.projDir,self.projName+".mo") + self.map_json = Appconfig.modelica_map_json + + self.grid = QtGui.QGridLayout() + self.FileEdit = QtGui.QLineEdit() + self.FileEdit.setText(self.ngspiceNetlist) + self.grid.addWidget(self.FileEdit, 0, 0) + + self.browsebtn = QtGui.QPushButton("Browse") + self.browsebtn.clicked.connect(self.browseFile) + self.grid.addWidget(self.browsebtn, 0, 1) + + self.convertbtn = QtGui.QPushButton("Convert") + self.convertbtn.clicked.connect(self.callConverter) + self.grid.addWidget(self.convertbtn, 2, 1) + + self.loadOMbtn = QtGui.QPushButton("Load OMEdit") + self.loadOMbtn.clicked.connect(self.callOMEdit) + self.grid.addWidget(self.loadOMbtn, 3, 1) + + #self.setGeometry(300, 300, 350, 300) + self.setLayout(self.grid) + self.show() + + def browseFile(self): + + self.ngspiceNetlist = QtGui.QFileDialog.getOpenFileName(self, 'Open Ngspice file', BROWSE_LOCATION) + self.FileEdit.setText(self.ngspiceNetlist) + + def callConverter(self): + + try: + self.cmd1 = "python ../ngspicetoModelica/NgspicetoModelica.py " + self.ngspiceNetlist + ' ' + self.map_json + self.obj_workThread1 = Worker.WorkerThread(self.cmd1) + self.obj_workThread1.start() + self.msg = QtGui.QMessageBox() + self.msg.setText("Ngspice netlist successfully converted to OpenModelica netlist") + self.obj_appconfig.print_info("Ngspice netlist successfully converted to OpenModelica netlist") + if self.obj_workThread1.finished: + self.msg.exec_() + + except Exception as e: + self.msg = QtGui.QErrorMessage() + self.msg.showMessage('Unable to convert NgSpice netlist to Modelica netlist. Check the netlist :'+str(e)) + self.msg.setWindowTitle("Ngspice to Modelica conversion error") + + + def callOMEdit(self): + + if self.obj_validation.validateTool("OMEdit"): + self.cmd2 = "OMEdit " + self.modelicaNetlist + self.obj_workThread2 = Worker.WorkerThread(self.cmd2) + self.obj_workThread2.start() + print "OMEdit called" + self.obj_appconfig.print_info("OMEdit called") + + else: + self.msg = QtGui.QMessageBox() + self.msgContent = "There was an error while opening OMEdit.
\ + Please make sure OpenModelica is installed in your system.
\ + To install it on Linux : Go to OpenModelica Linux and install nigthly build release.
\ + To install it on Windows : Go to OpenModelica Windows and install latest version.
" + self.msg.setTextFormat(QtCore.Qt.RichText) + self.msg.setText(self.msgContent) + self.msg.setWindowTitle("Missing OpenModelica") + self.obj_appconfig.print_info(self.msgContent) + self.msg.exec_() + diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index e9855e034..7b7e45272 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -7,9 +7,9 @@ class NgMoConverter: - def __init__(self): + def __init__(self, map_json): #Loading JSON file which hold the mapping information between ngspice and Modelica. - with open('Mapping.json') as mappingFile: + with open(map_json) as mappingFile: self.mappingData = json.load(mappingFile) self.ifMOS = False @@ -987,8 +987,9 @@ def main(args): """ It is main function of module Ngspice to Modelica converter """ - if len(sys.argv) == 2: + if len(sys.argv) == 3: filename = sys.argv[1] + map_json = sys.argv[2] else: print "USAGE:" print "python NgspicetoModelica.py " @@ -996,8 +997,11 @@ def main(args): dir_name = os.path.dirname(os.path.realpath(filename)) file_basename = os.path.basename(filename) + + cwd = os.getcwd() + os.chdir(dir_name) - obj_NgMoConverter = NgMoConverter() + obj_NgMoConverter = NgMoConverter(map_json) #Getting all the require information lines = obj_NgMoConverter.readNetlist(filename) @@ -1110,6 +1114,8 @@ def main(args): out.close() + + os.chdir(cwd) # Call main function diff --git a/src/ngspicetoModelica/__init__.py b/src/ngspicetoModelica/__init__.py new file mode 100644 index 000000000..e69de29bb From 8cbf575a83e841883bdab78132e91444a9d0d565 Mon Sep 17 00:00:00 2001 From: athulappadan Date: Thu, 26 May 2016 16:53:08 +0530 Subject: [PATCH 51/52] Bug fixed: Ngspice to modelica conversion now catches error msg if any --- src/ngspicetoModelica/ModelicaUI.py | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/src/ngspicetoModelica/ModelicaUI.py b/src/ngspicetoModelica/ModelicaUI.py index e443810d9..e40795623 100644 --- a/src/ngspicetoModelica/ModelicaUI.py +++ b/src/ngspicetoModelica/ModelicaUI.py @@ -1,5 +1,6 @@ import os import sys +from subprocess import Popen, PIPE, STDOUT from PyQt4 import QtGui, QtCore from configuration.Appconfig import Appconfig from projManagement import Worker @@ -49,14 +50,22 @@ def callConverter(self): try: self.cmd1 = "python ../ngspicetoModelica/NgspicetoModelica.py " + self.ngspiceNetlist + ' ' + self.map_json - self.obj_workThread1 = Worker.WorkerThread(self.cmd1) - self.obj_workThread1.start() - self.msg = QtGui.QMessageBox() - self.msg.setText("Ngspice netlist successfully converted to OpenModelica netlist") - self.obj_appconfig.print_info("Ngspice netlist successfully converted to OpenModelica netlist") - if self.obj_workThread1.finished: + #self.obj_workThread1 = Worker.WorkerThread(self.cmd1) + #self.obj_workThread1.start() + convert_process = Popen(self.cmd1, shell=True, stdin=PIPE, stdout=PIPE, stderr=STDOUT, close_fds=True) + error_code = convert_process.stdout.read() + if not error_code: + self.msg = QtGui.QMessageBox() + self.msg.setText("Ngspice netlist successfully converted to OpenModelica netlist") + self.obj_appconfig.print_info("Ngspice netlist successfully converted to OpenModelica netlist") self.msg.exec_() + else: + self.err_msg = QtGui.QErrorMessage() + self.err_msg.showMessage('Unable to convert NgSpice netlist to Modelica netlist. Check the netlist :'+ error_code) + self.err_msg.setWindowTitle("Ngspice to Modelica conversion error") + self.obj_appconfig.print_error(error_code) + except Exception as e: self.msg = QtGui.QErrorMessage() self.msg.showMessage('Unable to convert NgSpice netlist to Modelica netlist. Check the netlist :'+str(e)) From d065d4854293d2d896fbabf8fd06c31a3b7c1c24 Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Thu, 26 May 2016 17:03:23 +0530 Subject: [PATCH 52/52] Added PSpice library --- kicadSchematicLibrary/eSim_PSpice.dcm | 3 + kicadSchematicLibrary/eSim_PSpice.lib | 12485 ++++++++++++++++++++++++ kicadSchematicLibrary/kicad.pro | 1 + 3 files changed, 12489 insertions(+) create mode 100644 kicadSchematicLibrary/eSim_PSpice.dcm create mode 100644 kicadSchematicLibrary/eSim_PSpice.lib diff --git a/kicadSchematicLibrary/eSim_PSpice.dcm b/kicadSchematicLibrary/eSim_PSpice.dcm new file mode 100644 index 000000000..5f3ed79b7 --- /dev/null +++ b/kicadSchematicLibrary/eSim_PSpice.dcm @@ -0,0 +1,3 @@ +EESchema-DOCLIB Version 2.0 +# +#End Doc Library diff --git a/kicadSchematicLibrary/eSim_PSpice.lib b/kicadSchematicLibrary/eSim_PSpice.lib new file mode 100644 index 000000000..5f5f194bb --- /dev/null +++ b/kicadSchematicLibrary/eSim_PSpice.lib @@ -0,0 +1,12485 @@ +EESchema-LIBRARY Version 2.3 Date: +#encoding utf-8 +# +# ABM_PSPICE +# +DEF ABM_PSPICE ABM 0 30 Y Y 1 F N +F0 "ABM" 0 0 30 H V L CNN +F1 "ABM_PSPICE" 0 60 30 H V L CNN +DRAW +S -900 200 -100 -200 0 1 0 N +X ~ OUT 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ABM1_PSPICE +# +DEF ABM1_PSPICE ABM1 0 30 Y Y 1 F N +F0 "ABM1" 0 0 30 H V L CNN +F1 "ABM1_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 800 -200 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 900 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ABM2_PSPICE +# +DEF ABM2_PSPICE ABM2 0 30 Y Y 1 F N +F0 "ABM2" 0 0 30 H V L CNN +F1 "ABM2_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 800 -300 0 1 0 N +X ~ IN1 0 0 100 R 30 30 0 1 P +X ~ OUT 900 -100 100 L 30 30 0 1 P +X ~ IN2 0 -200 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ABM3_PSPICE +# +DEF ABM3_PSPICE ABM3 0 30 Y Y 1 F N +F0 "ABM3" 0 0 30 H V L CNN +F1 "ABM3_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 800 -300 0 1 0 N +X ~ IN1 0 0 100 R 30 30 0 1 P +X ~ OUT 900 -100 100 L 30 30 0 1 P +X ~ IN2 0 -100 100 R 30 30 0 1 P +X ~ IN3 0 -200 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ABM/I_PSPICE +# +DEF ABM/I_PSPICE ABMI 0 30 Y Y 1 F N +F0 "ABMI" 0 0 30 H V L CNN +F1 "ABM/I_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -180 -120 -160 -90 N +P 2 0 1 0 -200 -90 -180 -120 N +P 2 0 1 0 -180 -40 -180 -140 N +P 2 0 1 0 -100 0 -180 0 N +P 2 0 1 0 -180 0 -180 -40 N +P 2 0 1 0 -180 -140 -180 -200 N +P 2 0 1 0 -180 -200 -100 -200 N +S -900 100 -100 -300 0 1 0 N +C -180 -90 40 0 1 0 N +X ~ out+ 0 0 100 L 30 30 0 1 P +X ~ out- 0 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ABM1/I_PSPICE +# +DEF ABM1/I_PSPICE ABMII 0 30 Y Y 1 F N +F0 "ABMII" 0 0 30 H V L CNN +F1 "ABM1/I_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 720 -20 740 10 N +P 2 0 1 0 700 10 720 -20 N +P 2 0 1 0 720 60 720 -40 N +P 2 0 1 0 800 100 720 100 N +P 2 0 1 0 720 100 720 60 N +P 2 0 1 0 720 -40 720 -100 N +P 2 0 1 0 720 -100 800 -100 N +S 100 200 800 -200 0 1 0 N +C 720 10 40 0 1 0 N +X ~ out+ 900 100 100 L 30 30 0 1 P +X ~ out- 900 -100 100 L 30 30 0 1 P +X ~ IN 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ABM2/I_PSPICE +# +DEF ABM2/I_PSPICE ABM2I 0 30 Y Y 1 F N +F0 "ABM2I" 0 0 30 H V L CNN +F1 "ABM2/I_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 720 -120 740 -90 N +P 2 0 1 0 700 -90 720 -120 N +P 2 0 1 0 720 -40 720 -140 N +P 2 0 1 0 800 0 720 0 N +P 2 0 1 0 720 0 720 -40 N +P 2 0 1 0 720 -140 720 -200 N +P 2 0 1 0 720 -200 800 -200 N +S 100 100 800 -300 0 1 0 N +C 720 -90 40 0 1 0 N +X ~ out+ 900 0 100 L 30 30 0 1 P +X ~ out- 900 -200 100 L 30 30 0 1 P +X ~ IN1 0 0 100 R 30 30 0 1 P +X ~ IN2 0 -200 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ABM3/I_PSPICE +# +DEF ABM3/I_PSPICE ABM3I 0 30 Y Y 1 F N +F0 "ABM3I" 0 0 30 H V L CNN +F1 "ABM3/I_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 720 -120 740 -90 N +P 2 0 1 0 700 -90 720 -120 N +P 2 0 1 0 720 -40 720 -140 N +P 2 0 1 0 800 0 720 0 N +P 2 0 1 0 720 0 720 -40 N +P 2 0 1 0 720 -140 720 -200 N +P 2 0 1 0 720 -200 800 -200 N +S 100 100 800 -300 0 1 0 N +C 720 -90 40 0 1 0 N +X ~ out+ 900 0 100 L 30 30 0 1 P +X ~ out- 900 -200 100 L 30 30 0 1 P +X ~ IN1 0 0 100 R 30 30 0 1 P +X ~ IN2 0 -100 100 R 30 30 0 1 P +X ~ IN3 0 -200 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ABS_PSPICE +# +DEF ABS_PSPICE ABS 0 30 Y Y 1 F N +F0 "ABS" 0 0 30 H V L CNN +F1 "ABS_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -100 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ARCTAN_PSPICE +# +DEF ARCTAN_PSPICE ATAN 0 30 Y Y 1 F N +F0 "ATAN" 0 0 30 H V L CNN +F1 "ARCTAN_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -100 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ATAN_PSPICE +# +DEF ATAN_PSPICE ATAN 0 30 Y Y 1 F N +F0 "ATAN" 0 0 30 H V L CNN +F1 "ATAN_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -100 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# BANDPASS_PSPICE +# +DEF BANDPASS_PSPICE BPASS 0 30 Y Y 1 F N +F0 "BPASS" 0 0 30 H V L CNN +F1 "BANDPASS_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 180 -60 400 -20 N +P 2 0 1 0 180 100 400 140 N +S 100 200 800 -200 0 1 0 N +A 240 40 60 1 1799 0 1 0 N 300 40 180 40 +A 350 40 50 -1799 -1 0 1 0 N 300 40 400 40 +A 240 -40 60 1 1799 0 1 0 N 300 -40 180 -40 +A 350 -40 50 -1799 -1 0 1 0 N 300 -40 400 -40 +A 240 120 60 1 1799 0 1 0 N 300 120 180 120 +A 350 120 50 -1799 -1 0 1 0 N 300 120 400 120 +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 900 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# BANDREJ_PSPICE +# +DEF BANDREJ_PSPICE BREJ 0 30 Y Y 1 F N +F0 "BREJ" 0 0 30 H V L CNN +F1 "BANDREJ_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 180 20 400 60 N +S 100 200 800 -200 0 1 0 N +A 240 40 60 1 1799 0 1 0 N 300 40 180 40 +A 350 40 50 -1799 -1 0 1 0 N 300 40 400 40 +A 240 -40 60 1 1799 0 1 0 N 300 -40 180 -40 +A 350 -40 50 -1799 -1 0 1 0 N 300 -40 400 -40 +A 240 120 60 1 1799 0 1 0 N 300 120 180 120 +A 350 120 50 -1799 -1 0 1 0 N 300 120 400 120 +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 900 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# CONST_PSPICE +# +DEF CONST_PSPICE CONST 0 30 Y Y 1 F N +F0 "CONST" 0 0 30 H V L CNN +F1 "CONST_PSPICE" 0 60 30 H V L CNN +DRAW +S -400 100 -100 -100 0 1 0 N +X ~ OUT 0 0 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# COS_PSPICE +# +DEF COS_PSPICE COS 0 30 Y Y 1 F N +F0 "COS" 0 0 30 H V L CNN +F1 "COS_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -100 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DIFF_PSPICE +# +DEF DIFF_PSPICE DIFF 0 30 Y Y 1 F N +F0 "DIFF" 0 0 30 H V L CNN +F1 "DIFF_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 120 160 N +P 2 0 1 0 100 100 80 160 N +P 2 0 1 0 0 0 -60 20 N +P 2 0 1 0 0 0 -60 -20 N +P 2 0 1 0 80 60 120 60 N +P 2 0 1 0 20 0 60 0 N +P 2 0 1 0 40 20 40 -20 N +C 100 0 100 0 1 0 N +X ~ OUT 300 0 100 L 30 30 0 1 O +X ~ IN1 100 100 100 D 30 30 0 1 I +X ~ IN2 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# DIFFER_PSPICE +# +DEF DIFFER_PSPICE DIFFER 0 30 Y Y 1 F N +F0 "DIFFER" 0 0 30 H V L CNN +F1 "DIFFER_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 400 -200 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 500 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EXP_PSPICE +# +DEF EXP_PSPICE EXP 0 30 Y Y 1 F N +F0 "EXP" 0 0 30 H V L CNN +F1 "EXP_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -100 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# FTABLE_PSPICE +# +DEF FTABLE_PSPICE FTABLE 0 30 Y Y 1 F N +F0 "FTABLE" 0 0 30 H V L CNN +F1 "FTABLE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -200 500 -200 N +S 100 100 500 -100 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# GAIN_PSPICE +# +DEF GAIN_PSPICE GAIN 0 30 Y Y 1 F N +F0 "GAIN" 0 0 30 H V L CNN +F1 "GAIN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 400 0 N +P 2 0 1 0 400 0 100 -200 N +P 2 0 1 0 100 200 100 -200 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 500 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# GLIMIT_PSPICE +# +DEF GLIMIT_PSPICE GLIMIT 0 30 Y Y 1 F N +F0 "GLIMIT" 0 0 30 H V L CNN +F1 "GLIMIT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 320 -160 400 -160 N +P 2 0 1 0 400 -160 400 160 N +P 2 0 1 0 400 160 480 160 N +P 2 0 1 0 180 100 180 -100 N +P 2 0 1 0 180 -100 320 0 N +P 2 0 1 0 320 0 180 100 N +S 100 200 500 -200 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# HILO_PSPICE +# +DEF HILO_PSPICE LIMIT 0 30 Y Y 1 F N +F0 "LIMIT" 0 0 30 H V L CNN +F1 "HILO_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 220 -160 300 -160 N +P 2 0 1 0 300 -160 300 160 N +P 2 0 1 0 300 160 380 160 N +S 100 200 400 -200 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 500 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# HIPASS_PSPICE +# +DEF HIPASS_PSPICE HIPASS 0 30 Y Y 1 F N +F0 "HIPASS" 0 0 30 H V L CNN +F1 "HIPASS_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 180 -60 400 -20 N +S 100 200 800 -200 0 1 0 N +A 240 60 60 1 1799 0 1 0 N 300 60 180 60 +A 350 60 50 -1799 -1 0 1 0 N 300 60 400 60 +A 240 -40 60 1 1799 0 1 0 N 300 -40 180 -40 +A 350 -40 50 -1799 -1 0 1 0 N 300 -40 400 -40 +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 900 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# INTEG_PSPICE +# +DEF INTEG_PSPICE INTEG 0 30 Y Y 1 F N +F0 "INTEG" 0 0 30 H V L CNN +F1 "INTEG_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 160 200 400 0 N +P 2 0 1 0 160 -200 400 0 N +S 100 200 160 -200 0 1 0 N +X ~ in 0 0 100 R 30 30 0 1 P +X ~ out 500 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# LAPLACE_PSPICE +# +DEF LAPLACE_PSPICE LAPLACE 0 30 Y Y 1 F N +F0 "LAPLACE" 0 0 30 H V L CNN +F1 "LAPLACE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 140 0 440 0 N +S 100 200 500 -200 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# LIMIT_PSPICE +# +DEF LIMIT_PSPICE LIMIT 0 30 Y Y 1 F N +F0 "LIMIT" 0 0 30 H V L CNN +F1 "LIMIT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 220 -160 300 -160 N +P 2 0 1 0 300 -160 300 160 N +P 2 0 1 0 300 160 380 160 N +S 100 200 400 -200 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 500 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# LOG_PSPICE +# +DEF LOG_PSPICE LOG 0 30 Y Y 1 F N +F0 "LOG" 0 0 30 H V L CNN +F1 "LOG_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -100 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# LOG10_PSPICE +# +DEF LOG10_PSPICE LOG10 0 30 Y Y 1 F N +F0 "LOG10" 0 0 30 H V L CNN +F1 "LOG10_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -100 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# LOPASS_PSPICE +# +DEF LOPASS_PSPICE LOPASS 0 30 Y Y 1 F N +F0 "LOPASS" 0 0 30 H V L CNN +F1 "LOPASS_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 180 40 400 80 N +S 100 200 800 -200 0 1 0 N +A 240 60 60 1 1799 0 1 0 N 300 60 180 60 +A 350 60 50 -1799 -1 0 1 0 N 300 60 400 60 +A 240 -40 60 1 1799 0 1 0 N 300 -40 180 -40 +A 350 -40 50 -1799 -1 0 1 0 N 300 -40 400 -40 +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 900 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MULT_PSPICE +# +DEF MULT_PSPICE MULT 0 30 Y Y 1 F N +F0 "MULT" 0 0 30 H V L CNN +F1 "MULT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 120 160 N +P 2 0 1 0 100 100 80 160 N +P 2 0 1 0 0 0 -60 20 N +P 2 0 1 0 0 0 -60 -20 N +P 2 0 1 0 60 40 140 -40 N +P 2 0 1 0 140 40 60 -40 N +C 100 0 100 0 1 0 N +X ~ OUT 300 0 100 L 30 30 0 1 O +X ~ IN1 100 100 100 D 30 30 0 1 I +X ~ IN2 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# PWR_PSPICE +# +DEF PWR_PSPICE PWR 0 30 Y Y 1 F N +F0 "PWR" 0 0 30 H V L CNN +F1 "PWR_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -100 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# PWRS_PSPICE +# +DEF PWRS_PSPICE PWRS 0 30 Y Y 1 F N +F0 "PWRS" 0 0 30 H V L CNN +F1 "PWRS_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -100 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# SIN_PSPICE +# +DEF SIN_PSPICE SIN 0 30 Y Y 1 F N +F0 "SIN" 0 0 30 H V L CNN +F1 "SIN_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -100 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# SOFTLIM_PSPICE +# +DEF SOFTLIM_PSPICE SLIMIT 0 30 Y Y 1 F N +F0 "SLIMIT" 0 0 30 H V L CNN +F1 "SOFTLIM_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 300 120 300 -120 N +P 2 0 1 0 340 160 380 160 N +P 2 0 1 0 200 -160 260 -160 N +S 100 200 400 -200 0 1 0 N +A 270 200 0 -199 499 0 1 0 N -2147483648 -2147483648 -2147483648 -2147483648 +A 330 200 0 1 12149463 0 1 0 N -2147483648 -2147483648 -2147483648 -2147483648 +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 500 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# SQRT_PSPICE +# +DEF SQRT_PSPICE SQRT 0 30 Y Y 1 F N +F0 "SQRT" 0 0 30 H V L CNN +F1 "SQRT_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -100 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# SUM_PSPICE +# +DEF SUM_PSPICE SUM 0 30 Y Y 1 F N +F0 "SUM" 0 0 30 H V L CNN +F1 "SUM_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 60 100 -60 N +P 2 0 1 0 40 0 160 0 N +P 2 0 1 0 100 100 120 160 N +P 2 0 1 0 100 100 80 160 N +P 2 0 1 0 0 0 -60 20 N +P 2 0 1 0 0 0 -60 -20 N +C 100 0 100 0 1 0 N +X ~ OUT 300 0 100 L 30 30 0 1 O +X ~ IN1 100 100 100 D 30 30 0 1 I +X ~ IN2 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# TABLE_PSPICE +# +DEF TABLE_PSPICE TABLE 0 30 Y Y 1 F N +F0 "TABLE" 0 0 30 H V L CNN +F1 "TABLE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -200 500 -200 N +S 100 100 500 -100 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# TAN_PSPICE +# +DEF TAN_PSPICE TAN 0 30 Y Y 1 F N +F0 "TAN" 0 0 30 H V L CNN +F1 "TAN_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -100 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EFREQ_PSPICE +# +DEF EFREQ_PSPICE E 0 30 Y Y 1 F N +F0 "E" 0 0 30 H V L CNN +F1 "EFREQ_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 50 400 -150 0 1 0 N +X ~ OUT+ 500 0 100 L 30 30 0 1 O +X ~ OUT- 500 -100 100 L 30 30 0 1 O +X ~ IN+ 0 0 100 R 30 30 0 1 I +X ~ IN- 0 -100 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# ELAPLACE_PSPICE +# +DEF ELAPLACE_PSPICE E 0 30 Y Y 1 F N +F0 "E" 0 0 30 H V L CNN +F1 "ELAPLACE_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 50 400 -150 0 1 0 N +X ~ OUT+ 500 0 100 L 30 30 0 1 O +X ~ OUT- 500 -100 100 L 30 30 0 1 O +X ~ IN+ 0 0 100 R 30 30 0 1 I +X ~ IN- 0 -100 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# EMULT_PSPICE +# +DEF EMULT_PSPICE E 0 30 Y Y 1 F N +F0 "E" 0 0 30 H V L CNN +F1 "EMULT_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 50 500 -450 0 1 0 N +X ~ IN1+ 0 0 100 R 30 30 0 1 I +X ~ IN1- 0 -100 100 R 30 30 0 1 I +X ~ IN2+ 0 -300 100 R 30 30 0 1 I +X ~ IN2- 0 -400 100 R 30 30 0 1 I +X ~ OUT+ 600 -100 100 L 30 30 0 1 O +X ~ OUT- 600 -300 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# ESUM_PSPICE +# +DEF ESUM_PSPICE E 0 30 Y Y 1 F N +F0 "E" 0 0 30 H V L CNN +F1 "ESUM_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 50 500 -450 0 1 0 N +X ~ IN1+ 0 0 100 R 30 30 0 1 I +X ~ IN1- 0 -100 100 R 30 30 0 1 I +X ~ IN2+ 0 -300 100 R 30 30 0 1 I +X ~ IN2- 0 -400 100 R 30 30 0 1 I +X ~ OUT+ 600 -100 100 L 30 30 0 1 O +X ~ OUT- 600 -300 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# ETABLE_PSPICE +# +DEF ETABLE_PSPICE E 0 30 Y Y 1 F N +F0 "E" 0 0 30 H V L CNN +F1 "ETABLE_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 50 400 -150 0 1 0 N +X ~ OUT+ 500 0 100 L 30 30 0 1 O +X ~ OUT- 500 -100 100 L 30 30 0 1 O +X ~ IN+ 0 0 100 R 30 30 0 1 I +X ~ IN- 0 -100 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# EVALUE_PSPICE +# +DEF EVALUE_PSPICE E 0 30 Y Y 1 F N +F0 "E" 0 0 30 H V L CNN +F1 "EVALUE_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 50 400 -150 0 1 0 N +X ~ OUT+ 500 0 100 L 30 30 0 1 O +X ~ OUT- 500 -100 100 L 30 30 0 1 O +X ~ IN+ 0 0 100 R 30 30 0 1 I +X ~ IN- 0 -100 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# GFREQ_PSPICE +# +DEF GFREQ_PSPICE G 0 30 Y Y 1 F N +F0 "G" 0 0 30 H V L CNN +F1 "GFREQ_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -100 350 -100 N +P 2 0 1 0 350 0 400 0 N +P 2 0 1 0 350 -80 370 -50 N +P 2 0 1 0 330 -50 350 -80 N +P 2 0 1 0 350 0 350 -100 N +S 100 50 400 -150 0 1 0 N +C 350 -50 40 0 1 0 N +X ~ OUT+ 500 0 100 L 30 30 0 1 O +X ~ OUT- 500 -100 100 L 30 30 0 1 O +X ~ IN+ 0 0 100 R 30 30 0 1 I +X ~ IN- 0 -100 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# GLAPLACE_PSPICE +# +DEF GLAPLACE_PSPICE G 0 30 Y Y 1 F N +F0 "G" 0 0 30 H V L CNN +F1 "GLAPLACE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -100 350 -100 N +P 2 0 1 0 350 0 400 0 N +P 2 0 1 0 350 -80 370 -50 N +P 2 0 1 0 330 -50 350 -80 N +P 2 0 1 0 350 0 350 -100 N +S 100 50 400 -150 0 1 0 N +C 350 -50 40 0 1 0 N +X ~ OUT+ 500 0 100 L 30 30 0 1 O +X ~ OUT- 500 -100 100 L 30 30 0 1 O +X ~ IN+ 0 0 100 R 30 30 0 1 I +X ~ IN- 0 -100 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# GMULT_PSPICE +# +DEF GMULT_PSPICE G 0 30 Y Y 1 F N +F0 "G" 0 0 30 H V L CNN +F1 "GMULT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 450 -230 470 -200 N +P 2 0 1 0 430 -200 450 -230 N +P 2 0 1 0 450 -150 450 -250 N +P 2 0 1 0 500 -100 450 -100 N +P 2 0 1 0 450 -100 450 -150 N +P 2 0 1 0 500 -300 450 -300 N +P 2 0 1 0 450 -300 450 -250 N +S 100 50 500 -450 0 1 0 N +C 450 -200 40 0 1 0 N +X ~ IN1+ 0 0 100 R 30 30 0 1 I +X ~ IN1- 0 -100 100 R 30 30 0 1 I +X ~ IN2+ 0 -300 100 R 30 30 0 1 I +X ~ IN2- 0 -400 100 R 30 30 0 1 I +X ~ OUT+ 600 -100 100 L 30 30 0 1 O +X ~ OUT- 600 -300 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# GSUM_PSPICE +# +DEF GSUM_PSPICE G 0 30 Y Y 1 F N +F0 "G" 0 0 30 H V L CNN +F1 "GSUM_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 450 -230 470 -200 N +P 2 0 1 0 430 -200 450 -230 N +P 2 0 1 0 450 -150 450 -250 N +P 2 0 1 0 500 -100 450 -100 N +P 2 0 1 0 450 -100 450 -150 N +P 2 0 1 0 500 -300 450 -300 N +P 2 0 1 0 450 -300 450 -250 N +S 100 50 500 -450 0 1 0 N +C 450 -200 40 0 1 0 N +X ~ IN1+ 0 0 100 R 30 30 0 1 I +X ~ IN1- 0 -100 100 R 30 30 0 1 I +X ~ IN2+ 0 -300 100 R 30 30 0 1 I +X ~ IN2- 0 -400 100 R 30 30 0 1 I +X ~ OUT+ 600 -100 100 L 30 30 0 1 O +X ~ OUT- 600 -300 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# GTABLE_PSPICE +# +DEF GTABLE_PSPICE G 0 30 Y Y 1 F N +F0 "G" 0 0 30 H V L CNN +F1 "GTABLE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -100 350 -100 N +P 2 0 1 0 350 0 400 0 N +P 2 0 1 0 350 -80 370 -50 N +P 2 0 1 0 330 -50 350 -80 N +P 2 0 1 0 350 0 350 -100 N +S 100 50 400 -150 0 1 0 N +C 350 -50 40 0 1 0 N +X ~ OUT+ 500 0 100 L 30 30 0 1 O +X ~ OUT- 500 -100 100 L 30 30 0 1 O +X ~ IN+ 0 0 100 R 30 30 0 1 I +X ~ IN- 0 -100 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# GVALUE_PSPICE +# +DEF GVALUE_PSPICE G 0 30 Y Y 1 F N +F0 "G" 0 0 30 H V L CNN +F1 "GVALUE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -100 350 -100 N +P 2 0 1 0 350 0 400 0 N +P 2 0 1 0 350 -80 370 -50 N +P 2 0 1 0 330 -50 350 -80 N +P 2 0 1 0 350 0 350 -100 N +S 100 50 400 -150 0 1 0 N +C 350 -50 40 0 1 0 N +X ~ OUT+ 500 0 100 L 30 30 0 1 O +X ~ OUT- 500 -100 100 L 30 30 0 1 O +X ~ IN+ 0 0 100 R 30 30 0 1 I +X ~ IN- 0 -100 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# C_PSPICE +# +DEF C_PSPICE C 0 30 Y Y 1 F N +F0 "C" 0 0 30 H V L CNN +F1 "C_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 130 0 N +P 2 0 1 0 130 50 130 -50 N +P 2 0 1 0 170 50 170 -50 N +P 2 0 1 0 170 0 200 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# C_var_PSPICE +# +DEF C_var_PSPICE C 0 30 Y Y 1 F N +F0 "C" 0 0 30 H V L CNN +F1 "C_var_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 130 0 N +P 2 0 1 0 130 -50 130 50 N +P 2 0 1 0 170 -50 170 50 N +P 2 0 1 0 170 0 200 0 N +P 2 0 1 0 200 50 180 50 N +P 2 0 1 0 200 50 200 30 N +P 2 0 1 0 100 -50 200 50 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# E_PSPICE +# +DEF E_PSPICE E 0 30 Y Y 1 F N +F0 "E" 0 0 30 H V L CNN +F1 "E_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 300 -100 250 -100 N +P 2 0 1 0 250 0 300 0 N +P 2 0 1 0 250 0 250 -10 N +P 2 0 1 0 250 -100 250 -90 N +S 100 50 300 -150 0 1 0 N +C 250 -50 40 0 1 0 N +X ~ 3 0 0 100 R 30 30 0 1 P +X ~ 4 0 -100 100 R 30 30 0 1 P +X ~ 1 400 0 100 L 30 30 0 1 P +X ~ 2 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EPOLY_PSPICE +# +DEF EPOLY_PSPICE E 0 30 Y Y 1 F N +F0 "E" 0 0 30 H V L CNN +F1 "EPOLY_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 300 -100 250 -100 N +P 2 0 1 0 250 0 300 0 N +P 2 0 1 0 250 0 250 -10 N +P 2 0 1 0 250 -100 250 -90 N +S 100 50 300 -150 0 1 0 N +C 250 -50 40 0 1 0 N +X ~ 3 0 0 100 R 30 30 0 1 P +X ~ 4 0 -100 100 R 30 30 0 1 P +X ~ 1 400 0 100 L 30 30 0 1 P +X ~ 2 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# F_PSPICE +# +DEF F_PSPICE F 0 30 Y Y 1 F N +F0 "F" 0 0 30 H V L CNN +F1 "F_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 300 -100 250 -100 N +P 2 0 1 0 250 0 300 0 N +P 2 0 1 0 140 0 140 -100 N +P 2 0 1 0 140 -80 160 -50 N +P 2 0 1 0 120 -50 140 -80 N +P 2 0 1 0 100 0 140 0 N +P 2 0 1 0 100 -100 140 -100 N +P 2 0 1 0 250 -80 270 -50 N +P 2 0 1 0 230 -50 250 -80 N +P 2 0 1 0 250 0 250 -100 N +S 100 50 300 -150 0 1 0 N +C 250 -50 40 0 1 0 N +X ~ 3 0 0 100 R 30 30 0 1 P +X ~ 4 0 -100 100 R 30 30 0 1 P +X ~ 1 400 0 100 L 30 30 0 1 P +X ~ 2 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# FPOLY_PSPICE +# +DEF FPOLY_PSPICE F 0 30 Y Y 1 F N +F0 "F" 0 0 30 H V L CNN +F1 "FPOLY_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 300 -100 250 -100 N +P 2 0 1 0 250 0 300 0 N +P 2 0 1 0 140 0 140 -100 N +P 2 0 1 0 140 -80 160 -50 N +P 2 0 1 0 120 -50 140 -80 N +P 2 0 1 0 100 0 140 0 N +P 2 0 1 0 100 -100 140 -100 N +P 2 0 1 0 250 -80 270 -50 N +P 2 0 1 0 230 -50 250 -80 N +P 2 0 1 0 250 0 250 -100 N +S 100 50 300 -150 0 1 0 N +C 250 -50 40 0 1 0 N +X ~ 3 0 0 100 R 30 30 0 1 P +X ~ 4 0 -100 100 R 30 30 0 1 P +X ~ 1 400 0 100 L 30 30 0 1 P +X ~ 2 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# G_PSPICE +# +DEF G_PSPICE G 0 30 Y Y 1 F N +F0 "G" 0 0 30 H V L CNN +F1 "G_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 300 -100 250 -100 N +P 2 0 1 0 250 0 300 0 N +P 2 0 1 0 250 -80 270 -50 N +P 2 0 1 0 230 -50 250 -80 N +P 2 0 1 0 250 0 250 -100 N +S 100 50 300 -150 0 1 0 N +C 250 -50 40 0 1 0 N +X ~ 3 0 0 100 R 30 30 0 1 P +X ~ 4 0 -100 100 R 30 30 0 1 P +X ~ 1 400 0 100 L 30 30 0 1 P +X ~ 2 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# GPOLY_PSPICE +# +DEF GPOLY_PSPICE G 0 30 Y Y 1 F N +F0 "G" 0 0 30 H V L CNN +F1 "GPOLY_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 300 -100 250 -100 N +P 2 0 1 0 250 0 300 0 N +P 2 0 1 0 250 -80 270 -50 N +P 2 0 1 0 230 -50 250 -80 N +P 2 0 1 0 250 0 250 -100 N +S 100 50 300 -150 0 1 0 N +C 250 -50 40 0 1 0 N +X ~ 3 0 0 100 R 30 30 0 1 P +X ~ 4 0 -100 100 R 30 30 0 1 P +X ~ 1 400 0 100 L 30 30 0 1 P +X ~ 2 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# H_PSPICE +# +DEF H_PSPICE H 0 30 Y Y 1 F N +F0 "H" 0 0 30 H V L CNN +F1 "H_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 300 -100 250 -100 N +P 2 0 1 0 250 0 300 0 N +P 2 0 1 0 140 0 140 -100 N +P 2 0 1 0 140 -80 160 -50 N +P 2 0 1 0 120 -50 140 -80 N +P 2 0 1 0 100 0 140 0 N +P 2 0 1 0 100 -100 140 -100 N +P 2 0 1 0 250 0 250 -10 N +P 2 0 1 0 250 -100 250 -90 N +S 100 50 300 -150 0 1 0 N +C 250 -50 40 0 1 0 N +X ~ 3 0 0 100 R 30 30 0 1 P +X ~ 4 0 -100 100 R 30 30 0 1 P +X ~ 1 400 0 100 L 30 30 0 1 P +X ~ 2 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# HPOLY_PSPICE +# +DEF HPOLY_PSPICE H 0 30 Y Y 1 F N +F0 "H" 0 0 30 H V L CNN +F1 "HPOLY_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 300 -100 250 -100 N +P 2 0 1 0 250 0 300 0 N +P 2 0 1 0 140 0 140 -100 N +P 2 0 1 0 140 -80 160 -50 N +P 2 0 1 0 120 -50 140 -80 N +P 2 0 1 0 100 0 140 0 N +P 2 0 1 0 100 -100 140 -100 N +P 2 0 1 0 250 0 250 -10 N +P 2 0 1 0 250 -100 250 -90 N +S 100 50 300 -150 0 1 0 N +C 250 -50 40 0 1 0 N +X ~ 3 0 0 100 R 30 30 0 1 P +X ~ 4 0 -100 100 R 30 30 0 1 P +X ~ 1 400 0 100 L 30 30 0 1 P +X ~ 2 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# K_Linear_PSPICE +# +DEF K_Linear_PSPICE K 0 30 Y Y 1 F N +F0 "K" 0 0 30 H V L CNN +F1 "K_Linear_PSPICE" 0 60 30 H V L CNN +DRAW +S 0 100 100 0 0 1 0 N +ENDDRAW +ENDDEF +# +# L_PSPICE +# +DEF L_PSPICE L 0 30 Y Y 1 F N +F0 "L" 0 0 30 H V L CNN +F1 "L_PSPICE" 0 60 30 H V L CNN +DRAW +A 150 0 50 1 1799 0 1 0 N 200 0 100 0 +A 250 0 50 1 1799 0 1 0 N 300 0 200 0 +A 350 0 50 1 1799 0 1 0 N 400 0 300 0 +A 450 0 50 1 1799 0 1 0 N 500 0 400 0 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# OPAMP_PSPICE +# +DEF OPAMP_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "OPAMP_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 700 -200 100 100 N +P 2 0 1 0 100 100 100 -500 N +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ OUT 800 -200 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# R_PSPICE +# +DEF R_PSPICE R 0 30 Y Y 1 F N +F0 "R" 0 0 30 H V L CNN +F1 "R_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 110 0 N +P 2 0 1 0 110 0 130 40 N +P 2 0 1 0 130 40 160 -40 N +P 2 0 1 0 160 -40 190 40 N +P 2 0 1 0 190 40 220 -40 N +P 2 0 1 0 220 -40 250 40 N +P 2 0 1 0 250 40 280 -40 N +P 2 0 1 0 280 -40 300 0 N +X ~ 2 400 0 100 L 30 30 0 1 P +X ~ 1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# R_var_PSPICE +# +DEF R_var_PSPICE R 0 30 Y Y 1 F N +F0 "R" 0 0 30 H V L CNN +F1 "R_var_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 110 0 130 40 N +P 2 0 1 0 130 40 160 -40 N +P 2 0 1 0 160 -40 190 40 N +P 2 0 1 0 190 40 220 -40 N +P 2 0 1 0 220 -40 250 40 N +P 2 0 1 0 250 40 280 -40 N +P 2 0 1 0 280 -40 300 0 N +P 2 0 1 0 100 0 110 0 N +P 2 0 1 0 100 -100 300 100 N +P 2 0 1 0 250 100 300 100 N +P 2 0 1 0 300 100 300 50 N +X ~ 2 400 0 100 L 30 30 0 1 P +X ~ 1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# S_PSPICE +# +DEF S_PSPICE S 0 30 Y Y 1 F N +F0 "S" 0 0 30 H V L CNN +F1 "S_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 250 -100 200 -20 N +P 2 0 1 0 250 0 300 0 N +P 2 0 1 0 300 -100 250 -100 N +S 100 50 300 -150 0 1 0 N +T 0 120 -20 30 0 0 0 + +T 0 120 -120 30 0 0 0 - +T 0 240 0 30 0 0 0 + +T 0 240 -140 30 0 0 0 - +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -100 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# T_PSPICE +# +DEF T_PSPICE T 0 30 Y Y 1 F N +F0 "T" 0 0 30 H V L CNN +F1 "T_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 0 100 0 N +P 2 0 1 0 200 -100 200 -200 N +P 2 0 1 0 200 -200 100 -200 N +P 2 0 1 0 800 -100 800 -200 N +P 2 0 1 0 800 -200 900 -200 N +P 2 0 1 0 200 100 500 100 N +P 2 0 1 0 200 -100 500 -100 N +P 2 0 1 0 600 100 800 100 N +P 2 0 1 0 600 -100 800 -100 N +C 200 0 100 0 1 0 N +A 800 0 100 -899 899 0 1 0 N 800 -100 800 100 +A 710 60 120 1317 2085 0 1 0 N 630 149 604 2 +A 610 60 120 1317 2085 0 1 0 N 530 149 504 2 +A 390 200 0 1318 2084 0 1 0 N -2147483648 -2147483648 -2147483648 -2147483648 +A 490 200 0 1319 2083 0 1 0 N -2147483648 -2147483648 -2147483648 -2147483648 +X ~ A+ 0 0 100 R 30 30 0 1 P +X ~ A- 0 -200 100 R 30 30 0 1 P +X ~ B+ 1000 0 100 L 30 30 0 1 P +X ~ B- 1000 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# TLOSSY_PSPICE +# +DEF TLOSSY_PSPICE T 0 30 Y Y 1 F N +F0 "T" 0 0 30 H V L CNN +F1 "TLOSSY_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 0 100 0 N +P 2 0 1 0 200 -100 200 -200 N +P 2 0 1 0 200 -200 100 -200 N +P 2 0 1 0 800 -100 800 -200 N +P 2 0 1 0 800 -200 900 -200 N +P 2 0 1 0 200 100 500 100 N +P 2 0 1 0 200 -100 500 -100 N +P 2 0 1 0 600 100 800 100 N +P 2 0 1 0 600 -100 800 -100 N +C 200 0 100 0 1 0 N +A 800 0 100 -899 899 0 1 0 N 800 -100 800 100 +A 710 60 120 1317 2085 0 1 0 N 630 149 604 2 +A 610 60 120 1317 2085 0 1 0 N 530 149 504 2 +A 390 200 0 1318 2084 0 1 0 N -2147483648 -2147483648 -2147483648 -2147483648 +A 490 200 0 1319 2083 0 1 0 N -2147483648 -2147483648 -2147483648 -2147483648 +X ~ A+ 0 0 100 R 30 30 0 1 P +X ~ A- 0 -200 100 R 30 30 0 1 P +X ~ B+ 1000 0 100 L 30 30 0 1 P +X ~ B- 1000 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# W_PSPICE +# +DEF W_PSPICE W 0 30 Y Y 1 F N +F0 "W" 0 0 30 H V L CNN +F1 "W_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 250 -100 200 -20 N +P 3 0 1 0 120 -30 140 -80 160 -30 N +P 2 0 1 0 250 0 300 0 N +P 2 0 1 0 300 -100 250 -100 N +P 2 0 1 0 140 0 140 -100 N +P 2 0 1 0 100 0 140 0 N +P 2 0 1 0 100 -100 140 -100 N +S 100 50 300 -150 0 1 0 N +T 0 240 0 30 0 0 0 + +T 0 240 -140 30 0 0 0 - +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -100 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# XFRM_LINEAR_PSPICE +# +DEF XFRM_LINEAR_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "XFRM_LINEAR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 300 -500 300 -600 N +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# c_PSPICE +# +DEF c_PSPICE C 0 30 Y Y 1 F N +F0 "C" 0 0 30 H V L CNN +F1 "c_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 130 0 N +P 2 0 1 0 130 50 130 -50 N +P 2 0 1 0 170 50 170 -50 N +P 2 0 1 0 170 0 200 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# l_PSPICE +# +DEF l_PSPICE L 0 30 Y Y 1 F N +F0 "L" 0 0 30 H V L CNN +F1 "l_PSPICE" 0 60 30 H V L CNN +DRAW +A 150 0 50 1 1799 0 1 0 N 200 0 100 0 +A 250 0 50 1 1799 0 1 0 N 300 0 200 0 +A 350 0 50 1 1799 0 1 0 N 400 0 300 0 +A 450 0 50 1 1799 0 1 0 N 500 0 400 0 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# r_PSPICE +# +DEF r_PSPICE R 0 30 Y Y 1 F N +F0 "R" 0 0 30 H V L CNN +F1 "r_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 110 0 N +P 2 0 1 0 110 0 130 40 N +P 2 0 1 0 130 40 160 -40 N +P 2 0 1 0 160 -40 190 40 N +P 2 0 1 0 190 40 220 -40 N +P 2 0 1 0 220 -40 250 40 N +P 2 0 1 0 250 40 280 -40 N +P 2 0 1 0 280 -40 300 0 N +X ~ 2 400 0 100 L 30 30 0 1 P +X ~ 1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# R_var_PSPICE +# +DEF R_var_PSPICE R 0 30 Y Y 1 F N +F0 "R" 0 0 30 H V L CNN +F1 "R_var_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 110 0 130 40 N +P 2 0 1 0 130 40 160 -40 N +P 2 0 1 0 160 -40 190 40 N +P 2 0 1 0 190 40 220 -40 N +P 2 0 1 0 220 -40 250 40 N +P 2 0 1 0 250 40 280 -40 N +P 2 0 1 0 280 -40 300 0 N +P 2 0 1 0 100 0 110 0 N +P 2 0 1 0 100 100 300 -100 N +P 2 0 1 0 300 -50 300 -100 N +P 2 0 1 0 300 -100 250 -100 N +X ~ 2 400 0 100 L 30 30 0 1 P +X ~ 1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# C_var_PSPICE +# +DEF C_var_PSPICE C 0 30 Y Y 1 F N +F0 "C" 0 0 30 H V L CNN +F1 "C_var_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 130 0 N +P 2 0 1 0 130 -50 130 50 N +P 2 0 1 0 170 -50 170 50 N +P 2 0 1 0 170 0 200 0 N +P 2 0 1 0 100 50 200 -50 N +P 2 0 1 0 200 -50 200 -30 N +P 2 0 1 0 200 -50 180 -50 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ADC10break_PSPICE +# +DEF ADC10break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "ADC10break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1100 0 1 0 N +X ~ DB7 700 -200 100 L 30 30 0 1 P +X ~ DB6 700 -300 100 L 30 30 0 1 P +X ~ DB5 700 -400 100 L 30 30 0 1 P +X ~ DB4 700 -500 100 L 30 30 0 1 P +X ~ DB3 700 -600 100 L 30 30 0 1 P +X ~ DB2 700 -700 100 L 30 30 0 1 P +X ~ DB1 700 -800 100 L 30 30 0 1 P +X ~ DB0 700 -900 100 L 30 30 0 1 P +X ~ DPWR 300 200 100 D 30 30 0 1 P +X ~ DGND 300 -1200 100 U 30 30 0 1 P +X ~ GND 400 -1200 100 U 30 30 0 1 P +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ CNVRT 0 -200 100 R 30 30 0 1 P +X ~ STAT 0 -400 100 R 30 30 0 1 P +X ~ OVER 0 -600 100 R 30 30 0 1 P +X ~ REF 0 -800 100 R 30 30 0 1 P +X ~ DB9 700 0 100 L 30 30 0 1 P +X ~ DB8 700 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ADC12break_PSPICE +# +DEF ADC12break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "ADC12break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1300 0 1 0 N +S 700 -1200 700 -1200 0 1 0 N +X ~ DB7 700 -400 100 L 30 30 0 1 P +X ~ DB6 700 -500 100 L 30 30 0 1 P +X ~ DB5 700 -600 100 L 30 30 0 1 P +X ~ DB4 700 -700 100 L 30 30 0 1 P +X ~ DB3 700 -800 100 L 30 30 0 1 P +X ~ DB2 700 -900 100 L 30 30 0 1 P +X ~ DB1 700 -1000 100 L 30 30 0 1 P +X ~ DB0 700 -1100 100 L 30 30 0 1 P +X ~ DPWR 300 200 100 D 30 30 0 1 P +X ~ DGND 300 -1400 100 U 30 30 0 1 P +X ~ GND 400 -1400 100 U 30 30 0 1 P +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ CNVRT 0 -200 100 R 30 30 0 1 P +X ~ STAT 0 -400 100 R 30 30 0 1 P +X ~ OVER 0 -600 100 R 30 30 0 1 P +X ~ REF 0 -800 100 R 30 30 0 1 P +X ~ DB9 700 -200 100 L 30 30 0 1 P +X ~ DB8 700 -300 100 L 30 30 0 1 P +X ~ DB10 700 -100 100 L 30 30 0 1 P +X ~ DB11 700 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ADC8break_PSPICE +# +DEF ADC8break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "ADC8break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -900 0 1 0 N +X ~ DB7 700 0 100 L 30 30 0 1 P +X ~ DB6 700 -100 100 L 30 30 0 1 P +X ~ DB5 700 -200 100 L 30 30 0 1 P +X ~ DB4 700 -300 100 L 30 30 0 1 P +X ~ DB3 700 -400 100 L 30 30 0 1 P +X ~ DB2 700 -500 100 L 30 30 0 1 P +X ~ DB1 700 -600 100 L 30 30 0 1 P +X ~ DB0 700 -700 100 L 30 30 0 1 P +X ~ DPWR 300 200 100 D 30 30 0 1 P +X ~ DGND 300 -1000 100 U 30 30 0 1 P +X ~ GND 400 -1000 100 U 30 30 0 1 P +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ CNVRT 0 -200 100 R 30 30 0 1 P +X ~ STAT 0 -400 100 R 30 30 0 1 P +X ~ OVER 0 -600 100 R 30 30 0 1 P +X ~ REF 0 -800 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Bbreak_PSPICE +# +DEF Bbreak_PSPICE B 0 30 Y Y 1 F N +F0 "B" 0 0 30 H V L CNN +F1 "Bbreak_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +X ~ d 300 200 100 D 30 30 0 1 P +X ~ s 300 -200 100 U 30 30 0 1 P +X ~ g 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Cbreak_PSPICE +# +DEF Cbreak_PSPICE C 0 30 Y Y 1 F N +F0 "C" 0 0 30 H V L CNN +F1 "Cbreak_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 130 0 N +P 2 0 1 0 130 50 130 -50 N +P 2 0 1 0 170 50 170 -50 N +P 2 0 1 0 170 0 200 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DAC10break_PSPICE +# +DEF DAC10break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "DAC10break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1100 0 1 0 N +X ~ DB7 0 -200 100 R 30 30 0 1 P +X ~ DB6 0 -300 100 R 30 30 0 1 P +X ~ DB5 0 -400 100 R 30 30 0 1 P +X ~ DB4 0 -500 100 R 30 30 0 1 P +X ~ DB3 0 -600 100 R 30 30 0 1 P +X ~ DB2 0 -700 100 R 30 30 0 1 P +X ~ DB1 0 -800 100 R 30 30 0 1 P +X ~ DB0 0 -900 100 R 30 30 0 1 P +X ~ DPWR 300 200 100 D 30 30 0 1 P +X ~ DGND 300 -1200 100 U 30 30 0 1 P +X ~ GND 400 -1200 100 U 30 30 0 1 P +X ~ OUT 700 -300 100 L 30 30 0 1 P +X ~ REF 700 -600 100 L 30 30 0 1 P +X ~ DB8 0 -100 100 R 30 30 0 1 P +X ~ DB9 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DAC12break_PSPICE +# +DEF DAC12break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "DAC12break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1300 0 1 0 N +X ~ DB7 0 -400 100 R 30 30 0 1 P +X ~ DB6 0 -500 100 R 30 30 0 1 P +X ~ DB5 0 -600 100 R 30 30 0 1 P +X ~ DB4 0 -700 100 R 30 30 0 1 P +X ~ DB3 0 -800 100 R 30 30 0 1 P +X ~ DB2 0 -900 100 R 30 30 0 1 P +X ~ DB1 0 -1000 100 R 30 30 0 1 P +X ~ DB0 0 -1100 100 R 30 30 0 1 P +X ~ DPWR 300 200 100 D 30 30 0 1 P +X ~ DGND 300 -1400 100 U 30 30 0 1 P +X ~ GND 400 -1400 100 U 30 30 0 1 P +X ~ OUT 700 -300 100 L 30 30 0 1 P +X ~ REF 700 -600 100 L 30 30 0 1 P +X ~ DB8 0 -300 100 R 30 30 0 1 P +X ~ DB9 0 -200 100 R 30 30 0 1 P +X ~ DB10 0 -100 100 R 30 30 0 1 P +X ~ DB11 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DAC8break_PSPICE +# +DEF DAC8break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "DAC8break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -900 0 1 0 N +X ~ DB7 0 0 100 R 30 30 0 1 P +X ~ DB6 0 -100 100 R 30 30 0 1 P +X ~ DB5 0 -200 100 R 30 30 0 1 P +X ~ DB4 0 -300 100 R 30 30 0 1 P +X ~ DB3 0 -400 100 R 30 30 0 1 P +X ~ DB2 0 -500 100 R 30 30 0 1 P +X ~ DB1 0 -600 100 R 30 30 0 1 P +X ~ DB0 0 -700 100 R 30 30 0 1 P +X ~ DPWR 300 200 100 D 30 30 0 1 P +X ~ DGND 300 -1000 100 U 30 30 0 1 P +X ~ GND 400 -1000 100 U 30 30 0 1 P +X ~ OUT 700 -300 100 L 30 30 0 1 P +X ~ REF 700 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Dbreak_PSPICE +# +DEF Dbreak_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "Dbreak_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Dbreak3_PSPICE +# +DEF Dbreak3_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "Dbreak3_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 200 -150 200 -250 N +P 2 0 1 0 200 -200 300 -200 N +P 2 0 1 0 300 -200 300 0 N +P 2 0 1 0 300 0 200 0 N +P 2 0 1 0 100 0 120 0 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 -200 120 -200 N +P 4 0 1 0 120 -150 120 -250 200 -200 120 -150 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -200 100 R 30 30 0 1 P +X ~ 3 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DbreakCR_PSPICE +# +DEF DbreakCR_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "DbreakCR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 180 50 220 50 N +P 2 0 1 0 180 -50 220 -50 N +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 100 0 120 0 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DbreakVV_PSPICE +# +DEF DbreakVV_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "DbreakVV_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 100 0 120 0 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +A 270 0 50 1269 2330 0 1 0 N 240 40 239 -39 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DbreakZ_PSPICE +# +DEF DbreakZ_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "DbreakZ_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 170 70 200 50 N +P 2 0 1 0 200 -50 230 -70 N +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 100 0 120 0 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# JbreakN_PSPICE +# +DEF JbreakN_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "JbreakN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +P 3 0 1 0 110 20 170 0 110 -20 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# JbreakP_PSPICE +# +DEF JbreakP_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "JbreakP_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 -100 300 -100 N +P 3 0 1 0 170 -20 110 0 170 20 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# kbreak_PSPICE +# +DEF kbreak_PSPICE K 0 30 Y Y 1 F N +F0 "K" 0 0 30 H V L CNN +F1 "kbreak_PSPICE" 0 60 30 H V L CNN +DRAW +S 0 100 100 0 0 1 0 N +ENDDRAW +ENDDEF +# +# Lbreak_PSPICE +# +DEF Lbreak_PSPICE L 0 30 Y Y 1 F N +F0 "L" 0 0 30 H V L CNN +F1 "Lbreak_PSPICE" 0 60 30 H V L CNN +DRAW +A 150 0 50 1 1799 0 1 0 N 200 0 100 0 +A 250 0 50 1 1799 0 1 0 N 300 0 200 0 +A 350 0 50 1 1799 0 1 0 N 400 0 300 0 +A 450 0 50 1 1799 0 1 0 N 500 0 400 0 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 600 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakN_PSPICE +# +DEF MbreakN_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "MbreakN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 290 -20 230 0 290 20 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +X ~ b 400 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakN3_PSPICE +# +DEF MbreakN3_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "MbreakN3_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 290 -20 230 0 290 20 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakN3D_PSPICE +# +DEF MbreakN3D_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "MbreakN3D_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 3 0 1 0 290 -20 230 0 290 20 N +P 2 0 1 0 200 130 200 -130 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakN4_PSPICE +# +DEF MbreakN4_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "MbreakN4_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 290 -20 230 0 290 20 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +X ~ b 400 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakN4D_PSPICE +# +DEF MbreakN4D_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "MbreakN4D_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 3 0 1 0 290 -20 230 0 290 20 N +P 2 0 1 0 200 130 200 -130 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +X ~ b 400 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakP_PSPICE +# +DEF MbreakP_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "MbreakP_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 230 20 290 0 230 -20 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +X ~ b 400 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakP3_PSPICE +# +DEF MbreakP3_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "MbreakP3_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 230 20 290 0 230 -20 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakP3D_PSPICE +# +DEF MbreakP3D_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "MbreakP3D_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 3 0 1 0 230 20 290 0 230 -20 N +P 2 0 1 0 200 130 200 -130 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakP4_PSPICE +# +DEF MbreakP4_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "MbreakP4_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 230 20 290 0 230 -20 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +X ~ b 400 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MbreakP4D_PSPICE +# +DEF MbreakP4D_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "MbreakP4D_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 3 0 1 0 230 20 290 0 230 -20 N +P 2 0 1 0 200 130 200 -130 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +X ~ b 400 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# POT_PSPICE +# +DEF POT_PSPICE R 0 30 Y Y 1 F N +F0 "R" 0 0 30 H V L CNN +F1 "POT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 220 -40 250 40 N +P 2 0 1 0 130 40 160 -40 N +P 2 0 1 0 160 -40 190 40 N +P 2 0 1 0 190 40 220 -40 N +P 2 0 1 0 250 40 280 -40 N +P 2 0 1 0 110 0 130 40 N +P 2 0 1 0 280 -40 300 0 N +P 2 0 1 0 200 -40 190 -100 N +P 2 0 1 0 210 -100 200 -40 N +P 2 0 1 0 190 -100 210 -100 N +P 2 0 1 0 210 -100 210 -100 N +P 2 0 1 0 100 0 110 0 N +P 2 0 1 0 200 -40 200 -40 N +P 2 0 1 0 200 -100 200 -40 N +P 2 0 1 0 200 -40 200 -40 N +P 2 0 1 0 190 -100 190 -100 N +X ~ 2 400 0 100 L 30 30 0 1 P +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ t 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QbreakL_PSPICE +# +DEF QbreakL_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QbreakL_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 100 200 -100 N +P 2 0 1 0 300 100 200 50 N +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 300 -100 300 -200 N +P 2 0 1 0 200 -50 300 -100 N +P 3 0 1 0 290 -70 220 -60 270 -110 N +P 4 0 1 0 100 -70 70 -120 130 -120 100 -70 N +P 2 0 1 0 100 -200 100 -120 N +P 2 0 1 0 70 -70 130 -70 N +P 2 0 1 0 100 -70 100 0 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 300 200 100 D 30 30 0 1 P +X ~ 1 300 -300 100 U 30 30 0 1 P +X ~ s 100 -300 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QbreakN_PSPICE +# +DEF QbreakN_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QbreakN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QbreakN3_PSPICE +# +DEF QbreakN3_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QbreakN3_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +P 2 0 1 0 200 100 100 50 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QbreakN4_PSPICE +# +DEF QbreakN4_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QbreakN4_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +P 2 0 1 0 200 100 100 50 N +P 4 0 1 0 300 30 270 -20 330 -20 300 30 N +P 2 0 1 0 300 -100 300 -20 N +P 2 0 1 0 270 30 330 30 N +P 2 0 1 0 300 30 300 100 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +X ~ s 300 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QbreakP_PSPICE +# +DEF QbreakP_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QbreakP_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 100 -50 200 -100 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QbreakP3_PSPICE +# +DEF QbreakP3_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QbreakP3_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 100 -50 200 -100 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QbreakP4_PSPICE +# +DEF QbreakP4_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QbreakP4_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 100 -50 200 -100 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +P 4 0 1 0 300 -30 330 20 270 20 300 -30 N +P 2 0 1 0 300 100 300 20 N +P 2 0 1 0 330 -30 270 -30 N +P 2 0 1 0 300 -30 300 -100 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +X ~ s 300 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QDarBreakN_PSPICE +# +DEF QDarBreakN_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "QDarBreakN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 400 0 300 -50 N +P 2 0 1 0 400 -200 300 -150 N +P 3 0 1 0 310 -180 380 -190 330 -140 N +P 2 0 1 0 300 0 300 -200 N +P 2 0 1 0 200 -100 300 -100 N +P 3 0 1 0 200 100 400 100 400 0 N +X ~ b 0 0 100 R 30 30 0 1 P +X ~ c 400 200 100 D 30 30 0 1 P +X ~ e 400 -300 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QDarBreakP_PSPICE +# +DEF QDarBreakP_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "QDarBreakP_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 -100 300 -100 N +P 3 0 1 0 200 100 400 100 400 0 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 100 -50 200 -100 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 400 0 300 -50 N +P 2 0 1 0 300 -150 400 -200 N +P 3 0 1 0 390 -170 320 -160 370 -210 N +P 2 0 1 0 300 0 300 -200 N +X ~ b 0 0 100 R 30 30 0 1 P +X ~ c 400 200 100 D 30 30 0 1 P +X ~ e 400 -300 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# RAM8Kx1break_PSPICE +# +DEF RAM8Kx1break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "RAM8Kx1break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -2100 0 1 0 N +X ~ A0 0 0 100 R 30 30 0 1 I +X ~ A1 0 -100 100 R 30 30 0 1 I +X ~ A2 0 -200 100 R 30 30 0 1 I +X ~ A3 0 -300 100 R 30 30 0 1 I +X ~ A4 0 -400 100 R 30 30 0 1 I +X ~ A5 0 -500 100 R 30 30 0 1 I +X ~ A6 0 -600 100 R 30 30 0 1 I +X ~ A7 0 -700 100 R 30 30 0 1 I +X ~ A8 0 -800 100 R 30 30 0 1 I +X ~ A9 0 -900 100 R 30 30 0 1 I +X ~ A10 0 -1000 100 R 30 30 0 1 I +X ~ A11 0 -1100 100 R 30 30 0 1 I +X ~ A12 0 -1200 100 R 30 30 0 1 I +X ~ RE 0 -1900 100 R 30 30 0 1 I +X ~ WE 0 -2000 100 R 30 30 0 1 I +X ~ VCC 400 200 100 D 30 30 0 1 W +X ~ GND 300 -2200 100 U 30 30 0 1 W +X ~ D_OUT 700 -900 100 L 30 30 0 1 P +X ~ A13 0 -1300 100 R 30 30 0 1 P +X ~ A14 0 -1400 100 R 30 30 0 1 P +X ~ A15 0 -1500 100 R 30 30 0 1 P +X ~ D_IN 0 -1700 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# RAM8Kx8break_PSPICE +# +DEF RAM8Kx8break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "RAM8Kx8break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1700 0 1 0 N +X ~ A0 0 0 100 R 30 30 0 1 I +X ~ A1 0 -100 100 R 30 30 0 1 I +X ~ A2 0 -200 100 R 30 30 0 1 I +X ~ A3 0 -300 100 R 30 30 0 1 I +X ~ A4 0 -400 100 R 30 30 0 1 I +X ~ A5 0 -500 100 R 30 30 0 1 I +X ~ A6 0 -600 100 R 30 30 0 1 I +X ~ A7 0 -700 100 R 30 30 0 1 I +X ~ A8 0 -800 100 R 30 30 0 1 I +X ~ A9 0 -900 100 R 30 30 0 1 I +X ~ A10 0 -1000 100 R 30 30 0 1 I +X ~ A11 0 -1100 100 R 30 30 0 1 I +X ~ A12 0 -1200 100 R 30 30 0 1 I +X ~ RE 0 -1500 100 R 30 30 0 1 I +X ~ WE 0 -1600 100 R 30 30 0 1 I +X ~ R7 700 0 100 L 30 30 0 1 B +X ~ R6 700 -100 100 L 30 30 0 1 B +X ~ R5 700 -200 100 L 30 30 0 1 B +X ~ R4 700 -300 100 L 30 30 0 1 B +X ~ R3 700 -400 100 L 30 30 0 1 B +X ~ R2 700 -500 100 L 30 30 0 1 B +X ~ R1 700 -600 100 L 30 30 0 1 B +X ~ R0 700 -700 100 L 30 30 0 1 B +X ~ VCC 400 200 100 D 30 30 0 1 W +X ~ GND 300 -1800 100 U 30 30 0 1 W +X ~ W0 700 -1600 100 L 30 30 0 1 P +X ~ W1 700 -1500 100 L 30 30 0 1 P +X ~ W2 700 -1400 100 L 30 30 0 1 P +X ~ W3 700 -1300 100 L 30 30 0 1 P +X ~ W4 700 -1200 100 L 30 30 0 1 P +X ~ W5 700 -1100 100 L 30 30 0 1 P +X ~ W6 700 -1000 100 L 30 30 0 1 P +X ~ W7 700 -900 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Rbreak_PSPICE +# +DEF Rbreak_PSPICE R 0 30 Y Y 1 F N +F0 "R" 0 0 30 H V L CNN +F1 "Rbreak_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 110 0 N +P 2 0 1 0 110 0 130 40 N +P 2 0 1 0 130 40 160 -40 N +P 2 0 1 0 160 -40 190 40 N +P 2 0 1 0 190 40 220 -40 N +P 2 0 1 0 220 -40 250 40 N +P 2 0 1 0 250 40 280 -40 N +P 2 0 1 0 280 -40 300 0 N +X ~ 2 400 0 100 L 30 30 0 1 P +X ~ 1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ROM32KX8break_PSPICE +# +DEF ROM32KX8break_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "ROM32KX8break_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1800 0 1 0 N +X ~ A0 0 0 100 R 30 30 0 1 I +X ~ A1 0 -100 100 R 30 30 0 1 I +X ~ A2 0 -200 100 R 30 30 0 1 I +X ~ A3 0 -300 100 R 30 30 0 1 I +X ~ A4 0 -400 100 R 30 30 0 1 I +X ~ A5 0 -500 100 R 30 30 0 1 I +X ~ A6 0 -600 100 R 30 30 0 1 I +X ~ A7 0 -700 100 R 30 30 0 1 I +X ~ A8 0 -800 100 R 30 30 0 1 I +X ~ A9 0 -900 100 R 30 30 0 1 I +X ~ A10 0 -1000 100 R 30 30 0 1 I +X ~ A11 0 -1100 100 R 30 30 0 1 I +X ~ A12 0 -1200 100 R 30 30 0 1 I +X ~ A13 0 -1300 100 R 30 30 0 1 I +X ~ A14 0 -1400 100 R 30 30 0 1 I +X ~ \OE\ 0 -1600 100 R 30 30 0 1 I +X ~ O0 700 -400 100 L 30 30 0 1 O +X ~ O1 700 -500 100 L 30 30 0 1 O +X ~ O2 700 -600 100 L 30 30 0 1 O +X ~ O3 700 -700 100 L 30 30 0 1 O +X ~ O4 700 -800 100 L 30 30 0 1 O +X ~ O5 700 -900 100 L 30 30 0 1 O +X ~ O6 700 -1000 100 L 30 30 0 1 O +X ~ O7 700 -1100 100 L 30 30 0 1 O +X ~ VCC 400 200 100 D 30 30 0 1 W +X ~ GND 400 -1900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# Sbreak_PSPICE +# +DEF Sbreak_PSPICE S 0 30 Y Y 1 F N +F0 "S" 0 0 30 H V L CNN +F1 "Sbreak_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 250 -100 200 -20 N +P 2 0 1 0 250 0 300 0 N +P 2 0 1 0 300 -100 250 -100 N +S 100 50 300 -150 0 1 0 N +T 0 120 -20 30 0 0 0 + +T 0 120 -120 30 0 0 0 - +T 0 240 0 30 0 0 0 + +T 0 240 -140 30 0 0 0 - +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -100 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Wbreak_PSPICE +# +DEF Wbreak_PSPICE W 0 30 Y Y 1 F N +F0 "W" 0 0 30 H V L CNN +F1 "Wbreak_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 250 -100 200 -20 N +P 3 0 1 0 120 -30 140 -80 160 -30 N +P 2 0 1 0 250 0 300 0 N +P 2 0 1 0 300 -100 250 -100 N +P 2 0 1 0 140 0 140 -100 N +P 2 0 1 0 100 0 140 0 N +P 2 0 1 0 100 -100 140 -100 N +S 100 50 300 -150 0 1 0 N +T 0 240 0 30 0 0 0 + +T 0 240 -140 30 0 0 0 - +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -100 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# XFRM_NONLINEAR_PSPICE +# +DEF XFRM_NONLINEAR_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "XFRM_NONLINEAR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 300 -500 300 -600 N +P 2 0 1 0 220 -100 220 -500 N +P 2 0 1 0 220 -500 220 -500 N +P 2 0 1 0 180 -100 180 -500 N +P 2 0 1 0 180 -500 180 -500 N +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ZbreakN_PSPICE +# +DEF ZbreakN_PSPICE Z 0 30 Y Y 1 F N +F0 "Z" 0 0 30 H V L CNN +F1 "ZbreakN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 200 200 0 N +P 2 0 1 0 170 200 170 0 N +P 2 0 1 0 100 0 170 0 N +P 2 0 1 0 300 200 200 150 N +P 2 0 1 0 200 50 300 0 N +P 3 0 1 0 210 20 280 10 230 60 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ C 300 300 100 D 30 30 0 1 P +X ~ E 300 -100 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB9M-B_PSPICE +# +DEF DB9M-B_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DB9M-B_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -900 -240 -900 N +P 2 0 1 0 -240 -900 -180 -900 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -800 -400 -900 N +P 2 0 1 0 -400 -900 -310 -900 N +P 2 0 1 0 -360 -400 -220 -400 N +P 2 0 1 0 -220 -400 -280 -360 N +P 2 0 1 0 -220 -400 -280 -440 N +A -190 -810 90 -962 62 0 1 0 N -199 -899 -100 -800 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB9F-B_PSPICE +# +DEF DB9F-B_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "DB9F-B_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -900 -240 -900 N +P 2 0 1 0 -240 -900 -180 -900 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -800 -400 -900 N +P 2 0 1 0 -400 -900 -310 -900 N +P 2 0 1 0 -320 -400 -180 -400 N +P 2 0 1 0 -320 -400 -380 -360 N +P 2 0 1 0 -320 -400 -380 -440 N +P 2 0 1 0 -200 100 -100 100 N +P 2 0 1 0 -100 100 -100 0 N +P 2 0 1 0 -200 -900 -100 -900 N +P 2 0 1 0 -100 -900 -100 -800 N +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB25M-B_PSPICE +# +DEF DB25M-B_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DB25M-B_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -2500 -240 -2500 N +P 2 0 1 0 -240 -2500 -180 -2500 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -2400 -400 -2500 N +P 2 0 1 0 -400 -2500 -310 -2500 N +P 2 0 1 0 -400 -2400 -400 -800 N +P 2 0 1 0 -100 -800 -100 -2200 N +P 2 0 1 0 -100 -2200 -100 -2400 N +P 2 0 1 0 -360 -1200 -270 -1200 N +P 2 0 1 0 -270 -1200 -300 -1180 N +P 2 0 1 0 -270 -1200 -300 -1220 N +A -190 -2410 90 -962 62 0 1 0 N -199 -2499 -100 -2400 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +X ~ 10 0 -900 100 L 30 30 0 1 P +X ~ 11 0 -1000 100 L 30 30 0 1 P +X ~ 12 0 -1100 100 L 30 30 0 1 P +X ~ 13 0 -1200 100 L 30 30 0 1 P +X ~ 14 0 -1300 100 L 30 30 0 1 P +X ~ 15 0 -1400 100 L 30 30 0 1 P +X ~ 16 0 -1500 100 L 30 30 0 1 P +X ~ 17 0 -1600 100 L 30 30 0 1 P +X ~ 18 0 -1700 100 L 30 30 0 1 P +X ~ 19 0 -1800 100 L 30 30 0 1 P +X ~ 20 0 -1900 100 L 30 30 0 1 P +X ~ 21 0 -2000 100 L 30 30 0 1 P +X ~ 22 0 -2100 100 L 30 30 0 1 P +X ~ 23 0 -2200 100 L 30 30 0 1 P +X ~ 24 0 -2300 100 L 30 30 0 1 P +X ~ 25 0 -2400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB25F-B_PSPICE +# +DEF DB25F-B_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "DB25F-B_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -2500 -240 -2500 N +P 2 0 1 0 -240 -2500 -180 -2500 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -2400 -400 -2500 N +P 2 0 1 0 -400 -2500 -310 -2500 N +P 2 0 1 0 -400 -2400 -400 -800 N +P 2 0 1 0 -100 -800 -100 -2200 N +P 2 0 1 0 -100 -2200 -100 -2400 N +P 2 0 1 0 -350 -1200 -260 -1200 N +P 2 0 1 0 -350 -1200 -380 -1180 N +P 2 0 1 0 -350 -1200 -380 -1220 N +A -190 -2410 90 -962 62 0 1 0 N -199 -2499 -100 -2400 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +X ~ 10 0 -900 100 L 30 30 0 1 P +X ~ 11 0 -1000 100 L 30 30 0 1 P +X ~ 12 0 -1100 100 L 30 30 0 1 P +X ~ 13 0 -1200 100 L 30 30 0 1 P +X ~ 14 0 -1300 100 L 30 30 0 1 P +X ~ 15 0 -1400 100 L 30 30 0 1 P +X ~ 16 0 -1500 100 L 30 30 0 1 P +X ~ 17 0 -1600 100 L 30 30 0 1 P +X ~ 18 0 -1700 100 L 30 30 0 1 P +X ~ 19 0 -1800 100 L 30 30 0 1 P +X ~ 20 0 -1900 100 L 30 30 0 1 P +X ~ 21 0 -2000 100 L 30 30 0 1 P +X ~ 22 0 -2100 100 L 30 30 0 1 P +X ~ 23 0 -2200 100 L 30 30 0 1 P +X ~ 24 0 -2300 100 L 30 30 0 1 P +X ~ 25 0 -2400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EDGE40M-B_PSPICE +# +DEF EDGE40M-B_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "EDGE40M-B_PSPICE" 0 60 30 H V L CNN +DRAW +S -400 100 -100 -4000 0 1 0 N +X ~ A1 0 0 100 L 30 30 0 1 P +X ~ A2 0 -100 100 L 30 30 0 1 P +X ~ A3 0 -200 100 L 30 30 0 1 P +X ~ A4 0 -300 100 L 30 30 0 1 P +X ~ A5 0 -400 100 L 30 30 0 1 P +X ~ A6 0 -500 100 L 30 30 0 1 P +X ~ A7 0 -600 100 L 30 30 0 1 P +X ~ A8 0 -700 100 L 30 30 0 1 P +X ~ A9 0 -800 100 L 30 30 0 1 P +X ~ A10 0 -900 100 L 30 30 0 1 P +X ~ A11 0 -1000 100 L 30 30 0 1 P +X ~ A12 0 -1100 100 L 30 30 0 1 P +X ~ A13 0 -1200 100 L 30 30 0 1 P +X ~ A14 0 -1300 100 L 30 30 0 1 P +X ~ A15 0 -1400 100 L 30 30 0 1 P +X ~ A16 0 -1500 100 L 30 30 0 1 P +X ~ A17 0 -1600 100 L 30 30 0 1 P +X ~ A18 0 -1700 100 L 30 30 0 1 P +X ~ A19 0 -1800 100 L 30 30 0 1 P +X ~ A20 0 -1900 100 L 30 30 0 1 P +X ~ B1 0 -2000 100 L 30 30 0 1 P +X ~ B2 0 -2100 100 L 30 30 0 1 P +X ~ B3 0 -2200 100 L 30 30 0 1 P +X ~ B4 0 -2300 100 L 30 30 0 1 P +X ~ B5 0 -2400 100 L 30 30 0 1 P +X ~ B6 0 -2500 100 L 30 30 0 1 P +X ~ B7 0 -2600 100 L 30 30 0 1 P +X ~ B8 0 -2700 100 L 30 30 0 1 P +X ~ B9 0 -2800 100 L 30 30 0 1 P +X ~ B10 0 -2900 100 L 30 30 0 1 P +X ~ B11 0 -3000 100 L 30 30 0 1 P +X ~ B12 0 -3100 100 L 30 30 0 1 P +X ~ B13 0 -3200 100 L 30 30 0 1 P +X ~ B14 0 -3300 100 L 30 30 0 1 P +X ~ B15 0 -3400 100 L 30 30 0 1 P +X ~ B16 0 -3500 100 L 30 30 0 1 P +X ~ B17 0 -3600 100 L 30 30 0 1 P +X ~ B18 0 -3700 100 L 30 30 0 1 P +X ~ B19 0 -3800 100 L 30 30 0 1 P +X ~ B20 0 -3900 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EDGE40F-B_PSPICE +# +DEF EDGE40F-B_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "EDGE40F-B_PSPICE" 0 60 30 H V L CNN +DRAW +S -400 100 -100 -4000 0 1 0 N +X ~ A1 0 0 100 L 30 30 0 1 P +X ~ A2 0 -100 100 L 30 30 0 1 P +X ~ A3 0 -200 100 L 30 30 0 1 P +X ~ A4 0 -300 100 L 30 30 0 1 P +X ~ A5 0 -400 100 L 30 30 0 1 P +X ~ A6 0 -500 100 L 30 30 0 1 P +X ~ A7 0 -600 100 L 30 30 0 1 P +X ~ A8 0 -700 100 L 30 30 0 1 P +X ~ A9 0 -800 100 L 30 30 0 1 P +X ~ A10 0 -900 100 L 30 30 0 1 P +X ~ A11 0 -1000 100 L 30 30 0 1 P +X ~ A12 0 -1100 100 L 30 30 0 1 P +X ~ A13 0 -1200 100 L 30 30 0 1 P +X ~ A14 0 -1300 100 L 30 30 0 1 P +X ~ A15 0 -1400 100 L 30 30 0 1 P +X ~ A16 0 -1500 100 L 30 30 0 1 P +X ~ A17 0 -1600 100 L 30 30 0 1 P +X ~ A18 0 -1700 100 L 30 30 0 1 P +X ~ A19 0 -1800 100 L 30 30 0 1 P +X ~ A20 0 -1900 100 L 30 30 0 1 P +X ~ B1 0 -2000 100 L 30 30 0 1 P +X ~ B2 0 -2100 100 L 30 30 0 1 P +X ~ B3 0 -2200 100 L 30 30 0 1 P +X ~ B4 0 -2300 100 L 30 30 0 1 P +X ~ B5 0 -2400 100 L 30 30 0 1 P +X ~ B6 0 -2500 100 L 30 30 0 1 P +X ~ B7 0 -2600 100 L 30 30 0 1 P +X ~ B8 0 -2700 100 L 30 30 0 1 P +X ~ B9 0 -2800 100 L 30 30 0 1 P +X ~ B10 0 -2900 100 L 30 30 0 1 P +X ~ B11 0 -3000 100 L 30 30 0 1 P +X ~ B12 0 -3100 100 L 30 30 0 1 P +X ~ B13 0 -3200 100 L 30 30 0 1 P +X ~ B14 0 -3300 100 L 30 30 0 1 P +X ~ B15 0 -3400 100 L 30 30 0 1 P +X ~ B16 0 -3500 100 L 30 30 0 1 P +X ~ B17 0 -3600 100 L 30 30 0 1 P +X ~ B18 0 -3700 100 L 30 30 0 1 P +X ~ B19 0 -3800 100 L 30 30 0 1 P +X ~ B20 0 -3900 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EDGE62M-B_PSPICE +# +DEF EDGE62M-B_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "EDGE62M-B_PSPICE" 0 60 30 H V L CNN +DRAW +S -400 100 -100 -6200 0 1 0 N +X ~ A1 0 0 100 L 30 30 0 1 P +X ~ A2 0 -100 100 L 30 30 0 1 P +X ~ A3 0 -200 100 L 30 30 0 1 P +X ~ A4 0 -300 100 L 30 30 0 1 P +X ~ A5 0 -400 100 L 30 30 0 1 P +X ~ A6 0 -500 100 L 30 30 0 1 P +X ~ A7 0 -600 100 L 30 30 0 1 P +X ~ A8 0 -700 100 L 30 30 0 1 P +X ~ A9 0 -800 100 L 30 30 0 1 P +X ~ A10 0 -900 100 L 30 30 0 1 P +X ~ A11 0 -1000 100 L 30 30 0 1 P +X ~ A12 0 -1100 100 L 30 30 0 1 P +X ~ A13 0 -1200 100 L 30 30 0 1 P +X ~ A14 0 -1300 100 L 30 30 0 1 P +X ~ A15 0 -1400 100 L 30 30 0 1 P +X ~ A16 0 -1500 100 L 30 30 0 1 P +X ~ A17 0 -1600 100 L 30 30 0 1 P +X ~ A18 0 -1700 100 L 30 30 0 1 P +X ~ A19 0 -1800 100 L 30 30 0 1 P +X ~ A20 0 -1900 100 L 30 30 0 1 P +X ~ A21 0 -2000 100 L 30 30 0 1 P +X ~ A22 0 -2100 100 L 30 30 0 1 P +X ~ A23 0 -2200 100 L 30 30 0 1 P +X ~ A24 0 -2300 100 L 30 30 0 1 P +X ~ A25 0 -2400 100 L 30 30 0 1 P +X ~ A26 0 -2500 100 L 30 30 0 1 P +X ~ A27 0 -2600 100 L 30 30 0 1 P +X ~ A28 0 -2700 100 L 30 30 0 1 P +X ~ A29 0 -2800 100 L 30 30 0 1 P +X ~ A30 0 -2900 100 L 30 30 0 1 P +X ~ A31 0 -3000 100 L 30 30 0 1 P +X ~ B1 0 -3100 100 L 30 30 0 1 P +X ~ B2 0 -3200 100 L 30 30 0 1 P +X ~ B3 0 -3300 100 L 30 30 0 1 P +X ~ B4 0 -3400 100 L 30 30 0 1 P +X ~ B5 0 -3500 100 L 30 30 0 1 P +X ~ B6 0 -3600 100 L 30 30 0 1 P +X ~ B7 0 -3700 100 L 30 30 0 1 P +X ~ B8 0 -3800 100 L 30 30 0 1 P +X ~ B9 0 -3900 100 L 30 30 0 1 P +X ~ B10 0 -4000 100 L 30 30 0 1 P +X ~ B11 0 -4100 100 L 30 30 0 1 P +X ~ B12 0 -4200 100 L 30 30 0 1 P +X ~ B13 0 -4300 100 L 30 30 0 1 P +X ~ B14 0 -4400 100 L 30 30 0 1 P +X ~ B15 0 -4500 100 L 30 30 0 1 P +X ~ B16 0 -4600 100 L 30 30 0 1 P +X ~ B17 0 -4700 100 L 30 30 0 1 P +X ~ B18 0 -4800 100 L 30 30 0 1 P +X ~ B19 0 -4900 100 L 30 30 0 1 P +X ~ B20 0 -5000 100 L 30 30 0 1 P +X ~ B21 0 -5100 100 L 30 30 0 1 P +X ~ B22 0 -5200 100 L 30 30 0 1 P +X ~ B23 0 -5300 100 L 30 30 0 1 P +X ~ B24 0 -5400 100 L 30 30 0 1 P +X ~ B25 0 -5500 100 L 30 30 0 1 P +X ~ B26 0 -5600 100 L 30 30 0 1 P +X ~ B27 0 -5700 100 L 30 30 0 1 P +X ~ B28 0 -5800 100 L 30 30 0 1 P +X ~ B29 0 -5900 100 L 30 30 0 1 P +X ~ B30 0 -6000 100 L 30 30 0 1 P +X ~ B31 0 -6100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EDGE62F-B_PSPICE +# +DEF EDGE62F-B_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "EDGE62F-B_PSPICE" 0 60 30 H V L CNN +DRAW +S -400 100 -100 -6200 0 1 0 N +X ~ A1 0 0 100 L 30 30 0 1 P +X ~ A2 0 -100 100 L 30 30 0 1 P +X ~ A3 0 -200 100 L 30 30 0 1 P +X ~ A4 0 -300 100 L 30 30 0 1 P +X ~ A5 0 -400 100 L 30 30 0 1 P +X ~ A6 0 -500 100 L 30 30 0 1 P +X ~ A7 0 -600 100 L 30 30 0 1 P +X ~ A8 0 -700 100 L 30 30 0 1 P +X ~ A9 0 -800 100 L 30 30 0 1 P +X ~ A10 0 -900 100 L 30 30 0 1 P +X ~ A11 0 -1000 100 L 30 30 0 1 P +X ~ A12 0 -1100 100 L 30 30 0 1 P +X ~ A13 0 -1200 100 L 30 30 0 1 P +X ~ A14 0 -1300 100 L 30 30 0 1 P +X ~ A15 0 -1400 100 L 30 30 0 1 P +X ~ A16 0 -1500 100 L 30 30 0 1 P +X ~ A17 0 -1600 100 L 30 30 0 1 P +X ~ A18 0 -1700 100 L 30 30 0 1 P +X ~ A19 0 -1800 100 L 30 30 0 1 P +X ~ A20 0 -1900 100 L 30 30 0 1 P +X ~ A21 0 -2000 100 L 30 30 0 1 P +X ~ A22 0 -2100 100 L 30 30 0 1 P +X ~ A23 0 -2200 100 L 30 30 0 1 P +X ~ A24 0 -2300 100 L 30 30 0 1 P +X ~ A25 0 -2400 100 L 30 30 0 1 P +X ~ A26 0 -2500 100 L 30 30 0 1 P +X ~ A27 0 -2600 100 L 30 30 0 1 P +X ~ A28 0 -2700 100 L 30 30 0 1 P +X ~ A29 0 -2800 100 L 30 30 0 1 P +X ~ A30 0 -2900 100 L 30 30 0 1 P +X ~ A31 0 -3000 100 L 30 30 0 1 P +X ~ B1 0 -3100 100 L 30 30 0 1 P +X ~ B2 0 -3200 100 L 30 30 0 1 P +X ~ B3 0 -3300 100 L 30 30 0 1 P +X ~ B4 0 -3400 100 L 30 30 0 1 P +X ~ B5 0 -3500 100 L 30 30 0 1 P +X ~ B6 0 -3600 100 L 30 30 0 1 P +X ~ B7 0 -3700 100 L 30 30 0 1 P +X ~ B8 0 -3800 100 L 30 30 0 1 P +X ~ B9 0 -3900 100 L 30 30 0 1 P +X ~ B10 0 -4000 100 L 30 30 0 1 P +X ~ B11 0 -4100 100 L 30 30 0 1 P +X ~ B12 0 -4200 100 L 30 30 0 1 P +X ~ B13 0 -4300 100 L 30 30 0 1 P +X ~ B14 0 -4400 100 L 30 30 0 1 P +X ~ B15 0 -4500 100 L 30 30 0 1 P +X ~ B16 0 -4600 100 L 30 30 0 1 P +X ~ B17 0 -4700 100 L 30 30 0 1 P +X ~ B18 0 -4800 100 L 30 30 0 1 P +X ~ B19 0 -4900 100 L 30 30 0 1 P +X ~ B20 0 -5000 100 L 30 30 0 1 P +X ~ B21 0 -5100 100 L 30 30 0 1 P +X ~ B22 0 -5200 100 L 30 30 0 1 P +X ~ B23 0 -5300 100 L 30 30 0 1 P +X ~ B24 0 -5400 100 L 30 30 0 1 P +X ~ B25 0 -5500 100 L 30 30 0 1 P +X ~ B26 0 -5600 100 L 30 30 0 1 P +X ~ B27 0 -5700 100 L 30 30 0 1 P +X ~ B28 0 -5800 100 L 30 30 0 1 P +X ~ B29 0 -5900 100 L 30 30 0 1 P +X ~ B30 0 -6000 100 L 30 30 0 1 P +X ~ B31 0 -6100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB9_PSPICE +# +DEF DB9_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DB9_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -900 -240 -900 N +P 2 0 1 0 -240 -900 -180 -900 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -800 -400 -900 N +P 2 0 1 0 -400 -900 -310 -900 N +P 2 0 1 0 -360 -400 -220 -400 N +P 2 0 1 0 -220 -400 -280 -360 N +P 2 0 1 0 -220 -400 -280 -440 N +A -190 -810 90 -962 62 0 1 0 N -199 -899 -100 -800 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB9M_PSPICE +# +DEF DB9M_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DB9M_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -900 -240 -900 N +P 2 0 1 0 -240 -900 -180 -900 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -800 -400 -900 N +P 2 0 1 0 -400 -900 -310 -900 N +P 2 0 1 0 -360 -400 -220 -400 N +P 2 0 1 0 -220 -400 -280 -360 N +P 2 0 1 0 -220 -400 -280 -440 N +A -190 -810 90 -962 62 0 1 0 N -199 -899 -100 -800 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB9F_PSPICE +# +DEF DB9F_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "DB9F_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -900 -240 -900 N +P 2 0 1 0 -240 -900 -180 -900 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -800 -400 -900 N +P 2 0 1 0 -400 -900 -310 -900 N +P 2 0 1 0 -320 -400 -180 -400 N +P 2 0 1 0 -320 -400 -380 -360 N +P 2 0 1 0 -320 -400 -380 -440 N +P 2 0 1 0 -200 100 -100 100 N +P 2 0 1 0 -100 100 -100 0 N +P 2 0 1 0 -200 -900 -100 -900 N +P 2 0 1 0 -100 -900 -100 -800 N +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB25_PSPICE +# +DEF DB25_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DB25_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -2500 -240 -2500 N +P 2 0 1 0 -240 -2500 -180 -2500 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -2400 -400 -2500 N +P 2 0 1 0 -400 -2500 -310 -2500 N +P 2 0 1 0 -400 -2400 -400 -800 N +P 2 0 1 0 -100 -800 -100 -2200 N +P 2 0 1 0 -100 -2200 -100 -2400 N +P 2 0 1 0 -360 -1200 -270 -1200 N +P 2 0 1 0 -270 -1200 -300 -1180 N +P 2 0 1 0 -270 -1200 -300 -1220 N +A -190 -2410 90 -962 62 0 1 0 N -199 -2499 -100 -2400 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +X ~ 10 0 -900 100 L 30 30 0 1 P +X ~ 11 0 -1000 100 L 30 30 0 1 P +X ~ 12 0 -1100 100 L 30 30 0 1 P +X ~ 13 0 -1200 100 L 30 30 0 1 P +X ~ 14 0 -1300 100 L 30 30 0 1 P +X ~ 15 0 -1400 100 L 30 30 0 1 P +X ~ 16 0 -1500 100 L 30 30 0 1 P +X ~ 17 0 -1600 100 L 30 30 0 1 P +X ~ 18 0 -1700 100 L 30 30 0 1 P +X ~ 19 0 -1800 100 L 30 30 0 1 P +X ~ 20 0 -1900 100 L 30 30 0 1 P +X ~ 21 0 -2000 100 L 30 30 0 1 P +X ~ 22 0 -2100 100 L 30 30 0 1 P +X ~ 23 0 -2200 100 L 30 30 0 1 P +X ~ 24 0 -2300 100 L 30 30 0 1 P +X ~ 25 0 -2400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB25M_PSPICE +# +DEF DB25M_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DB25M_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -2500 -240 -2500 N +P 2 0 1 0 -240 -2500 -180 -2500 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -2400 -400 -2500 N +P 2 0 1 0 -400 -2500 -310 -2500 N +P 2 0 1 0 -400 -2400 -400 -800 N +P 2 0 1 0 -100 -800 -100 -2200 N +P 2 0 1 0 -100 -2200 -100 -2400 N +P 2 0 1 0 -360 -1200 -270 -1200 N +P 2 0 1 0 -270 -1200 -300 -1180 N +P 2 0 1 0 -270 -1200 -300 -1220 N +A -190 -2410 90 -962 62 0 1 0 N -199 -2499 -100 -2400 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +X ~ 10 0 -900 100 L 30 30 0 1 P +X ~ 11 0 -1000 100 L 30 30 0 1 P +X ~ 12 0 -1100 100 L 30 30 0 1 P +X ~ 13 0 -1200 100 L 30 30 0 1 P +X ~ 14 0 -1300 100 L 30 30 0 1 P +X ~ 15 0 -1400 100 L 30 30 0 1 P +X ~ 16 0 -1500 100 L 30 30 0 1 P +X ~ 17 0 -1600 100 L 30 30 0 1 P +X ~ 18 0 -1700 100 L 30 30 0 1 P +X ~ 19 0 -1800 100 L 30 30 0 1 P +X ~ 20 0 -1900 100 L 30 30 0 1 P +X ~ 21 0 -2000 100 L 30 30 0 1 P +X ~ 22 0 -2100 100 L 30 30 0 1 P +X ~ 23 0 -2200 100 L 30 30 0 1 P +X ~ 24 0 -2300 100 L 30 30 0 1 P +X ~ 25 0 -2400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB25F_PSPICE +# +DEF DB25F_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "DB25F_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 -400 -800 N +P 2 0 1 0 -100 0 -100 -800 N +P 2 0 1 0 -310 -2500 -240 -2500 N +P 2 0 1 0 -240 -2500 -180 -2500 N +P 2 0 1 0 -400 0 -400 100 N +P 2 0 1 0 -400 100 -220 100 N +P 2 0 1 0 -400 -2400 -400 -2500 N +P 2 0 1 0 -400 -2500 -310 -2500 N +P 2 0 1 0 -400 -2400 -400 -800 N +P 2 0 1 0 -100 -800 -100 -2200 N +P 2 0 1 0 -100 -2200 -100 -2400 N +P 2 0 1 0 -350 -1200 -260 -1200 N +P 2 0 1 0 -350 -1200 -380 -1180 N +P 2 0 1 0 -350 -1200 -380 -1220 N +A -190 -2410 90 -962 62 0 1 0 N -199 -2499 -100 -2400 +A -220 -10 120 48 899 0 1 0 N -100 0 -220 110 +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ 2 0 -100 100 L 30 30 0 1 P +X ~ 3 0 -200 100 L 30 30 0 1 P +X ~ 4 0 -300 100 L 30 30 0 1 P +X ~ 5 0 -400 100 L 30 30 0 1 P +X ~ 6 0 -500 100 L 30 30 0 1 P +X ~ 7 0 -600 100 L 30 30 0 1 P +X ~ 8 0 -700 100 L 30 30 0 1 P +X ~ 9 0 -800 100 L 30 30 0 1 P +X ~ 10 0 -900 100 L 30 30 0 1 P +X ~ 11 0 -1000 100 L 30 30 0 1 P +X ~ 12 0 -1100 100 L 30 30 0 1 P +X ~ 13 0 -1200 100 L 30 30 0 1 P +X ~ 14 0 -1300 100 L 30 30 0 1 P +X ~ 15 0 -1400 100 L 30 30 0 1 P +X ~ 16 0 -1500 100 L 30 30 0 1 P +X ~ 17 0 -1600 100 L 30 30 0 1 P +X ~ 18 0 -1700 100 L 30 30 0 1 P +X ~ 19 0 -1800 100 L 30 30 0 1 P +X ~ 20 0 -1900 100 L 30 30 0 1 P +X ~ 21 0 -2000 100 L 30 30 0 1 P +X ~ 22 0 -2100 100 L 30 30 0 1 P +X ~ 23 0 -2200 100 L 30 30 0 1 P +X ~ 24 0 -2300 100 L 30 30 0 1 P +X ~ 25 0 -2400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DIN5_PSPICE +# +DEF DIN5_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DIN5_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -350 -400 -150 -400 N +P 2 0 1 0 -350 -400 -400 -350 N +P 2 0 1 0 -350 -400 -400 -450 N +P 2 0 1 0 -150 -300 -350 -300 N +P 2 0 1 0 -350 -300 -400 -250 N +P 2 0 1 0 -350 -300 -400 -350 N +P 2 0 1 0 -150 -200 -350 -200 N +P 2 0 1 0 -350 -200 -400 -250 N +P 2 0 1 0 -350 -200 -400 -150 N +P 2 0 1 0 -150 -100 -350 -100 N +P 2 0 1 0 -350 -100 -400 -150 N +P 2 0 1 0 -350 -100 -400 -50 N +P 2 0 1 0 -150 0 -350 0 N +P 2 0 1 0 -350 0 -400 -50 N +P 2 0 1 0 -350 0 -400 50 N +P 2 0 1 0 -100 0 -200 0 N +P 2 0 1 0 -150 -100 -50 -100 N +P 2 0 1 0 -150 -200 -100 -200 N +P 2 0 1 0 -200 -300 -50 -300 N +P 2 0 1 0 -150 -400 -100 -400 N +S -300 100 -100 -500 0 1 0 N +X ~ pin1 0 0 100 L 30 30 0 1 P +X ~ pin2 0 -100 100 L 30 30 0 1 P +X ~ pin3 0 -200 100 L 30 30 0 1 P +X ~ pin4 0 -300 100 L 30 30 0 1 P +X ~ pin5 0 -400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DIN96_PSPICE +# +DEF DIN96_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DIN96_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 200 -100 N +P 2 0 1 0 50 -50 100 -100 N +P 2 0 1 0 50 -150 100 -100 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EDGE40_PSPICE +# +DEF EDGE40_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "EDGE40_PSPICE" 0 60 30 H V L CNN +DRAW +S -400 100 -100 -4000 0 1 0 N +X ~ A1 0 0 100 L 30 30 0 1 P +X ~ A2 0 -100 100 L 30 30 0 1 P +X ~ A3 0 -200 100 L 30 30 0 1 P +X ~ A4 0 -300 100 L 30 30 0 1 P +X ~ A5 0 -400 100 L 30 30 0 1 P +X ~ A6 0 -500 100 L 30 30 0 1 P +X ~ A7 0 -600 100 L 30 30 0 1 P +X ~ A8 0 -700 100 L 30 30 0 1 P +X ~ A9 0 -800 100 L 30 30 0 1 P +X ~ A10 0 -900 100 L 30 30 0 1 P +X ~ A11 0 -1000 100 L 30 30 0 1 P +X ~ A12 0 -1100 100 L 30 30 0 1 P +X ~ A13 0 -1200 100 L 30 30 0 1 P +X ~ A14 0 -1300 100 L 30 30 0 1 P +X ~ A15 0 -1400 100 L 30 30 0 1 P +X ~ A16 0 -1500 100 L 30 30 0 1 P +X ~ A17 0 -1600 100 L 30 30 0 1 P +X ~ A18 0 -1700 100 L 30 30 0 1 P +X ~ A19 0 -1800 100 L 30 30 0 1 P +X ~ A20 0 -1900 100 L 30 30 0 1 P +X ~ B1 0 -2000 100 L 30 30 0 1 P +X ~ B2 0 -2100 100 L 30 30 0 1 P +X ~ B3 0 -2200 100 L 30 30 0 1 P +X ~ B4 0 -2300 100 L 30 30 0 1 P +X ~ B5 0 -2400 100 L 30 30 0 1 P +X ~ B6 0 -2500 100 L 30 30 0 1 P +X ~ B7 0 -2600 100 L 30 30 0 1 P +X ~ B8 0 -2700 100 L 30 30 0 1 P +X ~ B9 0 -2800 100 L 30 30 0 1 P +X ~ B10 0 -2900 100 L 30 30 0 1 P +X ~ B11 0 -3000 100 L 30 30 0 1 P +X ~ B12 0 -3100 100 L 30 30 0 1 P +X ~ B13 0 -3200 100 L 30 30 0 1 P +X ~ B14 0 -3300 100 L 30 30 0 1 P +X ~ B15 0 -3400 100 L 30 30 0 1 P +X ~ B16 0 -3500 100 L 30 30 0 1 P +X ~ B17 0 -3600 100 L 30 30 0 1 P +X ~ B18 0 -3700 100 L 30 30 0 1 P +X ~ B19 0 -3800 100 L 30 30 0 1 P +X ~ B20 0 -3900 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EDGE62_PSPICE +# +DEF EDGE62_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "EDGE62_PSPICE" 0 60 30 H V L CNN +DRAW +S -400 100 -100 -6200 0 1 0 N +X ~ A1 0 0 100 L 30 30 0 1 P +X ~ A2 0 -100 100 L 30 30 0 1 P +X ~ A3 0 -200 100 L 30 30 0 1 P +X ~ A4 0 -300 100 L 30 30 0 1 P +X ~ A5 0 -400 100 L 30 30 0 1 P +X ~ A6 0 -500 100 L 30 30 0 1 P +X ~ A7 0 -600 100 L 30 30 0 1 P +X ~ A8 0 -700 100 L 30 30 0 1 P +X ~ A9 0 -800 100 L 30 30 0 1 P +X ~ A10 0 -900 100 L 30 30 0 1 P +X ~ A11 0 -1000 100 L 30 30 0 1 P +X ~ A12 0 -1100 100 L 30 30 0 1 P +X ~ A13 0 -1200 100 L 30 30 0 1 P +X ~ A14 0 -1300 100 L 30 30 0 1 P +X ~ A15 0 -1400 100 L 30 30 0 1 P +X ~ A16 0 -1500 100 L 30 30 0 1 P +X ~ A17 0 -1600 100 L 30 30 0 1 P +X ~ A18 0 -1700 100 L 30 30 0 1 P +X ~ A19 0 -1800 100 L 30 30 0 1 P +X ~ A20 0 -1900 100 L 30 30 0 1 P +X ~ A21 0 -2000 100 L 30 30 0 1 P +X ~ A22 0 -2100 100 L 30 30 0 1 P +X ~ A23 0 -2200 100 L 30 30 0 1 P +X ~ A24 0 -2300 100 L 30 30 0 1 P +X ~ A25 0 -2400 100 L 30 30 0 1 P +X ~ A26 0 -2500 100 L 30 30 0 1 P +X ~ A27 0 -2600 100 L 30 30 0 1 P +X ~ A28 0 -2700 100 L 30 30 0 1 P +X ~ A29 0 -2800 100 L 30 30 0 1 P +X ~ A30 0 -2900 100 L 30 30 0 1 P +X ~ A31 0 -3000 100 L 30 30 0 1 P +X ~ B1 0 -3100 100 L 30 30 0 1 P +X ~ B2 0 -3200 100 L 30 30 0 1 P +X ~ B3 0 -3300 100 L 30 30 0 1 P +X ~ B4 0 -3400 100 L 30 30 0 1 P +X ~ B5 0 -3500 100 L 30 30 0 1 P +X ~ B6 0 -3600 100 L 30 30 0 1 P +X ~ B7 0 -3700 100 L 30 30 0 1 P +X ~ B8 0 -3800 100 L 30 30 0 1 P +X ~ B9 0 -3900 100 L 30 30 0 1 P +X ~ B10 0 -4000 100 L 30 30 0 1 P +X ~ B11 0 -4100 100 L 30 30 0 1 P +X ~ B12 0 -4200 100 L 30 30 0 1 P +X ~ B13 0 -4300 100 L 30 30 0 1 P +X ~ B14 0 -4400 100 L 30 30 0 1 P +X ~ B15 0 -4500 100 L 30 30 0 1 P +X ~ B16 0 -4600 100 L 30 30 0 1 P +X ~ B17 0 -4700 100 L 30 30 0 1 P +X ~ B18 0 -4800 100 L 30 30 0 1 P +X ~ B19 0 -4900 100 L 30 30 0 1 P +X ~ B20 0 -5000 100 L 30 30 0 1 P +X ~ B21 0 -5100 100 L 30 30 0 1 P +X ~ B22 0 -5200 100 L 30 30 0 1 P +X ~ B23 0 -5300 100 L 30 30 0 1 P +X ~ B24 0 -5400 100 L 30 30 0 1 P +X ~ B25 0 -5500 100 L 30 30 0 1 P +X ~ B26 0 -5600 100 L 30 30 0 1 P +X ~ B27 0 -5700 100 L 30 30 0 1 P +X ~ B28 0 -5800 100 L 30 30 0 1 P +X ~ B29 0 -5900 100 L 30 30 0 1 P +X ~ B30 0 -6000 100 L 30 30 0 1 P +X ~ B31 0 -6100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# HDR20_PSPICE +# +DEF HDR20_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "HDR20_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 50 N +P 2 0 1 0 150 50 400 50 N +P 2 0 1 0 400 50 400 -50 N +P 2 0 1 0 400 -50 150 -50 N +P 2 0 1 0 150 -50 100 0 N +X ~ PIN1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# HDR50_PSPICE +# +DEF HDR50_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "HDR50_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 50 N +P 2 0 1 0 150 50 400 50 N +P 2 0 1 0 400 50 400 -50 N +P 2 0 1 0 400 -50 150 -50 N +P 2 0 1 0 150 -50 100 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# CONNECTOR_PSPICE +# +DEF CONNECTOR_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "CONNECTOR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 200 -100 N +P 2 0 1 0 50 -50 100 -100 N +P 2 0 1 0 50 -150 100 -100 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# male_PSPICE +# +DEF male_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "male_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -200 0 -100 0 N +P 2 0 1 0 -150 50 -200 0 N +P 2 0 1 0 -150 -50 -200 0 N +X ~ pin1 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# edge26_PSPICE +# +DEF edge26_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "edge26_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 200 -100 N +P 2 0 1 0 50 -50 100 -100 N +P 2 0 1 0 50 -150 100 -100 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DB9M_PSPICE +# +DEF DB9M_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "DB9M_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 200 -100 N +P 2 0 1 0 150 -50 100 -100 N +P 2 0 1 0 150 -150 100 -100 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EDGE26_PSPICE +# +DEF EDGE26_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "EDGE26_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 200 -100 N +P 2 0 1 0 50 -50 100 -100 N +P 2 0 1 0 50 -150 100 -100 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# HDR20_PSPICE +# +DEF HDR20_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "HDR20_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 200 -100 N +P 2 0 1 0 50 -50 100 -100 N +P 2 0 1 0 50 -150 100 -100 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Jump1_PSPICE +# +DEF Jump1_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "Jump1_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 160 -80 160 -120 N +P 2 0 1 0 140 -100 180 -100 N +C 160 -100 40 0 1 0 N +C 160 -100 20 0 1 0 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Jump2_PSPICE +# +DEF Jump2_PSPICE P 0 30 Y Y 1 F N +F0 "P" 0 0 30 H V L CNN +F1 "Jump2_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 160 -80 160 -120 N +P 2 0 1 0 140 -100 180 -100 N +P 2 0 1 0 160 -180 160 -220 N +P 2 0 1 0 140 -200 180 -200 N +C 160 -100 40 0 1 0 N +C 160 -100 20 0 1 0 N +C 160 -200 40 0 1 0 N +C 160 -200 20 0 1 0 N +X ~ pin1 300 -100 100 L 30 30 0 1 P +X ~ pin2 300 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 2N1595_PSPICE +# +DEF 2N1595_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "2N1595_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 100 50 100 -50 200 0 100 50 N +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 300 0 200 0 N +P 2 0 1 0 300 -100 200 0 N +X ~ A 0 0 100 R 30 30 0 1 P +X ~ K 400 0 100 L 30 30 0 1 P +X ~ G 300 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 2N5444_PSPICE +# +DEF 2N5444_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "2N5444_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 100 100 100 -100 200 -50 100 0 N +P 2 0 1 0 200 -50 300 -100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 200 0 200 -50 N +P 4 0 1 0 200 0 100 50 200 100 200 0 N +X ~ MT2 0 0 100 R 30 30 0 1 P +X ~ MT1 400 0 100 L 30 30 0 1 P +X ~ G 300 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# D1N750_PSPICE +# +DEF D1N750_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "D1N750_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 170 70 200 50 N +P 2 0 1 0 200 -50 230 -70 N +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 100 0 120 0 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MV2201_PSPICE +# +DEF MV2201_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "MV2201_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 100 50 100 -50 200 0 100 50 N +P 2 0 1 0 200 50 200 -50 N +A 270 0 50 1269 2330 0 1 0 N 240 40 239 -39 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# D1N4002_PSPICE +# +DEF D1N4002_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "D1N4002_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# D1N4148_PSPICE +# +DEF D1N4148_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "D1N4148_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# MBD101_PSPICE +# +DEF MBD101_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "MBD101_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IRF150_PSPICE +# +DEF IRF150_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "IRF150_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 290 -20 230 0 290 20 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IRF9140_PSPICE +# +DEF IRF9140_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "IRF9140_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 230 20 290 0 230 -20 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# J2N3819_PSPICE +# +DEF J2N3819_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "J2N3819_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +P 3 0 1 0 110 20 170 0 110 -20 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# J2N4393_PSPICE +# +DEF J2N4393_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "J2N4393_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +P 3 0 1 0 110 20 170 0 110 -20 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# LM324_PSPICE +# +DEF LM324_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LM324_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -500 N +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 700 -200 100 100 N +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +X ~ OUT 800 -200 100 L 30 30 0 1 O +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ V+ 400 100 100 D 30 30 0 1 I +X ~ V- 400 -500 100 U 30 30 0 1 I +ENDDRAW +ENDDEF +# +# LF411_PSPICE +# +DEF LF411_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LF411_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -500 N +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 700 -200 100 100 N +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 600 0 500 -100 N +P 2 0 1 0 500 -300 600 -400 N +P 2 0 1 0 600 0 700 0 N +P 2 0 1 0 600 -400 700 -400 N +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ V+ 400 100 100 D 30 30 0 1 W +X ~ V- 400 -500 100 U 30 30 0 1 W +X ~ OUT 800 -200 100 L 30 30 0 1 O +X ~ B1 800 -400 100 L 30 30 0 1 I +X ~ B2 800 0 100 L 30 30 0 1 I +ENDDRAW +ENDDEF +# +# uA741_PSPICE +# +DEF uA741_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "uA741_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -500 N +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 700 -200 100 100 N +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 600 0 500 -100 N +P 2 0 1 0 500 -300 600 -400 N +P 2 0 1 0 600 0 700 0 N +P 2 0 1 0 600 -400 700 -400 N +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ V+ 400 100 100 D 30 30 0 1 W +X ~ V- 400 -500 100 U 30 30 0 1 W +X ~ OUT 800 -200 100 L 30 30 0 1 O +X ~ OS1 800 -400 100 L 30 30 0 1 I +X ~ OS2 800 0 100 L 30 30 0 1 I +ENDDRAW +ENDDEF +# +# LM111_PSPICE +# +DEF LM111_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LM111_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -500 N +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 700 -400 600 -400 N +P 2 0 1 0 600 -400 500 -300 N +P 2 0 1 0 500 0 500 -100 N +P 2 0 1 0 700 0 600 -100 N +P 2 0 1 0 100 100 700 -200 N +P 2 0 1 0 600 -100 560 -140 N +X ~ OUT 800 -200 100 L 30 30 0 1 O +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ G 800 -400 100 L 30 30 0 1 P +X ~ V+ 400 100 100 D 30 30 0 1 W +X ~ V- 400 -500 100 U 30 30 0 1 W +X ~ B/S 800 0 100 L 30 30 0 1 I +X ~ B 500 100 100 D 30 30 0 1 I +ENDDRAW +ENDDEF +# +# Q2N2222_PSPICE +# +DEF Q2N2222_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "Q2N2222_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Q2N2907A_PSPICE +# +DEF Q2N2907A_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "Q2N2907A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 100 -50 200 -100 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Q2N3904_PSPICE +# +DEF Q2N3904_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "Q2N3904_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Q2N3906_PSPICE +# +DEF Q2N3906_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "Q2N3906_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 100 -50 200 -100 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# A4N25_PSPICE +# +DEF A4N25_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "A4N25_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 230 -50 170 -50 N +P 2 0 1 0 170 -50 200 -130 N +P 2 0 1 0 200 -130 230 -50 N +P 2 0 1 0 230 -130 170 -130 N +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 -200 100 -200 N +P 2 0 1 0 420 0 420 -160 N +P 2 0 1 0 500 0 420 -80 N +P 2 0 1 0 420 -80 500 -160 N +P 2 0 1 0 500 -110 500 -160 N +P 2 0 1 0 500 -160 450 -160 N +P 2 0 1 0 500 0 600 0 N +P 2 0 1 0 200 0 200 -50 N +P 2 0 1 0 200 -130 200 -200 N +P 2 0 1 0 500 -160 500 -300 N +P 2 0 1 0 420 -80 300 -80 N +P 2 0 1 0 300 -80 300 -300 N +S 100 100 600 -300 0 1 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -200 100 R 30 30 0 1 P +X ~ 6 300 -400 100 U 30 30 0 1 P +X ~ 4 500 -400 100 U 30 30 0 1 P +X ~ 5 700 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# K3019PL_3C8_PSPICE +# +DEF K3019PL_3C8_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "K3019PL_3C8_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 300 -500 300 -600 N +P 2 0 1 0 220 -100 220 -500 N +P 2 0 1 0 220 -500 220 -500 N +P 2 0 1 0 180 -100 180 -500 N +P 2 0 1 0 180 -500 180 -500 N +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# K502T300_3C8_PSPICE +# +DEF K502T300_3C8_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "K502T300_3C8_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 300 -500 300 -600 N +P 2 0 1 0 220 -100 220 -500 N +P 2 0 1 0 220 -500 220 -500 N +P 2 0 1 0 180 -100 180 -500 N +P 2 0 1 0 180 -500 180 -500 N +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# K528T500_3C8_PSPICE +# +DEF K528T500_3C8_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "K528T500_3C8_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 300 -500 300 -600 N +P 2 0 1 0 220 -100 220 -500 N +P 2 0 1 0 220 -500 220 -500 N +P 2 0 1 0 180 -100 180 -500 N +P 2 0 1 0 180 -500 180 -500 N +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# KRM8PL_3C8_PSPICE +# +DEF KRM8PL_3C8_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "KRM8PL_3C8_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 300 -500 300 -600 N +P 2 0 1 0 220 -100 220 -500 N +P 2 0 1 0 220 -500 220 -500 N +P 2 0 1 0 180 -100 180 -500 N +P 2 0 1 0 180 -500 180 -500 N +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +X ~ 1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 555D_PSPICE +# +DEF 555D_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "555D_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 900 -600 0 1 0 N +X ~ GND 500 -700 100 U 30 30 0 1 P +X ~ TRIGGER 0 0 100 R 30 30 0 1 P +X ~ OUTPUT 1000 -100 100 L 30 30 0 1 P +X ~ RESET 0 -100 100 R 30 30 0 1 P +X ~ CONTROL 0 -200 100 R 30 30 0 1 P +X ~ THRESHOLD 0 -300 100 R 30 30 0 1 P +X ~ DISCHARGE 0 -400 100 R 30 30 0 1 P +X ~ VCC 500 300 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Sw_tClose_PSPICE +# +DEF Sw_tClose_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "Sw_tClose_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 300 0 N +P 2 0 1 0 250 -140 230 -110 N +P 2 0 1 0 250 -140 280 -120 N +A 160 0 0 1 12148535 0 1 0 N -2147483648 -2147483648 -2147483648 -2147483648 +X ~ 1 0 -100 100 R 30 30 0 1 P +X ~ 2 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Sw_tOpen_PSPICE +# +DEF Sw_tOpen_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "Sw_tOpen_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 -100 300 0 N +P 2 0 1 0 170 0 200 20 N +P 2 0 1 0 170 0 190 -30 N +A 160 0 0 1 12148519 0 1 0 N -2147483648 -2147483648 -2147483648 -2147483648 +X ~ 1 0 -100 100 R 30 30 0 1 P +X ~ 2 400 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# PAL20RP4B_PSPICE +# +DEF PAL20RP4B_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "PAL20RP4B_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1400 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 I +X ~ pin3 0 -200 100 R 30 30 0 1 I +X ~ pin4 0 -300 100 R 30 30 0 1 I +X ~ pin5 0 -400 100 R 30 30 0 1 I +X ~ pin6 0 -500 100 R 30 30 0 1 I +X ~ pin7 0 -600 100 R 30 30 0 1 I +X ~ pin8 0 -700 100 R 30 30 0 1 I +X ~ pin9 0 -800 100 R 30 30 0 1 I +X ~ pin10 0 -900 100 R 30 30 0 1 I +X ~ pin11 0 -1000 100 R 30 30 0 1 I +X ~ pin13 0 -1100 100 R 30 30 0 1 I +X ~ pin15 600 -1000 100 L 30 30 0 1 O +X ~ pin16 600 -900 100 L 30 30 0 1 O +X ~ pin17 600 -800 100 L 30 30 0 1 O +X ~ pin18 600 -700 100 L 30 30 0 1 O +X ~ pin19 600 -600 100 L 30 30 0 1 O +X ~ pin20 600 -500 100 L 30 30 0 1 O +X ~ pin21 600 -400 100 L 30 30 0 1 O +X ~ pin22 600 -300 100 L 30 30 0 1 O +X ~ pin12 300 -1500 100 U 30 30 0 1 W +X ~ pin24 300 200 100 D 30 30 0 1 W +X ~ pin2 0 -100 100 R 30 30 0 1 I +X ~ pin14 0 -1200 100 R 30 30 0 1 I +X ~ pin23 0 -1300 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7400_PSPICE +# +DEF 7400_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7400_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7401_PSPICE +# +DEF 7401_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7401_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ Y 700 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 7402_PSPICE +# +DEF 7402_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7402_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7403_PSPICE +# +DEF 7403_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7403_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7404_PSPICE +# +DEF 7404_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7404_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 O +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7405_PSPICE +# +DEF 7405_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7405_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7406_PSPICE +# +DEF 7406_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7406_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7407_PSPICE +# +DEF 7407_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7407_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7408_PSPICE +# +DEF 7408_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7408_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7409_PSPICE +# +DEF 7409_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7409_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7410_PSPICE +# +DEF 7410_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7410_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7411_PSPICE +# +DEF 7411_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7411_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74S11_PSPICE +# +DEF 74S11_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74S11_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7412_PSPICE +# +DEF 7412_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7412_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7413_PSPICE +# +DEF 7413_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7413_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +P 2 0 1 0 200 -150 350 -150 N +P 2 0 1 0 350 -150 350 -250 N +P 2 0 1 0 400 -250 250 -250 N +P 2 0 1 0 250 -250 250 -150 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 O +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7414_PSPICE +# +DEF 7414_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7414_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +P 2 0 1 0 140 40 260 40 N +P 2 0 1 0 260 40 260 -40 N +P 2 0 1 0 300 -40 180 -40 N +P 2 0 1 0 180 -40 180 40 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 O +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7416_PSPICE +# +DEF 7416_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7416_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7417_PSPICE +# +DEF 7417_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7417_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7420_PSPICE +# +DEF 7420_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7420_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 O +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7422_PSPICE +# +DEF 7422_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7422_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 P +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7423_PSPICE +# +DEF 7423_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7423_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -1300 N +P 2 0 1 0 500 -1300 100 -1300 N +P 2 0 1 0 100 -1300 100 100 N +X ~ 1A 0 0 100 R 30 30 0 1 I +X ~ 1B 0 -100 100 R 30 30 0 1 I +X ~ 1C 0 -200 100 R 30 30 0 1 I +X ~ 1D 0 -300 100 R 30 30 0 1 I +X ~ 1G 0 -400 100 R 30 30 0 1 I +X ~ X 0 -500 100 R 30 30 0 1 I +X ~ \X\ 0 -600 100 R 30 30 0 1 I +X ~ 2A 0 -800 100 R 30 30 0 1 I +X ~ 2B 0 -900 100 R 30 30 0 1 I +X ~ 2C 0 -1000 100 R 30 30 0 1 I +X ~ 2D 0 -1100 100 R 30 30 0 1 I +X ~ 2G 0 -1200 100 R 30 30 0 1 I +X ~ 1Y 600 -200 100 L 30 30 0 1 I +X ~ 2Y 600 -1000 100 L 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7425_PSPICE +# +DEF 7425_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7425_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -500 N +P 2 0 1 0 500 -500 100 -500 N +P 2 0 1 0 100 -500 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ G 0 -400 100 R 30 30 0 1 I +X ~ Y 600 -200 100 L 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 P +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7426_PSPICE +# +DEF 7426_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7426_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7427_PSPICE +# +DEF 7427_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7427_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7428_PSPICE +# +DEF 7428_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7428_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7430_PSPICE +# +DEF 7430_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7430_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ E 0 -400 100 R 30 30 0 1 I +X ~ F 0 -500 100 R 30 30 0 1 I +X ~ G 0 -600 100 R 30 30 0 1 I +X ~ H 0 -700 100 R 30 30 0 1 I +X ~ Y 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7432_PSPICE +# +DEF 7432_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7432_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7433_PSPICE +# +DEF 7433_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7433_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7437_PSPICE +# +DEF 7437_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7437_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7438_PSPICE +# +DEF 7438_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7438_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7439_PSPICE +# +DEF 7439_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7439_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7440_PSPICE +# +DEF 7440_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7440_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 O +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 7442A_PSPICE +# +DEF 7442A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7442A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7443A_PSPICE +# +DEF 7443A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7443A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7444A_PSPICE +# +DEF 7444A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7444A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7445_PSPICE +# +DEF 7445_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7445_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ PWR 300 300 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7446A_PSPICE +# +DEF 7446A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7446A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ INA 0 -400 100 R 30 30 0 1 I +X ~ INB 0 -500 100 R 30 30 0 1 I +X ~ INC 0 -600 100 R 30 30 0 1 I +X ~ IND 0 -700 100 R 30 30 0 1 I +X ~ \RBI\ 0 -100 100 R 30 30 0 1 I +X ~ \LT\ 0 -200 100 R 30 30 0 1 I +X ~ OUTA 600 -100 100 L 30 30 0 1 O +X ~ OUTB 600 -200 100 L 30 30 0 1 O +X ~ OUTC 600 -300 100 L 30 30 0 1 O +X ~ OUTD 600 -400 100 L 30 30 0 1 O +X ~ OUTE 600 -500 100 L 30 30 0 1 O +X ~ OUTF 600 -600 100 L 30 30 0 1 O +X ~ OUTG 600 -700 100 L 30 30 0 1 O +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ \BI\/\RBO\ 0 0 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7448_PSPICE +# +DEF 7448_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7448_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ A 0 -400 100 R 30 30 0 1 I +X ~ B 0 -500 100 R 30 30 0 1 I +X ~ C 0 -600 100 R 30 30 0 1 I +X ~ D 0 -700 100 R 30 30 0 1 I +X ~ \BI\ 0 0 100 R 30 30 0 1 I +X ~ \RBI\ 0 -100 100 R 30 30 0 1 I +X ~ \LT\ 0 -200 100 R 30 30 0 1 I +X ~ OA 600 0 100 L 30 30 0 1 O +X ~ OB 600 -100 100 L 30 30 0 1 O +X ~ OC 600 -200 100 L 30 30 0 1 O +X ~ OD 600 -300 100 L 30 30 0 1 O +X ~ OE 600 -400 100 L 30 30 0 1 O +X ~ OF 600 -500 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ OG 600 -600 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 7449_PSPICE +# +DEF 7449_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7449_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -700 N +P 2 0 1 0 500 -700 100 -700 N +P 2 0 1 0 100 -700 100 100 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ B 0 -400 100 R 30 30 0 1 I +X ~ C 0 -500 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ \BI\ 0 0 100 R 30 30 0 1 I +X ~ OA 600 0 100 L 30 30 0 1 O +X ~ OB 600 -100 100 L 30 30 0 1 O +X ~ OC 600 -200 100 L 30 30 0 1 O +X ~ OD 600 -300 100 L 30 30 0 1 O +X ~ OE 600 -400 100 L 30 30 0 1 O +X ~ OF 600 -500 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -800 100 U 30 30 0 1 W +X ~ OG 600 -600 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 7450_PSPICE +# +DEF 7450_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7450_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -1100 N +P 2 0 1 0 500 -1100 100 -1100 N +P 2 0 1 0 100 -1100 100 100 N +X ~ 1A 0 0 100 R 30 30 0 1 I +X ~ 1B 0 -100 100 R 30 30 0 1 I +X ~ 1C 0 -200 100 R 30 30 0 1 I +X ~ 1D 0 -300 100 R 30 30 0 1 I +X ~ 1X 0 -400 100 R 30 30 0 1 I +X ~ 1\X\ 0 -500 100 R 30 30 0 1 I +X ~ 2A 0 -700 100 R 30 30 0 1 I +X ~ 2B 0 -800 100 R 30 30 0 1 I +X ~ 2C 0 -900 100 R 30 30 0 1 I +X ~ 2D 0 -1000 100 R 30 30 0 1 I +X ~ 1Y 600 -200 100 L 30 30 0 1 O +X ~ 2Y 600 -900 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7451_PSPICE +# +DEF 7451_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7451_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ Y 600 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7453_PSPICE +# +DEF 7453_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7453_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ E 0 -400 100 R 30 30 0 1 I +X ~ F 0 -500 100 R 30 30 0 1 I +X ~ G 0 -600 100 R 30 30 0 1 I +X ~ H 0 -700 100 R 30 30 0 1 I +X ~ X 0 -800 100 R 30 30 0 1 I +X ~ Y 600 -400 100 L 30 30 0 1 O +X ~ \X\ 0 -900 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1100 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7454_PSPICE +# +DEF 7454_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7454_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ E 0 -400 100 R 30 30 0 1 I +X ~ F 0 -500 100 R 30 30 0 1 I +X ~ G 0 -600 100 R 30 30 0 1 I +X ~ H 0 -700 100 R 30 30 0 1 I +X ~ Y 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7460_PSPICE +# +DEF 7460_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7460_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -500 N +P 2 0 1 0 500 -500 100 -500 N +P 2 0 1 0 100 -500 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ \X\ 0 -400 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ X 600 -100 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 7470_PSPICE +# +DEF 7470_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7470_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -800 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J1 0 0 100 R 30 30 0 1 I +X ~ J2 0 -100 100 R 30 30 0 1 I +X ~ \J\ 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -300 100 R 30 30 0 1 I +X ~ K1 0 -400 100 R 30 30 0 1 I +X ~ K2 0 -500 100 R 30 30 0 1 I +X ~ \K\ 0 -600 100 R 30 30 0 1 I +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -500 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7472_PSPICE +# +DEF 7472_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7472_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 200 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J1 0 0 100 R 30 30 0 1 I +X ~ J2 0 -100 100 R 30 30 0 1 I +X ~ J3 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -300 100 R 30 30 0 1 I +X ~ K1 0 -400 100 R 30 30 0 1 I +X ~ K2 0 -500 100 R 30 30 0 1 I +X ~ K3 0 -600 100 R 30 30 0 1 I +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -500 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7473_PSPICE +# +DEF 7473_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7473_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -600 0 1 0 N +X ~ J 0 0 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 0 100 L 30 30 0 1 O +X ~ \Q\ 600 -400 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7474_PSPICE +# +DEF 7474_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7474_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7475_PSPICE +# +DEF 7475_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7475_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ 1D 0 0 100 R 30 30 0 1 I +X ~ 1Q 600 0 100 L 30 30 0 1 O +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ 2D 0 -100 100 R 30 30 0 1 I +X ~ 2Q 600 -200 100 L 30 30 0 1 O +X ~ 2\Q\ 600 -300 100 L 30 30 0 1 O +X ~ 1\Q\ 600 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7476_PSPICE +# +DEF 7476_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7476_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -600 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J 0 0 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 0 100 L 30 30 0 1 O +X ~ \Q\ 600 -400 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7477_PSPICE +# +DEF 7477_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7477_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ 1D 0 0 100 R 30 30 0 1 I +X ~ 1Q 600 -100 100 L 30 30 0 1 O +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ 2D 0 -400 100 R 30 30 0 1 I +X ~ 2Q 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7482_PSPICE +# +DEF 7482_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7482_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ C0 0 0 100 R 30 30 0 1 I +X ~ A1 0 -100 100 R 30 30 0 1 I +X ~ B1 0 -200 100 R 30 30 0 1 I +X ~ A2 0 -300 100 R 30 30 0 1 I +X ~ B2 0 -400 100 R 30 30 0 1 I +X ~ SUM1 600 -100 100 L 30 30 0 1 O +X ~ SUM2 600 -300 100 L 30 30 0 1 O +X ~ C2 600 -400 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7483A_PSPICE +# +DEF 7483A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7483A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 100 N +X ~ A4 0 0 100 R 30 30 0 1 I +X ~ A3 0 -100 100 R 30 30 0 1 I +X ~ A2 0 -200 100 R 30 30 0 1 I +X ~ A1 0 -300 100 R 30 30 0 1 I +X ~ B4 0 -400 100 R 30 30 0 1 I +X ~ B3 0 -500 100 R 30 30 0 1 I +X ~ B2 0 -600 100 R 30 30 0 1 I +X ~ B1 0 -700 100 R 30 30 0 1 I +X ~ C0 0 -800 100 R 30 30 0 1 I +X ~ C4 600 0 100 L 30 30 0 1 O +X ~ SUM4 600 -200 100 L 30 30 0 1 O +X ~ SUM3 600 -400 100 L 30 30 0 1 O +X ~ SUM2 600 -600 100 L 30 30 0 1 O +X ~ SUM1 600 -800 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7485_PSPICE +# +DEF 7485_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7485_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ B3 0 0 100 R 30 30 0 1 I +X ~ A3 0 -100 100 R 30 30 0 1 I +X ~ B2 0 -200 100 R 30 30 0 1 I +X ~ A2 0 -300 100 R 30 30 0 1 I +X ~ B1 0 -400 100 R 30 30 0 1 I +X ~ A1 0 -500 100 R 30 30 0 1 I +X ~ B0 0 -600 100 R 30 30 0 1 I +X ~ A0 0 -700 100 R 30 30 0 1 I +X ~ AB_IN 0 -1000 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ AB 600 -600 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 7486_PSPICE +# +DEF 7486_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7486_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 300 100 N +P 2 0 1 0 100 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +A -250 -90 400 -308 283 0 1 0 N 93 -295 101 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7490A_PSPICE +# +DEF 7490A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7490A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ R91 0 0 100 R 30 30 0 1 I +X ~ R92 0 -100 100 R 30 30 0 1 I +X ~ R01 0 -700 100 R 30 30 0 1 I +X ~ R02 0 -800 100 R 30 30 0 1 I +X ~ CKA 0 -300 100 R 30 30 0 1 I +X ~ CKB 0 -500 100 R 30 30 0 1 I +X ~ QA 600 -100 100 L 30 30 0 1 O +X ~ QB 600 -300 100 L 30 30 0 1 O +X ~ QC 600 -500 100 L 30 30 0 1 O +X ~ QD 600 -700 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7491A_PSPICE +# +DEF 7491A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7491A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -300 N +P 2 0 1 0 500 -300 100 -300 N +P 2 0 1 0 100 -300 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ CLOCK 0 -200 100 R 30 30 0 1 I +X ~ QH 600 0 100 L 30 30 0 1 O +X ~ \QH\ 600 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7492A_PSPICE +# +DEF 7492A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7492A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ CKA 0 0 100 R 30 30 0 1 I +X ~ CKB 0 -100 100 R 30 30 0 1 I +X ~ R01 0 -200 100 R 30 30 0 1 I +X ~ R02 0 -300 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7493A_PSPICE +# +DEF 7493A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7493A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ CKA 0 0 100 R 30 30 0 1 I +X ~ CKB 0 -100 100 R 30 30 0 1 I +X ~ R01 0 -200 100 R 30 30 0 1 I +X ~ R02 0 -300 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7494_PSPICE +# +DEF 7494_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7494_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1600 0 1 0 N +X ~ PE2 0 0 100 R 30 30 0 1 I +X ~ PE1 0 -100 100 R 30 30 0 1 I +X ~ P1A 0 -300 100 R 30 30 0 1 I +X ~ P2A 0 -800 100 R 30 30 0 1 I +X ~ P1B 0 -400 100 R 30 30 0 1 I +X ~ P1C 0 -500 100 R 30 30 0 1 I +X ~ P1D 0 -600 100 R 30 30 0 1 I +X ~ P2B 0 -900 100 R 30 30 0 1 I +X ~ P2C 0 -1000 100 R 30 30 0 1 I +X ~ P2D 0 -1100 100 R 30 30 0 1 I +X ~ SER_IN 0 -1300 100 R 30 30 0 1 I +X ~ CLOCK 0 -1400 100 R 30 30 0 1 I +X ~ CLEAR 0 -1500 100 R 30 30 0 1 I +X ~ QD 600 -700 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7495A_PSPICE +# +DEF 7495A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7495A_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ MODE 0 0 100 R 30 30 0 1 I +X ~ SER 0 -100 100 R 30 30 0 1 I +X ~ CLK1 0 -200 100 R 30 30 0 1 I +X ~ CLK2 0 -300 100 R 30 30 0 1 I +X ~ A 0 -400 100 R 30 30 0 1 I +X ~ B 0 -500 100 R 30 30 0 1 I +X ~ C 0 -600 100 R 30 30 0 1 I +X ~ D 0 -700 100 R 30 30 0 1 I +X ~ QA 600 -400 100 L 30 30 0 1 O +X ~ QB 600 -500 100 L 30 30 0 1 O +X ~ QC 600 -600 100 L 30 30 0 1 O +X ~ QD 600 -700 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 7496_PSPICE +# +DEF 7496_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "7496_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 200 N +X ~ PRE 300 300 100 D 30 30 0 1 I +X ~ SERIAL 0 0 100 R 30 30 0 1 I +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ CLK 0 -100 100 R 30 30 0 1 I +X ~ A 0 -200 100 R 30 30 0 1 I +X ~ B 0 -300 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -500 100 R 30 30 0 1 I +X ~ E 0 -600 100 R 30 30 0 1 I +X ~ QA 600 -200 100 L 30 30 0 1 O +X ~ QB 600 -300 100 L 30 30 0 1 O +X ~ QC 600 -400 100 L 30 30 0 1 O +X ~ QD 600 -500 100 L 30 30 0 1 O +X ~ QE 600 -600 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74100_PSPICE +# +DEF 74100_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74100_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ C 0 0 100 R 30 30 0 1 I +X ~ D1 0 -100 100 R 30 30 0 1 I +X ~ D2 0 -200 100 R 30 30 0 1 I +X ~ D3 0 -300 100 R 30 30 0 1 I +X ~ D4 0 -400 100 R 30 30 0 1 I +X ~ Q1 600 -100 100 L 30 30 0 1 O +X ~ Q2 600 -200 100 L 30 30 0 1 O +X ~ Q3 600 -300 100 L 30 30 0 1 O +X ~ Q4 600 -400 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74107_PSPICE +# +DEF 74107_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74107_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -600 0 1 0 N +X ~ J 0 0 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +X ~ CLK 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74109_PSPICE +# +DEF 74109_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74109_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -600 0 1 0 N +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ \K\ 0 -400 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ J 0 0 100 R 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ \Q\ 600 -300 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 74110_PSPICE +# +DEF 74110_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74110_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -800 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J1 0 0 100 R 30 30 0 1 I +X ~ J2 0 -100 100 R 30 30 0 1 I +X ~ J3 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -300 100 R 30 30 0 1 I +X ~ K1 0 -400 100 R 30 30 0 1 I +X ~ K2 0 -500 100 R 30 30 0 1 I +X ~ K3 0 -600 100 R 30 30 0 1 I +X ~ Q 600 -200 100 L 30 30 0 1 O +X ~ \Q\ 600 -400 100 L 30 30 0 1 O +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74111_PSPICE +# +DEF 74111_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74111_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -600 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J 0 0 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -300 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74121_PSPICE +# +DEF 74121_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74121_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -700 0 1 0 N +X ~ A1 0 -400 100 R 30 30 0 1 P +X ~ A2 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ RINT 0 -100 100 R 30 30 0 1 P +X ~ CEXT 0 -200 100 R 30 30 0 1 P +X ~ Q 700 -200 100 L 30 30 0 1 P +X ~ \Q\ 700 -400 100 L 30 30 0 1 P +X ~ REXT/CEXT 0 0 100 R 30 30 0 1 P +X ~ GND 300 -800 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74122_PSPICE +# +DEF 74122_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74122_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -900 0 1 0 N +X ~ RINT 0 -100 100 R 30 30 0 1 P +X ~ GND 200 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ A1 0 -400 100 R 30 30 0 1 P +X ~ A2 0 -500 100 R 30 30 0 1 P +X ~ \Q\ 700 -400 100 L 30 30 0 1 P +X ~ Q 700 -200 100 L 30 30 0 1 P +X ~ REXT/CEXT 0 0 100 R 30 30 0 1 P +X ~ CEXT 0 -200 100 R 30 30 0 1 P +X ~ B1 0 -600 100 R 30 30 0 1 P +X ~ B2 0 -700 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1000 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74123_PSPICE +# +DEF 74123_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74123_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -600 0 1 0 N +X ~ GND 200 -700 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ Q 700 -100 100 L 30 30 0 1 P +X ~ \Q\ 700 -300 100 L 30 30 0 1 P +X ~ REXT/CEXT 0 0 100 R 30 30 0 1 P +X ~ CEXT 0 -100 100 R 30 30 0 1 P +X ~ \CLR\ 300 -700 100 U 30 30 0 1 P +X ~ A 0 -300 100 R 30 30 0 1 P +X ~ B 0 -400 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74125_PSPICE +# +DEF 74125_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74125_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -140 N +C 250 -160 40 0 1 0 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74126_PSPICE +# +DEF 74126_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74126_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -200 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ G 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74128_PSPICE +# +DEF 74128_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74128_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 300 100 N +P 2 0 1 0 100 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +A -250 -90 400 -308 283 0 1 0 N 93 -295 101 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74132_PSPICE +# +DEF 74132_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74132_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74136_PSPICE +# +DEF 74136_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74136_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 300 100 N +P 2 0 1 0 100 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +A -250 -90 400 -308 283 0 1 0 N 93 -295 101 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74147_PSPICE +# +DEF 74147_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74147_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ B 600 -300 100 L 30 30 0 1 P +X ~ A 600 -100 100 L 30 30 0 1 P +X ~ C 600 -500 100 L 30 30 0 1 P +X ~ D 600 -700 100 L 30 30 0 1 P +X ~ IN1 0 0 100 R 30 30 0 1 P +X ~ IN2 0 -100 100 R 30 30 0 1 P +X ~ IN3 0 -200 100 R 30 30 0 1 P +X ~ IN4 0 -300 100 R 30 30 0 1 P +X ~ IN5 0 -400 100 R 30 30 0 1 P +X ~ IN6 0 -500 100 R 30 30 0 1 P +X ~ IN7 0 -600 100 R 30 30 0 1 P +X ~ IN8 0 -700 100 R 30 30 0 1 P +X ~ IN9 0 -800 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74148_PSPICE +# +DEF 74148_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74148_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ A1 600 -200 100 L 30 30 0 1 P +X ~ A0 600 0 100 L 30 30 0 1 P +X ~ A2 600 -400 100 L 30 30 0 1 P +X ~ GS 600 -600 100 L 30 30 0 1 P +X ~ IN0 0 0 100 R 30 30 0 1 P +X ~ IN1 0 -100 100 R 30 30 0 1 P +X ~ IN2 0 -200 100 R 30 30 0 1 P +X ~ IN3 0 -300 100 R 30 30 0 1 P +X ~ IN4 0 -400 100 R 30 30 0 1 P +X ~ IN5 0 -500 100 R 30 30 0 1 P +X ~ IN6 0 -600 100 R 30 30 0 1 P +X ~ IN7 0 -700 100 R 30 30 0 1 P +X ~ EI 0 -800 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ EO 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74151A_PSPICE +# +DEF 74151A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74151A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1400 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1500 100 U 30 30 0 1 W +X ~ Z 600 -300 100 L 30 30 0 1 O +X ~ \Z\ 600 -700 100 L 30 30 0 1 O +X ~ \E\ 0 0 100 R 30 30 0 1 I +X ~ I0 0 -200 100 R 30 30 0 1 I +X ~ I1 0 -300 100 R 30 30 0 1 I +X ~ I2 0 -400 100 R 30 30 0 1 I +X ~ I3 0 -500 100 R 30 30 0 1 I +X ~ I4 0 -600 100 R 30 30 0 1 I +X ~ I5 0 -700 100 R 30 30 0 1 I +X ~ I6 0 -800 100 R 30 30 0 1 I +X ~ I7 0 -900 100 R 30 30 0 1 I +X ~ S0 0 -1100 100 R 30 30 0 1 I +X ~ S1 0 -1200 100 R 30 30 0 1 I +X ~ S2 0 -1300 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 54152A_PSPICE +# +DEF 54152A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "54152A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1200 0 1 0 N +X ~ W 600 -500 100 L 30 30 0 1 O +X ~ GND 300 -1300 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ D0 0 0 100 R 30 30 0 1 I +X ~ D1 0 -100 100 R 30 30 0 1 I +X ~ D2 0 -200 100 R 30 30 0 1 I +X ~ D3 0 -300 100 R 30 30 0 1 I +X ~ D4 0 -400 100 R 30 30 0 1 I +X ~ D5 0 -500 100 R 30 30 0 1 I +X ~ D6 0 -600 100 R 30 30 0 1 I +X ~ D7 0 -700 100 R 30 30 0 1 I +X ~ A 0 -900 100 R 30 30 0 1 I +X ~ B 0 -1000 100 R 30 30 0 1 I +X ~ C 0 -1100 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74153_PSPICE +# +DEF 74153_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74153_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1400 0 1 0 N +X ~ GND 300 -1500 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ ZA 600 -500 100 L 30 30 0 1 O +X ~ ZB 600 -1100 100 L 30 30 0 1 O +X ~ S0 0 0 100 R 30 30 0 1 I +X ~ S1 0 -100 100 R 30 30 0 1 I +X ~ \EA\ 0 -300 100 R 30 30 0 1 I +X ~ I0A 0 -400 100 R 30 30 0 1 I +X ~ I1A 0 -500 100 R 30 30 0 1 I +X ~ I2A 0 -600 100 R 30 30 0 1 I +X ~ I3A 0 -700 100 R 30 30 0 1 I +X ~ \EB\ 0 -900 100 R 30 30 0 1 I +X ~ I0B 0 -1000 100 R 30 30 0 1 I +X ~ I1B 0 -1100 100 R 30 30 0 1 I +X ~ I2B 0 -1200 100 R 30 30 0 1 I +X ~ I3B 0 -1300 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74154_PSPICE +# +DEF 74154_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74154_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1600 0 1 0 N +X ~ GND 300 -1700 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \G\1 0 0 100 R 30 30 0 1 I +X ~ \G\2 0 -200 100 R 30 30 0 1 I +X ~ A 0 -600 100 R 30 30 0 1 I +X ~ B 0 -800 100 R 30 30 0 1 I +X ~ C 0 -1000 100 R 30 30 0 1 I +X ~ D 0 -1200 100 R 30 30 0 1 I +X ~ Y0 600 0 100 L 30 30 0 1 O +X ~ Y1 600 -100 100 L 30 30 0 1 O +X ~ Y2 600 -200 100 L 30 30 0 1 O +X ~ Y3 600 -300 100 L 30 30 0 1 O +X ~ Y4 600 -400 100 L 30 30 0 1 O +X ~ Y5 600 -500 100 L 30 30 0 1 O +X ~ Y6 600 -600 100 L 30 30 0 1 O +X ~ Y7 600 -700 100 L 30 30 0 1 O +X ~ Y8 600 -800 100 L 30 30 0 1 O +X ~ Y9 600 -900 100 L 30 30 0 1 O +X ~ Y10 600 -1000 100 L 30 30 0 1 O +X ~ Y11 600 -1100 100 L 30 30 0 1 O +X ~ Y12 600 -1200 100 L 30 30 0 1 O +X ~ Y13 600 -1300 100 L 30 30 0 1 O +X ~ Y14 600 -1400 100 L 30 30 0 1 O +X ~ Y15 600 -1500 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 74155_PSPICE +# +DEF 74155_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74155_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ 1Y0 600 0 100 L 30 30 0 1 O +X ~ 1Y1 600 -100 100 L 30 30 0 1 O +X ~ 1Y2 600 -200 100 L 30 30 0 1 O +X ~ 1Y3 600 -300 100 L 30 30 0 1 O +X ~ 2Y0 600 -400 100 L 30 30 0 1 O +X ~ 2Y1 600 -500 100 L 30 30 0 1 O +X ~ 2Y2 600 -600 100 L 30 30 0 1 O +X ~ 2Y3 600 -700 100 L 30 30 0 1 O +X ~ 1\G\ 0 0 100 R 30 30 0 1 I +X ~ 1C 0 -100 100 R 30 30 0 1 I +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ B 0 -400 100 R 30 30 0 1 I +X ~ 2\G\ 0 -600 100 R 30 30 0 1 I +X ~ 2\C\ 0 -700 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74156_PSPICE +# +DEF 74156_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74156_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ 1Y0 600 0 100 L 30 30 0 1 O +X ~ 1Y1 600 -100 100 L 30 30 0 1 O +X ~ 1Y2 600 -200 100 L 30 30 0 1 O +X ~ 1Y3 600 -300 100 L 30 30 0 1 O +X ~ 2Y0 600 -400 100 L 30 30 0 1 O +X ~ 2Y1 600 -500 100 L 30 30 0 1 O +X ~ 2Y2 600 -600 100 L 30 30 0 1 O +X ~ 2Y3 600 -700 100 L 30 30 0 1 O +X ~ 1\G\ 0 0 100 R 30 30 0 1 I +X ~ 1C 0 -100 100 R 30 30 0 1 I +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ B 0 -400 100 R 30 30 0 1 I +X ~ 2\G\ 0 -600 100 R 30 30 0 1 I +X ~ 2\C\ 0 -700 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74157_PSPICE +# +DEF 74157_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74157_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1100 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ 1Y 700 -100 100 L 30 30 0 1 P +X ~ 2Y 700 -300 100 L 30 30 0 1 P +X ~ 3Y 700 -500 100 L 30 30 0 1 P +X ~ 4Y 700 -700 100 L 30 30 0 1 P +X ~ 1A 0 0 100 R 30 30 0 1 P +X ~ 1B 0 -100 100 R 30 30 0 1 P +X ~ 2A 0 -200 100 R 30 30 0 1 P +X ~ 2B 0 -300 100 R 30 30 0 1 P +X ~ 3A 0 -400 100 R 30 30 0 1 P +X ~ 3B 0 -500 100 R 30 30 0 1 P +X ~ 4A 0 -600 100 R 30 30 0 1 P +X ~ 4B 0 -700 100 R 30 30 0 1 P +X ~ STROBE\G\ 0 -900 100 R 30 30 0 1 P +X ~ SELECT\A\B 0 -1000 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74159_PSPICE +# +DEF 74159_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74159_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1600 0 1 0 N +X ~ GND 300 -1700 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \G\1 0 0 100 R 30 30 0 1 I +X ~ \G\2 0 -200 100 R 30 30 0 1 I +X ~ A 0 -600 100 R 30 30 0 1 I +X ~ B 0 -800 100 R 30 30 0 1 I +X ~ C 0 -1000 100 R 30 30 0 1 I +X ~ D 0 -1200 100 R 30 30 0 1 I +X ~ Y0 600 0 100 L 30 30 0 1 O +X ~ Y1 600 -100 100 L 30 30 0 1 O +X ~ Y2 600 -200 100 L 30 30 0 1 O +X ~ Y3 600 -300 100 L 30 30 0 1 O +X ~ Y4 600 -400 100 L 30 30 0 1 O +X ~ Y5 600 -500 100 L 30 30 0 1 O +X ~ Y6 600 -600 100 L 30 30 0 1 O +X ~ Y7 600 -700 100 L 30 30 0 1 O +X ~ Y8 600 -800 100 L 30 30 0 1 O +X ~ Y9 600 -900 100 L 30 30 0 1 O +X ~ Y10 600 -1000 100 L 30 30 0 1 O +X ~ Y11 600 -1100 100 L 30 30 0 1 O +X ~ Y12 600 -1200 100 L 30 30 0 1 O +X ~ Y13 600 -1300 100 L 30 30 0 1 O +X ~ Y14 600 -1400 100 L 30 30 0 1 O +X ~ Y15 600 -1500 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 74160_PSPICE +# +DEF 74160_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74160_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 74161_PSPICE +# +DEF 74161_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74161_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 74162_PSPICE +# +DEF 74162_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74162_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 74163_PSPICE +# +DEF 74163_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74163_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 74164_PSPICE +# +DEF 74164_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74164_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 300 500 -700 0 1 0 N +X ~ GND 200 -800 100 U 30 30 0 1 W +X ~ PWR 300 400 100 D 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -400 100 R 30 30 0 1 I +X ~ QA 600 200 100 L 30 30 0 1 O +X ~ QB 600 100 100 L 30 30 0 1 O +X ~ QC 600 0 100 L 30 30 0 1 O +X ~ QD 600 -100 100 L 30 30 0 1 O +X ~ QE 600 -200 100 L 30 30 0 1 O +X ~ QF 600 -300 100 L 30 30 0 1 O +X ~ QG 600 -400 100 L 30 30 0 1 O +X ~ QH 600 -500 100 L 30 30 0 1 O +X ~ \CLR\ 300 -800 100 U 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74173_PSPICE +# +DEF 74173_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74173_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ GND 200 -1200 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ CLR 300 -1200 100 U 30 30 0 1 I +X ~ \G\1 0 -100 100 R 30 30 0 1 I +X ~ \G\2 0 -200 100 R 30 30 0 1 I +X ~ 1D 0 -300 100 R 30 30 0 1 I +X ~ 2D 0 -400 100 R 30 30 0 1 I +X ~ 3D 0 -500 100 R 30 30 0 1 I +X ~ 4D 0 -600 100 R 30 30 0 1 I +X ~ M 0 -800 100 R 30 30 0 1 I +X ~ N 0 -900 100 R 30 30 0 1 I +X ~ 1Q 600 -300 100 L 30 30 0 1 O +X ~ 2Q 600 -400 100 L 30 30 0 1 O +X ~ 3Q 600 -500 100 L 30 30 0 1 O +X ~ 4Q 600 -600 100 L 30 30 0 1 O +X ~ CLK 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74174_PSPICE +# +DEF 74174_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74174_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ 1D 0 0 100 R 30 30 0 1 P +X ~ 2D 0 -100 100 R 30 30 0 1 P +X ~ 3D 0 -200 100 R 30 30 0 1 P +X ~ 4D 0 -300 100 R 30 30 0 1 P +X ~ 5D 0 -400 100 R 30 30 0 1 P +X ~ CLK 0 -600 100 R 30 30 0 1 P +X ~ \CLR\ 300 -900 100 U 30 30 0 1 P +X ~ 1Q 600 0 100 L 30 30 0 1 P +X ~ 2Q 600 -100 100 L 30 30 0 1 P +X ~ 4Q 600 -300 100 L 30 30 0 1 P +X ~ 5Q 600 -400 100 L 30 30 0 1 P +X ~ GND 200 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 3Q 600 -200 100 L 30 30 0 1 P +X ~ 6D 0 -500 100 R 30 30 0 1 P +X ~ 6Q 600 -500 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74175_PSPICE +# +DEF 74175_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74175_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ 1D 0 0 100 R 30 30 0 1 P +X ~ 2D 0 -200 100 R 30 30 0 1 P +X ~ 3D 0 -400 100 R 30 30 0 1 P +X ~ 4D 0 -600 100 R 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ 1Q 600 0 100 L 30 30 0 1 P +X ~ 1\Q\ 600 -100 100 L 30 30 0 1 P +X ~ 3Q 600 -400 100 L 30 30 0 1 P +X ~ 4Q 600 -600 100 L 30 30 0 1 P +X ~ 2\Q\ 600 -300 100 L 30 30 0 1 P +X ~ 3\Q\ 600 -500 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ 2Q 600 -200 100 L 30 30 0 1 P +X ~ 4\Q\ 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74176_PSPICE +# +DEF 74176_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74176_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ GND 200 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -100 100 R 30 30 0 1 P +X ~ B 0 -200 100 R 30 30 0 1 P +X ~ C 0 -300 100 R 30 30 0 1 P +X ~ D 0 -400 100 R 30 30 0 1 P +X ~ \CLR\ 300 -900 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -200 100 L 30 30 0 1 P +X ~ QC 600 -300 100 L 30 30 0 1 P +X ~ QD 600 -400 100 L 30 30 0 1 P +X ~ CLK1 0 -500 100 R 30 30 0 1 P +X ~ CLK2 0 -600 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74177_PSPICE +# +DEF 74177_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74177_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ GND 200 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -100 100 R 30 30 0 1 P +X ~ B 0 -200 100 R 30 30 0 1 P +X ~ C 0 -300 100 R 30 30 0 1 P +X ~ D 0 -400 100 R 30 30 0 1 P +X ~ \CLR\ 300 -900 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -200 100 L 30 30 0 1 P +X ~ QC 600 -300 100 L 30 30 0 1 P +X ~ QD 600 -400 100 L 30 30 0 1 P +X ~ CLK1 0 -500 100 R 30 30 0 1 P +X ~ CLK2 0 -600 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74178_PSPICE +# +DEF 74178_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74178_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ SERIAL 0 0 100 R 30 30 0 1 P +X ~ LOAD 0 -100 100 R 30 30 0 1 P +X ~ SHIFT 0 -200 100 R 30 30 0 1 P +X ~ A 0 -400 100 R 30 30 0 1 P +X ~ B 0 -500 100 R 30 30 0 1 P +X ~ C 0 -600 100 R 30 30 0 1 P +X ~ D 0 -700 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ CLK 0 -900 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74179_PSPICE +# +DEF 74179_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74179_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ GND 200 -1200 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ SERIAL 0 0 100 R 30 30 0 1 P +X ~ LOAD 0 -100 100 R 30 30 0 1 P +X ~ SHIFT 0 -200 100 R 30 30 0 1 P +X ~ A 0 -400 100 R 30 30 0 1 P +X ~ B 0 -500 100 R 30 30 0 1 P +X ~ C 0 -600 100 R 30 30 0 1 P +X ~ D 0 -700 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ CLK 0 -900 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1200 100 U 30 30 0 1 P +X ~ \Q\D 600 -900 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74180_PSPICE +# +DEF 74180_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74180_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1000 0 1 0 N +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 P +X ~ B 0 -100 100 R 30 30 0 1 P +X ~ C 0 -200 100 R 30 30 0 1 P +X ~ D 0 -300 100 R 30 30 0 1 P +X ~ E 0 -400 100 R 30 30 0 1 P +X ~ F 0 -500 100 R 30 30 0 1 P +X ~ G 0 -600 100 R 30 30 0 1 P +X ~ H 0 -700 100 R 30 30 0 1 P +X ~ ODD_IN 0 -900 100 R 30 30 0 1 P +X ~ EVEN_IN 0 -800 100 R 30 30 0 1 P +X ~ ODD_OUT 700 -400 100 L 30 30 0 1 P +X ~ EVEN_OUT 700 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74181_PSPICE +# +DEF 74181_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74181_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 600 -1000 0 1 0 N +X ~ S1 400 300 100 D 30 30 0 1 P +X ~ S2 300 300 100 D 30 30 0 1 P +X ~ S3 200 300 100 D 30 30 0 1 P +X ~ \A\0 0 0 100 R 30 30 0 1 P +X ~ \A\1 0 -100 100 R 30 30 0 1 P +X ~ \A\2 0 -200 100 R 30 30 0 1 P +X ~ \A\3 0 -300 100 R 30 30 0 1 P +X ~ \B\0 0 -400 100 R 30 30 0 1 P +X ~ \B\1 0 -500 100 R 30 30 0 1 P +X ~ \B\2 0 -600 100 R 30 30 0 1 P +X ~ \B\3 0 -700 100 R 30 30 0 1 P +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ PWR 100 300 100 D 30 30 0 1 W +X ~ CN 0 -800 100 R 30 30 0 1 P +X ~ M 0 -900 100 R 30 30 0 1 P +X ~ \F\0 700 0 100 L 30 30 0 1 P +X ~ \F\1 700 -100 100 L 30 30 0 1 P +X ~ \F\2 700 -200 100 L 30 30 0 1 P +X ~ \F\3 700 -300 100 L 30 30 0 1 P +X ~ A=B 700 -500 100 L 30 30 0 1 P +X ~ CN+4 700 -600 100 L 30 30 0 1 P +X ~ \G\ 700 -700 100 L 30 30 0 1 P +X ~ \P\ 700 -800 100 L 30 30 0 1 P +X ~ S0 500 300 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74182_PSPICE +# +DEF 74182_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74182_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ \P\0 0 0 100 R 30 30 0 1 P +X ~ \P\1 0 -100 100 R 30 30 0 1 P +X ~ \P\2 0 -200 100 R 30 30 0 1 P +X ~ \P\3 0 -300 100 R 30 30 0 1 P +X ~ \G\0 0 -400 100 R 30 30 0 1 P +X ~ \G\1 0 -500 100 R 30 30 0 1 P +X ~ \G\3 0 -700 100 R 30 30 0 1 P +X ~ CN 0 -800 100 R 30 30 0 1 P +X ~ \G\2 0 -600 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ \P\ 600 -200 100 L 30 30 0 1 P +X ~ \G\ 600 -400 100 L 30 30 0 1 P +X ~ CN+Z 600 -800 100 L 30 30 0 1 P +X ~ CN+X 600 -600 100 L 30 30 0 1 P +X ~ CN+Y 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74184_PSPICE +# +DEF 74184_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74184_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -200 100 R 30 30 0 1 P +X ~ B 0 -300 100 R 30 30 0 1 P +X ~ C 0 -400 100 R 30 30 0 1 P +X ~ D 0 -500 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ E 0 -600 100 R 30 30 0 1 P +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ Y1 600 0 100 L 30 30 0 1 P +X ~ Y2 600 -100 100 L 30 30 0 1 P +X ~ Y3 600 -200 100 L 30 30 0 1 P +X ~ Y4 600 -300 100 L 30 30 0 1 P +X ~ Y5 600 -400 100 L 30 30 0 1 P +X ~ Y6 600 -500 100 L 30 30 0 1 P +X ~ Y7 600 -600 100 L 30 30 0 1 P +X ~ Y8 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74185A_PSPICE +# +DEF 74185A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74185A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -200 100 R 30 30 0 1 P +X ~ B 0 -300 100 R 30 30 0 1 P +X ~ C 0 -400 100 R 30 30 0 1 P +X ~ D 0 -500 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ E 0 -600 100 R 30 30 0 1 P +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ Y1 600 0 100 L 30 30 0 1 P +X ~ Y2 600 -100 100 L 30 30 0 1 P +X ~ Y3 600 -200 100 L 30 30 0 1 P +X ~ Y4 600 -300 100 L 30 30 0 1 P +X ~ Y5 600 -400 100 L 30 30 0 1 P +X ~ Y6 600 -500 100 L 30 30 0 1 P +X ~ Y7 600 -600 100 L 30 30 0 1 P +X ~ Y8 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74194_PSPICE +# +DEF 74194_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74194_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ S1 0 0 100 R 30 30 0 1 P +X ~ S0 0 -100 100 R 30 30 0 1 P +X ~ SR 0 -300 100 R 30 30 0 1 P +X ~ A 0 -400 100 R 30 30 0 1 P +X ~ B 0 -500 100 R 30 30 0 1 P +X ~ C 0 -600 100 R 30 30 0 1 P +X ~ D 0 -700 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ SL 0 -200 100 R 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74195_PSPICE +# +DEF 74195_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74195_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1200 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1300 100 U 30 30 0 1 W +X ~ SH/\LD\ 0 0 100 R 30 30 0 1 P +X ~ J 0 -200 100 R 30 30 0 1 P +X ~ \K\ 0 -300 100 R 30 30 0 1 P +X ~ CLK 0 -1000 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1300 100 U 30 30 0 1 P +X ~ A 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ C 0 -700 100 R 30 30 0 1 P +X ~ D 0 -800 100 R 30 30 0 1 P +X ~ QA 600 -200 100 L 30 30 0 1 P +X ~ QB 600 -400 100 L 30 30 0 1 P +X ~ QC 600 -600 100 L 30 30 0 1 P +X ~ QD 600 -800 100 L 30 30 0 1 P +X ~ \Q\D 600 -1000 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74196_PSPICE +# +DEF 74196_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74196_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ CLK1 0 -200 100 R 30 30 0 1 P +X ~ CLK2 0 -300 100 R 30 30 0 1 P +X ~ A 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ C 0 -700 100 R 30 30 0 1 P +X ~ D 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74197_PSPICE +# +DEF 74197_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74197_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ CLK1 0 -200 100 R 30 30 0 1 P +X ~ CLK2 0 -300 100 R 30 30 0 1 P +X ~ A 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ C 0 -700 100 R 30 30 0 1 P +X ~ D 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74246_PSPICE +# +DEF 74246_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74246_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ INA 0 0 100 R 30 30 0 1 P +X ~ INB 0 -100 100 R 30 30 0 1 P +X ~ INC 0 -200 100 R 30 30 0 1 P +X ~ IND 0 -300 100 R 30 30 0 1 P +X ~ \BI\/\RBO\ 0 -800 100 R 30 30 0 1 P +X ~ \LT\ 0 -600 100 R 30 30 0 1 P +X ~ \RBI\ 0 -700 100 R 30 30 0 1 P +X ~ OUTA 600 0 100 L 30 30 0 1 P +X ~ OUTB 600 -100 100 L 30 30 0 1 P +X ~ OUTC 600 -200 100 L 30 30 0 1 P +X ~ OUTD 600 -300 100 L 30 30 0 1 P +X ~ OUTE 600 -400 100 L 30 30 0 1 P +X ~ OUTF 600 -500 100 L 30 30 0 1 P +X ~ OUTG 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74248_PSPICE +# +DEF 74248_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74248_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ INA 0 0 100 R 30 30 0 1 P +X ~ INB 0 -100 100 R 30 30 0 1 P +X ~ INC 0 -200 100 R 30 30 0 1 P +X ~ IND 0 -300 100 R 30 30 0 1 P +X ~ \BI\/\RBO\ 0 -800 100 R 30 30 0 1 P +X ~ \LT\ 0 -600 100 R 30 30 0 1 P +X ~ \RBI\ 0 -700 100 R 30 30 0 1 P +X ~ OUTA 600 0 100 L 30 30 0 1 P +X ~ OUTB 600 -100 100 L 30 30 0 1 P +X ~ OUTC 600 -200 100 L 30 30 0 1 P +X ~ OUTD 600 -300 100 L 30 30 0 1 P +X ~ OUTE 600 -400 100 L 30 30 0 1 P +X ~ OUTF 600 -500 100 L 30 30 0 1 P +X ~ OUTG 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74249_PSPICE +# +DEF 74249_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74249_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ INA 0 0 100 R 30 30 0 1 P +X ~ INB 0 -100 100 R 30 30 0 1 P +X ~ INC 0 -200 100 R 30 30 0 1 P +X ~ IND 0 -300 100 R 30 30 0 1 P +X ~ \BI\/\RBO\ 0 -800 100 R 30 30 0 1 P +X ~ \LT\ 0 -600 100 R 30 30 0 1 P +X ~ \RBI\ 0 -700 100 R 30 30 0 1 P +X ~ OUTA 600 0 100 L 30 30 0 1 P +X ~ OUTB 600 -100 100 L 30 30 0 1 P +X ~ OUTC 600 -200 100 L 30 30 0 1 P +X ~ OUTD 600 -300 100 L 30 30 0 1 P +X ~ OUTE 600 -400 100 L 30 30 0 1 P +X ~ OUTF 600 -500 100 L 30 30 0 1 P +X ~ OUTG 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74251_PSPICE +# +DEF 74251_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74251_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1400 0 1 0 N +X ~ D0 0 -200 100 R 30 30 0 1 P +X ~ D1 0 -300 100 R 30 30 0 1 P +X ~ D2 0 -400 100 R 30 30 0 1 P +X ~ D3 0 -500 100 R 30 30 0 1 P +X ~ D4 0 -600 100 R 30 30 0 1 P +X ~ D6 0 -800 100 R 30 30 0 1 P +X ~ D7 0 -900 100 R 30 30 0 1 P +X ~ A 0 -1100 100 R 30 30 0 1 P +X ~ B 0 -1200 100 R 30 30 0 1 P +X ~ C 0 -1300 100 R 30 30 0 1 P +X ~ Y 600 -200 100 L 30 30 0 1 P +X ~ \W\ 600 -400 100 L 30 30 0 1 P +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1500 100 U 30 30 0 1 W +X ~ D5 0 -700 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74259_PSPICE +# +DEF 74259_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74259_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1000 100 U 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ D 0 -200 100 R 30 30 0 1 P +X ~ S0 0 -400 100 R 30 30 0 1 P +X ~ S1 0 -500 100 R 30 30 0 1 P +X ~ S2 0 -600 100 R 30 30 0 1 P +X ~ Q0 600 0 100 L 30 30 0 1 P +X ~ Q1 600 -100 100 L 30 30 0 1 P +X ~ Q2 600 -200 100 L 30 30 0 1 P +X ~ Q3 600 -300 100 L 30 30 0 1 P +X ~ Q4 600 -400 100 L 30 30 0 1 P +X ~ Q5 600 -500 100 L 30 30 0 1 P +X ~ Q6 600 -600 100 L 30 30 0 1 P +X ~ Q7 600 -700 100 L 30 30 0 1 P +X ~ \CLR\ 300 -1000 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74265_PSPICE +# +DEF 74265_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74265_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ 1W 600 0 100 L 30 30 0 1 P +X ~ 1Y 600 -100 100 L 30 30 0 1 P +X ~ 2A 0 -300 100 R 30 30 0 1 P +X ~ 2B 0 -400 100 R 30 30 0 1 P +X ~ 2W 600 -300 100 L 30 30 0 1 P +X ~ 2Y 600 -400 100 L 30 30 0 1 P +X ~ 3A 0 -600 100 R 30 30 0 1 P +X ~ 3B 0 -700 100 R 30 30 0 1 P +X ~ 3Y 600 -700 100 L 30 30 0 1 P +X ~ 4A 0 -900 100 R 30 30 0 1 P +X ~ 4W 600 -900 100 L 30 30 0 1 P +X ~ 3W 600 -600 100 L 30 30 0 1 P +X ~ 4Y 600 -1000 100 L 30 30 0 1 P +X ~ 1A 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74273_PSPICE +# +DEF 74273_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74273_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ D1 0 0 100 R 30 30 0 1 P +X ~ D2 0 -100 100 R 30 30 0 1 P +X ~ D3 0 -200 100 R 30 30 0 1 P +X ~ D4 0 -300 100 R 30 30 0 1 P +X ~ D5 0 -400 100 R 30 30 0 1 P +X ~ D6 0 -500 100 R 30 30 0 1 P +X ~ D7 0 -600 100 R 30 30 0 1 P +X ~ D8 0 -700 100 R 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ Q1 600 0 100 L 30 30 0 1 P +X ~ Q2 600 -100 100 L 30 30 0 1 P +X ~ Q3 600 -200 100 L 30 30 0 1 P +X ~ Q4 600 -300 100 L 30 30 0 1 P +X ~ Q5 600 -400 100 L 30 30 0 1 P +X ~ Q6 600 -500 100 L 30 30 0 1 P +X ~ Q7 600 -600 100 L 30 30 0 1 P +X ~ Q8 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74276_PSPICE +# +DEF 74276_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74276_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -1300 0 1 0 N +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -1400 100 U 30 30 0 1 W +X ~ \PRE\ 300 300 100 D 30 30 0 1 P +X ~ 1J 0 0 100 R 30 30 0 1 P +X ~ 1\K\ 0 -200 100 R 30 30 0 1 P +X ~ 1CLK 0 -100 100 R 30 30 0 1 P +X ~ 2J 0 -300 100 R 30 30 0 1 P +X ~ 2CLK 0 -400 100 R 30 30 0 1 P +X ~ 2\K\ 0 -500 100 R 30 30 0 1 P +X ~ 3J 0 -600 100 R 30 30 0 1 P +X ~ 3CLK 0 -700 100 R 30 30 0 1 P +X ~ 3\K\ 0 -800 100 R 30 30 0 1 P +X ~ 4J 0 -900 100 R 30 30 0 1 P +X ~ 4CLK 0 -1000 100 R 30 30 0 1 P +X ~ 4\K\ 0 -1100 100 R 30 30 0 1 P +X ~ 1Q 600 0 100 L 30 30 0 1 P +X ~ 2Q 600 -300 100 L 30 30 0 1 P +X ~ 3Q 600 -600 100 L 30 30 0 1 P +X ~ 4Q 600 -900 100 L 30 30 0 1 P +X ~ \CLR\ 300 -1400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74278_PSPICE +# +DEF 74278_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74278_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -700 0 1 0 N +X ~ GND 300 -800 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ P0 0 0 100 R 30 30 0 1 P +X ~ STRB 0 -100 100 R 30 30 0 1 P +X ~ D1 0 -300 100 R 30 30 0 1 P +X ~ D2 0 -400 100 R 30 30 0 1 P +X ~ D3 0 -500 100 R 30 30 0 1 P +X ~ D4 0 -600 100 R 30 30 0 1 P +X ~ P1 600 0 100 L 30 30 0 1 P +X ~ Y1 600 -300 100 L 30 30 0 1 P +X ~ Y2 600 -400 100 L 30 30 0 1 P +X ~ Y3 600 -500 100 L 30 30 0 1 P +X ~ Y4 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74279_PSPICE +# +DEF 74279_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74279_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -600 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -700 100 U 30 30 0 1 W +X ~ 1\R\ 0 0 100 R 30 30 0 1 P +X ~ 1\S\1 0 -100 100 R 30 30 0 1 P +X ~ 1\S\2 0 -200 100 R 30 30 0 1 P +X ~ 2\R\ 0 -400 100 R 30 30 0 1 P +X ~ 2\S\ 0 -500 100 R 30 30 0 1 P +X ~ 1Q 600 -200 100 L 30 30 0 1 P +X ~ 2Q 600 -500 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74283_PSPICE +# +DEF 74283_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74283_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ A1 0 -700 100 R 30 30 0 1 P +X ~ A2 0 -500 100 R 30 30 0 1 P +X ~ A3 0 -300 100 R 30 30 0 1 P +X ~ A4 0 -100 100 R 30 30 0 1 P +X ~ B1 0 -600 100 R 30 30 0 1 P +X ~ B2 0 -400 100 R 30 30 0 1 P +X ~ B3 0 -200 100 R 30 30 0 1 P +X ~ B4 0 0 100 R 30 30 0 1 P +X ~ C0 0 -900 100 R 30 30 0 1 P +X ~ C4 600 -900 100 L 30 30 0 1 P +X ~ SUM1 600 -700 100 L 30 30 0 1 P +X ~ SUM2 600 -500 100 L 30 30 0 1 P +X ~ SUM3 600 -300 100 L 30 30 0 1 P +X ~ SUM4 600 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74290_PSPICE +# +DEF 74290_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74290_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ R91 0 0 100 R 30 30 0 1 P +X ~ R92 0 -100 100 R 30 30 0 1 P +X ~ CLKA 0 -300 100 R 30 30 0 1 P +X ~ CLKB 0 -400 100 R 30 30 0 1 P +X ~ R01 0 -600 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ R02 0 -700 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74293_PSPICE +# +DEF 74293_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74293_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ GND 300 -600 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ CLKA 0 0 100 R 30 30 0 1 P +X ~ CLKB 0 -100 100 R 30 30 0 1 P +X ~ R01 0 -300 100 R 30 30 0 1 P +X ~ R02 0 -400 100 R 30 30 0 1 P +X ~ QA 600 0 100 L 30 30 0 1 P +X ~ QB 600 -100 100 L 30 30 0 1 P +X ~ QC 600 -200 100 L 30 30 0 1 P +X ~ QD 600 -300 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74298_PSPICE +# +DEF 74298_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74298_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ WS 0 0 100 R 30 30 0 1 P +X ~ A1 0 -200 100 R 30 30 0 1 P +X ~ A2 0 -300 100 R 30 30 0 1 P +X ~ B1 0 -400 100 R 30 30 0 1 P +X ~ B2 0 -500 100 R 30 30 0 1 P +X ~ C1 0 -600 100 R 30 30 0 1 P +X ~ C2 0 -700 100 R 30 30 0 1 P +X ~ D1 0 -800 100 R 30 30 0 1 P +X ~ D2 0 -900 100 R 30 30 0 1 P +X ~ CLK 0 -1000 100 R 30 30 0 1 P +X ~ QA 600 -200 100 L 30 30 0 1 P +X ~ QB 600 -400 100 L 30 30 0 1 P +X ~ QC 600 -600 100 L 30 30 0 1 P +X ~ QD 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74351_PSPICE +# +DEF 74351_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74351_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -2000 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -2100 100 U 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ 1D0 0 -200 100 R 30 30 0 1 P +X ~ 1D1 0 -300 100 R 30 30 0 1 P +X ~ 1D2 0 -400 100 R 30 30 0 1 P +X ~ 1D3 0 -500 100 R 30 30 0 1 P +X ~ D4 0 -1200 100 R 30 30 0 1 P +X ~ D5 0 -1300 100 R 30 30 0 1 P +X ~ D6 0 -1400 100 R 30 30 0 1 P +X ~ D7 0 -1500 100 R 30 30 0 1 P +X ~ A 0 -1700 100 R 30 30 0 1 P +X ~ B 0 -1800 100 R 30 30 0 1 P +X ~ C 0 -1900 100 R 30 30 0 1 P +X ~ 2D0 0 -700 100 R 30 30 0 1 P +X ~ 2D1 0 -800 100 R 30 30 0 1 P +X ~ 2D2 0 -900 100 R 30 30 0 1 P +X ~ 2D3 0 -1000 100 R 30 30 0 1 P +X ~ 1Y 600 -200 100 L 30 30 0 1 P +X ~ 2Y 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74365A_PSPICE +# +DEF 74365A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74365A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \G\1 0 0 100 R 30 30 0 1 P +X ~ \G\2 0 -100 100 R 30 30 0 1 P +X ~ A1 0 -300 100 R 30 30 0 1 P +X ~ A2 0 -400 100 R 30 30 0 1 P +X ~ A3 0 -500 100 R 30 30 0 1 P +X ~ A4 0 -600 100 R 30 30 0 1 P +X ~ A5 0 -700 100 R 30 30 0 1 P +X ~ A6 0 -800 100 R 30 30 0 1 P +X ~ Y1 600 -300 100 L 30 30 0 1 P +X ~ Y2 600 -400 100 L 30 30 0 1 P +X ~ Y3 600 -500 100 L 30 30 0 1 P +X ~ Y4 600 -600 100 L 30 30 0 1 P +X ~ Y5 600 -700 100 L 30 30 0 1 P +X ~ Y6 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74366A_PSPICE +# +DEF 74366A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74366A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \G\1 0 0 100 R 30 30 0 1 P +X ~ \G\2 0 -100 100 R 30 30 0 1 P +X ~ A1 0 -300 100 R 30 30 0 1 P +X ~ A2 0 -400 100 R 30 30 0 1 P +X ~ A3 0 -500 100 R 30 30 0 1 P +X ~ A4 0 -600 100 R 30 30 0 1 P +X ~ A5 0 -700 100 R 30 30 0 1 P +X ~ A6 0 -800 100 R 30 30 0 1 P +X ~ Y1 600 -300 100 L 30 30 0 1 P +X ~ Y2 600 -400 100 L 30 30 0 1 P +X ~ Y3 600 -500 100 L 30 30 0 1 P +X ~ Y4 600 -600 100 L 30 30 0 1 P +X ~ Y5 600 -700 100 L 30 30 0 1 P +X ~ Y6 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74367A_PSPICE +# +DEF 74367A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74367A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 1\G\ 0 0 100 R 30 30 0 1 P +X ~ 1A1 0 -100 100 R 30 30 0 1 P +X ~ 1A2 0 -200 100 R 30 30 0 1 P +X ~ 1A3 0 -300 100 R 30 30 0 1 P +X ~ 1A4 0 -400 100 R 30 30 0 1 P +X ~ 2\G\ 0 -600 100 R 30 30 0 1 P +X ~ 2A1 0 -700 100 R 30 30 0 1 P +X ~ 2A2 0 -800 100 R 30 30 0 1 P +X ~ 1Y1 600 -100 100 L 30 30 0 1 P +X ~ 1Y2 600 -200 100 L 30 30 0 1 P +X ~ 1Y3 600 -300 100 L 30 30 0 1 P +X ~ 1Y4 600 -400 100 L 30 30 0 1 P +X ~ 2Y2 600 -800 100 L 30 30 0 1 P +X ~ 2Y1 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74368A_PSPICE +# +DEF 74368A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74368A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 1\G\ 0 0 100 R 30 30 0 1 P +X ~ 1A1 0 -100 100 R 30 30 0 1 P +X ~ 1A2 0 -200 100 R 30 30 0 1 P +X ~ 1A3 0 -300 100 R 30 30 0 1 P +X ~ 1A4 0 -400 100 R 30 30 0 1 P +X ~ 2\G\ 0 -600 100 R 30 30 0 1 P +X ~ 2A1 0 -700 100 R 30 30 0 1 P +X ~ 2A2 0 -800 100 R 30 30 0 1 P +X ~ 1Y1 600 -100 100 L 30 30 0 1 P +X ~ 1Y2 600 -200 100 L 30 30 0 1 P +X ~ 1Y3 600 -300 100 L 30 30 0 1 P +X ~ 1Y4 600 -400 100 L 30 30 0 1 P +X ~ 2Y2 600 -800 100 L 30 30 0 1 P +X ~ 2Y1 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74376_PSPICE +# +DEF 74376_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74376_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 1J 0 0 100 R 30 30 0 1 P +X ~ 2J 0 -200 100 R 30 30 0 1 P +X ~ 3J 0 -400 100 R 30 30 0 1 P +X ~ 4J 0 -600 100 R 30 30 0 1 P +X ~ 1\K\ 0 -100 100 R 30 30 0 1 P +X ~ 2\K\ 0 -300 100 R 30 30 0 1 P +X ~ 3\K\ 0 -500 100 R 30 30 0 1 P +X ~ 4\K\ 0 -700 100 R 30 30 0 1 P +X ~ 1Q 600 -100 100 L 30 30 0 1 P +X ~ 2Q 600 -300 100 L 30 30 0 1 P +X ~ 3Q 600 -500 100 L 30 30 0 1 P +X ~ 4Q 600 -700 100 L 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74390_PSPICE +# +DEF 74390_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74390_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -400 0 1 0 N +X ~ GND 200 -500 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +X ~ CKA 0 0 100 R 30 30 0 1 P +X ~ CKB 0 -200 100 R 30 30 0 1 P +X ~ CLR 300 -500 100 U 30 30 0 1 P +X ~ QA 600 100 100 L 30 30 0 1 P +X ~ QB 600 0 100 L 30 30 0 1 P +X ~ QC 600 -100 100 L 30 30 0 1 P +X ~ QD 600 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74393_PSPICE +# +DEF 74393_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74393_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -400 0 1 0 N +X ~ GND 200 -500 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 P +X ~ QA 600 0 100 L 30 30 0 1 P +X ~ QB 600 -100 100 L 30 30 0 1 P +X ~ QC 600 -200 100 L 30 30 0 1 P +X ~ QD 600 -300 100 L 30 30 0 1 P +X ~ CLR 300 -500 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 74425_PSPICE +# +DEF 74425_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74425_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -140 N +C 250 -160 40 0 1 0 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74426_PSPICE +# +DEF 74426_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74426_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -200 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ G 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 74490_PSPICE +# +DEF 74490_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74490_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -400 0 1 0 N +X ~ GND 200 -500 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +X ~ SET9 0 0 100 R 30 30 0 1 P +X ~ CLK 0 -200 100 R 30 30 0 1 P +X ~ CLR 300 -500 100 U 30 30 0 1 P +X ~ QA 600 100 100 L 30 30 0 1 P +X ~ QB 600 0 100 L 30 30 0 1 P +X ~ QC 600 -100 100 L 30 30 0 1 P +X ~ QD 600 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 00_PSPICE +# +DEF 00_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "00_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 01_PSPICE +# +DEF 01_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "01_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ Y 700 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 02_PSPICE +# +DEF 02_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "02_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 03_PSPICE +# +DEF 03_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "03_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 04_PSPICE +# +DEF 04_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "04_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 O +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 05_PSPICE +# +DEF 05_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "05_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 06_PSPICE +# +DEF 06_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "06_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 07_PSPICE +# +DEF 07_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "07_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 08_PSPICE +# +DEF 08_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "08_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 09_PSPICE +# +DEF 09_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "09_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 10_PSPICE +# +DEF 10_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "10_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 11_PSPICE +# +DEF 11_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "11_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 12_PSPICE +# +DEF 12_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "12_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 13_PSPICE +# +DEF 13_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "13_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +P 2 0 1 0 200 -150 350 -150 N +P 2 0 1 0 350 -150 350 -250 N +P 2 0 1 0 400 -250 250 -250 N +P 2 0 1 0 250 -250 250 -150 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 O +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 14_PSPICE +# +DEF 14_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "14_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +P 2 0 1 0 140 40 260 40 N +P 2 0 1 0 260 40 260 -40 N +P 2 0 1 0 300 -40 180 -40 N +P 2 0 1 0 180 -40 180 40 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 O +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 16_PSPICE +# +DEF 16_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "16_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 17_PSPICE +# +DEF 17_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "17_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 200 N +P 2 0 1 0 100 200 100 -200 N +P 2 0 1 0 100 -200 400 0 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ Y 500 0 100 L 30 30 0 1 P +X ~ GND 250 -200 100 U 30 30 0 1 W +X ~ PWR 250 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 20_PSPICE +# +DEF 20_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "20_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 O +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 22_PSPICE +# +DEF 22_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "22_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 P +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 23_PSPICE +# +DEF 23_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "23_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -1300 N +P 2 0 1 0 500 -1300 100 -1300 N +P 2 0 1 0 100 -1300 100 100 N +X ~ 1A 0 0 100 R 30 30 0 1 I +X ~ 1B 0 -100 100 R 30 30 0 1 I +X ~ 1C 0 -200 100 R 30 30 0 1 I +X ~ 1D 0 -300 100 R 30 30 0 1 I +X ~ 1G 0 -400 100 R 30 30 0 1 I +X ~ X 0 -500 100 R 30 30 0 1 I +X ~ \X\ 0 -600 100 R 30 30 0 1 I +X ~ 2A 0 -800 100 R 30 30 0 1 I +X ~ 2B 0 -900 100 R 30 30 0 1 I +X ~ 2C 0 -1000 100 R 30 30 0 1 I +X ~ 2D 0 -1100 100 R 30 30 0 1 I +X ~ 2G 0 -1200 100 R 30 30 0 1 I +X ~ 1Y 600 -200 100 L 30 30 0 1 I +X ~ 2Y 600 -1000 100 L 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 25_PSPICE +# +DEF 25_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "25_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -500 N +P 2 0 1 0 500 -500 100 -500 N +P 2 0 1 0 100 -500 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ G 0 -400 100 R 30 30 0 1 I +X ~ Y 600 -200 100 L 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 P +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 26_PSPICE +# +DEF 26_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "26_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 27_PSPICE +# +DEF 27_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "27_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 28_PSPICE +# +DEF 28_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "28_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 30_PSPICE +# +DEF 30_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "30_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ E 0 -400 100 R 30 30 0 1 I +X ~ F 0 -500 100 R 30 30 0 1 I +X ~ G 0 -600 100 R 30 30 0 1 I +X ~ H 0 -700 100 R 30 30 0 1 I +X ~ Y 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 32_PSPICE +# +DEF 32_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "32_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 33_PSPICE +# +DEF 33_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "33_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 60 100 300 100 N +P 2 0 1 0 60 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 37_PSPICE +# +DEF 37_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "37_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 38_PSPICE +# +DEF 38_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "38_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 39_PSPICE +# +DEF 39_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "39_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 40_PSPICE +# +DEF 40_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "40_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 100 0 N +P 2 0 1 0 100 0 100 -400 N +P 2 0 1 0 100 -400 400 -400 N +A 400 -200 200 -899 899 0 1 0 N 400 -400 400 0 +X ~ Y 700 -200 100 L 30 30 0 1 O +X ~ PWR 300 100 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ D 0 -400 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 42_PSPICE +# +DEF 42_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "42_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 43_PSPICE +# +DEF 43_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "43_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 44_PSPICE +# +DEF 44_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "44_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 45_PSPICE +# +DEF 45_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "45_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 200 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ Y0 600 100 100 L 30 30 0 1 O +X ~ Y1 600 0 100 L 30 30 0 1 O +X ~ Y2 600 -100 100 L 30 30 0 1 O +X ~ Y3 600 -200 100 L 30 30 0 1 O +X ~ Y4 600 -300 100 L 30 30 0 1 O +X ~ Y5 600 -400 100 L 30 30 0 1 O +X ~ Y6 600 -500 100 L 30 30 0 1 O +X ~ Y7 600 -600 100 L 30 30 0 1 O +X ~ Y8 600 -700 100 L 30 30 0 1 O +X ~ Y9 600 -800 100 L 30 30 0 1 O +X ~ PWR 300 300 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 46_PSPICE +# +DEF 46_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "46_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ INA 0 -400 100 R 30 30 0 1 I +X ~ INB 0 -500 100 R 30 30 0 1 I +X ~ INC 0 -600 100 R 30 30 0 1 I +X ~ IND 0 -700 100 R 30 30 0 1 I +X ~ \RBI\ 0 -100 100 R 30 30 0 1 I +X ~ \LT\ 0 -200 100 R 30 30 0 1 I +X ~ OUTA 600 -100 100 L 30 30 0 1 O +X ~ OUTB 600 -200 100 L 30 30 0 1 O +X ~ OUTC 600 -300 100 L 30 30 0 1 O +X ~ OUTD 600 -400 100 L 30 30 0 1 O +X ~ OUTE 600 -500 100 L 30 30 0 1 O +X ~ OUTF 600 -600 100 L 30 30 0 1 O +X ~ OUTG 600 -700 100 L 30 30 0 1 O +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ \BI\/\RBO\ 0 0 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 47_PSPICE +# +DEF 47_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "47_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ INA 0 -400 100 R 30 30 0 1 I +X ~ INB 0 -500 100 R 30 30 0 1 I +X ~ INC 0 -600 100 R 30 30 0 1 I +X ~ IND 0 -700 100 R 30 30 0 1 I +X ~ \RBI\ 0 -100 100 R 30 30 0 1 I +X ~ \LT\ 0 -200 100 R 30 30 0 1 I +X ~ OUTA 600 -100 100 L 30 30 0 1 O +X ~ OUTB 600 -200 100 L 30 30 0 1 O +X ~ OUTC 600 -300 100 L 30 30 0 1 O +X ~ OUTD 600 -400 100 L 30 30 0 1 O +X ~ OUTE 600 -500 100 L 30 30 0 1 O +X ~ OUTF 600 -600 100 L 30 30 0 1 O +X ~ OUTG 600 -700 100 L 30 30 0 1 O +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ \BI\/\RBO\ 0 0 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 48_PSPICE +# +DEF 48_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "48_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ A 0 -400 100 R 30 30 0 1 I +X ~ B 0 -500 100 R 30 30 0 1 I +X ~ C 0 -600 100 R 30 30 0 1 I +X ~ D 0 -700 100 R 30 30 0 1 I +X ~ \BI\ 0 0 100 R 30 30 0 1 I +X ~ \RBI\ 0 -100 100 R 30 30 0 1 I +X ~ \LT\ 0 -200 100 R 30 30 0 1 I +X ~ OA 600 0 100 L 30 30 0 1 O +X ~ OB 600 -100 100 L 30 30 0 1 O +X ~ OC 600 -200 100 L 30 30 0 1 O +X ~ OD 600 -300 100 L 30 30 0 1 O +X ~ OE 600 -400 100 L 30 30 0 1 O +X ~ OF 600 -500 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ OG 600 -600 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 49_PSPICE +# +DEF 49_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "49_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -700 N +P 2 0 1 0 500 -700 100 -700 N +P 2 0 1 0 100 -700 100 100 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ B 0 -400 100 R 30 30 0 1 I +X ~ C 0 -500 100 R 30 30 0 1 I +X ~ D 0 -600 100 R 30 30 0 1 I +X ~ \BI\ 0 0 100 R 30 30 0 1 I +X ~ OA 600 0 100 L 30 30 0 1 O +X ~ OB 600 -100 100 L 30 30 0 1 O +X ~ OC 600 -200 100 L 30 30 0 1 O +X ~ OD 600 -300 100 L 30 30 0 1 O +X ~ OE 600 -400 100 L 30 30 0 1 O +X ~ OF 600 -500 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -800 100 U 30 30 0 1 W +X ~ OG 600 -600 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 50_PSPICE +# +DEF 50_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "50_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -1100 N +P 2 0 1 0 500 -1100 100 -1100 N +P 2 0 1 0 100 -1100 100 100 N +X ~ 1A 0 0 100 R 30 30 0 1 I +X ~ 1B 0 -100 100 R 30 30 0 1 I +X ~ 1C 0 -200 100 R 30 30 0 1 I +X ~ 1D 0 -300 100 R 30 30 0 1 I +X ~ 1X 0 -400 100 R 30 30 0 1 I +X ~ 1\X\ 0 -500 100 R 30 30 0 1 I +X ~ 2A 0 -700 100 R 30 30 0 1 I +X ~ 2B 0 -800 100 R 30 30 0 1 I +X ~ 2C 0 -900 100 R 30 30 0 1 I +X ~ 2D 0 -1000 100 R 30 30 0 1 I +X ~ 1Y 600 -200 100 L 30 30 0 1 O +X ~ 2Y 600 -900 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 51_PSPICE +# +DEF 51_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "51_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ Y 600 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 60_PSPICE +# +DEF 60_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "60_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -500 N +P 2 0 1 0 500 -500 100 -500 N +P 2 0 1 0 100 -500 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ \X\ 0 -400 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ X 600 -100 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 70_PSPICE +# +DEF 70_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "70_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -800 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J1 0 0 100 R 30 30 0 1 I +X ~ J2 0 -100 100 R 30 30 0 1 I +X ~ \J\ 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -300 100 R 30 30 0 1 I +X ~ K1 0 -400 100 R 30 30 0 1 I +X ~ K2 0 -500 100 R 30 30 0 1 I +X ~ \K\ 0 -600 100 R 30 30 0 1 I +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -500 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 72_PSPICE +# +DEF 72_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "72_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 200 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J1 0 0 100 R 30 30 0 1 I +X ~ J2 0 -100 100 R 30 30 0 1 I +X ~ J3 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -300 100 R 30 30 0 1 I +X ~ K1 0 -400 100 R 30 30 0 1 I +X ~ K2 0 -500 100 R 30 30 0 1 I +X ~ K3 0 -600 100 R 30 30 0 1 I +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -500 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 73_PSPICE +# +DEF 73_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "73_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -600 0 1 0 N +X ~ J 0 0 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 0 100 L 30 30 0 1 O +X ~ \Q\ 600 -400 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 74_PSPICE +# +DEF 74_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "74_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 75_PSPICE +# +DEF 75_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "75_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ 1D 0 0 100 R 30 30 0 1 I +X ~ 1Q 600 0 100 L 30 30 0 1 O +X ~ C 0 -300 100 R 30 30 0 1 I +X ~ 2D 0 -100 100 R 30 30 0 1 I +X ~ 2Q 600 -200 100 L 30 30 0 1 O +X ~ 2\Q\ 600 -300 100 L 30 30 0 1 O +X ~ 1\Q\ 600 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 76_PSPICE +# +DEF 76_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "76_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -600 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J 0 0 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 0 100 L 30 30 0 1 O +X ~ \Q\ 600 -400 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 77_PSPICE +# +DEF 77_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "77_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ 1D 0 0 100 R 30 30 0 1 I +X ~ 1Q 600 -100 100 L 30 30 0 1 O +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ 2D 0 -400 100 R 30 30 0 1 I +X ~ 2Q 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 82_PSPICE +# +DEF 82_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "82_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ C0 0 0 100 R 30 30 0 1 I +X ~ A1 0 -100 100 R 30 30 0 1 I +X ~ B1 0 -200 100 R 30 30 0 1 I +X ~ A2 0 -300 100 R 30 30 0 1 I +X ~ B2 0 -400 100 R 30 30 0 1 I +X ~ SUM1 600 -100 100 L 30 30 0 1 O +X ~ SUM2 600 -300 100 L 30 30 0 1 O +X ~ C2 600 -400 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 83_PSPICE +# +DEF 83_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "83_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -900 N +P 2 0 1 0 500 -900 100 -900 N +P 2 0 1 0 100 -900 100 100 N +X ~ A4 0 0 100 R 30 30 0 1 I +X ~ A3 0 -100 100 R 30 30 0 1 I +X ~ A2 0 -200 100 R 30 30 0 1 I +X ~ A1 0 -300 100 R 30 30 0 1 I +X ~ B4 0 -400 100 R 30 30 0 1 I +X ~ B3 0 -500 100 R 30 30 0 1 I +X ~ B2 0 -600 100 R 30 30 0 1 I +X ~ B1 0 -700 100 R 30 30 0 1 I +X ~ C0 0 -800 100 R 30 30 0 1 I +X ~ C4 600 0 100 L 30 30 0 1 O +X ~ SUM4 600 -200 100 L 30 30 0 1 O +X ~ SUM3 600 -400 100 L 30 30 0 1 O +X ~ SUM2 600 -600 100 L 30 30 0 1 O +X ~ SUM1 600 -800 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 85_PSPICE +# +DEF 85_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "85_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ B3 0 0 100 R 30 30 0 1 I +X ~ A3 0 -100 100 R 30 30 0 1 I +X ~ B2 0 -200 100 R 30 30 0 1 I +X ~ A2 0 -300 100 R 30 30 0 1 I +X ~ B1 0 -400 100 R 30 30 0 1 I +X ~ A1 0 -500 100 R 30 30 0 1 I +X ~ B0 0 -600 100 R 30 30 0 1 I +X ~ A0 0 -700 100 R 30 30 0 1 I +X ~ AB_IN 0 -1000 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ AB 600 -600 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 86_PSPICE +# +DEF 86_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "86_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 300 100 N +P 2 0 1 0 100 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +A -250 -90 400 -308 283 0 1 0 N 93 -295 101 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 90_PSPICE +# +DEF 90_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "90_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ R91 0 0 100 R 30 30 0 1 I +X ~ R92 0 -100 100 R 30 30 0 1 I +X ~ R01 0 -700 100 R 30 30 0 1 I +X ~ R02 0 -800 100 R 30 30 0 1 I +X ~ CKA 0 -300 100 R 30 30 0 1 I +X ~ CKB 0 -500 100 R 30 30 0 1 I +X ~ QA 600 -100 100 L 30 30 0 1 O +X ~ QB 600 -300 100 L 30 30 0 1 O +X ~ QC 600 -500 100 L 30 30 0 1 O +X ~ QD 600 -700 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 91_PSPICE +# +DEF 91_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "91_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -300 N +P 2 0 1 0 500 -300 100 -300 N +P 2 0 1 0 100 -300 100 100 N +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ CLOCK 0 -200 100 R 30 30 0 1 I +X ~ QH 600 0 100 L 30 30 0 1 O +X ~ \QH\ 600 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 92_PSPICE +# +DEF 92_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "92_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ CKA 0 0 100 R 30 30 0 1 I +X ~ CKB 0 -100 100 R 30 30 0 1 I +X ~ R01 0 -200 100 R 30 30 0 1 I +X ~ R02 0 -300 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 93_PSPICE +# +DEF 93_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "93_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -400 N +P 2 0 1 0 500 -400 100 -400 N +P 2 0 1 0 100 -400 100 100 N +X ~ CKA 0 0 100 R 30 30 0 1 I +X ~ CKB 0 -100 100 R 30 30 0 1 I +X ~ R01 0 -200 100 R 30 30 0 1 I +X ~ R02 0 -300 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -500 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 94_PSPICE +# +DEF 94_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "94_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1600 0 1 0 N +X ~ PE2 0 0 100 R 30 30 0 1 I +X ~ PE1 0 -100 100 R 30 30 0 1 I +X ~ P1A 0 -300 100 R 30 30 0 1 I +X ~ P2A 0 -800 100 R 30 30 0 1 I +X ~ P1B 0 -400 100 R 30 30 0 1 I +X ~ P1C 0 -500 100 R 30 30 0 1 I +X ~ P1D 0 -600 100 R 30 30 0 1 I +X ~ P2B 0 -900 100 R 30 30 0 1 I +X ~ P2C 0 -1000 100 R 30 30 0 1 I +X ~ P2D 0 -1100 100 R 30 30 0 1 I +X ~ SER_IN 0 -1300 100 R 30 30 0 1 I +X ~ CLOCK 0 -1400 100 R 30 30 0 1 I +X ~ CLEAR 0 -1500 100 R 30 30 0 1 I +X ~ QD 600 -700 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 95_PSPICE +# +DEF 95_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "95_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 500 100 N +P 2 0 1 0 500 100 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 100 N +X ~ MODE 0 0 100 R 30 30 0 1 I +X ~ SER 0 -100 100 R 30 30 0 1 I +X ~ CLK1 0 -200 100 R 30 30 0 1 I +X ~ CLK2 0 -300 100 R 30 30 0 1 I +X ~ A 0 -400 100 R 30 30 0 1 I +X ~ B 0 -500 100 R 30 30 0 1 I +X ~ C 0 -600 100 R 30 30 0 1 I +X ~ D 0 -700 100 R 30 30 0 1 I +X ~ QA 600 -400 100 L 30 30 0 1 O +X ~ QB 600 -500 100 L 30 30 0 1 O +X ~ QC 600 -600 100 L 30 30 0 1 O +X ~ QD 600 -700 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 96_PSPICE +# +DEF 96_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "96_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 200 500 200 N +P 2 0 1 0 500 200 500 -800 N +P 2 0 1 0 500 -800 100 -800 N +P 2 0 1 0 100 -800 100 200 N +X ~ PRE 300 300 100 D 30 30 0 1 I +X ~ SERIAL 0 0 100 R 30 30 0 1 I +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ CLK 0 -100 100 R 30 30 0 1 I +X ~ A 0 -200 100 R 30 30 0 1 I +X ~ B 0 -300 100 R 30 30 0 1 I +X ~ C 0 -400 100 R 30 30 0 1 I +X ~ D 0 -500 100 R 30 30 0 1 I +X ~ E 0 -600 100 R 30 30 0 1 I +X ~ QA 600 -200 100 L 30 30 0 1 O +X ~ QB 600 -300 100 L 30 30 0 1 O +X ~ QC 600 -400 100 L 30 30 0 1 O +X ~ QD 600 -500 100 L 30 30 0 1 O +X ~ QE 600 -600 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 100_PSPICE +# +DEF 100_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "100_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ C 0 0 100 R 30 30 0 1 I +X ~ D1 0 -100 100 R 30 30 0 1 I +X ~ D2 0 -200 100 R 30 30 0 1 I +X ~ D3 0 -300 100 R 30 30 0 1 I +X ~ D4 0 -400 100 R 30 30 0 1 I +X ~ Q1 600 -100 100 L 30 30 0 1 O +X ~ Q2 600 -200 100 L 30 30 0 1 O +X ~ Q3 600 -300 100 L 30 30 0 1 O +X ~ Q4 600 -400 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -600 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 107_PSPICE +# +DEF 107_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "107_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -600 0 1 0 N +X ~ J 0 0 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -300 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +X ~ CLK 0 -200 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 109_PSPICE +# +DEF 109_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "109_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -600 0 1 0 N +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ \K\ 0 -400 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ J 0 0 100 R 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ \Q\ 600 -300 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 110_PSPICE +# +DEF 110_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "110_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -800 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J1 0 0 100 R 30 30 0 1 I +X ~ J2 0 -100 100 R 30 30 0 1 I +X ~ J3 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -300 100 R 30 30 0 1 I +X ~ K1 0 -400 100 R 30 30 0 1 I +X ~ K2 0 -500 100 R 30 30 0 1 I +X ~ K3 0 -600 100 R 30 30 0 1 I +X ~ Q 600 -200 100 L 30 30 0 1 O +X ~ \Q\ 600 -400 100 L 30 30 0 1 O +X ~ \CLR\ 300 -900 100 U 30 30 0 1 I +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 111_PSPICE +# +DEF 111_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "111_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -600 0 1 0 N +X ~ \PRE\ 300 300 100 D 30 30 0 1 I +X ~ J 0 0 100 R 30 30 0 1 I +X ~ CLK 0 -200 100 R 30 30 0 1 I +X ~ K 0 -400 100 R 30 30 0 1 I +X ~ \CLR\ 300 -700 100 U 30 30 0 1 I +X ~ Q 600 -100 100 L 30 30 0 1 O +X ~ \Q\ 600 -300 100 L 30 30 0 1 O +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -700 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 121_PSPICE +# +DEF 121_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "121_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -700 0 1 0 N +X ~ A1 0 -400 100 R 30 30 0 1 P +X ~ A2 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ RINT 0 -100 100 R 30 30 0 1 P +X ~ CEXT 0 -200 100 R 30 30 0 1 P +X ~ Q 700 -200 100 L 30 30 0 1 P +X ~ \Q\ 700 -400 100 L 30 30 0 1 P +X ~ REXT/CEXT 0 0 100 R 30 30 0 1 P +X ~ GND 300 -800 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 122_PSPICE +# +DEF 122_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "122_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -900 0 1 0 N +X ~ RINT 0 -100 100 R 30 30 0 1 P +X ~ GND 200 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ A1 0 -400 100 R 30 30 0 1 P +X ~ A2 0 -500 100 R 30 30 0 1 P +X ~ \Q\ 700 -400 100 L 30 30 0 1 P +X ~ Q 700 -200 100 L 30 30 0 1 P +X ~ REXT/CEXT 0 0 100 R 30 30 0 1 P +X ~ CEXT 0 -200 100 R 30 30 0 1 P +X ~ B1 0 -600 100 R 30 30 0 1 P +X ~ B2 0 -700 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1000 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 123_PSPICE +# +DEF 123_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "123_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -600 0 1 0 N +X ~ GND 200 -700 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ Q 700 -100 100 L 30 30 0 1 P +X ~ \Q\ 700 -300 100 L 30 30 0 1 P +X ~ REXT/CEXT 0 0 100 R 30 30 0 1 P +X ~ CEXT 0 -100 100 R 30 30 0 1 P +X ~ \CLR\ 300 -700 100 U 30 30 0 1 P +X ~ A 0 -300 100 R 30 30 0 1 P +X ~ B 0 -400 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 125_PSPICE +# +DEF 125_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "125_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -140 N +C 250 -160 40 0 1 0 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 126_PSPICE +# +DEF 126_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "126_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -200 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ G 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 128_PSPICE +# +DEF 128_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "128_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 300 100 N +P 2 0 1 0 100 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +A -250 -90 400 -308 283 0 1 0 N 93 -295 101 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 132_PSPICE +# +DEF 132_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "132_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 100 100 N +P 2 0 1 0 100 100 100 -300 N +P 2 0 1 0 100 -300 400 -300 N +A 400 -100 200 -899 899 0 1 0 N 400 -300 400 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 O +X ~ GND 300 -400 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 136_PSPICE +# +DEF 136_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "136_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 300 100 N +P 2 0 1 0 100 -300 300 -300 N +A 290 -220 330 212 881 0 1 0 N 597 -101 300 109 +A 290 30 330 -881 -228 0 1 0 N 300 -299 594 -97 +A -290 -90 400 -308 283 0 1 0 N 53 -295 61 100 +A -250 -90 400 -308 283 0 1 0 N 93 -295 101 100 +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ Y 700 -100 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -400 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 145_PSPICE +# +DEF 145_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "145_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -900 0 1 0 N +X ~ PWR 300 300 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ Y0 600 100 100 L 30 30 0 1 P +X ~ Y1 600 0 100 L 30 30 0 1 P +X ~ Y2 600 -100 100 L 30 30 0 1 P +X ~ Y3 600 -200 100 L 30 30 0 1 P +X ~ Y4 600 -300 100 L 30 30 0 1 P +X ~ Y5 600 -400 100 L 30 30 0 1 P +X ~ Y6 600 -500 100 L 30 30 0 1 P +X ~ Y7 600 -600 100 L 30 30 0 1 P +X ~ Y8 600 -700 100 L 30 30 0 1 P +X ~ Y9 600 -800 100 L 30 30 0 1 P +X ~ A 0 0 100 R 30 30 0 1 P +X ~ B 0 -200 100 R 30 30 0 1 P +X ~ C 0 -400 100 R 30 30 0 1 P +X ~ D 0 -600 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 147_PSPICE +# +DEF 147_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "147_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ B 600 -300 100 L 30 30 0 1 P +X ~ A 600 -100 100 L 30 30 0 1 P +X ~ C 600 -500 100 L 30 30 0 1 P +X ~ D 600 -700 100 L 30 30 0 1 P +X ~ IN1 0 0 100 R 30 30 0 1 P +X ~ IN2 0 -100 100 R 30 30 0 1 P +X ~ IN3 0 -200 100 R 30 30 0 1 P +X ~ IN4 0 -300 100 R 30 30 0 1 P +X ~ IN5 0 -400 100 R 30 30 0 1 P +X ~ IN6 0 -500 100 R 30 30 0 1 P +X ~ IN7 0 -600 100 R 30 30 0 1 P +X ~ IN8 0 -700 100 R 30 30 0 1 P +X ~ IN9 0 -800 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 148_PSPICE +# +DEF 148_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "148_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ A1 600 -200 100 L 30 30 0 1 P +X ~ A0 600 0 100 L 30 30 0 1 P +X ~ A2 600 -400 100 L 30 30 0 1 P +X ~ GS 600 -600 100 L 30 30 0 1 P +X ~ IN0 0 0 100 R 30 30 0 1 P +X ~ IN1 0 -100 100 R 30 30 0 1 P +X ~ IN2 0 -200 100 R 30 30 0 1 P +X ~ IN3 0 -300 100 R 30 30 0 1 P +X ~ IN4 0 -400 100 R 30 30 0 1 P +X ~ IN5 0 -500 100 R 30 30 0 1 P +X ~ IN6 0 -600 100 R 30 30 0 1 P +X ~ IN7 0 -700 100 R 30 30 0 1 P +X ~ EI 0 -800 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ EO 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 151A_PSPICE +# +DEF 151A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "151A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1400 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1500 100 U 30 30 0 1 W +X ~ Z 600 -300 100 L 30 30 0 1 O +X ~ \Z\ 600 -700 100 L 30 30 0 1 O +X ~ \E\ 0 0 100 R 30 30 0 1 I +X ~ I0 0 -200 100 R 30 30 0 1 I +X ~ I1 0 -300 100 R 30 30 0 1 I +X ~ I2 0 -400 100 R 30 30 0 1 I +X ~ I3 0 -500 100 R 30 30 0 1 I +X ~ I4 0 -600 100 R 30 30 0 1 I +X ~ I5 0 -700 100 R 30 30 0 1 I +X ~ I6 0 -800 100 R 30 30 0 1 I +X ~ I7 0 -900 100 R 30 30 0 1 I +X ~ S0 0 -1100 100 R 30 30 0 1 I +X ~ S1 0 -1200 100 R 30 30 0 1 I +X ~ S2 0 -1300 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 152_PSPICE +# +DEF 152_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "152_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1200 0 1 0 N +X ~ W 600 -500 100 L 30 30 0 1 O +X ~ GND 300 -1300 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ D0 0 0 100 R 30 30 0 1 I +X ~ D1 0 -100 100 R 30 30 0 1 I +X ~ D2 0 -200 100 R 30 30 0 1 I +X ~ D3 0 -300 100 R 30 30 0 1 I +X ~ D4 0 -400 100 R 30 30 0 1 I +X ~ D5 0 -500 100 R 30 30 0 1 I +X ~ D6 0 -600 100 R 30 30 0 1 I +X ~ D7 0 -700 100 R 30 30 0 1 I +X ~ A 0 -900 100 R 30 30 0 1 I +X ~ B 0 -1000 100 R 30 30 0 1 I +X ~ C 0 -1100 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 153A_PSPICE +# +DEF 153A_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "153A_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1400 0 1 0 N +X ~ GND 300 -1500 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ ZA 600 -500 100 L 30 30 0 1 O +X ~ ZB 600 -1100 100 L 30 30 0 1 O +X ~ S0 0 0 100 R 30 30 0 1 I +X ~ S1 0 -100 100 R 30 30 0 1 I +X ~ \EA\ 0 -300 100 R 30 30 0 1 I +X ~ I0A 0 -400 100 R 30 30 0 1 I +X ~ I1A 0 -500 100 R 30 30 0 1 I +X ~ I2A 0 -600 100 R 30 30 0 1 I +X ~ I3A 0 -700 100 R 30 30 0 1 I +X ~ \EB\ 0 -900 100 R 30 30 0 1 I +X ~ I0B 0 -1000 100 R 30 30 0 1 I +X ~ I1B 0 -1100 100 R 30 30 0 1 I +X ~ I2B 0 -1200 100 R 30 30 0 1 I +X ~ I3B 0 -1300 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 154_PSPICE +# +DEF 154_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "154_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1600 0 1 0 N +X ~ GND 300 -1700 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \G\1 0 0 100 R 30 30 0 1 I +X ~ \G\2 0 -200 100 R 30 30 0 1 I +X ~ A 0 -600 100 R 30 30 0 1 I +X ~ B 0 -800 100 R 30 30 0 1 I +X ~ C 0 -1000 100 R 30 30 0 1 I +X ~ D 0 -1200 100 R 30 30 0 1 I +X ~ Y0 600 0 100 L 30 30 0 1 O +X ~ Y1 600 -100 100 L 30 30 0 1 O +X ~ Y2 600 -200 100 L 30 30 0 1 O +X ~ Y3 600 -300 100 L 30 30 0 1 O +X ~ Y4 600 -400 100 L 30 30 0 1 O +X ~ Y5 600 -500 100 L 30 30 0 1 O +X ~ Y6 600 -600 100 L 30 30 0 1 O +X ~ Y7 600 -700 100 L 30 30 0 1 O +X ~ Y8 600 -800 100 L 30 30 0 1 O +X ~ Y9 600 -900 100 L 30 30 0 1 O +X ~ Y10 600 -1000 100 L 30 30 0 1 O +X ~ Y11 600 -1100 100 L 30 30 0 1 O +X ~ Y12 600 -1200 100 L 30 30 0 1 O +X ~ Y13 600 -1300 100 L 30 30 0 1 O +X ~ Y14 600 -1400 100 L 30 30 0 1 O +X ~ Y15 600 -1500 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 155_PSPICE +# +DEF 155_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "155_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ 1Y0 600 0 100 L 30 30 0 1 O +X ~ 1Y1 600 -100 100 L 30 30 0 1 O +X ~ 1Y2 600 -200 100 L 30 30 0 1 O +X ~ 1Y3 600 -300 100 L 30 30 0 1 O +X ~ 2Y0 600 -400 100 L 30 30 0 1 O +X ~ 2Y1 600 -500 100 L 30 30 0 1 O +X ~ 2Y2 600 -600 100 L 30 30 0 1 O +X ~ 2Y3 600 -700 100 L 30 30 0 1 O +X ~ 1\G\ 0 0 100 R 30 30 0 1 I +X ~ 1C 0 -100 100 R 30 30 0 1 I +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ B 0 -400 100 R 30 30 0 1 I +X ~ 2\G\ 0 -600 100 R 30 30 0 1 I +X ~ 2\C\ 0 -700 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 156_PSPICE +# +DEF 156_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "156_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ 1Y0 600 0 100 L 30 30 0 1 O +X ~ 1Y1 600 -100 100 L 30 30 0 1 O +X ~ 1Y2 600 -200 100 L 30 30 0 1 O +X ~ 1Y3 600 -300 100 L 30 30 0 1 O +X ~ 2Y0 600 -400 100 L 30 30 0 1 O +X ~ 2Y1 600 -500 100 L 30 30 0 1 O +X ~ 2Y2 600 -600 100 L 30 30 0 1 O +X ~ 2Y3 600 -700 100 L 30 30 0 1 O +X ~ 1\G\ 0 0 100 R 30 30 0 1 I +X ~ 1C 0 -100 100 R 30 30 0 1 I +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ B 0 -400 100 R 30 30 0 1 I +X ~ 2\G\ 0 -600 100 R 30 30 0 1 I +X ~ 2\C\ 0 -700 100 R 30 30 0 1 I +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -900 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# 157_PSPICE +# +DEF 157_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "157_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1100 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ 1Y 700 -100 100 L 30 30 0 1 P +X ~ 2Y 700 -300 100 L 30 30 0 1 P +X ~ 3Y 700 -500 100 L 30 30 0 1 P +X ~ 4Y 700 -700 100 L 30 30 0 1 P +X ~ 1A 0 0 100 R 30 30 0 1 P +X ~ 1B 0 -100 100 R 30 30 0 1 P +X ~ 2A 0 -200 100 R 30 30 0 1 P +X ~ 2B 0 -300 100 R 30 30 0 1 P +X ~ 3A 0 -400 100 R 30 30 0 1 P +X ~ 3B 0 -500 100 R 30 30 0 1 P +X ~ 4A 0 -600 100 R 30 30 0 1 P +X ~ 4B 0 -700 100 R 30 30 0 1 P +X ~ STROBE\G\ 0 -900 100 R 30 30 0 1 P +X ~ SELECT\A\B 0 -1000 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 160_PSPICE +# +DEF 160_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "160_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 161_PSPICE +# +DEF 161_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "161_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 162_PSPICE +# +DEF 162_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "162_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 163_PSPICE +# +DEF 163_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "163_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 I +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -100 100 R 30 30 0 1 I +X ~ C 0 -200 100 R 30 30 0 1 I +X ~ D 0 -300 100 R 30 30 0 1 I +X ~ CLK 0 -500 100 R 30 30 0 1 I +X ~ ENT 0 -600 100 R 30 30 0 1 I +X ~ ENP 0 -700 100 R 30 30 0 1 I +X ~ \LOAD\ 0 -800 100 R 30 30 0 1 I +X ~ QA 600 0 100 L 30 30 0 1 O +X ~ QB 600 -100 100 L 30 30 0 1 O +X ~ QC 600 -200 100 L 30 30 0 1 O +X ~ QD 600 -300 100 L 30 30 0 1 O +X ~ RCO 600 -400 100 L 30 30 0 1 O +ENDDRAW +ENDDEF +# +# 164_PSPICE +# +DEF 164_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "164_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 300 500 -700 0 1 0 N +X ~ GND 200 -800 100 U 30 30 0 1 W +X ~ PWR 300 400 100 D 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 I +X ~ B 0 -200 100 R 30 30 0 1 I +X ~ CLK 0 -400 100 R 30 30 0 1 I +X ~ QA 600 200 100 L 30 30 0 1 O +X ~ QB 600 100 100 L 30 30 0 1 O +X ~ QC 600 0 100 L 30 30 0 1 O +X ~ QD 600 -100 100 L 30 30 0 1 O +X ~ QE 600 -200 100 L 30 30 0 1 O +X ~ QF 600 -300 100 L 30 30 0 1 O +X ~ QG 600 -400 100 L 30 30 0 1 O +X ~ QH 600 -500 100 L 30 30 0 1 O +X ~ \CLR\ 300 -800 100 U 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 173_PSPICE +# +DEF 173_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "173_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ GND 200 -1200 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ CLR 300 -1200 100 U 30 30 0 1 I +X ~ \G\1 0 -100 100 R 30 30 0 1 I +X ~ \G\2 0 -200 100 R 30 30 0 1 I +X ~ 1D 0 -300 100 R 30 30 0 1 I +X ~ 2D 0 -400 100 R 30 30 0 1 I +X ~ 3D 0 -500 100 R 30 30 0 1 I +X ~ 4D 0 -600 100 R 30 30 0 1 I +X ~ M 0 -800 100 R 30 30 0 1 I +X ~ N 0 -900 100 R 30 30 0 1 I +X ~ 1Q 600 -300 100 L 30 30 0 1 O +X ~ 2Q 600 -400 100 L 30 30 0 1 O +X ~ 3Q 600 -500 100 L 30 30 0 1 O +X ~ 4Q 600 -600 100 L 30 30 0 1 O +X ~ CLK 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 174_PSPICE +# +DEF 174_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "174_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ 1D 0 0 100 R 30 30 0 1 P +X ~ 2D 0 -100 100 R 30 30 0 1 P +X ~ 3D 0 -200 100 R 30 30 0 1 P +X ~ 4D 0 -300 100 R 30 30 0 1 P +X ~ 5D 0 -400 100 R 30 30 0 1 P +X ~ CLK 0 -600 100 R 30 30 0 1 P +X ~ \CLR\ 300 -900 100 U 30 30 0 1 P +X ~ 1Q 600 0 100 L 30 30 0 1 P +X ~ 2Q 600 -100 100 L 30 30 0 1 P +X ~ 4Q 600 -300 100 L 30 30 0 1 P +X ~ 5Q 600 -400 100 L 30 30 0 1 P +X ~ GND 200 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 3Q 600 -200 100 L 30 30 0 1 P +X ~ 6D 0 -500 100 R 30 30 0 1 P +X ~ 6Q 600 -500 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 175_PSPICE +# +DEF 175_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "175_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ 1D 0 0 100 R 30 30 0 1 P +X ~ 2D 0 -200 100 R 30 30 0 1 P +X ~ 3D 0 -400 100 R 30 30 0 1 P +X ~ 4D 0 -600 100 R 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ 1Q 600 0 100 L 30 30 0 1 P +X ~ 1\Q\ 600 -100 100 L 30 30 0 1 P +X ~ 3Q 600 -400 100 L 30 30 0 1 P +X ~ 4Q 600 -600 100 L 30 30 0 1 P +X ~ 2\Q\ 600 -300 100 L 30 30 0 1 P +X ~ 3\Q\ 600 -500 100 L 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ 2Q 600 -200 100 L 30 30 0 1 P +X ~ 4\Q\ 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 176_PSPICE +# +DEF 176_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "176_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ GND 200 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -100 100 R 30 30 0 1 P +X ~ B 0 -200 100 R 30 30 0 1 P +X ~ C 0 -300 100 R 30 30 0 1 P +X ~ D 0 -400 100 R 30 30 0 1 P +X ~ \CLR\ 300 -900 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -200 100 L 30 30 0 1 P +X ~ QC 600 -300 100 L 30 30 0 1 P +X ~ QD 600 -400 100 L 30 30 0 1 P +X ~ CLK1 0 -500 100 R 30 30 0 1 P +X ~ CLK2 0 -600 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 177_PSPICE +# +DEF 177_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "177_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ GND 200 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -100 100 R 30 30 0 1 P +X ~ B 0 -200 100 R 30 30 0 1 P +X ~ C 0 -300 100 R 30 30 0 1 P +X ~ D 0 -400 100 R 30 30 0 1 P +X ~ \CLR\ 300 -900 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -200 100 L 30 30 0 1 P +X ~ QC 600 -300 100 L 30 30 0 1 P +X ~ QD 600 -400 100 L 30 30 0 1 P +X ~ CLK1 0 -500 100 R 30 30 0 1 P +X ~ CLK2 0 -600 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 178_PSPICE +# +DEF 178_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "178_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ SERIAL 0 0 100 R 30 30 0 1 P +X ~ LOAD 0 -100 100 R 30 30 0 1 P +X ~ SHIFT 0 -200 100 R 30 30 0 1 P +X ~ A 0 -400 100 R 30 30 0 1 P +X ~ B 0 -500 100 R 30 30 0 1 P +X ~ C 0 -600 100 R 30 30 0 1 P +X ~ D 0 -700 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ CLK 0 -900 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 179_PSPICE +# +DEF 179_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "179_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ GND 200 -1200 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ SERIAL 0 0 100 R 30 30 0 1 P +X ~ LOAD 0 -100 100 R 30 30 0 1 P +X ~ SHIFT 0 -200 100 R 30 30 0 1 P +X ~ A 0 -400 100 R 30 30 0 1 P +X ~ B 0 -500 100 R 30 30 0 1 P +X ~ C 0 -600 100 R 30 30 0 1 P +X ~ D 0 -700 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ CLK 0 -900 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1200 100 U 30 30 0 1 P +X ~ \Q\D 600 -900 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 180_PSPICE +# +DEF 180_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "180_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -1000 0 1 0 N +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 P +X ~ B 0 -100 100 R 30 30 0 1 P +X ~ C 0 -200 100 R 30 30 0 1 P +X ~ D 0 -300 100 R 30 30 0 1 P +X ~ E 0 -400 100 R 30 30 0 1 P +X ~ F 0 -500 100 R 30 30 0 1 P +X ~ G 0 -600 100 R 30 30 0 1 P +X ~ H 0 -700 100 R 30 30 0 1 P +X ~ ODD_IN 0 -900 100 R 30 30 0 1 P +X ~ EVEN_IN 0 -800 100 R 30 30 0 1 P +X ~ ODD_OUT 700 -400 100 L 30 30 0 1 P +X ~ EVEN_OUT 700 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 181_PSPICE +# +DEF 181_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "181_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 600 -1000 0 1 0 N +X ~ S1 400 300 100 D 30 30 0 1 P +X ~ S2 300 300 100 D 30 30 0 1 P +X ~ S3 200 300 100 D 30 30 0 1 P +X ~ \A\0 0 0 100 R 30 30 0 1 P +X ~ \A\1 0 -100 100 R 30 30 0 1 P +X ~ \A\2 0 -200 100 R 30 30 0 1 P +X ~ \A\3 0 -300 100 R 30 30 0 1 P +X ~ \B\0 0 -400 100 R 30 30 0 1 P +X ~ \B\1 0 -500 100 R 30 30 0 1 P +X ~ \B\2 0 -600 100 R 30 30 0 1 P +X ~ \B\3 0 -700 100 R 30 30 0 1 P +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ PWR 100 300 100 D 30 30 0 1 W +X ~ CN 0 -800 100 R 30 30 0 1 P +X ~ M 0 -900 100 R 30 30 0 1 P +X ~ \F\0 700 0 100 L 30 30 0 1 P +X ~ \F\1 700 -100 100 L 30 30 0 1 P +X ~ \F\2 700 -200 100 L 30 30 0 1 P +X ~ \F\3 700 -300 100 L 30 30 0 1 P +X ~ A=B 700 -500 100 L 30 30 0 1 P +X ~ CN+4 700 -600 100 L 30 30 0 1 P +X ~ \G\ 700 -700 100 L 30 30 0 1 P +X ~ \P\ 700 -800 100 L 30 30 0 1 P +X ~ S0 500 300 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 182_PSPICE +# +DEF 182_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "182_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ \P\0 0 0 100 R 30 30 0 1 P +X ~ \P\1 0 -100 100 R 30 30 0 1 P +X ~ \P\2 0 -200 100 R 30 30 0 1 P +X ~ \P\3 0 -300 100 R 30 30 0 1 P +X ~ \G\0 0 -400 100 R 30 30 0 1 P +X ~ \G\1 0 -500 100 R 30 30 0 1 P +X ~ \G\3 0 -700 100 R 30 30 0 1 P +X ~ CN 0 -800 100 R 30 30 0 1 P +X ~ \G\2 0 -600 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ \P\ 600 -200 100 L 30 30 0 1 P +X ~ \G\ 600 -400 100 L 30 30 0 1 P +X ~ CN+Z 600 -800 100 L 30 30 0 1 P +X ~ CN+X 600 -600 100 L 30 30 0 1 P +X ~ CN+Y 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 184_PSPICE +# +DEF 184_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "184_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -200 100 R 30 30 0 1 P +X ~ B 0 -300 100 R 30 30 0 1 P +X ~ C 0 -400 100 R 30 30 0 1 P +X ~ D 0 -500 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ E 0 -600 100 R 30 30 0 1 P +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ Y1 600 0 100 L 30 30 0 1 P +X ~ Y2 600 -100 100 L 30 30 0 1 P +X ~ Y3 600 -200 100 L 30 30 0 1 P +X ~ Y4 600 -300 100 L 30 30 0 1 P +X ~ Y5 600 -400 100 L 30 30 0 1 P +X ~ Y6 600 -500 100 L 30 30 0 1 P +X ~ Y7 600 -600 100 L 30 30 0 1 P +X ~ Y8 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 185_PSPICE +# +DEF 185_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "185_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ A 0 -200 100 R 30 30 0 1 P +X ~ B 0 -300 100 R 30 30 0 1 P +X ~ C 0 -400 100 R 30 30 0 1 P +X ~ D 0 -500 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ E 0 -600 100 R 30 30 0 1 P +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ Y1 600 0 100 L 30 30 0 1 P +X ~ Y2 600 -100 100 L 30 30 0 1 P +X ~ Y3 600 -200 100 L 30 30 0 1 P +X ~ Y4 600 -300 100 L 30 30 0 1 P +X ~ Y5 600 -400 100 L 30 30 0 1 P +X ~ Y6 600 -500 100 L 30 30 0 1 P +X ~ Y7 600 -600 100 L 30 30 0 1 P +X ~ Y8 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 194_PSPICE +# +DEF 194_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "194_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ S1 0 0 100 R 30 30 0 1 P +X ~ S0 0 -100 100 R 30 30 0 1 P +X ~ SR 0 -300 100 R 30 30 0 1 P +X ~ A 0 -400 100 R 30 30 0 1 P +X ~ B 0 -500 100 R 30 30 0 1 P +X ~ C 0 -600 100 R 30 30 0 1 P +X ~ D 0 -700 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ SL 0 -200 100 R 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 195_PSPICE +# +DEF 195_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "195_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1200 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1300 100 U 30 30 0 1 W +X ~ SH/\LD\ 0 0 100 R 30 30 0 1 P +X ~ J 0 -200 100 R 30 30 0 1 P +X ~ \K\ 0 -300 100 R 30 30 0 1 P +X ~ CLK 0 -1000 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1300 100 U 30 30 0 1 P +X ~ A 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ C 0 -700 100 R 30 30 0 1 P +X ~ D 0 -800 100 R 30 30 0 1 P +X ~ QA 600 -200 100 L 30 30 0 1 P +X ~ QB 600 -400 100 L 30 30 0 1 P +X ~ QC 600 -600 100 L 30 30 0 1 P +X ~ QD 600 -800 100 L 30 30 0 1 P +X ~ \Q\D 600 -1000 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 196_PSPICE +# +DEF 196_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "196_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ CLK1 0 -200 100 R 30 30 0 1 P +X ~ CLK2 0 -300 100 R 30 30 0 1 P +X ~ A 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ C 0 -700 100 R 30 30 0 1 P +X ~ D 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 197_PSPICE +# +DEF 197_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "197_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \LOAD\ 0 0 100 R 30 30 0 1 P +X ~ CLK1 0 -200 100 R 30 30 0 1 P +X ~ CLK2 0 -300 100 R 30 30 0 1 P +X ~ A 0 -500 100 R 30 30 0 1 P +X ~ B 0 -600 100 R 30 30 0 1 P +X ~ C 0 -700 100 R 30 30 0 1 P +X ~ D 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 246_PSPICE +# +DEF 246_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "246_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ INA 0 0 100 R 30 30 0 1 P +X ~ INB 0 -100 100 R 30 30 0 1 P +X ~ INC 0 -200 100 R 30 30 0 1 P +X ~ IND 0 -300 100 R 30 30 0 1 P +X ~ \BI\/\RBO\ 0 -800 100 R 30 30 0 1 P +X ~ \LT\ 0 -600 100 R 30 30 0 1 P +X ~ \RBI\ 0 -700 100 R 30 30 0 1 P +X ~ OUTA 600 0 100 L 30 30 0 1 P +X ~ OUTB 600 -100 100 L 30 30 0 1 P +X ~ OUTC 600 -200 100 L 30 30 0 1 P +X ~ OUTD 600 -300 100 L 30 30 0 1 P +X ~ OUTE 600 -400 100 L 30 30 0 1 P +X ~ OUTF 600 -500 100 L 30 30 0 1 P +X ~ OUTG 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 247_PSPICE +# +DEF 247_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "247_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ INA 0 0 100 R 30 30 0 1 P +X ~ INB 0 -100 100 R 30 30 0 1 P +X ~ INC 0 -200 100 R 30 30 0 1 P +X ~ IND 0 -300 100 R 30 30 0 1 P +X ~ \BI\/\RBO\ 0 -800 100 R 30 30 0 1 P +X ~ \LT\ 0 -600 100 R 30 30 0 1 P +X ~ \RBI\ 0 -700 100 R 30 30 0 1 P +X ~ OUTA 600 0 100 L 30 30 0 1 P +X ~ OUTB 600 -100 100 L 30 30 0 1 P +X ~ OUTC 600 -200 100 L 30 30 0 1 P +X ~ OUTD 600 -300 100 L 30 30 0 1 P +X ~ OUTE 600 -400 100 L 30 30 0 1 P +X ~ OUTF 600 -500 100 L 30 30 0 1 P +X ~ OUTG 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 248_PSPICE +# +DEF 248_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "248_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ INA 0 0 100 R 30 30 0 1 P +X ~ INB 0 -100 100 R 30 30 0 1 P +X ~ INC 0 -200 100 R 30 30 0 1 P +X ~ IND 0 -300 100 R 30 30 0 1 P +X ~ \BI\/\RBO\ 0 -800 100 R 30 30 0 1 P +X ~ \LT\ 0 -600 100 R 30 30 0 1 P +X ~ \RBI\ 0 -700 100 R 30 30 0 1 P +X ~ OUTA 600 0 100 L 30 30 0 1 P +X ~ OUTB 600 -100 100 L 30 30 0 1 P +X ~ OUTC 600 -200 100 L 30 30 0 1 P +X ~ OUTD 600 -300 100 L 30 30 0 1 P +X ~ OUTE 600 -400 100 L 30 30 0 1 P +X ~ OUTF 600 -500 100 L 30 30 0 1 P +X ~ OUTG 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 249_PSPICE +# +DEF 249_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "249_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ INA 0 0 100 R 30 30 0 1 P +X ~ INB 0 -100 100 R 30 30 0 1 P +X ~ INC 0 -200 100 R 30 30 0 1 P +X ~ IND 0 -300 100 R 30 30 0 1 P +X ~ \BI\/\RBO\ 0 -800 100 R 30 30 0 1 P +X ~ \LT\ 0 -600 100 R 30 30 0 1 P +X ~ \RBI\ 0 -700 100 R 30 30 0 1 P +X ~ OUTA 600 0 100 L 30 30 0 1 P +X ~ OUTB 600 -100 100 L 30 30 0 1 P +X ~ OUTC 600 -200 100 L 30 30 0 1 P +X ~ OUTD 600 -300 100 L 30 30 0 1 P +X ~ OUTE 600 -400 100 L 30 30 0 1 P +X ~ OUTF 600 -500 100 L 30 30 0 1 P +X ~ OUTG 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 251_PSPICE +# +DEF 251_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "251_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1400 0 1 0 N +X ~ D0 0 -200 100 R 30 30 0 1 P +X ~ D1 0 -300 100 R 30 30 0 1 P +X ~ D2 0 -400 100 R 30 30 0 1 P +X ~ D3 0 -500 100 R 30 30 0 1 P +X ~ D4 0 -600 100 R 30 30 0 1 P +X ~ D6 0 -800 100 R 30 30 0 1 P +X ~ D7 0 -900 100 R 30 30 0 1 P +X ~ A 0 -1100 100 R 30 30 0 1 P +X ~ B 0 -1200 100 R 30 30 0 1 P +X ~ C 0 -1300 100 R 30 30 0 1 P +X ~ Y 600 -200 100 L 30 30 0 1 P +X ~ \W\ 600 -400 100 L 30 30 0 1 P +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1500 100 U 30 30 0 1 W +X ~ D5 0 -700 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 259_PSPICE +# +DEF 259_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "259_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1000 100 U 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ D 0 -200 100 R 30 30 0 1 P +X ~ S0 0 -400 100 R 30 30 0 1 P +X ~ S1 0 -500 100 R 30 30 0 1 P +X ~ S2 0 -600 100 R 30 30 0 1 P +X ~ Q0 600 0 100 L 30 30 0 1 P +X ~ Q1 600 -100 100 L 30 30 0 1 P +X ~ Q2 600 -200 100 L 30 30 0 1 P +X ~ Q3 600 -300 100 L 30 30 0 1 P +X ~ Q4 600 -400 100 L 30 30 0 1 P +X ~ Q5 600 -500 100 L 30 30 0 1 P +X ~ Q6 600 -600 100 L 30 30 0 1 P +X ~ Q7 600 -700 100 L 30 30 0 1 P +X ~ \CLR\ 300 -1000 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 265_PSPICE +# +DEF 265_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "265_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ 1W 600 0 100 L 30 30 0 1 P +X ~ 1Y 600 -100 100 L 30 30 0 1 P +X ~ 2A 0 -300 100 R 30 30 0 1 P +X ~ 2B 0 -400 100 R 30 30 0 1 P +X ~ 2W 600 -300 100 L 30 30 0 1 P +X ~ 2Y 600 -400 100 L 30 30 0 1 P +X ~ 3A 0 -600 100 R 30 30 0 1 P +X ~ 3B 0 -700 100 R 30 30 0 1 P +X ~ 3Y 600 -700 100 L 30 30 0 1 P +X ~ 4A 0 -900 100 R 30 30 0 1 P +X ~ 4W 600 -900 100 L 30 30 0 1 P +X ~ 3W 600 -600 100 L 30 30 0 1 P +X ~ 4Y 600 -1000 100 L 30 30 0 1 P +X ~ 1A 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 273_PSPICE +# +DEF 273_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "273_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ D1 0 0 100 R 30 30 0 1 P +X ~ D2 0 -100 100 R 30 30 0 1 P +X ~ D3 0 -200 100 R 30 30 0 1 P +X ~ D4 0 -300 100 R 30 30 0 1 P +X ~ D5 0 -400 100 R 30 30 0 1 P +X ~ D6 0 -500 100 R 30 30 0 1 P +X ~ D7 0 -600 100 R 30 30 0 1 P +X ~ D8 0 -700 100 R 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +X ~ Q1 600 0 100 L 30 30 0 1 P +X ~ Q2 600 -100 100 L 30 30 0 1 P +X ~ Q3 600 -200 100 L 30 30 0 1 P +X ~ Q4 600 -300 100 L 30 30 0 1 P +X ~ Q5 600 -400 100 L 30 30 0 1 P +X ~ Q6 600 -500 100 L 30 30 0 1 P +X ~ Q7 600 -600 100 L 30 30 0 1 P +X ~ Q8 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 276_PSPICE +# +DEF 276_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "276_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -1300 0 1 0 N +X ~ PWR 200 300 100 D 30 30 0 1 W +X ~ GND 200 -1400 100 U 30 30 0 1 W +X ~ \PRE\ 300 300 100 D 30 30 0 1 P +X ~ 1J 0 0 100 R 30 30 0 1 P +X ~ 1\K\ 0 -200 100 R 30 30 0 1 P +X ~ 1CLK 0 -100 100 R 30 30 0 1 P +X ~ 2J 0 -300 100 R 30 30 0 1 P +X ~ 2CLK 0 -400 100 R 30 30 0 1 P +X ~ 2\K\ 0 -500 100 R 30 30 0 1 P +X ~ 3J 0 -600 100 R 30 30 0 1 P +X ~ 3CLK 0 -700 100 R 30 30 0 1 P +X ~ 3\K\ 0 -800 100 R 30 30 0 1 P +X ~ 4J 0 -900 100 R 30 30 0 1 P +X ~ 4CLK 0 -1000 100 R 30 30 0 1 P +X ~ 4\K\ 0 -1100 100 R 30 30 0 1 P +X ~ 1Q 600 0 100 L 30 30 0 1 P +X ~ 2Q 600 -300 100 L 30 30 0 1 P +X ~ 3Q 600 -600 100 L 30 30 0 1 P +X ~ 4Q 600 -900 100 L 30 30 0 1 P +X ~ \CLR\ 300 -1400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 278_PSPICE +# +DEF 278_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "278_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -700 0 1 0 N +X ~ GND 300 -800 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ P0 0 0 100 R 30 30 0 1 P +X ~ STRB 0 -100 100 R 30 30 0 1 P +X ~ D1 0 -300 100 R 30 30 0 1 P +X ~ D2 0 -400 100 R 30 30 0 1 P +X ~ D3 0 -500 100 R 30 30 0 1 P +X ~ D4 0 -600 100 R 30 30 0 1 P +X ~ P1 600 0 100 L 30 30 0 1 P +X ~ Y1 600 -300 100 L 30 30 0 1 P +X ~ Y2 600 -400 100 L 30 30 0 1 P +X ~ Y3 600 -500 100 L 30 30 0 1 P +X ~ Y4 600 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 279_PSPICE +# +DEF 279_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "279_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -600 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -700 100 U 30 30 0 1 W +X ~ 1\R\ 0 0 100 R 30 30 0 1 P +X ~ 1\S\1 0 -100 100 R 30 30 0 1 P +X ~ 1\S\2 0 -200 100 R 30 30 0 1 P +X ~ 2\R\ 0 -400 100 R 30 30 0 1 P +X ~ 2\S\ 0 -500 100 R 30 30 0 1 P +X ~ 1Q 600 -200 100 L 30 30 0 1 P +X ~ 2Q 600 -500 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 283_PSPICE +# +DEF 283_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "283_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1100 100 U 30 30 0 1 W +X ~ A1 0 -700 100 R 30 30 0 1 P +X ~ A2 0 -500 100 R 30 30 0 1 P +X ~ A3 0 -300 100 R 30 30 0 1 P +X ~ A4 0 -100 100 R 30 30 0 1 P +X ~ B1 0 -600 100 R 30 30 0 1 P +X ~ B2 0 -400 100 R 30 30 0 1 P +X ~ B3 0 -200 100 R 30 30 0 1 P +X ~ B4 0 0 100 R 30 30 0 1 P +X ~ C0 0 -900 100 R 30 30 0 1 P +X ~ C4 600 -900 100 L 30 30 0 1 P +X ~ SUM1 600 -700 100 L 30 30 0 1 P +X ~ SUM2 600 -500 100 L 30 30 0 1 P +X ~ SUM3 600 -300 100 L 30 30 0 1 P +X ~ SUM4 600 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 290_PSPICE +# +DEF 290_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "290_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -800 0 1 0 N +X ~ GND 300 -900 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ R91 0 0 100 R 30 30 0 1 P +X ~ R92 0 -100 100 R 30 30 0 1 P +X ~ CLKA 0 -300 100 R 30 30 0 1 P +X ~ CLKB 0 -400 100 R 30 30 0 1 P +X ~ R01 0 -600 100 R 30 30 0 1 P +X ~ QA 600 -100 100 L 30 30 0 1 P +X ~ QB 600 -300 100 L 30 30 0 1 P +X ~ QC 600 -500 100 L 30 30 0 1 P +X ~ QD 600 -700 100 L 30 30 0 1 P +X ~ R02 0 -700 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 293_PSPICE +# +DEF 293_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "293_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -500 0 1 0 N +X ~ GND 300 -600 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ CLKA 0 0 100 R 30 30 0 1 P +X ~ CLKB 0 -100 100 R 30 30 0 1 P +X ~ R01 0 -300 100 R 30 30 0 1 P +X ~ R02 0 -400 100 R 30 30 0 1 P +X ~ QA 600 0 100 L 30 30 0 1 P +X ~ QB 600 -100 100 L 30 30 0 1 P +X ~ QC 600 -200 100 L 30 30 0 1 P +X ~ QD 600 -300 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 298_PSPICE +# +DEF 298_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "298_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1100 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -1200 100 U 30 30 0 1 W +X ~ WS 0 0 100 R 30 30 0 1 P +X ~ A1 0 -200 100 R 30 30 0 1 P +X ~ A2 0 -300 100 R 30 30 0 1 P +X ~ B1 0 -400 100 R 30 30 0 1 P +X ~ B2 0 -500 100 R 30 30 0 1 P +X ~ C1 0 -600 100 R 30 30 0 1 P +X ~ C2 0 -700 100 R 30 30 0 1 P +X ~ D1 0 -800 100 R 30 30 0 1 P +X ~ D2 0 -900 100 R 30 30 0 1 P +X ~ CLK 0 -1000 100 R 30 30 0 1 P +X ~ QA 600 -200 100 L 30 30 0 1 P +X ~ QB 600 -400 100 L 30 30 0 1 P +X ~ QC 600 -600 100 L 30 30 0 1 P +X ~ QD 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 351_PSPICE +# +DEF 351_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "351_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -2000 0 1 0 N +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ GND 300 -2100 100 U 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 P +X ~ 1D0 0 -200 100 R 30 30 0 1 P +X ~ 1D1 0 -300 100 R 30 30 0 1 P +X ~ 1D2 0 -400 100 R 30 30 0 1 P +X ~ 1D3 0 -500 100 R 30 30 0 1 P +X ~ D4 0 -1200 100 R 30 30 0 1 P +X ~ D5 0 -1300 100 R 30 30 0 1 P +X ~ D6 0 -1400 100 R 30 30 0 1 P +X ~ D7 0 -1500 100 R 30 30 0 1 P +X ~ A 0 -1700 100 R 30 30 0 1 P +X ~ B 0 -1800 100 R 30 30 0 1 P +X ~ C 0 -1900 100 R 30 30 0 1 P +X ~ 2D0 0 -700 100 R 30 30 0 1 P +X ~ 2D1 0 -800 100 R 30 30 0 1 P +X ~ 2D2 0 -900 100 R 30 30 0 1 P +X ~ 2D3 0 -1000 100 R 30 30 0 1 P +X ~ 1Y 600 -200 100 L 30 30 0 1 P +X ~ 2Y 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 365_PSPICE +# +DEF 365_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "365_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \G\1 0 0 100 R 30 30 0 1 P +X ~ \G\2 0 -100 100 R 30 30 0 1 P +X ~ A1 0 -300 100 R 30 30 0 1 P +X ~ A2 0 -400 100 R 30 30 0 1 P +X ~ A3 0 -500 100 R 30 30 0 1 P +X ~ A4 0 -600 100 R 30 30 0 1 P +X ~ A5 0 -700 100 R 30 30 0 1 P +X ~ A6 0 -800 100 R 30 30 0 1 P +X ~ Y1 600 -300 100 L 30 30 0 1 P +X ~ Y2 600 -400 100 L 30 30 0 1 P +X ~ Y3 600 -500 100 L 30 30 0 1 P +X ~ Y4 600 -600 100 L 30 30 0 1 P +X ~ Y5 600 -700 100 L 30 30 0 1 P +X ~ Y6 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 366_PSPICE +# +DEF 366_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "366_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ \G\1 0 0 100 R 30 30 0 1 P +X ~ \G\2 0 -100 100 R 30 30 0 1 P +X ~ A1 0 -300 100 R 30 30 0 1 P +X ~ A2 0 -400 100 R 30 30 0 1 P +X ~ A3 0 -500 100 R 30 30 0 1 P +X ~ A4 0 -600 100 R 30 30 0 1 P +X ~ A5 0 -700 100 R 30 30 0 1 P +X ~ A6 0 -800 100 R 30 30 0 1 P +X ~ Y1 600 -300 100 L 30 30 0 1 P +X ~ Y2 600 -400 100 L 30 30 0 1 P +X ~ Y3 600 -500 100 L 30 30 0 1 P +X ~ Y4 600 -600 100 L 30 30 0 1 P +X ~ Y5 600 -700 100 L 30 30 0 1 P +X ~ Y6 600 -800 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 367_PSPICE +# +DEF 367_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "367_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 1\G\ 0 0 100 R 30 30 0 1 P +X ~ 1A1 0 -100 100 R 30 30 0 1 P +X ~ 1A2 0 -200 100 R 30 30 0 1 P +X ~ 1A3 0 -300 100 R 30 30 0 1 P +X ~ 1A4 0 -400 100 R 30 30 0 1 P +X ~ 2\G\ 0 -600 100 R 30 30 0 1 P +X ~ 2A1 0 -700 100 R 30 30 0 1 P +X ~ 2A2 0 -800 100 R 30 30 0 1 P +X ~ 1Y1 600 -100 100 L 30 30 0 1 P +X ~ 1Y2 600 -200 100 L 30 30 0 1 P +X ~ 1Y3 600 -300 100 L 30 30 0 1 P +X ~ 1Y4 600 -400 100 L 30 30 0 1 P +X ~ 2Y2 600 -800 100 L 30 30 0 1 P +X ~ 2Y1 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 368_PSPICE +# +DEF 368_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "368_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -900 0 1 0 N +X ~ GND 300 -1000 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 1\G\ 0 0 100 R 30 30 0 1 P +X ~ 1A1 0 -100 100 R 30 30 0 1 P +X ~ 1A2 0 -200 100 R 30 30 0 1 P +X ~ 1A3 0 -300 100 R 30 30 0 1 P +X ~ 1A4 0 -400 100 R 30 30 0 1 P +X ~ 2\G\ 0 -600 100 R 30 30 0 1 P +X ~ 2A1 0 -700 100 R 30 30 0 1 P +X ~ 2A2 0 -800 100 R 30 30 0 1 P +X ~ 1Y1 600 -100 100 L 30 30 0 1 P +X ~ 1Y2 600 -200 100 L 30 30 0 1 P +X ~ 1Y3 600 -300 100 L 30 30 0 1 P +X ~ 1Y4 600 -400 100 L 30 30 0 1 P +X ~ 2Y2 600 -800 100 L 30 30 0 1 P +X ~ 2Y1 600 -700 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 376_PSPICE +# +DEF 376_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "376_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -1000 0 1 0 N +X ~ GND 200 -1100 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ 1J 0 0 100 R 30 30 0 1 P +X ~ 2J 0 -200 100 R 30 30 0 1 P +X ~ 3J 0 -400 100 R 30 30 0 1 P +X ~ 4J 0 -600 100 R 30 30 0 1 P +X ~ 1\K\ 0 -100 100 R 30 30 0 1 P +X ~ 2\K\ 0 -300 100 R 30 30 0 1 P +X ~ 3\K\ 0 -500 100 R 30 30 0 1 P +X ~ 4\K\ 0 -700 100 R 30 30 0 1 P +X ~ 1Q 600 -100 100 L 30 30 0 1 P +X ~ 2Q 600 -300 100 L 30 30 0 1 P +X ~ 3Q 600 -500 100 L 30 30 0 1 P +X ~ 4Q 600 -700 100 L 30 30 0 1 P +X ~ CLK 0 -800 100 R 30 30 0 1 P +X ~ \CLR\ 300 -1100 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 390_PSPICE +# +DEF 390_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "390_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -400 0 1 0 N +X ~ GND 200 -500 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +X ~ CKA 0 0 100 R 30 30 0 1 P +X ~ CKB 0 -200 100 R 30 30 0 1 P +X ~ CLR 300 -500 100 U 30 30 0 1 P +X ~ QA 600 100 100 L 30 30 0 1 P +X ~ QB 600 0 100 L 30 30 0 1 P +X ~ QC 600 -100 100 L 30 30 0 1 P +X ~ QD 600 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 393_PSPICE +# +DEF 393_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "393_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 500 -400 0 1 0 N +X ~ GND 200 -500 100 U 30 30 0 1 W +X ~ PWR 300 200 100 D 30 30 0 1 W +X ~ A 0 0 100 R 30 30 0 1 P +X ~ QA 600 0 100 L 30 30 0 1 P +X ~ QB 600 -100 100 L 30 30 0 1 P +X ~ QC 600 -200 100 L 30 30 0 1 P +X ~ QD 600 -300 100 L 30 30 0 1 P +X ~ CLR 300 -500 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 425_PSPICE +# +DEF 425_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "425_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -140 N +C 250 -160 40 0 1 0 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ \G\ 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 426_PSPICE +# +DEF 426_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "426_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 -300 100 -100 N +P 2 0 1 0 100 -100 100 -500 N +P 2 0 1 0 100 -500 400 -300 N +P 2 0 1 0 100 0 250 0 N +P 2 0 1 0 250 0 250 -200 N +X ~ A 0 -300 100 R 30 30 0 1 I +X ~ Y 500 -300 100 L 30 30 0 1 O +X ~ GND 200 -530 100 U 30 30 0 1 W +X ~ PWR 200 -70 100 D 30 30 0 1 W +X ~ G 0 0 100 R 30 30 0 1 I +ENDDRAW +ENDDEF +# +# 490_PSPICE +# +DEF 490_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "490_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 200 500 -400 0 1 0 N +X ~ GND 200 -500 100 U 30 30 0 1 W +X ~ PWR 300 300 100 D 30 30 0 1 W +X ~ SET9 0 0 100 R 30 30 0 1 P +X ~ CLK 0 -200 100 R 30 30 0 1 P +X ~ CLR 300 -500 100 U 30 30 0 1 P +X ~ QA 600 100 100 L 30 30 0 1 P +X ~ QB 600 0 100 L 30 30 0 1 P +X ~ QC 600 -100 100 L 30 30 0 1 P +X ~ QD 600 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 411/OP_PSPICE +# +DEF 411/OP_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "411/OP_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -500 N +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 700 -200 100 100 N +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 600 0 500 -100 N +P 2 0 1 0 500 -300 600 -400 N +P 2 0 1 0 600 0 700 0 N +P 2 0 1 0 600 -400 700 -400 N +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ V+ 400 100 100 D 30 30 0 1 W +X ~ V- 400 -500 100 U 30 30 0 1 W +X ~ OUT 800 -200 100 L 30 30 0 1 O +X ~ B1 800 -400 100 L 30 30 0 1 I +X ~ B2 800 0 100 L 30 30 0 1 I +ENDDRAW +ENDDEF +# +# nmose_PSPICE +# +DEF nmose_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "nmose_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 290 -20 230 0 290 20 N +X ~ S 300 -200 100 U 30 30 0 1 P +X ~ G 0 0 100 R 30 30 0 1 P +X ~ D 300 200 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# 741/OP_PSPICE +# +DEF 741/OP_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "741/OP_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -500 N +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 700 -200 100 100 N +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 600 0 500 -100 N +P 2 0 1 0 500 -300 600 -400 N +P 2 0 1 0 600 0 700 0 N +P 2 0 1 0 600 -400 700 -400 N +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ V+ 400 100 100 D 30 30 0 1 W +X ~ V- 400 -500 100 U 30 30 0 1 W +X ~ OUT 800 -200 100 L 30 30 0 1 O +X ~ OS1 800 -400 100 L 30 30 0 1 I +X ~ OS2 800 0 100 L 30 30 0 1 I +ENDDRAW +ENDDEF +# +# NIGBT_PSPICE +# +DEF NIGBT_PSPICE Z 0 30 Y Y 1 F N +F0 "Z" 0 0 30 H V L CNN +F1 "NIGBT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 200 200 0 N +P 2 0 1 0 170 200 170 0 N +P 2 0 1 0 100 0 170 0 N +P 2 0 1 0 300 200 200 150 N +P 2 0 1 0 200 50 300 0 N +P 3 0 1 0 210 20 280 10 230 60 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ C 300 300 100 D 30 30 0 1 P +X ~ E 300 -100 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IXGH40N60_PSPICE +# +DEF IXGH40N60_PSPICE Z 0 30 Y Y 1 F N +F0 "Z" 0 0 30 H V L CNN +F1 "IXGH40N60_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 200 200 0 N +P 2 0 1 0 170 200 170 0 N +P 2 0 1 0 100 0 170 0 N +P 2 0 1 0 300 200 200 150 N +P 2 0 1 0 200 50 300 0 N +P 3 0 1 0 210 20 280 10 230 60 N +X ~ G 0 0 100 R 30 30 0 1 P +X ~ C 300 300 100 D 30 30 0 1 P +X ~ E 300 -100 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# D1N914_PSPICE +# +DEF D1N914_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "D1N914_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# d_PSPICE +# +DEF d_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "d_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# CD4016BD_PSPICE +# +DEF CD4016BD_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "CD4016BD_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 100 200 0 N +P 2 0 1 0 400 0 500 0 N +P 2 0 1 0 100 -200 100 -300 N +P 2 0 1 0 500 -200 500 -300 N +S 100 200 500 200 0 1 0 N +S 500 200 500 -200 0 1 0 N +S 100 -300 500 -300 0 1 0 N +S 100 200 100 200 0 1 0 N +S 100 200 100 -200 0 1 0 N +S 100 0 200 0 0 1 0 N +X ~ IN 0 0 100 R 30 30 0 1 P +X ~ OUT 600 0 100 L 30 30 0 1 P +X ~ VC 0 -200 100 R 30 30 0 1 P +X ~ VDD 300 300 100 D 30 30 0 1 P +X ~ VSS 300 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# T2coupled_PSPICE +# +DEF T2coupled_PSPICE T 0 30 Y Y 1 F N +F0 "T" 0 0 30 H V L CNN +F1 "T2coupled_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -200 0 1 0 N +X ~ in2 0 -100 100 R 30 30 0 1 P +X ~ out1 700 0 100 L 30 30 0 1 P +X ~ in1 0 0 100 R 30 30 0 1 P +X ~ out2 700 -100 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# T3coupled_PSPICE +# +DEF T3coupled_PSPICE T 0 30 Y Y 1 F N +F0 "T" 0 0 30 H V L CNN +F1 "T3coupled_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -300 0 1 0 N +X ~ in2 0 -100 100 R 30 30 0 1 P +X ~ out1 700 0 100 L 30 30 0 1 P +X ~ in1 0 0 100 R 30 30 0 1 P +X ~ out2 700 -100 100 L 30 30 0 1 P +X ~ out3 700 -200 100 L 30 30 0 1 P +X ~ in3 0 -200 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Q2N6052_PSPICE +# +DEF Q2N6052_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "Q2N6052_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 300 -50 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 100 -50 200 -100 N +P 2 0 1 0 300 -150 400 -200 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +P 3 0 1 0 390 -170 320 -160 370 -210 N +P 2 0 1 0 200 100 400 100 N +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 300 0 300 -200 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 400 100 400 0 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 400 200 100 D 30 30 0 1 P +X ~ 1 400 -300 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# Q2N6059_PSPICE +# +DEF Q2N6059_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "Q2N6059_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 300 -50 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 2 0 1 0 400 -200 300 -150 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +P 3 0 1 0 310 -180 380 -190 330 -140 N +P 2 0 1 0 200 100 400 100 N +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 300 0 300 -200 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 400 100 400 0 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 400 200 100 D 30 30 0 1 P +X ~ 1 400 -300 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# vdb_PSPICE +# +DEF vdb_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "vdb_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# idb_PSPICE +# +DEF idb_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "idb_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# vphase_PSPICE +# +DEF vphase_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "vphase_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# iphase_PSPICE +# +DEF iphase_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "iphase_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# vgroupdelay_PSPICE +# +DEF vgroupdelay_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "vgroupdelay_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# igroupdelay_PSPICE +# +DEF igroupdelay_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "igroupdelay_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# vreal_PSPICE +# +DEF vreal_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "vreal_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ireal_PSPICE +# +DEF ireal_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "ireal_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# vimaginary_PSPICE +# +DEF vimaginary_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "vimaginary_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# iimaginary_PSPICE +# +DEF iimaginary_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "iimaginary_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IMARKER_PSPICE +# +DEF IMARKER_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "IMARKER_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 230 200 180 N +P 2 0 1 0 180 230 220 230 N +P 2 0 1 0 180 180 220 180 N +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# NODEMARKER_PSPICE +# +DEF NODEMARKER_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "NODEMARKER_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VDIFFMARKER_PSPICE +# +DEF VDIFFMARKER_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "VDIFFMARKER_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 0 40 80 N +P 2 0 1 0 40 80 80 40 N +P 2 0 1 0 80 40 0 0 N +P 2 0 1 0 60 60 170 170 N +C 200 200 50 0 1 0 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# AGND_PSPICE +# +DEF AGND_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "AGND_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -50 -100 50 -100 N +P 2 0 1 0 -50 -100 0 -150 N +P 2 0 1 0 0 -150 50 -100 N +X ~ AGND 0 0 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# EGND_PSPICE +# +DEF EGND_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "EGND_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -50 -100 50 -100 N +P 2 0 1 0 -30 -120 30 -120 N +P 2 0 1 0 -10 -140 10 -140 N +X ~ EGND 0 0 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# +5V_PSPICE +# +DEF +5V_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "+5V_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 100 0 0 1 0 N +C 0 130 30 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# -5V_PSPICE +# +DEF -5V_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "-5V_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 100 0 0 1 0 N +C 0 130 30 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# BUBBLE_PSPICE +# +DEF BUBBLE_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "BUBBLE_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 100 0 0 1 0 N +C 0 130 30 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# GLOBAL_PSPICE +# +DEF GLOBAL_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "GLOBAL_PSPICE" 0 60 30 H V L CNN +DRAW +S -500 50 -100 -50 0 1 0 N +X ~ 1 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# OFFPAGE_PSPICE +# +DEF OFFPAGE_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "OFFPAGE_PSPICE" 0 60 30 H V L CNN +DRAW +S -500 50 -100 -50 0 1 0 N +X ~ 1 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IF_IN_PSPICE +# +DEF IF_IN_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "IF_IN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 0 -400 -50 N +P 2 0 1 0 -200 50 -100 0 N +P 2 0 1 0 -100 0 -200 -50 N +P 2 0 1 0 -140 0 -240 -50 N +P 2 0 1 0 -240 50 -140 0 N +P 2 0 1 0 -400 50 -500 0 N +P 2 0 1 0 -400 -50 -200 -50 N +P 2 0 1 0 -400 50 -200 50 N +X ~ 1 0 0 100 L 30 30 0 1 I +ENDDRAW +ENDDEF +# +# IF_OUT_PSPICE +# +DEF IF_OUT_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "IF_OUT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 500 0 400 -50 N +P 2 0 1 0 200 50 100 0 N +P 2 0 1 0 100 0 200 -50 N +P 2 0 1 0 460 0 360 -50 N +P 2 0 1 0 360 50 460 0 N +P 2 0 1 0 400 50 500 0 N +P 2 0 1 0 400 -50 200 -50 N +P 2 0 1 0 400 50 200 50 N +X ~ 1 0 0 100 R 30 30 0 1 O +ENDDRAW +ENDDEF +# +# INTERFACE_PSPICE +# +DEF INTERFACE_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "INTERFACE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 0 -400 -50 N +P 2 0 1 0 -200 50 -100 0 N +P 2 0 1 0 -100 0 -200 -50 N +P 2 0 1 0 -400 50 -500 0 N +P 2 0 1 0 -400 -50 -200 -50 N +P 2 0 1 0 -400 50 -200 50 N +X ~ 1 0 0 100 L 30 30 0 1 B +ENDDRAW +ENDDEF +# +# HI_PSPICE +# +DEF HI_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "HI_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -300 -50 -200 -50 N +P 2 0 1 0 -200 50 -300 50 N +P 2 0 1 0 -300 50 -300 -50 N +X ~ HI 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# LO_PSPICE +# +DEF LO_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "LO_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -300 -50 -200 -50 N +P 2 0 1 0 -200 50 -300 50 N +P 2 0 1 0 -300 50 -300 -50 N +X ~ LO 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# NoConnect_PSPICE +# +DEF NoConnect_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "NoConnect_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 50 50 -50 -50 N +P 2 0 1 0 -50 50 50 -50 N +X ~ pin1 0 0 100 R 30 30 0 1 P +ENDDRAW +ENDDEF +# +# X_PSPICE +# +DEF X_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "X_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -300 50 -300 -50 N +P 2 0 1 0 -300 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -300 50 N +X ~ X 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# GND_ANALOG_PSPICE +# +DEF GND_ANALOG_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "GND_ANALOG_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -50 -100 50 -100 N +P 2 0 1 0 -50 -100 0 -150 N +P 2 0 1 0 0 -150 50 -100 N +X ~ AGND 0 0 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# GND_EARTH_PSPICE +# +DEF GND_EARTH_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "GND_EARTH_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -50 -100 50 -100 N +P 2 0 1 0 -30 -120 30 -120 N +P 2 0 1 0 -10 -140 10 -140 N +X ~ EGND 0 0 100 D 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DX_PSPICE +# +DEF DX_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "DX_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +P 2 0 1 0 200 50 200 -50 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# SG1524B_PSPICE +# +DEF SG1524B_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "SG1524B_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -800 0 1 0 N +X ~ 1 0 0 100 R 30 30 0 1 B +X ~ 2 0 -100 100 R 30 30 0 1 B +X ~ 3 0 -200 100 R 30 30 0 1 B +X ~ 4 0 -300 100 R 30 30 0 1 B +X ~ 5 0 -400 100 R 30 30 0 1 B +X ~ 7 0 -500 100 R 30 30 0 1 B +X ~ 8 0 -600 100 R 30 30 0 1 B +X ~ 9 0 -700 100 R 30 30 0 1 B +X ~ 10 700 0 100 L 30 30 0 1 B +X ~ 11 700 -100 100 L 30 30 0 1 B +X ~ 12 700 -200 100 L 30 30 0 1 B +X ~ 13 700 -300 100 L 30 30 0 1 B +X ~ 14 700 -400 100 L 30 30 0 1 B +X ~ 15 700 -500 100 L 30 30 0 1 B +X ~ 16 700 -600 100 L 30 30 0 1 B +ENDDRAW +ENDDEF +# +# LM723C_PSPICE +# +DEF LM723C_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LM723C_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -600 0 1 0 N +X ~ 2 0 0 100 R 30 30 0 1 B +X ~ 3 0 -100 100 R 30 30 0 1 B +X ~ 4 0 -200 100 R 30 30 0 1 B +X ~ 5 0 -300 100 R 30 30 0 1 B +X ~ 6 0 -400 100 R 30 30 0 1 B +X ~ 7 0 -500 100 R 30 30 0 1 B +X ~ 9 700 0 100 L 30 30 0 1 B +X ~ 10 700 -100 100 L 30 30 0 1 B +X ~ 11 700 -200 100 L 30 30 0 1 B +X ~ 12 700 -300 100 L 30 30 0 1 B +X ~ 13 700 -400 100 L 30 30 0 1 B +ENDDRAW +ENDDEF +# +# SCR3T_PSPICE +# +DEF SCR3T_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "SCR3T_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 100 50 100 -50 200 0 100 50 N +P 2 0 1 0 300 -100 200 0 N +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 300 0 200 0 N +X ~ A 0 0 100 R 30 30 0 1 P +X ~ K 400 0 100 L 30 30 0 1 P +X ~ G 300 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# LM7805C_PSPICE +# +DEF LM7805C_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LM7805C_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 1300 -200 0 1 0 N +X ~ INPUT 0 0 100 R 30 30 0 1 B +X ~ OUTPUT 1400 0 100 L 30 30 0 1 B +X ~ GROUND 700 -300 100 U 30 30 0 1 B +ENDDRAW +ENDDEF +# +# LM7815C_PSPICE +# +DEF LM7815C_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LM7815C_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 1300 -200 0 1 0 N +X ~ INPUT 0 0 100 R 30 30 0 1 B +X ~ OUTPUT 1400 0 100 L 30 30 0 1 B +X ~ GROUND 700 -300 100 U 30 30 0 1 B +ENDDRAW +ENDDEF +# +# LM7905C_PSPICE +# +DEF LM7905C_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LM7905C_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 1300 -200 0 1 0 N +X ~ INPUT 0 0 100 R 30 30 0 1 B +X ~ OUTPUT 1400 0 100 L 30 30 0 1 B +X ~ GROUND 700 -300 100 U 30 30 0 1 B +ENDDRAW +ENDDEF +# +# LM7915C_PSPICE +# +DEF LM7915C_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "LM7915C_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 1300 -200 0 1 0 N +X ~ INPUT 0 0 100 R 30 30 0 1 B +X ~ OUTPUT 1400 0 100 L 30 30 0 1 B +X ~ GROUND 700 -300 100 U 30 30 0 1 B +ENDDRAW +ENDDEF +# +# OP-07_PSPICE +# +DEF OP-07_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "OP-07_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 700 -200 100 100 N +P 2 0 1 0 100 -500 700 -200 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 100 100 100 -500 N +P 2 0 1 0 400 0 400 -50 N +X ~ OUT 800 -200 100 L 30 30 0 1 O +X ~ + 0 0 100 R 30 30 0 1 I +X ~ - 0 -400 100 R 30 30 0 1 I +X ~ V+ 400 100 100 D 30 30 0 1 I +X ~ V- 400 -500 100 U 30 30 0 1 I +ENDDRAW +ENDDEF +# +# OP_AMP_PSPICE +# +DEF OP_AMP_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "OP_AMP_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 1000 -400 0 1 0 N +X ~ NON_INV 0 0 100 R 30 30 0 1 B +X ~ INV 0 -300 100 R 30 30 0 1 B +X ~ OUT 1100 -100 100 L 30 30 0 1 B +ENDDRAW +ENDDEF +# +# IDEAL_TRAN_PSPICE +# +DEF IDEAL_TRAN_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "IDEAL_TRAN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 300 -500 300 -600 N +P 2 0 1 0 220 -100 220 -500 N +P 2 0 1 0 220 -500 220 -500 N +P 2 0 1 0 180 -100 180 -500 N +P 2 0 1 0 180 -500 180 -500 N +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# SCR2T_PSPICE +# +DEF SCR2T_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "SCR2T_PSPICE" 0 60 30 H V L CNN +DRAW +S 100 100 600 -100 0 1 0 N +X ~ A 0 0 100 R 30 30 0 1 B +X ~ K 700 0 100 L 30 30 0 1 B +ENDDRAW +ENDDEF +# +# CMOD_PSPICE +# +DEF CMOD_PSPICE K 0 30 Y Y 1 F N +F0 "K" 0 0 30 H V L CNN +F1 "CMOD_PSPICE" 0 60 30 H V L CNN +DRAW +S 0 100 100 0 0 1 0 N +T 0 20 20 30 0 0 0 K +ENDDRAW +ENDDEF +# +# Q_PI_PSPICE +# +DEF Q_PI_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "Q_PI_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +P 2 0 1 0 100 100 100 -100 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# COUPLED_INDUCTOR_PSPICE +# +DEF COUPLED_INDUCTOR_PSPICE TX 0 30 Y Y 1 F N +F0 "TX" 0 0 30 H V L CNN +F1 "COUPLED_INDUCTOR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 300 -500 300 -600 N +P 2 0 1 0 100 0 100 -100 N +P 2 0 1 0 100 -500 100 -600 N +P 2 0 1 0 300 0 300 -100 N +A 300 -350 50 901 2699 0 1 0 N 300 -300 300 -400 +A 100 -350 50 -899 899 0 1 0 N 100 -400 100 -300 +A 100 -250 50 -899 899 0 1 0 N 100 -300 100 -200 +A 100 -150 50 -899 899 0 1 0 N 100 -200 100 -100 +A 300 -150 50 901 2699 0 1 0 N 300 -100 300 -200 +A 300 -250 50 901 2699 0 1 0 N 300 -200 300 -300 +A 100 -450 50 -899 899 0 1 0 N 100 -500 100 -400 +A 300 -450 50 901 2699 0 1 0 N 300 -400 300 -500 +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 0 -600 100 R 30 30 0 1 P +X ~ 3 400 0 100 L 30 30 0 1 P +X ~ 4 400 -600 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# SCR_PSPICE +# +DEF SCR_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "SCR_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 100 50 100 -50 200 0 100 50 N +P 2 0 1 0 300 -100 200 0 N +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 300 0 200 0 N +X ~ A 0 0 100 R 30 30 0 1 P +X ~ K 400 0 100 L 30 30 0 1 P +X ~ G 300 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QM_PSPICE +# +DEF QM_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QM_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +P 2 0 1 0 100 100 100 -100 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# QN_PSPICE +# +DEF QN_PSPICE Q 0 30 Y Y 1 F N +F0 "Q" 0 0 30 H V L CNN +F1 "QN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +P 2 0 1 0 100 100 100 -100 N +X ~ 2 0 0 100 R 30 30 0 1 P +X ~ 3 200 200 100 D 30 30 0 1 P +X ~ 1 200 -200 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DXY_PSPICE +# +DEF DXY_PSPICE D 0 30 Y Y 1 F N +F0 "D" 0 0 30 H V L CNN +F1 "DXY_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +P 2 0 1 0 200 50 200 -50 N +X ~ 1 0 0 100 R 30 30 0 1 P +X ~ 2 300 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DigClock_PSPICE +# +DEF DigClock_PSPICE DSTM 0 30 Y Y 1 F N +F0 "DSTM" 0 0 30 H V L CNN +F1 "DigClock_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 50 -500 -50 N +P 2 0 1 0 -500 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -500 50 N +P 2 0 1 0 -360 -20 -310 -20 N +P 2 0 1 0 -310 -20 -310 20 N +P 2 0 1 0 -310 20 -260 20 N +P 2 0 1 0 -260 20 -260 -20 N +P 2 0 1 0 -260 -20 -210 -20 N +P 2 0 1 0 -210 -20 -210 20 N +P 2 0 1 0 -210 20 -160 20 N +X ~ 1 0 0 100 L 30 30 0 1 P +X ~ pwr -250 150 100 D 30 30 0 1 W +X ~ gnd -250 -150 100 U 30 30 0 1 W +ENDDRAW +ENDDEF +# +# FileStim_PSPICE +# +DEF FileStim_PSPICE DSTM 0 30 Y Y 1 F N +F0 "DSTM" 0 0 30 H V L CNN +F1 "FileStim_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 50 -500 -50 N +P 2 0 1 0 -500 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -500 50 N +P 2 0 1 0 -400 -20 -350 -20 N +P 2 0 1 0 -350 -20 -350 20 N +P 2 0 1 0 -350 20 -300 20 N +P 2 0 1 0 -300 20 -300 -20 N +P 2 0 1 0 -300 -20 -250 -20 N +P 2 0 1 0 -250 -20 -250 20 N +P 2 0 1 0 -250 20 -200 20 N +X ~ PWR -200 150 100 D 30 30 0 1 W +X ~ GND -200 -150 100 U 30 30 0 1 W +X ~ *1 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IAC_PSPICE +# +DEF IAC_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IAC_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +C 0 -200 100 0 1 0 N +A 30 -200 30 -1799 -1 0 1 0 N 0 -200 60 -200 +A -30 -200 30 1 1799 0 1 0 N 0 -200 -60 -200 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IDC_PSPICE +# +DEF IDC_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IDC_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -150 0 -250 N +P 2 0 1 0 0 -250 -50 -200 N +P 2 0 1 0 0 -250 50 -200 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IEXP_PSPICE +# +DEF IEXP_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IEXP_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +A -10 -230 60 716 1880 0 1 0 N 9 -173 -69 -238 +A 70 -170 60 -1799 -901 0 1 0 N 10 -170 70 -230 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPULSE_PSPICE +# +DEF IPULSE_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPULSE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -250 N +P 2 0 1 0 -40 -250 -20 -180 N +P 2 0 1 0 -20 -180 20 -180 N +P 2 0 1 0 20 -180 40 -250 N +P 2 0 1 0 40 -250 70 -250 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPWL_ENH_PSPICE +# +DEF IPWL_ENH_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPWL_ENH_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPWL_FILE_PSPICE +# +DEF IPWL_FILE_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPWL_FILE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPWL_PSPICE +# +DEF IPWL_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPWL_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ISFFM_PSPICE +# +DEF ISFFM_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "ISFFM_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +A -30 -200 30 1 1799 0 1 0 N 0 -200 -60 -200 +A 30 -200 30 -1799 -1 0 1 0 N 0 -200 60 -200 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ISIN_PSPICE +# +DEF ISIN_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "ISIN_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +A -30 -200 30 1 1799 0 1 0 N 0 -200 -60 -200 +A 30 -200 30 -1799 -1 0 1 0 N 0 -200 60 -200 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ISRC_PSPICE +# +DEF ISRC_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "ISRC_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -150 0 -250 N +P 2 0 1 0 0 -250 -50 -200 N +P 2 0 1 0 0 -250 50 -200 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# STIM1_PSPICE +# +DEF STIM1_PSPICE DSTM 0 30 Y Y 1 F N +F0 "DSTM" 0 0 30 H V L CNN +F1 "STIM1_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 50 -500 -50 N +P 2 0 1 0 -500 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -500 50 N +P 2 0 1 0 -450 -20 -400 -20 N +P 2 0 1 0 -400 -20 -400 20 N +P 2 0 1 0 -400 20 -350 20 N +P 2 0 1 0 -350 20 -350 -20 N +P 2 0 1 0 -350 -20 -300 -20 N +P 2 0 1 0 -300 -20 -300 20 N +P 2 0 1 0 -300 20 -250 20 N +X ~ pin1 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# STIM4_PSPICE +# +DEF STIM4_PSPICE DSTM 0 30 Y Y 1 F N +F0 "DSTM" 0 0 30 H V L CNN +F1 "STIM4_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 50 -500 -50 N +P 2 0 1 0 -500 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -500 50 N +P 2 0 1 0 -450 -20 -400 -20 N +P 2 0 1 0 -400 -20 -400 20 N +P 2 0 1 0 -400 20 -350 20 N +P 2 0 1 0 -350 20 -350 -20 N +P 2 0 1 0 -350 -20 -300 -20 N +P 2 0 1 0 -300 -20 -300 20 N +P 2 0 1 0 -300 20 -250 20 N +X ~ pin[0-3] 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# STIM8_PSPICE +# +DEF STIM8_PSPICE DSTM 0 30 Y Y 1 F N +F0 "DSTM" 0 0 30 H V L CNN +F1 "STIM8_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 50 -500 -50 N +P 2 0 1 0 -500 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -500 50 N +P 2 0 1 0 -450 -20 -400 -20 N +P 2 0 1 0 -400 -20 -400 20 N +P 2 0 1 0 -400 20 -350 20 N +P 2 0 1 0 -350 20 -350 -20 N +P 2 0 1 0 -350 -20 -300 -20 N +P 2 0 1 0 -300 -20 -300 20 N +P 2 0 1 0 -300 20 -250 20 N +X ~ pin[0-7] 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# STIM16_PSPICE +# +DEF STIM16_PSPICE DSTM 0 30 Y Y 1 F N +F0 "DSTM" 0 0 30 H V L CNN +F1 "STIM16_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 50 -500 -50 N +P 2 0 1 0 -500 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -500 50 N +P 2 0 1 0 -450 -20 -400 -20 N +P 2 0 1 0 -400 -20 -400 20 N +P 2 0 1 0 -400 20 -350 20 N +P 2 0 1 0 -350 20 -350 -20 N +P 2 0 1 0 -350 -20 -300 -20 N +P 2 0 1 0 -300 -20 -300 20 N +P 2 0 1 0 -300 20 -250 20 N +X ~ pin[0-15] 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VEXP_PSPICE +# +DEF VEXP_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VEXP_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +A -10 -230 60 716 1880 0 1 0 N 9 -173 -69 -238 +A 70 -170 60 -1799 -901 0 1 0 N 10 -170 70 -230 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPULSE_PSPICE +# +DEF VPULSE_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPULSE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -250 N +P 2 0 1 0 -40 -250 -20 -180 N +P 2 0 1 0 -20 -180 20 -180 N +P 2 0 1 0 20 -180 40 -250 N +P 2 0 1 0 40 -250 70 -250 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPWL_ENH_PSPICE +# +DEF VPWL_ENH_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPWL_ENH_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPWL_FILE_PSPICE +# +DEF VPWL_FILE_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPWL_FILE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPWL_PSPICE +# +DEF VPWL_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPWL_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VSFFM_PSPICE +# +DEF VSFFM_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VSFFM_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +A -30 -200 30 1 1799 0 1 0 N 0 -200 -60 -200 +A 30 -200 30 -1799 -1 0 1 0 N 0 -200 60 -200 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VSIN_PSPICE +# +DEF VSIN_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VSIN_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +A -30 -200 30 1 1799 0 1 0 N 0 -200 -60 -200 +A 30 -200 30 -1799 -1 0 1 0 N 0 -200 60 -200 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VSRC_PSPICE +# +DEF VSRC_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VSRC_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VAC_PSPICE +# +DEF VAC_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VAC_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +A -30 -200 30 1 1799 0 1 0 N 0 -200 -60 -200 +A 30 -200 30 -1799 -1 0 1 0 N 0 -200 60 -200 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VDC_PSPICE +# +DEF VDC_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VDC_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -100 -140 100 -140 N +P 2 0 1 0 -50 -170 50 -170 N +P 2 0 1 0 100 -200 -100 -200 N +P 2 0 1 0 -50 -240 50 -240 N +P 2 0 1 0 0 -90 0 -140 N +P 2 0 1 0 0 -300 0 -240 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPWL_RE_FOREVER_PSPICE +# +DEF IPWL_RE_FOREVER_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPWL_RE_FOREVER_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPWL_RE_N_TIMES_PSPICE +# +DEF IPWL_RE_N_TIMES_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPWL_RE_N_TIMES_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPWL_RE_FOREVER_PSPICE +# +DEF VPWL_RE_FOREVER_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPWL_RE_FOREVER_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPWL_RE_N_TIMES_PSPICE +# +DEF VPWL_RE_N_TIMES_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPWL_RE_N_TIMES_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPWL_F_RE_FOREVER_PSPICE +# +DEF IPWL_F_RE_FOREVER_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPWL_F_RE_FOREVER_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPWL_F_RE_N_TIMES_PSPICE +# +DEF VPWL_F_RE_N_TIMES_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPWL_F_RE_N_TIMES_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPWL_F_RE_FOREVER_PSPICE +# +DEF VPWL_F_RE_FOREVER_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VPWL_F_RE_FOREVER_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPWL_F_RE_N_TIMES_PSPICE +# +DEF IPWL_F_RE_N_TIMES_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "IPWL_F_RE_N_TIMES_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -70 -250 -40 -150 N +P 2 0 1 0 -40 -150 -10 -210 N +P 2 0 1 0 -10 -210 30 -210 N +P 2 0 1 0 30 -210 60 -130 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ISTIM_PSPICE +# +DEF ISTIM_PSPICE I 0 30 Y Y 1 F N +F0 "I" 0 0 30 H V L CNN +F1 "ISTIM_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -150 0 -250 N +P 2 0 1 0 0 -250 -50 -200 N +P 2 0 1 0 0 -250 50 -200 N +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VSTIM_PSPICE +# +DEF VSTIM_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "VSTIM_PSPICE" 0 60 30 H V L CNN +DRAW +C 0 -200 100 0 1 0 N +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DigStim_PSPICE +# +DEF DigStim_PSPICE DSTM 0 30 Y Y 1 F N +F0 "DSTM" 0 0 30 H V L CNN +F1 "DigStim_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -500 50 -500 -50 N +P 2 0 1 0 -500 -50 -200 -50 N +P 2 0 1 0 -200 -50 -100 0 N +P 2 0 1 0 -100 0 -200 50 N +P 2 0 1 0 -200 50 -500 50 N +P 2 0 1 0 -400 -20 -350 -20 N +P 2 0 1 0 -350 -20 -350 20 N +P 2 0 1 0 -350 20 -300 20 N +P 2 0 1 0 -300 20 -300 -20 N +P 2 0 1 0 -300 -20 -250 -20 N +P 2 0 1 0 -250 -20 -250 20 N +P 2 0 1 0 -250 20 -200 20 N +X ~ PWR -200 150 100 D 30 30 0 1 W +X ~ GND -200 -150 100 U 30 30 0 1 W +X ~ *OUT 0 0 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# CD4000_PWR_PSPICE +# +DEF CD4000_PWR_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "CD4000_PWR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -150 1500 -150 N +S 0 0 1500 -700 0 1 0 N +X ~ VDD -100 -300 100 R 30 30 0 1 P +X ~ AGND 500 -800 100 U 30 30 0 1 P +X ~ VSS 1600 -300 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# DIGIFPWR_PSPICE +# +DEF DIGIFPWR_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "DIGIFPWR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -150 1500 -150 N +S 0 0 1500 -700 0 1 0 N +X ~ PWR -100 -300 100 R 30 30 0 1 P +X ~ AGND 500 -800 100 U 30 30 0 1 P +X ~ GND 1600 -300 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ECL_100K_PWR_PSPICE +# +DEF ECL_100K_PWR_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "ECL_100K_PWR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -150 1600 -150 N +S 0 0 1600 -1200 0 1 0 N +X ~ VEE -100 -200 100 R 30 30 0 1 P +X ~ AGND 700 -1290 100 U 30 30 0 1 P +X ~ VCC1 1700 -200 100 L 30 30 0 1 P +X ~ VTT -100 -400 100 R 30 30 0 1 P +X ~ VCC2 1700 -400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# ECL_10K_PWR_PSPICE +# +DEF ECL_10K_PWR_PSPICE X 0 30 Y Y 1 F N +F0 "X" 0 0 30 H V L CNN +F1 "ECL_10K_PWR_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -150 1500 -150 N +S 0 0 1500 -1200 0 1 0 N +X ~ VEE -100 -200 100 R 30 30 0 1 P +X ~ AGND 700 -1300 100 U 30 30 0 1 P +X ~ VCC1 1600 -200 100 L 30 30 0 1 P +X ~ VTT -100 -400 100 R 30 30 0 1 P +X ~ VCC2 1600 -400 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IC1_PSPICE +# +DEF IC1_PSPICE IC 0 30 Y Y 1 F N +F0 "IC" 0 0 30 H V L CNN +F1 "IC1_PSPICE" 0 60 30 H V L CNN +DRAW +S -100 200 100 100 0 1 0 N +X ~ + 0 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IC2_PSPICE +# +DEF IC2_PSPICE IC 0 30 Y Y 1 F N +F0 "IC" 0 0 30 H V L CNN +F1 "IC2_PSPICE" 0 60 30 H V L CNN +DRAW +S 0 200 300 100 0 1 0 N +X ~ + 0 0 100 U 30 30 0 1 P +X ~ - 300 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPROBE_PSPICE +# +DEF IPROBE_PSPICE V 0 30 Y Y 1 F N +F0 "V" 0 0 30 H V L CNN +F1 "IPROBE_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 -230 50 -150 N +C 0 -200 100 0 1 0 N +A -10 -190 80 141 1639 0 1 0 N 67 -170 -86 -167 +X ~ + 0 0 100 D 30 30 0 1 P +X ~ - 0 -400 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# NODESET2_PSPICE +# +DEF NODESET2_PSPICE NS 0 30 Y Y 1 F N +F0 "NS" 0 0 30 H V L CNN +F1 "NODESET2_PSPICE" 0 60 30 H V L CNN +DRAW +S -100 200 300 100 0 1 0 N +X ~ + 0 0 100 U 30 30 0 1 P +X ~ - 200 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# OPTPARAM_PSPICE +# +DEF OPTPARAM_PSPICE PM 0 30 Y Y 1 F N +F0 "PM" 0 0 30 H V L CNN +F1 "OPTPARAM_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -400 0 900 0 N +ENDDRAW +ENDDEF +# +# PRINT1_PSPICE +# +DEF PRINT1_PSPICE PRINT 0 30 Y Y 1 F N +F0 "PRINT" 0 0 30 H V L CNN +F1 "PRINT1_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -50 200 0 200 N +P 2 0 1 0 0 200 0 280 N +P 2 0 1 0 0 280 100 280 N +P 2 0 1 0 100 280 100 200 N +P 2 0 1 0 100 200 70 170 N +P 2 0 1 0 70 170 -30 170 N +P 2 0 1 0 -30 170 0 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 100 200 150 200 N +P 2 0 1 0 20 260 80 260 N +P 2 0 1 0 20 240 80 240 N +P 2 0 1 0 20 220 80 220 N +P 2 0 1 0 20 200 80 200 N +P 2 0 1 0 50 130 80 130 N +C 130 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# PRINTDGTLCHG_PSPICE +# +DEF PRINTDGTLCHG_PSPICE PRINT 0 30 Y Y 1 F N +F0 "PRINT" 0 0 30 H V L CNN +F1 "PRINTDGTLCHG_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -50 200 0 200 N +P 2 0 1 0 0 200 0 280 N +P 2 0 1 0 0 280 100 280 N +P 2 0 1 0 100 280 100 200 N +P 2 0 1 0 100 200 70 170 N +P 2 0 1 0 70 170 -30 170 N +P 2 0 1 0 -30 170 0 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 100 200 150 200 N +P 2 0 1 0 20 260 80 260 N +P 2 0 1 0 20 240 80 240 N +P 2 0 1 0 20 220 80 220 N +P 2 0 1 0 20 200 80 200 N +P 2 0 1 0 50 130 80 130 N +C 130 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# UNKNOWN_PSPICE +# +DEF UNKNOWN_PSPICE *? 0 30 Y Y 1 F N +F0 "*?" 0 0 30 H V L CNN +F1 "UNKNOWN_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 -200 200 -300 N +S 0 0 400 -400 0 1 0 N +C 200 -350 20 0 1 0 N +A 200 -150 50 -899 899 0 1 0 N 200 -200 200 -100 +A 200 -150 50 1 1799 0 1 0 N 250 -150 150 -150 +ENDDRAW +ENDDEF +# +# VPRINT1_PSPICE +# +DEF VPRINT1_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "VPRINT1_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -50 200 0 200 N +P 2 0 1 0 0 280 100 280 N +P 2 0 1 0 100 280 100 200 N +P 2 0 1 0 100 200 70 170 N +P 2 0 1 0 70 170 -30 170 N +P 2 0 1 0 -30 170 0 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 100 200 150 200 N +P 2 0 1 0 20 260 80 260 N +P 2 0 1 0 20 240 80 240 N +P 2 0 1 0 20 220 80 220 N +P 2 0 1 0 20 200 80 200 N +P 2 0 1 0 50 130 80 130 N +P 2 0 1 0 0 200 0 280 N +C 130 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPRINT2_PSPICE +# +DEF VPRINT2_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "VPRINT2_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 120 260 180 260 N +P 2 0 1 0 120 240 180 240 N +P 2 0 1 0 120 220 180 220 N +P 2 0 1 0 120 200 180 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 100 200 100 280 N +C 230 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +X ~ 2 200 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPLOT1_PSPICE +# +DEF VPLOT1_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "VPLOT1_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -50 200 0 200 N +P 2 0 1 0 0 200 0 280 N +P 2 0 1 0 0 280 100 280 N +P 2 0 1 0 100 280 100 200 N +P 2 0 1 0 100 200 70 170 N +P 2 0 1 0 70 170 -30 170 N +P 2 0 1 0 -30 170 0 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 100 200 150 200 N +P 2 0 1 0 20 200 80 200 N +P 2 0 1 0 50 130 80 130 N +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -50 200 0 200 N +P 2 0 1 0 0 200 0 280 N +P 2 0 1 0 0 280 100 280 N +P 2 0 1 0 100 280 100 200 N +P 2 0 1 0 100 200 70 170 N +P 2 0 1 0 70 170 -30 170 N +P 2 0 1 0 -30 170 0 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 100 200 150 200 N +P 2 0 1 0 50 130 80 130 N +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -50 200 0 200 N +P 2 0 1 0 0 200 0 280 N +P 2 0 1 0 0 280 100 280 N +P 2 0 1 0 100 280 100 200 N +P 2 0 1 0 100 200 70 170 N +P 2 0 1 0 70 170 -30 170 N +P 2 0 1 0 -30 170 0 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 100 200 150 200 N +P 2 0 1 0 50 130 80 130 N +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 50 130 80 130 N +P 2 0 1 0 -100 100 100 100 N +P 2 0 1 0 100 100 150 150 N +P 2 0 1 0 150 150 150 200 N +P 2 0 1 0 150 200 100 150 N +P 2 0 1 0 100 150 -100 150 N +P 2 0 1 0 -100 150 -50 200 N +P 2 0 1 0 -50 200 0 200 N +P 2 0 1 0 0 200 0 280 N +P 2 0 1 0 0 280 100 280 N +P 2 0 1 0 100 280 100 200 N +P 2 0 1 0 100 200 70 170 N +P 2 0 1 0 70 170 -30 170 N +P 2 0 1 0 -30 170 0 200 N +P 2 0 1 0 -100 150 -100 100 N +P 2 0 1 0 100 150 100 100 N +P 2 0 1 0 100 200 150 200 N +P 2 0 1 0 50 130 80 130 N +P 2 0 1 0 -50 200 150 200 N +P 2 0 1 0 20 270 20 210 N +P 2 0 1 0 70 270 80 240 N +P 2 0 1 0 80 240 60 210 N +C 130 150 10 0 1 0 N +C 130 150 10 0 1 0 N +C 130 150 10 0 1 0 N +C 130 150 10 0 1 0 N +C 130 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# VPLOT2_PSPICE +# +DEF VPLOT2_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "VPLOT2_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 120 200 180 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 50 200 250 200 N +P 2 0 1 0 120 270 120 210 N +P 2 0 1 0 170 270 180 240 N +P 2 0 1 0 180 240 160 210 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +X ~ 2 200 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPRINT_PSPICE +# +DEF IPRINT_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "IPRINT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 120 200 180 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 50 200 250 200 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 120 260 180 260 N +P 2 0 1 0 120 240 180 240 N +P 2 0 1 0 120 220 180 220 N +P 2 0 1 0 120 200 180 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 150 0 150 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +X ~ 2 200 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# IPLOT_PSPICE +# +DEF IPLOT_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "IPLOT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 120 200 180 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 0 100 200 100 N +P 2 0 1 0 200 100 250 150 N +P 2 0 1 0 250 150 250 200 N +P 2 0 1 0 250 200 200 150 N +P 2 0 1 0 200 150 0 150 N +P 2 0 1 0 0 150 50 200 N +P 2 0 1 0 50 200 100 200 N +P 2 0 1 0 100 200 100 280 N +P 2 0 1 0 100 280 200 280 N +P 2 0 1 0 200 280 200 200 N +P 2 0 1 0 200 200 170 170 N +P 2 0 1 0 170 170 70 170 N +P 2 0 1 0 70 170 100 200 N +P 2 0 1 0 0 150 0 100 N +P 2 0 1 0 200 150 200 100 N +P 2 0 1 0 200 200 250 200 N +P 2 0 1 0 150 130 180 130 N +P 2 0 1 0 50 200 250 200 N +P 2 0 1 0 120 270 120 210 N +P 2 0 1 0 170 270 180 240 N +P 2 0 1 0 180 240 160 210 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +C 230 150 10 0 1 0 N +X ~ 1 0 0 100 U 30 30 0 1 P +X ~ 2 200 0 100 U 30 30 0 1 P +ENDDRAW +ENDDEF +# +# INCLUDE_PSPICE +# +DEF INCLUDE_PSPICE IN 0 30 Y Y 1 F N +F0 "IN" 0 0 30 H V L CNN +F1 "INCLUDE_PSPICE" 0 60 30 H V L CNN +DRAW +ENDDRAW +ENDDEF +# +# TBLK-D/E/F/H/J/K_PSPICE +# +DEF TBLK-D/E/F/H/J/K_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "TBLK-D/E/F/H/J/K_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -5120 2500 -5120 0 N +P 2 0 1 0 -4750 750 -4750 250 N +P 2 0 1 0 -3500 750 -3500 250 N +P 2 0 1 0 -3750 250 -3750 0 N +P 2 0 1 0 -1750 250 -1750 0 N +P 2 0 1 0 -5120 1880 0 1880 N +P 2 0 1 0 -5120 750 0 750 N +P 2 0 1 0 -5120 250 0 250 N +P 2 0 1 0 -5130 250 -5180 250 N +P 2 0 1 0 -5220 250 -5270 250 N +P 2 0 1 0 -5310 250 -5360 250 N +P 2 0 1 0 -5400 250 -5450 250 N +P 2 0 1 0 -5490 250 -5540 250 N +P 2 0 1 0 -5580 250 -5630 250 N +P 2 0 1 0 -5670 250 -5720 250 N +P 2 0 1 0 -5760 250 -5810 250 N +P 2 0 1 0 -5850 250 -5900 250 N +P 2 0 1 0 -5940 250 -5990 250 N +P 2 0 1 0 -6030 250 -6080 250 N +P 2 0 1 0 -6120 250 -6170 250 N +P 2 0 1 0 -6210 250 -6260 250 N +P 2 0 1 0 -6300 250 -6350 250 N +P 2 0 1 0 -6390 250 -6440 250 N +P 2 0 1 0 -6480 250 -6530 250 N +P 2 0 1 0 -6570 250 -6620 250 N +P 2 0 1 0 -6660 250 -6710 250 N +P 2 0 1 0 -6750 250 -6800 250 N +P 2 0 1 0 -6840 250 -6890 250 N +P 2 0 1 0 -6930 250 -6980 250 N +P 2 0 1 0 -7020 250 -7070 250 N +P 2 0 1 0 -500 730 -500 680 N +P 2 0 1 0 -500 640 -500 590 N +P 2 0 1 0 -500 550 -500 500 N +P 2 0 1 0 -500 460 -500 410 N +P 2 0 1 0 -500 370 -500 320 N +P 2 0 1 0 -500 280 -500 250 N +P 2 0 1 0 -7110 250 -7160 250 N +P 2 0 1 0 -7200 250 -7250 250 N +P 2 0 1 0 -7290 250 -7340 250 N +P 2 0 1 0 -7380 250 -7430 250 N +P 2 0 1 0 -7470 250 -7520 250 N +P 2 0 1 0 -7560 250 -7610 250 N +P 2 0 1 0 -5130 500 -5180 500 N +P 2 0 1 0 -5220 500 -5270 500 N +P 2 0 1 0 -5310 500 -5360 500 N +P 2 0 1 0 -5400 500 -5450 500 N +P 2 0 1 0 -5490 500 -5540 500 N +P 2 0 1 0 -5580 500 -5630 500 N +P 2 0 1 0 -5670 500 -5720 500 N +P 2 0 1 0 -5760 500 -5810 500 N +P 2 0 1 0 -5850 500 -5900 500 N +P 2 0 1 0 -5940 500 -5990 500 N +P 2 0 1 0 -6030 500 -6080 500 N +P 2 0 1 0 -6120 500 -6170 500 N +P 2 0 1 0 -6210 500 -6260 500 N +P 2 0 1 0 -6300 500 -6350 500 N +P 2 0 1 0 -6390 500 -6440 500 N +P 2 0 1 0 -6480 500 -6530 500 N +P 2 0 1 0 -6570 500 -6620 500 N +P 2 0 1 0 -6660 500 -6710 500 N +P 2 0 1 0 -6750 500 -6800 500 N +P 2 0 1 0 -6840 500 -6890 500 N +P 2 0 1 0 -6930 500 -6980 500 N +P 2 0 1 0 -7020 500 -7070 500 N +P 2 0 1 0 -7110 500 -7160 500 N +P 2 0 1 0 -7200 500 -7250 500 N +P 2 0 1 0 -7290 500 -7340 500 N +P 2 0 1 0 -7380 500 -7430 500 N +P 2 0 1 0 -7470 500 -7520 500 N +P 2 0 1 0 -7560 500 -7610 500 N +S -7620 2500 0 0 0 1 0 N +ENDDRAW +ENDDEF +# +# TBCONT-A/B/C/G_PSPICE +# +DEF TBCONT-A/B/C/G_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "TBCONT-A/B/C/G_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -3870 620 -3870 250 N +P 2 0 1 0 -2750 620 -2750 250 N +P 2 0 1 0 -3250 250 -3250 0 N +P 2 0 1 0 -1750 250 -1750 0 N +P 2 0 1 0 -4250 620 0 620 N +P 2 0 1 0 -4250 250 0 250 N +P 2 0 1 0 -380 580 -380 530 N +P 2 0 1 0 -380 490 -380 440 N +P 2 0 1 0 -380 400 -380 350 N +P 2 0 1 0 -380 310 -380 260 N +P 2 0 1 0 -4250 620 -4250 0 N +P 2 0 1 0 -4250 0 0 0 N +P 2 0 1 0 0 0 0 620 N +ENDDRAW +ENDDEF +# +# TBCONT-D/E/F/H/J/K_PSPICE +# +DEF TBCONT-D/E/F/H/J/K_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "TBCONT-D/E/F/H/J/K_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -4750 750 -4750 250 N +P 2 0 1 0 -3500 750 -3500 250 N +P 2 0 1 0 -3750 250 -3750 0 N +P 2 0 1 0 -1750 250 -1750 0 N +P 2 0 1 0 -5120 750 0 750 N +P 2 0 1 0 -5120 250 0 250 N +P 2 0 1 0 -500 730 -500 680 N +P 2 0 1 0 -500 640 -500 590 N +P 2 0 1 0 -500 550 -500 500 N +P 2 0 1 0 -500 460 -500 410 N +P 2 0 1 0 -500 370 -500 320 N +P 2 0 1 0 -450 280 -450 250 N +P 2 0 1 0 -5120 750 -5120 0 N +P 2 0 1 0 -5120 0 -20 0 N +P 2 0 1 0 -30 0 0 0 N +P 2 0 1 0 0 0 0 750 N +ENDDRAW +ENDDEF +# +# TBLK-A/B/C/G_PSPICE +# +DEF TBLK-A/B/C/G_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "TBLK-A/B/C/G_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 -4250 2000 -4250 0 N +P 2 0 1 0 -3870 620 -3870 250 N +P 2 0 1 0 -2750 620 -2750 250 N +P 2 0 1 0 -3250 250 -3250 0 N +P 2 0 1 0 -1750 250 -1750 0 N +P 2 0 1 0 -4250 1380 0 1380 N +P 2 0 1 0 -4250 620 0 620 N +P 2 0 1 0 -4250 250 0 250 N +P 2 0 1 0 -380 580 -380 530 N +P 2 0 1 0 -380 490 -380 440 N +P 2 0 1 0 -380 400 -380 350 N +P 2 0 1 0 -380 310 -380 260 N +P 2 0 1 0 -4290 250 -4340 250 N +P 2 0 1 0 -4380 250 -4430 250 N +P 2 0 1 0 -4470 250 -4520 250 N +P 2 0 1 0 -4560 250 -4610 250 N +P 2 0 1 0 -4650 250 -4700 250 N +P 2 0 1 0 -4740 250 -4790 250 N +P 2 0 1 0 -4830 250 -4880 250 N +P 2 0 1 0 -4920 250 -4970 250 N +P 2 0 1 0 -5010 250 -5060 250 N +P 2 0 1 0 -5100 250 -5150 250 N +P 2 0 1 0 -5190 250 -5240 250 N +P 2 0 1 0 -5280 250 -5330 250 N +P 2 0 1 0 -5370 250 -5420 250 N +P 2 0 1 0 -5460 250 -5510 250 N +P 2 0 1 0 -5550 250 -5600 250 N +P 2 0 1 0 -5640 250 -5690 250 N +P 2 0 1 0 -5730 250 -5780 250 N +P 2 0 1 0 -5820 250 -5870 250 N +P 2 0 1 0 -5910 250 -5960 250 N +P 2 0 1 0 -6000 250 -6050 250 N +P 2 0 1 0 -6090 250 -6140 250 N +P 2 0 1 0 -6180 250 -6230 250 N +P 2 0 1 0 -4290 500 -4340 500 N +P 2 0 1 0 -4380 500 -4430 500 N +P 2 0 1 0 -4470 500 -4520 500 N +P 2 0 1 0 -4560 500 -4610 500 N +P 2 0 1 0 -4650 500 -4700 500 N +P 2 0 1 0 -4740 500 -4790 500 N +P 2 0 1 0 -4830 500 -4880 500 N +P 2 0 1 0 -4920 500 -4970 500 N +P 2 0 1 0 -5010 500 -5060 500 N +P 2 0 1 0 -5100 500 -5150 500 N +P 2 0 1 0 -5190 500 -5240 500 N +P 2 0 1 0 -5280 500 -5330 500 N +P 2 0 1 0 -5370 500 -5420 500 N +P 2 0 1 0 -5460 500 -5510 500 N +P 2 0 1 0 -5550 500 -5600 500 N +P 2 0 1 0 -5640 500 -5690 500 N +P 2 0 1 0 -5730 500 -5780 500 N +P 2 0 1 0 -5820 500 -5870 500 N +P 2 0 1 0 -5910 500 -5960 500 N +P 2 0 1 0 -6000 500 -6050 500 N +P 2 0 1 0 -6090 500 -6140 500 N +P 2 0 1 0 -6180 500 -6230 500 N +S -6250 2000 0 0 0 1 0 N +ENDDRAW +ENDDEF +# +# COMP_PSPICE +# +DEF COMP_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "COMP_PSPICE" 0 60 30 H V L CNN +DRAW +P 4 0 1 0 100 100 700 -200 100 -500 100 100 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 400 0 400 -50 N +X ~ pin1 0 0 100 R 30 30 0 1 P +X ~ pin2 0 -300 100 R 30 30 0 1 P +X ~ pin3 800 -200 100 L 30 30 0 1 P +ENDDRAW +ENDDEF +# +# diode_PSPICE +# +DEF diode_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "diode_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 50 200 -50 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +P 2 0 1 0 100 0 120 0 N +ENDDRAW +ENDDEF +# +# npn_PSPICE +# +DEF npn_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "npn_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 200 -100 100 -50 N +P 3 0 1 0 110 -80 180 -90 130 -40 N +ENDDRAW +ENDDEF +# +# pnp_PSPICE +# +DEF pnp_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "pnp_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 100 100 -100 N +P 2 0 1 0 200 100 100 50 N +P 2 0 1 0 100 -50 200 -100 N +P 3 0 1 0 190 -70 120 -60 170 -110 N +ENDDRAW +ENDDEF +# +# zener_diode_PSPICE +# +DEF zener_diode_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "zener_diode_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 170 70 200 50 N +P 2 0 1 0 200 -50 230 -70 N +P 2 0 1 0 200 50 200 -50 N +P 2 0 1 0 100 0 120 0 N +P 4 0 1 0 120 50 120 -50 200 0 120 50 N +ENDDRAW +ENDDEF +# +# mosfet_n_3_PSPICE +# +DEF mosfet_n_3_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "mosfet_n_3_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 290 -20 230 0 290 20 N +ENDDRAW +ENDDEF +# +# mosfet_n_4_PSPICE +# +DEF mosfet_n_4_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "mosfet_n_4_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 290 -20 230 0 290 20 N +ENDDRAW +ENDDEF +# +# mosfet_p_3_PSPICE +# +DEF mosfet_p_3_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "mosfet_p_3_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 300 0 N +P 2 0 1 0 300 0 300 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 230 20 290 0 230 -20 N +ENDDRAW +ENDDEF +# +# mosfet_p_4_PSPICE +# +DEF mosfet_p_4_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "mosfet_p_4_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 150 0 N +P 2 0 1 0 150 100 150 -100 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 0 400 0 N +P 2 0 1 0 400 0 400 -100 N +P 2 0 1 0 200 130 200 70 N +P 2 0 1 0 200 30 200 -30 N +P 2 0 1 0 200 -70 200 -130 N +P 3 0 1 0 230 20 290 0 230 -20 N +ENDDRAW +ENDDEF +# +# opamp5_PSPICE +# +DEF opamp5_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "opamp5_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 4 0 1 0 100 100 700 -200 100 -500 100 100 N +ENDDRAW +ENDDEF +# +# opamp6_PSPICE +# +DEF opamp6_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "opamp6_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 700 -400 600 -400 N +P 2 0 1 0 600 -400 500 -300 N +P 4 0 1 0 100 100 700 -200 100 -500 100 100 N +ENDDRAW +ENDDEF +# +# opamp7_PSPICE +# +DEF opamp7_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "opamp7_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 400 0 400 -50 N +P 2 0 1 0 400 -400 400 -350 N +P 2 0 1 0 600 0 500 -100 N +P 2 0 1 0 500 -300 600 -400 N +P 2 0 1 0 600 0 700 0 N +P 2 0 1 0 600 -400 700 -400 N +P 4 0 1 0 100 100 700 -200 100 -500 100 100 N +ENDDRAW +ENDDEF +# +# GaAsFET_PSPICE +# +DEF GaAsFET_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "GaAsFET_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 100 0 200 0 N +ENDDRAW +ENDDEF +# +# IGBT_PSPICE +# +DEF IGBT_PSPICE 0 30 Y Y 1 F N +F0 "" 0 0 30 H V L CNN +F1 "IGBT_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 200 200 200 0 N +P 2 0 1 0 170 200 170 0 N +P 2 0 1 0 100 0 170 0 N +P 2 0 1 0 300 200 200 150 N +P 2 0 1 0 200 50 300 0 N +P 3 0 1 0 210 20 280 10 230 60 N +ENDDRAW +ENDDEF +# +# JFET_N_PSPICE +# +DEF JFET_N_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "JFET_N_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 -100 300 -100 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +P 3 0 1 0 110 20 170 0 110 -20 N +ENDDRAW +ENDDEF +# +# JFET_P_PSPICE +# +DEF JFET_P_PSPICE U 0 30 Y Y 1 F N +F0 "U" 0 0 30 H V L CNN +F1 "JFET_P_PSPICE" 0 60 30 H V L CNN +DRAW +P 2 0 1 0 100 0 200 0 N +P 2 0 1 0 200 130 200 -130 N +P 2 0 1 0 200 100 300 100 N +P 2 0 1 0 200 -100 300 -100 N +P 3 0 1 0 170 -20 110 0 170 20 N +ENDDRAW +ENDDEF +# +#End Library diff --git a/kicadSchematicLibrary/kicad.pro b/kicadSchematicLibrary/kicad.pro index e9ac7b181..148e9ed5c 100644 --- a/kicadSchematicLibrary/kicad.pro +++ b/kicadSchematicLibrary/kicad.pro @@ -69,4 +69,5 @@ LibName35=eSim_Sources LibName36=eSim_Subckt LibName37=eSim_User LibName38=eSim_Plot +LibName39=eSim_PSpice