summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfahim-oscad2016-05-02 15:04:22 +0530
committerfahim-oscad2016-05-02 15:04:22 +0530
commitc753fd25e8a6492c359acd0d518fdc7f6528e64b (patch)
tree2b869a6bfe2181291f20fb387b295cd2fb4fcd16 /src
parent2f9d37a36662c312c716914fc4eac1f4e6926621 (diff)
downloadeSim-c753fd25e8a6492c359acd0d518fdc7f6528e64b.tar.gz
eSim-c753fd25e8a6492c359acd0d518fdc7f6528e64b.tar.bz2
eSim-c753fd25e8a6492c359acd0d518fdc7f6528e64b.zip
Modified few parameters name of MOSFET- O to 0
Diffstat (limited to 'src')
-rw-r--r--src/ngspicetoModelica/Mapping.json12
-rw-r--r--src/ngspicetoModelica/NgspicetoModelica.py2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/ngspicetoModelica/Mapping.json b/src/ngspicetoModelica/Mapping.json
index ef515460..5d5d84d1 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 a8ef6048..fd2d4d7c 100644
--- a/src/ngspicetoModelica/NgspicetoModelica.py
+++ b/src/ngspicetoModelica/NgspicetoModelica.py
@@ -488,7 +488,7 @@ class NgMoConverter:
#Adding LEVEL(This is constant not the device levele)
- tempstatList.append("LEVEL=1"+" ")
+ tempstatList.append("level=1"+" ")
try:
l = mosInfo[words[0]]['l']