Lab 2 - EE 421L
First, download lab2.zip to your desktop to receive the files for Lab 2. Then upload the lab2.zip into the CMOSedu folder on MobaXterm. Once the zip file is uplaoded, the type in the command unzip lab2.zip to unzip the file and then add DEFINE lab2 $HOME/CMOSedu/lab2 to the cds.lib file in the CMOSedu folder. Open up Cadence by typing in virtuoso & and make sure to be in the CMOSedu directory. The Library Manager should pop up when Cadence opens up and lab2 should be listed in the library. If the Library Manager does not open, then click on the Tools tab in the Cadence commmand window. Select lab2 library and open up the schematic of sim_Ideal_ADC_DAC, which is shown below.
When the schematic opens up, click on the Launch tab and select ADE L to run the simulation. When the ADE L window opens up, click on the Session tab and select Load State. Cellview should be selected on the load state option and click OK. Then click on the green button on the right side of the ADE L window to run the simulation of the sim_IDEAL_ADC_DAC schematic as shown below.
An analog signal from the voltage source is being inputted into the 10-bit ADC, which converts an analog signal to a digital signal by breaking it down into 10-bits. Those 10-bits then go through the DAC and creates an output analog signal, which is displayed above. The results of the input and the output voltage are similar, but there are small errors in the output voltage simulation. The causes of those errors are the number of bits in the converters. As seen in the equation below, N represents the number of bits in the converter and VDD is the voltage from the source. LSB is the least significant bit, which is also the difference between the input voltage and the output voltage. In the schematic, the VDD is 5 volts and the number of bits used in the DAC is 10 bits; therefore, the LSB is 4.88mV.
Explain what happens if the DAC drives a 10k load. If the DAC drives a 10k load, it causes the output voltage to be half of the input voltage because the extra resistor creates an additional voltage divider.
Discuss what happens if the resistance of the switches isn't small compared to R. If the resistance of the switches isn't small compared to R, it will cause the output voltage to be lower. With the switch acting as a larger resistor, it will be in series with the other two resistors that are already implemented in the DAC; therefore, it increases the resistance value.
Back Ups
I will back up my files for this lab in my student drive and UNLV Google drive.
Return to EE421L Labs