diff options
author | fahim-oscad | 2016-05-06 14:26:14 +0530 |
---|---|---|
committer | fahim-oscad | 2016-05-06 14:26:14 +0530 |
commit | 6c73f608fd6b4b3fec92cdc6c4842a5afc0a9d6f (patch) | |
tree | 1055bcef2249d8012bd09d30f7ab866963b8f497 /src/ngspicetoModelica/NgspicetoModelica.py | |
parent | c5a108d361ea264cbe33b8486e8ad0b6b32d252b (diff) | |
download | eSim-6c73f608fd6b4b3fec92cdc6c4842a5afc0a9d6f.tar.gz eSim-6c73f608fd6b4b3fec92cdc6c4842a5afc0a9d6f.tar.bz2 eSim-6c73f608fd6b4b3fec92cdc6c4842a5afc0a9d6f.zip |
Mapping for JFET is done
Diffstat (limited to 'src/ngspicetoModelica/NgspicetoModelica.py')
-rw-r--r-- | src/ngspicetoModelica/NgspicetoModelica.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 1e67c07b..df165fa0 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -74,7 +74,6 @@ class NgMoConverter: 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 @@ class NgMoConverter: modelInfo[refModelName][info[0]] = info[1] f.close() - print "Model Info----->",modelInfo + return modelName, modelInfo, subcktName, paramInfo ,transInfo,inbuiltModelDict @@ -513,12 +512,11 @@ class NgMoConverter: 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) |