Skip to content

Commit

Permalink
Changed config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Cian committed Nov 12, 2023
1 parent 5ceed5a commit 6df7df9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pygmid/sweep/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,13 @@ def _generate_netlist(self):
f".lib {modelfile}",
f".include ./{paramfile}",
f'.control',
f'*---- NMOS
save all @n.xm1.nsg13_lv_nmos[ids] @n.xm1.nsg13_lv_nmos[vth] @n.xm1.nsg13_lv_nmos[igd] @n.xm1.nsg13_lv_nmos[igs] @n.xm1.nsg13_lv_nmos[gm] @n.xm1.nsg13_lv_nmos[gm] @n.xm1.nsg13_lv_nmos[gmb] @n.xm1.nsg13_lv_nmos[cgg] @n.xm1.nsg13_lv_nmos[cgs] @n.xm1.nsg13_lv_nmos[cgd] @n.xm1.nsg13_lv_nmos[cgb] @n.xm1.nsg13_lv_nmos[cdd] @n.xm1.nsg13_lv_nmos[cdg] @n.xm1.nsg13_lv_nmos[css] @n.xm1.nsg13_lv_nmos[csg] @n.xm1.nsg13_lv_nmos[cjd] @n.xm1.nsg13_lv_nmos[cjs]',
f'*---- NMOS',
f'save all @n.xm1.nsg13_lv_nmos[ids] @n.xm1.nsg13_lv_nmos[vth] @n.xm1.nsg13_lv_nmos[igd] @n.xm1.nsg13_lv_nmos[igs] @n.xm1.nsg13_lv_nmos[gm] @n.xm1.nsg13_lv_nmos[gm] @n.xm1.nsg13_lv_nmos[gmb] @n.xm1.nsg13_lv_nmos[cgg] @n.xm1.nsg13_lv_nmos[cgs] @n.xm1.nsg13_lv_nmos[cgd] @n.xm1.nsg13_lv_nmos[cgb] @n.xm1.nsg13_lv_nmos[cdd] @n.xm1.nsg13_lv_nmos[cdg] @n.xm1.nsg13_lv_nmos[css] @n.xm1.nsg13_lv_nmos[csg] @n.xm1.nsg13_lv_nmos[cjd] @n.xm1.nsg13_lv_nmos[cjs]',
f'dc Vgs_n 0 {VGS_max} {VGS_step} Vds_n 0 {VDS_max} {VDS_step}',
f'wrdata mn.csv @n.xm1.nsg13_lv_nmos[ids] @n.xm1.nsg13_lv_nmos[vth] @n.xm1.nsg13_lv_nmos[igd] @n.xm1.nsg13_lv_nmos[igs] @n.xm1.nsg13_lv_nmos[gm] @n.xm1.nsg13_lv_nmos[gmb] @n.xm1.nsg13_lv_nmos[gds] @n.xm1.nsg13_lv_nmos[cgg] @n.xm1.nsg13_lv_nmos[cgs] @n.xm1.nsg13_lv_nmos[cgd] @n.xm1.nsg13_lv_nmos[cgb] @n.xm1.nsg13_lv_nmos[cdd] @n.xm1.nsg13_lv_nmos[cdg] @n.xm1.nsg13_lv_nmos[css] @n.xm1.nsg13_lv_nmos[csg] @n.xm1.nsg13_lv_nmos[cjd] @n.xm1.nsg13_lv_nmos[cjs] ',
f'reset ',
f'*---- PMOS
save all @n.xm2.nsg13_lv_pmos[ids] @n.xm2.nsg13_lv_pmos[vth] @n.xm2.nsg13_lv_pmos[igd] @n.xm2.nsg13_lv_pmos[igs] @n.xm2.nsg13_lv_pmos[gm] @n.xm2.nsg13_lv_pmos[gm] @n.xm2.nsg13_lv_pmos[gmb] @n.xm2.nsg13_lv_pmos[cgg] @n.xm2.nsg13_lv_pmos[cgs] @n.xm2.nsg13_lv_pmos[cgd] @n.xm2.nsg13_lv_pmos[cgb] @n.xm2.nsg13_lv_pmos[cdd] @n.xm2.nsg13_lv_pmos[cdg] @n.xm2.nsg13_lv_pmos[css] @n.xm2.nsg13_lv_pmos[csg] @n.xm2.nsg13_lv_pmos[cjd] @n.xm2.nsg13_lv_pmos[cjs]',
f'*---- PMOS',
f'save all @n.xm2.nsg13_lv_pmos[ids] @n.xm2.nsg13_lv_pmos[vth] @n.xm2.nsg13_lv_pmos[igd] @n.xm2.nsg13_lv_pmos[igs] @n.xm2.nsg13_lv_pmos[gm] @n.xm2.nsg13_lv_pmos[gm] @n.xm2.nsg13_lv_pmos[gmb] @n.xm2.nsg13_lv_pmos[cgg] @n.xm2.nsg13_lv_pmos[cgs] @n.xm2.nsg13_lv_pmos[cgd] @n.xm2.nsg13_lv_pmos[cgb] @n.xm2.nsg13_lv_pmos[cdd] @n.xm2.nsg13_lv_pmos[cdg] @n.xm2.nsg13_lv_pmos[css] @n.xm2.nsg13_lv_pmos[csg] @n.xm2.nsg13_lv_pmos[cjd] @n.xm2.nsg13_lv_pmos[cjs]',
f'dc Vgs_p 0 {-VGS_max} {-VGS_step} Vds_p 0 {-VDS_max} {-VDS_step}',
f'wrdata mp.csv @n.xm2.nsg13_lv_pmos[ids] @n.xm2.nsg13_lv_pmos[vth] @n.xm2.nsg13_lv_pmos[igd] @n.xm2.nsg13_lv_pmos[igs] @n.xm2.nsg13_lv_pmos[gm] @n.xm2.nsg13_lv_pmos[gmb] @n.xm2.nsg13_lv_pmos[gds] @n.xm2.nsg13_lv_pmos[cgg] @n.xm2.nsg13_lv_pmos[cgs] @n.xm2.nsg13_lv_pmos[cgd] @n.xm2.nsg13_lv_pmos[cgb] @n.xm2.nsg13_lv_pmos[cdd] @n.xm2.nsg13_lv_pmos[cdg] @n.xm2.nsg13_lv_pmos[css] @n.xm2.nsg13_lv_pmos[csg] @n.xm2.nsg13_lv_pmos[cjd] @n.xm2.nsg13_lv_pmos[cjs] ',
f'.endc',
Expand Down

0 comments on commit 6df7df9

Please sign in to comment.