(sde:set-process-up-direction"+z")
;---------creat structre---------
(sdegeo:create-rectangle(position -5 0 0)(position 5 -5 0) "Silicon" "Pwell")
(sdegeo:create-rectangle(position -3.1 -5 0)(position 3.1 -5.1 0) "SiO2" "Gox")
(sdegeo:create-rectangle(position -4 -4 0)(position -3 -5 0) "Silicon" "Source_N")
(sdegeo:create-rectangle(position 4 -4 0)(position 3 -5 0) "Silicon" "Drain_N")
(sdegeo:create-rectangle(position -3.1 -5.1 0)(position 3.1 -7 0) "PolySi" "Gate_Poly")
(sdegeo:create-rectangle(position -3.8 -5 0)(position -3.3 -7 0) "Aluminum" "Source_Contact")
(sdegeo:create-rectangle(position 3.8 -5 0)(position 3.3 -7 0) "Aluminum" "Drain_Contact")
;---------Doping---------
(sdedr:define-refeval-window "RefEvalWin_Pwell" "Cuboid" (position -5 0 0)(position 5 -5 0))
(sdedr:define-constant-profile "ConstantProfileDefinition_Pwell" "BoronConcentration" 1.8e15)
(sdedr:define-constant-profile-placement "ConstantProfilePlacement_Pwell" "ConstantProfileDefinition_Pwell" "RefEvalWin_Pwell")
(sdedr:define-refeval-window "RefEvalWin_Source_N" "Cuboid" (position -4 -4 0)(position -3 -5 0))
(sdedr:define-constant-profile "ConstantProfileDefinition_Source_N" "PhosphorusConcentration" 1.8e18)
(sdedr:define-constant-profile-placement "ConstantProfilePlacement_Source_N" "ConstantProfileDefinition_Source_N" "RefEvalWin_Source_N")
(sdedr:define-refeval-window "RefEvalWin_Drain_N" "Cuboid" (position 4 -4 0)(position 3 -5 0))
(sdedr:define-constant-profile "ConstantProfileDefinition_Drain_N" "PhosphorusConcentration" 1.8e18)
(sdedr:define-constant-profile-placement "ConstantProfilePlacement_Drain_N" "ConstantProfileDefinition_Drain_N" "RefEvalWin_Drain_N")
(sdedr:define-refeval-window "RefEvalWin_Gate_Poly" "Cuboid" (position -3.1 -5.1 0)(position 3.1 -7 0))
(sdedr:define-constant-profile "ConstantProfileDefinition_Gate_Poly" "PhosphorusConcentration" 1.8e18)
(sdedr:define-constant-profile-placement "ConstantProfilePlacement_Gate_Poly" "ConstantProfileDefinition_Gate_Poly" "RefEvalWin_Gate_Poly")
;---------Mesh Definition---------
(sdedr:define-refeval-window "RefEvalwin_1" "Rectangle" (position -5 0 0)(position 5 -7 0))
(sdedr:define-refinement-size "RefinementDefinition_1" 0.2 0.2 0.1 0.1 )
(sdedr:define-refinement-placement "RefinementPlacement_1" "RefinementDefinition_1" "RefEvalwin_1")
(sdedr:define-refinement-function "RefinementDefinition_1" "DopingConcentration" "MaxTransDiff" 1)
;---------Contact Definition---------
(sdegeo:define-contact-set "Source" 4 (color:rgb 1 0 0) "##")
(sdegeo:set-current-contact-set "Source")
(sdegeo:set-contact-boundary-edges (list(car (find-body-id (position -3.5 -6 0))) ) "Source")
(sdegeo:delete-region (list (car (find-body-id (position -3.5 -6 0)))))
(sdegeo:define-contact-set "Drain" 4 (color:rgb 1 0 0) "##")
(sdegeo:set-current-contact-set "Drain_Contact")
(sdegeo:set-contact-boundary-edges (list(car (find-body-id (position 3.5 -6 0)) )) "Drain")
(sdegeo:delete-region (list (car (find-body-id (position 3.5 -6 0)))))
(sdegeo:define-contact-set "Gate" 4 (color:rgb 1 0 0) "##")
(sdegeo:set-current-contact-set "Gate")
(sdegeo:set-contact-boundary-edges (list(car (find-body-id (position 0 -6 0)) )) "Gate")
(sdegeo:delete-region (list (car (find-body-id (position 0 -6 0)))))
;----------save file---------
(system:command "snmesh n@node@_msh")
(sde:build-mesh "n@node@")
Sentaurus TCAD sde NMOS
最新推荐文章于 2024-04-09 22:58:42 发布