diff options
author | amritaH | 2016-06-06 17:12:14 +0530 |
---|---|---|
committer | amritaH | 2016-06-06 17:12:14 +0530 |
commit | 05936ff17159602918fa196c833fa2dda2ec7818 (patch) | |
tree | 1952255c8d1ae6709383b18b6a56f06f1fdb7763 /views/script/netlist.js | |
parent | 0c19bf0df37fd28bb65fbda4f61aaeb73e9bac2c (diff) | |
download | eSimWebApp-05936ff17159602918fa196c833fa2dda2ec7818.tar.gz eSimWebApp-05936ff17159602918fa196c833fa2dda2ec7818.tar.bz2 eSimWebApp-05936ff17159602918fa196c833fa2dda2ec7818.zip |
digital model properties added
Diffstat (limited to 'views/script/netlist.js')
-rw-r--r-- | views/script/netlist.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/views/script/netlist.js b/views/script/netlist.js index 4935433..6e74bdd 100644 --- a/views/script/netlist.js +++ b/views/script/netlist.js @@ -408,6 +408,11 @@ try{ catch(e){ part.error="wtx:risedelay not found";} +try{ + part.inputload=this.readwtx(parts[i],'inputload'); + } +catch(e){ + part.error="wtx:inputload not found";} //special tag for parts that do simulation @@ -573,7 +578,7 @@ getnodes:function(parts){ //create pins array var net={error:parts[i].error,pwlval1:parts[i].pwlval1,pwlval2:parts[i].pwlval2,pwlval3:parts[i].pwlval3,pwlval4:parts[i].pwlval4,pwlval5:parts[i].pwlval5,pwlval6:parts[i].pwlval6,pwlval7:parts[i].pwlval7,pwlval8:parts[i].pwlval8,pulval1:parts[i].pulval1,pulval2:parts[i].pulval2,pulval3:parts[i].pulval3,pulval4:parts[i].pulval4,pulval5:parts[i].pulval5,pulval6:parts[i].pulval6,pulval7:parts[i].pulval7,name:parts[i].name, partid:parts[i].id,pins:{analog:parts[i].analogpins,digital:parts[i].digitalpins},model:parts[i].value,amplitude:parts[i].amplitude, - phase:parts[i].phase, risedelay:parts[i].risedelay, falldelay:parts[i].falldelay, offsetvoltage:parts[i].offsetvoltage,voltageamplitude:parts[i].voltageamplitude,frequency:parts[i].frequency, + phase:parts[i].phase, risedelay:parts[i].risedelay, inputload:parts[i].inputload, falldelay:parts[i].falldelay, offsetvoltage:parts[i].offsetvoltage,voltageamplitude:parts[i].voltageamplitude,frequency:parts[i].frequency, delaytime:parts[i].delaytime,dampingfactor:parts[i].dampingfactor,eval1:parts[i].eval1,eval2:parts[i].eval2,eval3:parts[i].eval3,eval4:parts[i].eval4,eval5:parts[i].eval5,eval6:parts[i].eval6}; if(net!=null)sections.netlist.push(net); } @@ -642,7 +647,7 @@ else if(sections.netlist[i].name=="exponential"){ command+=" "+"EXP ("+sections.netlist[i].eval1+" "+sections.netlist[i].eval2+" "+sections.netlist[i].eval3+" "+sections.netlist[i].eval4+" "+sections.netlist[i].eval5+" "+sections.netlist[i].eval6+")"; } else if(sections.netlist[i].name=="and"){ - command+=" "+sections.netlist[i].risedelay+" "+sections.netlist[i].falldelay; + command+=" "+sections.netlist[i].risedelay+" "+sections.netlist[i].falldelay+" "+sections.netlist[i].inputload; } else{ command+=" "+sections.netlist[i].model; |