This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
microelectronics [2018/02/05 02:52] vsaxena |
microelectronics [2018/02/05 22:47] (current) vsaxena |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| =====Cadence Setup for ECE 310/311: Microelectronics ===== | =====Cadence Setup for ECE 310/311: Microelectronics ===== | ||
| - | Login to the ENGR server **ece310.engr.uidaho.edu** using X2Go Client. | + | Login to the ENGR server **ece310.engr.uidaho.edu** using the X2Go Client. |
| Linux and Mac users can use ssh instead of the X2Go client. They can do this with | Linux and Mac users can use ssh instead of the X2Go client. They can do this with | ||
| Line 7: | Line 8: | ||
| - | ==== Setting up AMS035 Kit ==== | + | ===== Setting up AMS035 Kit ===== |
| - | Create a new folder in your account for the course work | ||
| - | |||
| - | mkdir ece310 | ||
| - | | ||
| - | Enter the new director | ||
| - | cd ece310 | ||
| - | | ||
| Run cadsetup ams035 and setuppdk ams035 to set up your environment and work directory respectively. | Run cadsetup ams035 and setuppdk ams035 to set up your environment and work directory respectively. | ||
| - | | + | <code> |
| cadsetup ams035 | cadsetup ams035 | ||
| - | | ||
| setuppdk ams035 | setuppdk ams035 | ||
| + | </code> | ||
| | | ||
| - | The models for AMS 0.35u are located at /tools.new/examples/pdk/ams035/hspiceS/c35/cmos49.lib. | + | The Spectre models for AMS 0.35u are located at /tools.new/examples/pdk/ams035/spectre/c35. |
| ==== Starting Cadence ==== | ==== Starting Cadence ==== | ||
| - | Run cadsetup and virtuoso to start Cadence. | + | 1) Run cadsetup and virtuoso to start Cadence in a command line terminal. |
| - | cd ece310 | + | <code> |
| cadsetup | cadsetup | ||
| - | virtuoso | + | virtuoso & |
| + | </code> | ||
| + | |||
| + | 2) Select the C35B4C0 process when prompted. | ||
| | | ||
| - | Remember that some windows will pop-up behind your Library Manager or Schematic window! | + | Remember that the CIW (common interpreted window) and Library Manager will open up. |
| - | When simulations fail, it's probably a mistake in your schematic or ADE setup, so try and debug on your own before asking for help. | + | <note tip>You may watch the [[http://lumerink.com/courses/ECE310/s18/Cadence2018.htm|video tutorials]] for more details. </note> |
| - | ===== CMOS Book Examples ===== | + | ====== Cadence Simulation Examples ====== |
| - | You can add class examples by adding the following line to your cds.lib file | + | |
| - | + | ||
| - | <code> | + | |
| - | SOFTINCLUDE /home/vsaxena/CMOSedu/cds.lib | + | |
| - | </code> | + | |
| - | + | ||
| - | ===== Simulation Models ===== | + | |
| Simulation models are located in the following directory on the ece310.engr.uidaho.edu server. | Simulation models are located in the following directory on the ece310.engr.uidaho.edu server. | ||
| - | <code> /home/vsaxena/analog_design/models/ </code> | + | <code>/home/alve8438/ece310_examples/ECE310_Examples </code> |
| - | ==== Setting up the CMOS Simulation Models ==== | + | You can see my example schematics based on the textbook by adding the following lines to the **cds.lib** file in your home directory. The directions for doing so are losted below: |
| - | Please follow the instructions below to use the 180nm CMOS models. The method is same for using any other model e.g. 1um model. Its a good idea to open the model file and take a look at the contents. | + | |
| - | {{:wiki:180nm_models_setup.pdf|}} | + | 1) Locate your cds.lib in your profile (use the list command "ls") |
| - | <note warning>Note the model location in the slides. Again, we are using NCSU libraries in our setup with 180nm and 1um models. Please don't use alternative setups from other help videos where AMI06 or 0.35um CMOS process were used.</note> | + | 2) Open the cds.lib with a file editor. Click on this [[https://www.howtoforge.com/faq/how-to-edit-files-on-the-command-line|Link]] if you don't know how to do it. You can use vi or gedit editors. |
| - | You can see my example schematics by adding the following lines to your cds.lib | + | 3) Add the following line to your cds.lib: |
| <code> | <code> | ||
| - | /home/vsaxena/ece515/HW1 HW1 | + | DEFINE ECE310_examples /home/alve8438/ece310_examples/ECE310_Examples |
| - | /home/vsaxena/ece515/HW1_180n HW1_180n | + | |
| </code> | </code> | ||
| + | |||
| + | 4) Save your cds.lib | ||
| + | |||
| + | |||
| ===== Tutorials ===== | ===== Tutorials ===== | ||
| - | {{:wiki:tutorial_hw1_parametric_sweeps.pdf|I-V and Parametric Sweeps}} - Thanks to Jubayer! | + | |
| + | Video tutorials are available [[http://lumerink.com/courses/ECE310/s18/Cadence2018.htm|here]] | ||
| + | |||
| + | <note important>When simulations fail, it's probably a mistake in your schematic or ADE setup, so try and debug on your own before asking for help.</note> | ||