summaryrefslogtreecommitdiff
path: root/src/ngspicetoModelica/NgspicetoModelica.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngspicetoModelica/NgspicetoModelica.py')
-rw-r--r--src/ngspicetoModelica/NgspicetoModelica.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py
index 6fe75516..fa915c41 100644
--- a/src/ngspicetoModelica/NgspicetoModelica.py
+++ b/src/ngspicetoModelica/NgspicetoModelica.py
@@ -405,6 +405,9 @@ class NgMoConverter:
#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 @@ class NgMoConverter:
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