| *************************** |
| ** nmos_6p0_t_id |
| *************************** |
| * Copyright 2022 Efabless Corporation |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| Vds D_tn 0 dc 6.6 |
| Vgs G_tn 0 6 |
| |
| .temp {{temp}} |
| .options tnom={{temp}} |
| |
| xmn1 D_tn G_tn 0 0 nmos_6p0 W = {{width}}u L = {{length}}u ad={{AD}}p pd={{PD}}u as={{AS}}p ps={{PS}}u |
| |
| **** begin architecture code |
| |
| |
| .control |
| set filetype=ascii |
| |
| dc Vds 0 6.6 0.05 Vgs 1 6 1 |
| print -i(Vds) |
| wrdata nmos_6p0_iv/simulated_Id/{{i}}_simulated_W{{width}}_L{{length}}.csv -i(Vds) |
| .endc |
| |
| |
| |
| ** library calling |
| |
| .include "../../../design.ngspice" |
| .lib "../../../sm141064.ngspice" typical |
| |
| **** end architecture code |
| |
| |
| .end |