This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
analog [2020/09/10 04:21] vsaxena |
analog [2024/08/28 16:47] (current) vsaxena |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| - | Login to the ECE Linux VM **cpeg424.ece.udel.edu** using the **X2Go Client**. | + | Login to the ECE Linux VM **cpeg424.ece.udel.edu** using the **VNC Client**. |
| ==== Setting up the NCSU PDK ==== | ==== Setting up the NCSU PDK ==== | ||
| - | 1) Open the ''.bashrc'' file in your home directory. If it doesn't exist already, then create one | + | 1) Open the ''.bashrc'' file in your home directory. If it doesn't exist already, then create one using a text editor such as gedit |
| <code> | <code> | ||
| cd | cd | ||
| Line 13: | Line 13: | ||
| </code> | </code> | ||
| - | Add the following lines to the ''.bashrc'' file in your home directory | + | Add the following lines to the ''.bashrc'' file in your home directory. |
| <code> | <code> | ||
| export CDSDIR=/software/Cadence/IC618 | export CDSDIR=/software/Cadence/IC618 | ||
| Line 24: | Line 24: | ||
| export PATH=$PATH:$MMSIM_PATH/tools/bin | export PATH=$PATH:$MMSIM_PATH/tools/bin | ||
| export PATH=$PATH:$MMSIM_PATH/tools/lib | export PATH=$PATH:$MMSIM_PATH/tools/lib | ||
| + | |||
| + | # Add this line, otherwise LVS will not work | ||
| + | export CDS_Netlisting_Mode="Analog" | ||
| + | |||
| + | # Add this line so that ADE works on our 64-bit machine | ||
| export CDS_AUTO_64BIT=ALL | export CDS_AUTO_64BIT=ALL | ||
| </code> | </code> | ||
| - | Refresh the bash shell | + | Save the above file. Then in the command line, refresh the bash shell |
| <code> | <code> | ||
| source .bashrc</code> | source .bashrc</code> | ||
| - | 2) Copy the .cdsenv file into your home directory. Please be mindful of the dots, i.e. ".", in filenames | + | |
| + | <note important>**Make sure the Cadence netlisting is set to Analog in your .bashrc as shown above, otherwise LVS will not work correctly!**</note> | ||
| + | |||
| + | 2) Copy the ''.cdsenv'' file into your home directory. Please **be mindful of the dot**, i.e. ".", in the filename | ||
| <code> | <code> | ||
| cp /usa/vsaxena/pdks/ncsu-cdk-1.6.0.beta/cdssetup/cdsenv .cdsenv | cp /usa/vsaxena/pdks/ncsu-cdk-1.6.0.beta/cdssetup/cdsenv .cdsenv | ||
| Line 37: | Line 45: | ||
| - | 3) Create and descend into your course work directory, e.g. analog_course. Better create a new directory for every course you take. | + | 3) Create and descend into your course work directory, e.g. ''analog_course''. Better create a new directory for every course you take. |
| <code> | <code> | ||
| cd | cd | ||
| Line 50: | Line 58: | ||
| </code> | </code> | ||
| - | 5) Copy the .cdsinit from the NCSU setup directory using the command below to your into analog_course directory | + | 5) Copy the ''.cdsinit'' from the NCSU setup directory using the command below to your into the ''analog_course'' directory. Again, **be mindful of the dot**, i.e. ".", in the filename |
| <code> | <code> | ||
| Line 56: | Line 64: | ||
| </code> | </code> | ||
| - | <note important>Make sure you have this .cdsinit file copied into the analog_course folder.</note> | + | <note important>**Make sure you have this ''.cdsinit'' file copied into the analog_course folder and not your home directory.**</note> |
| - | 6) If you don't have an existing cds.lib file, then copy the cds.lib file using the following command: | + | 6) If you don't have an existing ''cds.lib'' file, then copy the ''cds.lib'' file using the following command: |
| <code> | <code> | ||
| Line 70: | Line 78: | ||
| </code> | </code> | ||
| - | <note important>Always start virtuoso from your analog_course directory (and not your home directory).</note> | + | <note important>**Always start virtuoso from your analog_course directory (and not your home directory).**</note> |
| - | **This completes your Cadence setup for the CPEG 424/624 course.** | + | **This completes your Cadence setup for the CPEG 424/624 course.** You can move on to the [[cad_tutorials|Cadence Video Tutorials]] now. |
| ----- | ----- | ||
| - | |||
| - | ===== CMOS Book Examples ===== | ||
| - | |||
| - | If you are interested, you may add Prof. Baker's CMOS book examples by adding the following line to your cds.lib file | ||
| - | |||
| - | <code> | ||
| - | SOFTINCLUDE /usa/vsaxena/CMOSedu/CMOS_cds.lib | ||
| - | </code> | ||
| - | |||
| - | **Note:** Please do not re-download Prof. Baker's CMOS Book examples from http://cmosedu.com and/or install the NCSU PDK as directed in the CMOSEdu tutorials. They are already installed and available in your course directory and can be seen in the Cadence Library Manager. | ||
| Line 100: | Line 98: | ||
| === 1um and 50nm CMOS Models === | === 1um and 50nm CMOS Models === | ||
| - | The 1um and 50nm CMOS models (from Prof. Baker's CMOS book) are located in the following directory on the VM server. | + | The 1um and 50nm CMOS models are located in the following directory on the VM server. |
| <code> /usa/vsaxena/pdks/models/ </code> | <code> /usa/vsaxena/pdks/models/ </code> | ||
| - | **cmos_1u.scs:** 1um CMOS models | + | **cmos_1u.txt:** 1um CMOS models |
| - | **cmos_50n.scs:** 50nm CMOS models | + | **cmos_50n.txt:** 50nm CMOS models |
| ----- | ----- | ||
| Line 125: | Line 123: | ||
| ----- | ----- | ||
| + | |||
| + | |||
| + | ----- | ||
| + | |||
| + | ===== CMOS Book Examples ===== | ||
| + | |||
| + | If you are interested, you may add Prof. Baker's CMOS book examples by adding the following line to your cds.lib file | ||
| + | |||
| + | <code> | ||
| + | SOFTINCLUDE /usa/vsaxena/CMOSedu/CMOS_cds.lib | ||
| + | </code> | ||
| + | |||
| + | **Note:** Please do not re-download Prof. Baker's CMOS Book examples from http://cmosedu.com and/or install the NCSU PDK as directed in the CMOSEdu tutorials. They are already installed and available in your course directory and can be seen in the Cadence Library Manager. | ||
| + | |||