From: Rui T. <rm...@un...> - 2005-11-21 17:29:27
|
Hi, In HSpice I use the ".lib" command to include the BSIM3 model card files, with the foundry tecnology parameters, into the circuit simulation file *.sp. Below is an example of a spice file: * =================================================== 1 single stage for test purposes .lib 'm180.lib' TT .options TNOM=27.0 .options ACCURATE OFF VNTOL=0.000001 RELTOL=0.01 .op all Vvdd vdd vss 1.6v Vvss vss 0 0.0v Isrc n0 vss 20uA Vvref n1 vss 0.52v m0 n0 n0 vdd vdd P_18_MM w=9.4u L=2.0u m1 n2 n0 vdd vdd P_18_MM w=47.0u L=2.0u m2 n2 n1 vss vss N_18_MM w=34u L=1.2u .tran 0.1ns 2us .print tran v(n1) .end * =================================================== When I try to simulate the previous file with Ngspice, it generates an error regarding the command ".lib" ... doesn't recongize it. How can I "include" the BSIM3 model card files, with the foundry tecnology parameters in Ngspice netlist file? Thanks in advance, Rui |