zulqar
New Member
Offline
Posts: 8
|
Hi All, I am using verilog A model of TFET from Penn State University which is given below. `include "constants.vams" `include "disciplines.vams" module NTFET(d,g,s); inout d,g,s; electrical g,d,s; real Ids, Cgs, Cgd, Qs, Qd,Qg; parameter real W=1; //Device width analog begin Ids=$table_model(V(d,s), (V(g,s)), "IdVg-NTFET_Lg20nm.tbl","1LL,1LL"); Cgd=$table_model(V(d,s), (V(g,s)), "CGD-NTFET_Lg20nm.tbl","1LL,1LL"); Cgs=$table_model(V(d,s), (V(g,s)), "CGS-NTFET_Lg20nm.tbl","1LL,1LL"); if(analysis("dc")) begin I(d,s) <+ 1*Ids*W; end else begin if(analysis("tran")) begin Qd = (-1*W*Cgd)*(V(g,d)); Qs = (-1*W*Cgs)*(V(g,s)); Qg=-1*(Qd+Qs); I(d,s) <+ 1*Ids*W ; I(d) <+ ddt(Qd); I(s) <+ ddt(Qs); I(g)<+ ddt(Qg); end end end endmodule
This is basically a table driven model . DC and transient analysis has been done . I want to do ac analysis with this model . If anyone could help me regarding this , I will be thankful.
Thankls
|