Lab 1 - EE 421L 

Author: Cole Moreno

Email: morenc6@unlv.nevada.edu

Due Date: September 2, 2020 

  

Prelab

 

The prelab instructed me to create my CMOSedu account by emailing Dr. Baker, and creating a Lab Index page, which would be used to reference all the labs. Below are photos that show that I created the CMOSedu account and that I created the Lab Index.

 

  

Lab 1

 

First, I opened MobaXterm to log into the Cadence Server. Once I logged in, I used cd CMOSedu1 and virtuoso & commands to open up a session of Cadence.

 

  

I created a new library in the Library Manager Window. To do this, I went to File > New > Library and came up to the prompted screen where I entered "Tutorial_1" as the Library Name, and set the technology library to the preset AMI 0.60u C5N (3M, 2P, high-res) library.
 


 

I had to go into the .cdsinit library to define the new library. To do this, I used the file manager (right panel of MobaXterm) to redirect myself to the CMOSedu1 directory to get to the cds.lib file.

 

 

Once inside the text editor, I added DEFINE Tutorial_1 /home/morenc6/CMOSedu1/Tutorial_1 to the bottom of the file to enable visibility in the Library Manager.
 

 

Before I started working in the schematic, I decided to default the Simulation Host to Spectre rather than HSpice to save some of the work. To do this, I used the file manager (right panel of MobaXterm) to redirect myself to the CMOSedu1 directory to get to the cds.init file.

 

  

Once I opened the text editor to edit the file, I added envSetVal("asimenv.startup" "simulator" 'string "spectre") to default the session Directory Host to Spectre. This would allow me to not have to check the Directory Host every time I wanted to run a simulation.

 

 

Once the envSetVal was set up, I reopened Cadence after restarting it, I then had to add a cell view in the newly created Library. To do this I went to File > New > CellView and came up to the prompted screen where I entered R-div for the Cell Name.

  

  

Once the Schematic View was opened, I created the voltage divider. To do this I used i to add instance of (1) 1 V DC Voltage source, (2) 10K Ω Resistors, and (1) ground node. I then used w to add wires to connect all the previous elements together. Then, I added labels to the wires using l. When Prompted, I named on Vin and the other Vout
  


 
Before anything else, to save my work, and check that there were no errors, I used the Check and Save option in the top panel to see that my worked saved and to check that there were no errors in the schematic that needed my attention.

 

     

Next, I needed to open up the ADE Simulator to get results from the schematic. To do this I used Launch > ADE to get the simulator window. I then went into the analysis tab and chose tran as the analysis type, I set 1 as the stop time, and checked the enabled box at the bottom of the window.

  

                                                            

Next, I went to Outputs > To Be Ploted > Choose From Schematic to choose the Vin and Vout wires that were labeled earlier. After choosing those wires, the label names appeared on the Outputs tab of the simulator window. (I understand that the names are different, to get a more detailed report, I had to redo some of the steps to get more pictures and documentation, so some of the names had to change.

 

 

Once the outputs were setup, I pressed the netlist and run option to bring up the simulation results. For In we had 1V and for Out we had 0.5V which is what is expected for the given schematic.

  

    

The next part goes over how I will be backing up all my lab files and lab content. 

First, I went on MobaXTerm to get the Tutorial_1 file from the CMOSedu1 directory and downloaded it to my desktop.

 


 

Once downloaded to my desktop, I zipped it and added a Backup Folder on my google drive under the EE421L folder. I renamed the zipped file 083020 Lab1 Backup to store in this back up folder in case, a situation arises where I need to access its contents.

 

 

This consludes the lab work.

 

Return to Lab Index

 

Return to EE421 Lab Reports