Saturday 4 October 2014

CNTFET Inverter "Design & Simulation using HSPICE"

Carbon Nanotube Field Effect Transistor(CNTFET) is an promising alternative of an conventional CMOS technology in future. improvement in integration densities in past few years is remarkable but aggressive scaling of these MOS devices reaching to its limit. so the CNT replaces the isilicon so the CNTFET replaces the MOSFETs. 

Stanford university made an CNTFET model which we are using here. The codes are same as for MOSFET but the parameters need to be change like here Dcnt (diameter) of the CNT plays a role like L in the MOSFET.

SETUP: First we need to setup the the tools for CNTFET.
  • Install the HSPICE in your system 
  • download the library of CNTFET from standford university website. or CLICK HERE
  • make a directory with the name of project and paste all the file in the project from the package you downloaded from stanford university
WRITE THE CODE: Now write the code for the circuit in my case i am writing a code for an inverter.

***************************************************
***************************************************
*For optimal accuracy, convergence, and runtime
***************************************************
.options POST
.options AUTOSTOP
.options INGOLD=2     DCON=1
.options GSHUNT=1e-12 RMIN=1e-15
.options ABSTOL=1e-5  ABSVDC=1e-4
.options RELTOL=1e-2  RELVDC=1e-2
.options NUMDGT=4     PIVOT=13

.param   TEMP=27
***************************************************


***************************************************
*Include relevant model files
***************************************************
.lib 'CNFET.lib' CNFET
***************************************************
*Some CNFET parameters:


.param Ccsd=0      CoupleRatio=0
.param m_cnt=1     Efo=0.6    
.param Wg=0        Cb=40e-12
.param Lg=32e-9    Lgef=100e-9
.param Vfn=0       Vfp=0
.param m=19        n=0       
.param Hox=4e-9    Kox=16

***********************************************************************
* Define power supply
***********************************************************************


*Vdd     1     0     0.9



***********************************************************************
* Main Circuits
***********************************************************************
* nFET

X2 Out N_1 Gnd Gnd NCNFET Lch=Lg  Lgeff='Lgef' Lss=32e-9  Ldd=32e-9 
+ Kgate='Kox' Tox='Hox' Csub='Cb' Vfbn='Vfn' Dout=1  Sout=0  Pitch=20e-9  n1=m  n2=n  tubes=3

* pFET

X1 Out N_1 Vdd Vdd PCNFET Lch=Lg  Lgeff='Lgef' Lss=32e-9  Ldd=32e-9 
+ Kgate='Kox' Tox='Hox' Csub='Cb' Vfbp='Vfp' Dout=1  Sout=0  Pitch=20e-9  n1=m  n2=n  tubes=3

VVoltageSource_1 Vdd Gnd  DC 0.9
VVoltageSource_2 N_1 Gnd  PULSE(0 0.9 0n 5n 5n 50n 100n)

***********************************************************************

.tran 1n 500n

.MEASURE avg_pow AVG power FROM=1n TO=500n

.MEASURE TRAN t1 TRIG V(N_1) VAL = 0.45 TD = 0n RISE = 1
+ TARG V(Out) VAL = 0.45 FALL = 1

.MEASURE TRAN t2 TRIG V(N_1) VAL = 0.45 TD = 0n FALL = 1
+ TARG V(Out) VAL = 0.45 RISE = 1


.MEASURE TRAN tp PARAM='(t1+t2)/2.0'


.OPTION PROBE POST MEASOUT
.end
***********************************************************************
***********************************************************************
Now after writing the code save it with the extension "your_file_name.sp".




HSPICE : Now lets start to simulate your design with HSPICE.

1) Open the HSPICEpui





2) Click the OPEN Button to open the design file or the code file you wrote. Browse your design file in the design section and left rest of the thing.



3) Now click the Simulate button .

4) Now open the 'Avanwaves' to view your pulses or the output.


5) Now click the operating points you want to view like in my case i double click on vin and vout.
and  see the wave form.

6) Now click on the Editll to view your result like Power , Propagation Delay , Hold Time etc.


As you can read that the average power(avg_power) is .17 microwatt and propagation delay(tp) is about .18 ps.

*********************************************************
                                           Clean India
*********************************************************
Please share and comment if you see this tutorial informative
*********************************************************

About the Author

vikas

Author & Editor

Hobbyst Researcher and working in electronics domain, M.Tech in VLSI Design and Embedded Systems.

23 comments:

  1. Thanks for sharing your view to our knowledge’s, its helps me plenty keep sharing…
    Inverters in chennai

    ReplyDelete

  2. Nice blog, here I had an opportunity to learn something new in my interested domain. I have an expectation about your future post so please keep updates.
    Inverter in chennai

    ReplyDelete
  3. the code is working but for whatever value of capacitor the output is same

    ReplyDelete
  4. sir,please provide the link for downloading hspice software

    ReplyDelete
  5. can we change stanford model libraries like changing tox,dia etc..for 32nm technology

    ReplyDelete
  6. Superb i really enjoyed very much with this article here. Really its a amazing article i had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.

    MSBI Training in Chennai


    ReplyDelete
  7. Show how to measure gain and bandwidth of analog circuits like cntfet Differential amplifier in hspice Code

    ReplyDelete
  8. Is the HSPICE code dependent upon the library file? Also, needed some help in implementing a NAND gate using CNFET

    ReplyDelete
  9. Hi. I have a proble with the library. It does not have the parameter Ctot*Wgate and it can not run and produces error. can you help me?

    ReplyDelete
  10. thank u so much

    ReplyDelete
  11. A good blog always comes-up with new and exciting information and while reading I have feel that this blog is really have all those quality that qualify a blog to be a one.I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts read this.
    Core Java interview questions and answers

    Java training in Chennai | Java training in Tambaram

    Java training in Chennai | Java training in Velachery

    Java training in Chennai | Java training in Omr

    ReplyDelete
  12. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
    excel advanced excel training in bangalore | Devops Training in Chennai

    ReplyDelete
  13. This is a nice article here with some useful tips for those who are not used-to comment that frequently. Thanks for this helpful information I agree with all points you have given to us. I will follow all of them.
    angularjs Training in marathahalli

    angularjs interview questions and answers

    angularjs Training in bangalore

    angularjs Training in bangalore

    angularjs online Training

    ReplyDelete
  14. hello sir, can u provide CNTFET basic( pdf)?? actually there is problem when we write our program of full adder.

    ReplyDelete
  15. Hello
    I wanted to ask you how to program the transistor of the carbon nanotubes, the shape of the circuit, with which software?

    ReplyDelete
  16. Thank you for the information very impressive
    Inverter service in chennai
    Inverter service in chennai

    ReplyDelete
  17. sir can u provide the library file cntfet model in hspice because at standford their is only .VA file

    please relay asap

    ReplyDelete

 
2embeddedrobotics © 2015 - Designed by Templateism.com