SlideShare une entreprise Scribd logo
1  sur  7
Télécharger pour lire hors ligne
How To Plot Transconductance and Even More

                                              By Ruida Yun

gm/Id based methodology is preferred for short-channel length analog circuit design however there is no
GUI support for this method in the current Cadence release. The process can be tedious and requires
much more insight understanding about Cadence. This tutorial will walk through the process on how to
generate the gm/ID curves that can be used as a guide for future designs.

First of all, you need to create a simple schematic to simulate the device. Here NMOS transistor, N0,
has a W/L = 10um/0.6um. The gate and drain voltages are both set to 1.5 volts.




.

In order to use gm/Id methodology, one needs to know transconductance (gm), gate capacitance (Cgs),
output impedance (ro) and well as other parameters. These parameters can be determined by performing
a DC analysis of the circuit in the above figure. Unfortunately, Spectre/SpectreS usually does not save
operating point parameters during a DC or transient simulation to keep the output PSF file slim.
Spectre can be forced into saving these parameters by the following steps.

First of all, change the simulator to Spectre and create a saveop.scs (any save file name is ok as long as
you remember to save the extension as *.scs) from your favorite text editor. It is important to remember
the directory that you created the file in. Open the file using any text editor. Type in on the first line:

       save N0:oppoint

 The final file, saveop.scs, should look like the figure below:
Note that N0 is the instance name of the NMOS you just created. The option oppoint directs Spectre to
save all DC operation point parameters for N0. You can find more about the command save from
Spectre user guide.

Add this file as a model library file just like what you usually do to setup Spectre. Make sure the path
to saveop.scs is correct.




      It is important to know that AWD waveform tool was used for this tutorial rather than
wavescan. In order to change from the default waveform tool, in the Analog Design Environment
window, click on the session tab and click on options. On the option that says “waveform tool” select
AWD and save/apply the changes.
.

Now, setup a DC simulation and sweep the gate voltage from 0 to 3V. Run the simulation and open the
Results Browser from Analog Design Environment. The results browser can be found in the Analog
Design Environment by clicking on the tools tab and then selecting the results browser.
If you go to schematic-> psf/->Run1->dc-dc-> N0, you can see all the DC operating point parameters
are saved and you can plot directly from Cadence. If you would like to plot the gm of the transistor for
instance, right click gm and you should see a graph like this:
This is very cool because you can find the gm for different gate voltages; however, you need process the
data to obtain the advanced curves. In order to generate these curves, you have to use OCEAN to save
all these data. The data can be processed using any other software such as Matlab/Octave or Excel later
on.

Go to Analog Design Environment and click menu session, then save script. A window will pop up and
that is the first OCEAN script you are going to use. Please note that this ocean script file will be saved
in your default cadence directory. From the script file, you can find out that all these setups you made
for simulation in here. OcnWaveformTool set the wave viewer to AWD. Command Simulator selects
Spectre as the simulation engineer, so on and so forth.

You have to add few lines to this simple script file to save the DC operating point parameters you are
interested in (copy this text exactly):

               selectResult('dc)
               plot(getData("N0:gm"))

               ocnPrint(?output "~/gmid.dat" ?numberNotation 'scientific
               getData("N0:gm"),getData("N0:id"),getData("N0:vdsat"),getData(“N0:cgs”))

Here, ?output means all data will be saved to a file called gmid.dat. You can modify the tag line
"~/gmid.dat" in order to have the gmid.dat file saved any directory of your choice; otherwise the
gmid.dat file will be saved in your root directory:

getData select the parameter you want to save. The resulting ocn file should look like this:
*Please note that getData(N0:cgs) is missing a set of quotation marks in the figure above. Please do not
forget to add those in your *.ocn script file.

Now you can load this file and run the simulation again from CIW window by typing:

              load(“gmid.ocn”)




      Go to the root directory (or where ever you saved the file) and you can find gmid.dat. All the
parameters you want, gm, Cgs, Id, Vdsat (Defined as vd) are saved here as shown in the figure below:
The data can then be plotted using any program. A sample figure generated from Matlab is shown
below.

Contenu connexe

Similaire à Gmid ruida

Training Storyboard
Training StoryboardTraining Storyboard
Training Storyboardhaven832
 
Tutorial-Auto-Code-Generation-for-F2803x-Target.pdf
Tutorial-Auto-Code-Generation-for-F2803x-Target.pdfTutorial-Auto-Code-Generation-for-F2803x-Target.pdf
Tutorial-Auto-Code-Generation-for-F2803x-Target.pdfmounir derri
 
Cadence Design Systems is a of electronic design automation (EDA) software, ...
Cadence Design Systems is a  of electronic design automation (EDA) software, ...Cadence Design Systems is a  of electronic design automation (EDA) software, ...
Cadence Design Systems is a of electronic design automation (EDA) software, ...VarunDev41
 
SPHARM-PDM_Tutorial_July2015
SPHARM-PDM_Tutorial_July2015SPHARM-PDM_Tutorial_July2015
SPHARM-PDM_Tutorial_July2015Jonathan Perdomo
 
Vavo app irdrop_em_analysis_flow
Vavo app irdrop_em_analysis_flowVavo app irdrop_em_analysis_flow
Vavo app irdrop_em_analysis_flowAlan Tran
 
Computer Graphics - Lecture 01 - 3D Programming I
Computer Graphics - Lecture 01 - 3D Programming IComputer Graphics - Lecture 01 - 3D Programming I
Computer Graphics - Lecture 01 - 3D Programming I💻 Anton Gerdelan
 
Magazine awr-ims-3
Magazine awr-ims-3Magazine awr-ims-3
Magazine awr-ims-3Sam Sambala
 
Express pcb tutorial
Express pcb tutorialExpress pcb tutorial
Express pcb tutorialawazapki
 
20081114 Friday Food iLabt Bart Joris
20081114 Friday Food iLabt Bart Joris20081114 Friday Food iLabt Bart Joris
20081114 Friday Food iLabt Bart Jorisimec.archive
 
LabReport-Autodesk Inventor 2008-MasterCam X4
LabReport-Autodesk Inventor 2008-MasterCam X4LabReport-Autodesk Inventor 2008-MasterCam X4
LabReport-Autodesk Inventor 2008-MasterCam X4Kienho Chan
 
Computer graphics
Computer graphicsComputer graphics
Computer graphicsamitsarda3
 
Tower design using etabs- Nada Zarrak
Tower design using etabs- Nada Zarrak Tower design using etabs- Nada Zarrak
Tower design using etabs- Nada Zarrak Nada Zarrak
 
how to create scada offline with comap applications
how to create scada offline with comap applicationshow to create scada offline with comap applications
how to create scada offline with comap applicationsmarconordiocdn
 
Programming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery Board
Programming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery BoardProgramming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery Board
Programming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery BoardGaurav Verma
 

Similaire à Gmid ruida (20)

Dsp lab manual 15 11-2016
Dsp lab manual 15 11-2016Dsp lab manual 15 11-2016
Dsp lab manual 15 11-2016
 
Training Storyboard
Training StoryboardTraining Storyboard
Training Storyboard
 
Dtmf robot
Dtmf robotDtmf robot
Dtmf robot
 
INET for Starters
INET for StartersINET for Starters
INET for Starters
 
Tutorial-Auto-Code-Generation-for-F2803x-Target.pdf
Tutorial-Auto-Code-Generation-for-F2803x-Target.pdfTutorial-Auto-Code-Generation-for-F2803x-Target.pdf
Tutorial-Auto-Code-Generation-for-F2803x-Target.pdf
 
Cadence Design Systems is a of electronic design automation (EDA) software, ...
Cadence Design Systems is a  of electronic design automation (EDA) software, ...Cadence Design Systems is a  of electronic design automation (EDA) software, ...
Cadence Design Systems is a of electronic design automation (EDA) software, ...
 
SPHARM-PDM_Tutorial_July2015
SPHARM-PDM_Tutorial_July2015SPHARM-PDM_Tutorial_July2015
SPHARM-PDM_Tutorial_July2015
 
Vavo app irdrop_em_analysis_flow
Vavo app irdrop_em_analysis_flowVavo app irdrop_em_analysis_flow
Vavo app irdrop_em_analysis_flow
 
Computer Graphics - Lecture 01 - 3D Programming I
Computer Graphics - Lecture 01 - 3D Programming IComputer Graphics - Lecture 01 - 3D Programming I
Computer Graphics - Lecture 01 - 3D Programming I
 
Magazine awr-ims-3
Magazine awr-ims-3Magazine awr-ims-3
Magazine awr-ims-3
 
Express pcb tutorial
Express pcb tutorialExpress pcb tutorial
Express pcb tutorial
 
20081114 Friday Food iLabt Bart Joris
20081114 Friday Food iLabt Bart Joris20081114 Friday Food iLabt Bart Joris
20081114 Friday Food iLabt Bart Joris
 
LabReport-Autodesk Inventor 2008-MasterCam X4
LabReport-Autodesk Inventor 2008-MasterCam X4LabReport-Autodesk Inventor 2008-MasterCam X4
LabReport-Autodesk Inventor 2008-MasterCam X4
 
Using matlab simulink
Using matlab simulinkUsing matlab simulink
Using matlab simulink
 
Using matlab simulink
Using matlab simulinkUsing matlab simulink
Using matlab simulink
 
USBASP
USBASPUSBASP
USBASP
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
Tower design using etabs- Nada Zarrak
Tower design using etabs- Nada Zarrak Tower design using etabs- Nada Zarrak
Tower design using etabs- Nada Zarrak
 
how to create scada offline with comap applications
how to create scada offline with comap applicationshow to create scada offline with comap applications
how to create scada offline with comap applications
 
Programming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery Board
Programming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery BoardProgramming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery Board
Programming the ARM CORTEX M3 based STM32F100RBT6 Value Line Discovery Board
 

Dernier

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 

Dernier (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

Gmid ruida

  • 1. How To Plot Transconductance and Even More By Ruida Yun gm/Id based methodology is preferred for short-channel length analog circuit design however there is no GUI support for this method in the current Cadence release. The process can be tedious and requires much more insight understanding about Cadence. This tutorial will walk through the process on how to generate the gm/ID curves that can be used as a guide for future designs. First of all, you need to create a simple schematic to simulate the device. Here NMOS transistor, N0, has a W/L = 10um/0.6um. The gate and drain voltages are both set to 1.5 volts. . In order to use gm/Id methodology, one needs to know transconductance (gm), gate capacitance (Cgs), output impedance (ro) and well as other parameters. These parameters can be determined by performing a DC analysis of the circuit in the above figure. Unfortunately, Spectre/SpectreS usually does not save operating point parameters during a DC or transient simulation to keep the output PSF file slim. Spectre can be forced into saving these parameters by the following steps. First of all, change the simulator to Spectre and create a saveop.scs (any save file name is ok as long as you remember to save the extension as *.scs) from your favorite text editor. It is important to remember the directory that you created the file in. Open the file using any text editor. Type in on the first line: save N0:oppoint The final file, saveop.scs, should look like the figure below:
  • 2. Note that N0 is the instance name of the NMOS you just created. The option oppoint directs Spectre to save all DC operation point parameters for N0. You can find more about the command save from Spectre user guide. Add this file as a model library file just like what you usually do to setup Spectre. Make sure the path to saveop.scs is correct. It is important to know that AWD waveform tool was used for this tutorial rather than wavescan. In order to change from the default waveform tool, in the Analog Design Environment window, click on the session tab and click on options. On the option that says “waveform tool” select AWD and save/apply the changes.
  • 3. . Now, setup a DC simulation and sweep the gate voltage from 0 to 3V. Run the simulation and open the Results Browser from Analog Design Environment. The results browser can be found in the Analog Design Environment by clicking on the tools tab and then selecting the results browser.
  • 4. If you go to schematic-> psf/->Run1->dc-dc-> N0, you can see all the DC operating point parameters are saved and you can plot directly from Cadence. If you would like to plot the gm of the transistor for instance, right click gm and you should see a graph like this:
  • 5. This is very cool because you can find the gm for different gate voltages; however, you need process the data to obtain the advanced curves. In order to generate these curves, you have to use OCEAN to save all these data. The data can be processed using any other software such as Matlab/Octave or Excel later on. Go to Analog Design Environment and click menu session, then save script. A window will pop up and that is the first OCEAN script you are going to use. Please note that this ocean script file will be saved in your default cadence directory. From the script file, you can find out that all these setups you made for simulation in here. OcnWaveformTool set the wave viewer to AWD. Command Simulator selects Spectre as the simulation engineer, so on and so forth. You have to add few lines to this simple script file to save the DC operating point parameters you are interested in (copy this text exactly): selectResult('dc) plot(getData("N0:gm")) ocnPrint(?output "~/gmid.dat" ?numberNotation 'scientific getData("N0:gm"),getData("N0:id"),getData("N0:vdsat"),getData(“N0:cgs”)) Here, ?output means all data will be saved to a file called gmid.dat. You can modify the tag line "~/gmid.dat" in order to have the gmid.dat file saved any directory of your choice; otherwise the gmid.dat file will be saved in your root directory: getData select the parameter you want to save. The resulting ocn file should look like this:
  • 6. *Please note that getData(N0:cgs) is missing a set of quotation marks in the figure above. Please do not forget to add those in your *.ocn script file. Now you can load this file and run the simulation again from CIW window by typing: load(“gmid.ocn”) Go to the root directory (or where ever you saved the file) and you can find gmid.dat. All the parameters you want, gm, Cgs, Id, Vdsat (Defined as vd) are saved here as shown in the figure below:
  • 7. The data can then be plotted using any program. A sample figure generated from Matlab is shown below.