Lab 1 - ECE 421L Fall 2023

Authored by Homero Olivarez, 

Email: olivah2@unlv.nevada.edu

8/30/2023 

  

Pre-Lab:

 -The pre-lab instructed prior to the first day of lab, to acquire a CMOSedu account from Dr. Baker.

 

 -Then review the material given here for editing webpages.

 Lab description:

 The purpose of this Lab is to go through the first part of Cadence Tutorial 1, and familiarize yourself with Candence.

 

 Lab 1 procedures:

 

 The first step is to delete 3 locked files named divaDRC.rul, divaEXT.rul, and divaLVS.rul within the directory NCSU_TechLib _ami06 and replace them with the unlocked versions.

 The next thing is to start Candence by entering cd CMOSedu command to enter the directory, once there we then type virtuoso &  for Cadence to start up.

 

image_1

 

 Now that Cadence has start we will be presented with its Command Interpreter Window, as well as its Library Manager.

 

image_2

 

The next step is creating a new library by going to the Library Manager, File -> New -> Library. This will then open a new 

window that we will name the library as Tutorial_1, set the attach library to AMI 0.60u C5N, and hit OK.

 

image_3

 

We now go to cds.lib file in the CMOSedu directory and open it with the default text editor. This shows us how the library that was just made earlier is added to the file and has a define line.

 

image_4

 

 The next step is to now select Tutorial_1 in the Library Manager, then create a Cell View and enter the information below.

 

 image_5

 

 Following the creation of the Cell View, we go to the Create menu and select Instance (or press i).

 

image_6

 

 The instance window will open after clicking instance, from this point I select in the Component Browser NSCU_Analog_Parts, next click res, and set the resistance to 10K.

 

image_7

 

 After clicking the hide button, I can see that I am able to place a resistor that is 10K ohm. Now, add two resistors, while making  sure toright click the mouse button, so that a resistor is rotated.

 Following this, go to the menu Edit -> Properties -> Objects (or  press q). This will be used for changing the properties of the object you select. 

 

image_8

 

 Now we add ground to the shematic by using instance with pressing i, this time we will go into Supply_Nets and select gnd and click on the schematic to add it.

 

 image_9

 

 Now add the 1-V DC source to the schematic, by pressing i and under Voltage_Source select vdc.

  

image_10

 

 Following placing the voltage source onto the schematic. The next thing to do is press w for the wire tool and use it to connect the resistors, voltage source and ground together.

 Now we label the wires by pressing lowercase L and label the side with the voltage source as in (vin) and the side without as out (vout).

 

 image_11

 

 At this point nearly ready to simulate the circuit. Hit the "Check and Save" first. The reason for this is because if you try to simulate the circuit without doing so, it will not work.

 

image_12

 

 Now, go to Launch -> ADE L to simulate with Spectre (SPICE).

 

image_13

 

 This will open another window named Analog Design Environment (ADE). Once its opened go to Setup -> Simulator/Directory/Host, then set the simulator to Spectre.

 

 image_14

 

 Next go to Analysis -> Choose, select transient analysis (.tran), then set the stop time to 1 second, and have enabled checked of.

 

 image_15

 

 Next we go to Outputs -> To Be Plotted -> "Select on Design", then select the wires that are labeled in and out. Now we go to Session -> Save State and select Cellview then OK.

 The reason for this is so we do not have to do the steps again.

 

 image_16

 

 Now, press the green button and run the simumlation of the circuit.

 

 image_17

 

 The following image should be the results of the simulation.

 

 image_18

 

I will be doing regular backups by making a zip file of the lab and uploading it to my google drive.

 

It can be seen that my files are zipped.

 

image_19

 

The zip file was uploaded to my google drive.

 

image_20

  

Return to My Labs

 

Return to EE 421L Labs