Lab 1 - ECE 421L 

Author: Ronnie Moran, moranr1@unlv.nevada.edu

Today's date: 09/06/23

  

Lab description:

In this first lab, we are going through the first tutorial of Cadence from Dr. Baker's website. We are then going to be learning to use html formatting in order to submit our lab reports on CMOSedu.


Prelab description:

For this first lab, we were responsible for emailing Dr. Baker to get our CMOSedu account login information. CMOSedu is where lab reports will be plublished for grading. Additionally, reviewing the lab safety video and reading the safety guidelines was advised.


Lab Work:

The first step of the lab was to setup cadence by executing a ssh to the UNLV server. From there, we needed to setup our library files correctly which meant replacing the existing diva.rul files with the new unzipped diva files (this is done as the old files point to the wrong place due to a bug in the beta). 



In the second step of the lab we are setting up Tuturial 1 as a library and adding the R_div we will be creating to be part of that said library. This is done so the files are saved and we can access these files at another given time.



Once the R_div, we can add instances of objects such as resistors, voltages sources, ground, etc. The addition of instances is shown in the following screenshots. In this case we placed two resistors and then went into the object properties to change them to 10k ohm value resistors.

Here is where the .tran will be located and then just below those options are where the 1 should be inputted which stands for the 1 second stop time.

Similar to when we added the resistors adding the voltage source was a similar process by simply selecting it in the NSCU_Analog_Parts, but after selecting in that library. Using the component browser, select --->NSCU_Analog_Parts (as the Library) ---> Voltage_Sources ----> vdc. The same process was used when adding ground (gnd).  NSCU_Analog_Parts ---> gnd (when adding the instance). And again using the component browser, select ---> NSCU_Analog_Parts (as the Library) ---> Supply_Nets ----> gnd. 



Once adding all the isntances and changing the object properties to the correct values, wiring the schematic together (w is the keybinding for wire, then simply drag) and labelling the nodes/wires (using the keybinding lowercase "l", <--- lowercase L) was all that was left to add in order to have a completed schematic before setting up to run the simulation. The image below is the finished schematic.



Moving onto the simulation process, running and check and save on the schematic is vital as Virtuoso wont let you simulate an unchecked/unsaved schematic. The check save is done by clicking the floppy disk with the green checkmark.



Wait for the Virtuoso cds.log command window to report if the schematic saved and checked without any errors. It will report back with "Schematic check completed with no errors."



In this step we will be launching the ADE L. This is done by selecting Launch ---> ADE L.



In this next part we are choosing our simulator as spectre. Select Setup ---> Simulator ---> Simulator (and make sure it is spectre or choose is to be spectre).


The image belows shows that spectre is our choice of simulator in this lab. So there's no need to change anything.


After making sure spectre is our simulator, we can setup up the analysis. Select Analyses ---> .tran (for the transient simulation) and the 1 is time for the analysis.


Here is where the .tran will be located and then just below those options are where the 1 should be inputted which stands for the 1 second stop time.


This is what the ADE L window should look like as we are ready to simulate. The In and OUt are labeled in the outputs we chose from the schematic to be labeled.


Just before hitting the green go button, we need to save the state. We save the state in order to be able to return to this cellview if need be at a later date.



Here is the simulation once we hit the green play button on the ADE L window and the following plot will generate displaying the In and Out signals from the .tran that we selected.


Backup:

For backing my work, after every 30 minutes or so I would email myself a zip file of my work just to have another copy on my cloud in case of anything.




Return to EE 421L Labs