Presentation is loading. Please wait.

Presentation is loading. Please wait.

NCSU CDK Setup & Example

Similar presentations


Presentation on theme: "NCSU CDK Setup & Example"— Presentation transcript:

1 NCSU CDK Setup & Example
ECE Purdue University

2 Design Kit Setup We will use NCSU TSMC 0.2-µm CDK in this tutorial
Open a terminal window, If you like, you can make your working directory In this tutorial, the working directory is HOME directory Copy the following files to your working directory cp /package/eda/cells/ncsu-cdk-1.5.1/local/cdssetup/cds.lib ~/ cp /package/eda/cells/ncsu-cdk-1.5.1/local/cdssetup/cdsenv ~/.cdsenv cp /package/eda/cells/ncsu-cdk-1.5.1/local/cdssetup/cdsinit ~/.cdsinit cp /package/eda/cells/ncsu-cdk-1.5.1/local/cdssetup/simrc ~/.simrc Don’t miss ‘dot’

3 Design Kit Setup In your terminal window,
Please type a following to load your cadence/NCSU setup: source /usr/site/ece/bin/edacfg mmsim ncsu hsp cscope You need to do the above step whenever you open Cadence. To avoid repetition, you are encouraged to add the command line in your .cshrc If you use ‘ecegrid-lnx.ecn.purdue.edu’ and ‘grid command’, the above command line should be in your .cshrc Open Cadence in your working directory You can type ‘icfb &’ or ‘grid icfb &’ to open Cadence We are going to use Cadence version

4 Design Kit Setup You should see following windows including the libraries:

5 Design Kit Setup We will design a common-source amplifier using NCSU TSMC 0.2-µm process Create a library In Library Manage: File > New > Library Type a library name (ex: tutorial) and check ‘Attach to existing tech library’ Then, select ‘TSMC 0.20u CMOS018 (6M, HV FET,…)’  OK Create a cell view (schematic) In Library Manage: File > New > Cell View Enter Cell Name (ex: Amp). Make sure ‘View Name: schematic’ and ‘Tool: Composer-Schematic’  OK

6 Design Kit Setup Create a schematic in a schematic editing window
To add an NMOS transistor Add > Instance Select ‘NCSU_Analog_Parts’ for Library and click ‘N_Transistors’ in ‘Component Browser’. Select ‘nmos4’, which is a 4-terminal transistor Then you can change the instance properties and add the symbol on your schematic window To add a passive divice Select ‘NCSU_Analog_Parts’ for Library and click ‘R_L_C’ in ‘Component Browser’. Select a device you want The NCSU design kit unfortunately provides only ideal passive devices

7 Design Kit Setup To add an ideal component such as voltage source, current source, etc Add > Instance Select ‘analogLib’ for Library and click a category which an instance you want belongs to in ‘Component Browser’. Select the component Then you can change the instance properties and add the symbol on your schematic window Note: The number of finger of a transistor does not work, and please use the multiplicity instead of the number of finger

8 Example Common-source amplifier schematic

9 Example Supply voltage = 1.8V Input vsin: Idc = 100uA Amplitude = 10mV
Frequency = 20MHz AC magnitude = 1 Idc = 100uA

10 Example Now, we have finished an initial design
In this tutorial, we will cover following analyses in Analog Design Environment DC DC operating point Tran Transient simulation AC Frequency response

11 Example For simulation: Open Analog Design Environment (ADE)
Go to Setup > Simulator/Directory/Host…: Change Simulator from ‘hpiceS’ to ‘spectre’ After change, you will see

12 Example Include model files: Go to Setup > Model Libraries…
Browse ‘/package/eda/cells/ncsu-cdk-1.5.1/local/models /hspice/public/tsmc20N.m’ and add and OK If you want to use PMOS transistors, you also need to include a file of ‘tsmc20P.m’

13 Example DC analysis (example setting)

14 Example Tran analysis (example setting)

15 Example AC analysis (example setting)

16 Example DC analysis ADE > Results > Annotate > DC Operating Points/DC node volt

17 Example Tran analysis ADE > Results > Direct Plot > Main Form
Voltage gain = 187.2mV / 20mV = 19.4 dB

18 Example AC analysis ADE > Results > Direct Plot > Main Form
DC gain = 19.47dB, f-3dB = 336MHz


Download ppt "NCSU CDK Setup & Example"

Similar presentations


Ads by Google