Files
naps-deliverable-2/nmos_inverter_hackerfab.in
T
2026-10-03 23:02:41 -04:00

306 lines
9.0 KiB
Plaintext

# (c) Silvaco Inc., 2025
# thinner ox/nitride on STI, thinner PR, thicker spacer,
# ext anneal, thinner poly, multiple rotations on halo
# Required Modules
# Victory Process
# -2D Diffusion & Implantation
# Victory Mesh
# -2D Meshing
# Victory Device
# -2D Simulator
####### PROCESS SIMULATION #######
GO victoryprocess simflags="-P 4"
SET type = "NFET"
SET t_gox = 0.03
SET vdd = 5.0
SET pitch = 15
SET Lgate = 5
SET Lcnt = ($pitch-$Lgate)/2
SET xmin = 0
SET xg = $Lgate/2
SET xmax = $xg + $Lcnt
# thinner ox/nitride on STI, thinner PR, thicker spacer, # ext anneal, thinner poly, multiple rotations on halo
INIT material="silicon" c.boron=1e16 from=$xmin to=$xmax depth=5 gasheight=2 resolution="0.1,0.02" meshdepth=3 flow.dim=2d
# X-planes
LINE x location = $xmin spacing = 0.1
LINE x location = $xg spacing = 0.02
LINE x location = $xmax spacing= 0.1
# Z-planes
LINE z location = -0.5 spacing = 0.02
LINE z location = -0.03 spacing = 0.003
LINE z location = 0 spacing = 0.002
LINE z location = 0.1 spacing = 0.01
LINE z location = 1 spacing = 0.05
LINE z location = 5 spacing = 0.5
# DEPOSIT initial oxide layer
DEPOSIT max material=oxide thickness=0.01
## NWell
IF cond = (@type = "PFET")
IMPLANT Phosphorus energy=250 dose=1e13 tilt=0
IMPLANT Phosphorus energy=120 dose=1e13 tilt=0
IMPLANT Phosphorus energy=30 dose=2e13 tilt=0
IF.end
DIFFUSE time=10 temp=1000
# sacrificial/scattering oxide
ETCH oxide thick=0.011 dry
DEPOSIT conformal material=oxide thicknes=0.01
# PMOS VT implant
IF cond = (@type = "PFET")
SET pvt_energy = 70
SET pvt_dose = 1.5e13
IMPLANT energy=$pvt_energy arsenic dose=$pvt_dose tilt=7.0
IF.end
# Remove initial and sacrificial oxide layers
ETCH wet material=oxide thick=0.012
# gate oxide
DIFFUSE time=15 temp=850 weto2
SAVE name = PG-Fig2-25-Device_gox visualstr.conformal visualstr.nobackground
go victoryprocess simflags="-P 4"
LOAD name = PG-Fig2-25-Device_gox
# Polygate definiton
DEPOSIT conformal material=polysilicon thick=0.2
ETCH dry material="polysilicon" thick=0.25 right.to=$xg
# open S/D windows (gate oxide), self-aligned to gate
ETCH dry material=oxide thick=$t_gox*1.5 right.to=$xg
#PMOS Halo implant
IF cond = (@type = "PFET")
SET phalo_energy = 34
SET phalo_dose = 7e13
SET phalo_tilt = 25
IMPLANT arsenic energy=$phalo_energy dose=$phalo_dose/2 tilt=$phalo_tilt rotation=0 BCA n.ion=10e3 traj.split plus.n
IMPLANT arsenic energy=$phalo_energy dose=$phalo_dose/2 tilt=$phalo_tilt rotation=180 BCA n.ion=10e3 traj.split plus.n
#PMOS extension implant
SET pext_energy = 3
SET pext_dose = 2e14
IMPLANT energy=$pext_energy bf2 dose=$pext_dose tilt=7 rotation=0
IF.end
SAVE name = PG-Fig2-25-Device_SD visualstr.conformal visualstr.nobackground
go victoryprocess simflags="-P 4"
LOAD name = PG-Fig2-25-Device_SD
# NMOS-S/D phosphorus spin-on dopant (doped glass film)
IF cond = (@type = "NFET")
SET sod_t = 0.2
SET sod_p = 5e20
DEPOSIT conformal material=oxide thickness=$sod_t c.phosphorus=$sod_p
IF.end
# PMOS-S/D implantation
IF cond = (@type = "PFET")
SET pSD_dose = 1e15
SET pSD_energy = 3
IMPLANT energy=$pSD_energy bf2 dose=$pSD_dose tilt=7 rotation=0
IF.end
SAVE name = PG-Fig2-25-Device_Back visualstr.conformal visualstr.nobackground
go victoryprocess simflags="-P 4"
LOAD name = PG-Fig2-25-Device_Back
#SOD drive-in
SET diff_temp = 1000
SET diff_time = 90
DIFFUSE temp=$diff_temp time=$diff_time
# strip SOD glass
ETCH dry material=oxide thick=$sod_t*1.1
# ILD: planarizing spin-on glass
DEPOSIT material=oxide thick=0.0 max
DEPOSIT material=oxide thickness=0.1 conformal
ETCH dry material=oxide thick=0.4 angle=87 right.to=$xmax-2
DEPOSIT aluminum max thick=0
SAVE name=PG-Fig2-25-Device_cmos.str visualstr.conformal visualstr.nobackground
SAVE name = PG-Fig2-25-Device_final visualstr.conformal visualstr.nobackground
# Extraction of doping profile
#### Device: Extraction ####
go victoryextract simflags="-P 4"
LOAD in = "PG-Fig2-25-Device_cmos_exVC.str"
EXTRACT.profile name=Vgate regions=silicon field="net doping" x.val=$xmin csvfile=Vgate.csv
EXTRACT.profile name=VsdN regions=silicon field="net doping" x.val=$xmax csvfile=Vsd.csv
EXTRACT.profile name=Hsd regions=silicon field="net doping" y.val=0.05 csvfile=Hsd.csv
####### STRUCTURE REMESHING #######
go victorymesh simflags="-P 4"
LOAD in = PG-Fig2-25-Device_final
MATERIAL regions="polysilicon" value="Aluminum"
CROP from="0.0" to="$xmax"
MIRROR axes="-1x"
REMESH delaunay
REFINE max.size=0.2 regions="*"
REFINE max.size=0.01 regions="oxide"
REFINE max.junction.size=0.02 max.junction.distance.size=0.2
REFINE regions="silicon" interface.regions="sio2" max.interface.size=0.005 max.interface.distance.size=0.05
SAVE out = PG-Fig2-25-Device_mesh.str mode = VICTORY
####### DEVICE SIMULATION #######
go victorydevice simflags="-P 4"
MESH infile = PG-Fig2-25-Device_mesh.str verbose = 3
#### STRUCTURE SPECIFICATION ####
SET c1 = $xmax - 1
SET c2 = -1*$c1
ELECTRODE name=drain coor.region=($c2,-0.1,-0.1)
ELECTRODE name=source coor.region=($c1,-0.1,-0.1)
ELECTRODE name=gate coor.region=(0,-0.15,-0.15)
ELECTRODE name=substrate bottom
SET nWF = 4.1
SET pWF = 5.1
SET nvsat = 1e7
SET pvsat = 8e6
IF cond = (@type = "NFET")
SET WF = $nWF
SET sign = 1 ##!!
SET vsat = $nvsat
IF.end
IF cond = (@type = "PFET")
SET WF = $pWF
SET sign = -1 ##!!
SET vsat = $pvsat
IF.end
CONTACT name=gate workfunction=$WF
CONTACT name=drain con.resist=1e-10
CONTACT name=source con.resist=1e-10
OUTPUT band.param con.band val.band recomb impact e.velocity h.velocity u.srh e.mobility e.temp h.mobility h.temp charge u.bbt
#### MATERIAL/PHYSICAL MODELS ####
MODELS cvt srh auger bgn print
#### NUMERICAL METHODS ####
METHOD newton trap maxtraps=8 c.tol=1.e-4 p.tol=1e-4
MATERIAL material=silicon taun0=1e-10 taup0=1e-10
MODELS fldmob
MATERIAL vsat=$vsat
# Fowler-Nordheim gate tunneling (for gate leakage)
MODELS fnord
#### SOLUTION SOLVING ####
#IdVg_LIN
LOG off
SOLVE initial
SOLVE previous
SOLVE name = drain vdrain = 0 vstep = $sign*0.01 vfinal = $sign*0.05
LOG outf = PG-Fig2-25-Device_idvg_lin.log master
SOLVE vgate = 0.0 vstep = $sign*0.02 vfinal = $sign*$vdd name = gate
#IdVg_SAT
LOG off
SOLVE initial
SOLVE previous
SOLVE name = drain vdrain = 0 vstep = $sign*0.01 vfinal = $sign*$vdd
LOG outf = PG-Fig2-25-Device_idvg_sat.log master
SOLVE vgate = 0 vstep = $sign*0.02 vfinal = $sign*$vdd name = gate
SAVE outfile = PG-Fig2-25-Device_idvg_sat.str
#IdVd (Vg = Vdd)
LOG off
SOLVE initial
SOLVE previous
SOLVE name = gate vgate = 0 vstep = $sign*0.25 vfinal = $sign*$vdd
LOG outf = PG-Fig2-25-Device_idvd.log master
SOLVE name = drain vdrain = 0 vstep = $sign*0.1 vfinal = $sign*$vdd
#IgVg (gate leakage, Vd = Vs = Vsub = 0)
SET vgleak = 30
LOG off
SOLVE initial
SOLVE previous
LOG outf = PG-Fig2-25-Device_igvg.log master
SOLVE name = gate vgate = 0 vstep = $sign*0.5 vfinal = $sign*$vgleak
victoryvisual PG-Fig2-25-Device_idvg_sat.str:PG-Fig2-25-Device_device.set
victoryvisual PG-Fig2-25-Device_idvg_lin.log:PG-Fig2-25-Device_idvg.set+PG-Fig2-25-Device_idvg_sat.log:PG-Fig2-25-Device_idvg.set
victoryvisual PG-Fig2-25-Device_idvd.log
victoryvisual PG-Fig2-25-Device_igvg.log
go victoryextract simflags="-P 4"
SET Ivt = 1e-7/$Lgate
SET width = 1 ##!!
# Idvg_lin
LOAD in = PG-Fig2-25-Device_idvg_lin.log
SET X = "Gate Voltage" ##!!
SET Y = "Drain Current" ##!!
CURVE name = cv_idvg_lin x = "abs($X)" y = "abs($Y/$width)"
# Vtlin at 100nA/um current
EXTRACT.curve name = Vtlin_[V] expression = "intercept(y = $Ivt, curve.cv_idvg_lin)"
# Vtgmax
EXTRACT.maxslope.xintercept name = Vtx no.write
EXTRACT.vdoe name = Vgmax_[V] expression = "$Vtx - 0.025"
# Idlin per um
EXTRACT.curve name = Idlin_[uA/um] expression = "1e6*intercept(x = $Vdd, curve.cv_idvg_lin)"
#SSlin
CURVE name = idvg_log x = "abs($X)" y = "log10(abs($Y/$width))"
CURVE name = "log_slope" expression = "derivative(curve.idvg_log)"
EXTRACT.curve name = slope expression = "intercept(x = 0.05, curve.log_slope)" no.write
EXTRACT.vdoe name = SSlin_[mV/dec] expression = 1/$slope*1000
# idvg_sat
#
LOAD in = PG-Fig2-25-Device_idvg_sat.log
SET X = "Gate Voltage" ##!!
SET Y = "Drain Current" ##!!
CURVE name = cv_idvg_sat x = "abs($X)" y = "abs($Y/$width)"
EXTRACT.curve name = Vtsat_[V] expression = "intercept(y = $Ivt, curve.cv_idvg_sat)"
# Idsat per um
EXTRACT.curve name = Idsat_[uA/um] expression = "1e6*intercept(x = $Vdd, curve.cv_idvg_sat)"
# Ioff per um
EXTRACT.curve name = Ioff_[nA/um] expression = "1e9*intercept(x = 0.0, curve.cv_idvg_sat)"
EXTRACT.vdoe name = LogIoff expression = "Log10($'Ioff_[nA/um]'*1e-9)"
# SSsat
CURVE name = idvg_log x = "abs($X)" y = "log10(abs($Y/$width))"
CURVE name = "log_slope" expression = "derivative(curve.idvg_log)"
EXTRACT.curve name = slope expression = "intercept(x = 0.05, curve.log_slope)" no.write
EXTRACT.vdoe name = SSsat_[mV/dec] expression = 1/$slope*1000
EXTRACT.vdoe name = dibl_[mV] expression = 1e3*abs($'Vtsat_[V]' - $'Vtlin_[V]')
# Gate leakage
LOAD in = PG-Fig2-25-Device_igvg.log
SET X = "Gate Voltage" ##!!
SET Y = "Gate Current" ##!!
CURVE name = cv_igvg x = "abs($X)" y = "abs($Y/$width)"
EXTRACT.curve name = Ig_at_Vdd_[A/um] expression = "intercept(x = $Vdd, curve.cv_igvg)"
QUIT