summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfahim-oscad2016-04-18 13:56:03 +0530
committerfahim-oscad2016-04-18 13:56:03 +0530
commit55cfe66779913747c29f8c4fbc7e1a8e02c04f3c (patch)
tree6cfcaea11fee0f8b68617c25b15d2f52d6eea430 /src
parent93dec048fc303048c8391b71f93add6b6d294b23 (diff)
downloadeSim-55cfe66779913747c29f8c4fbc7e1a8e02c04f3c.tar.gz
eSim-55cfe66779913747c29f8c4fbc7e1a8e02c04f3c.tar.bz2
eSim-55cfe66779913747c29f8c4fbc7e1a8e02c04f3c.zip
Modeified Lower case of Voltage Issue
Diffstat (limited to 'src')
-rw-r--r--src/ngspicetoModelica/NgspicetoModelica.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py
index 0ea21b8d..b6ea5835 100644
--- a/src/ngspicetoModelica/NgspicetoModelica.py
+++ b/src/ngspicetoModelica/NgspicetoModelica.py
@@ -269,8 +269,12 @@ class NgMoConverter:
#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(')')