- Parent Directory - MIF File -
Experiment 6 - Digital Circuits
S.M. Mehta, W.T. Yeung, Charles Hsiung,
and R.T. Howe
In this experiment, you will examine several different CMOS digital circuits. You will test the functionality of the digital logic circuits and compare the propagation delays of each. In addition, you will examine the properties of a ring oscillator. The key concepts introduced in this lab are:
The
functionality of digital circuits
The
different propagation delays associated with different
transitions
Using
the ring oscillator to measure the switching speed
Draw
CMOS circuits that implement the following Boolean equations:
Write the Boolean equations and the truth tables for the circuits in figure1. What logic functions do they implement?
1. The figure below shows a "mystery" 2 input logic function on Lab Chip 3. Place the chip in your breadboard and connect the power and ground pin.
2. Construct the truth table for this circuit using all possible combinations for A and B.
Use the Buslines for GND and VDD
for the inputs A and B. This will minimize the
number of wires and cables on your board
3. Write down the Boolean equation which describes the function of the circuit. What does this circuit do?
4. Place a 100 nF load on the output. Connect inputs A and B together. Connect a 0 to 5 volt square wave with a frequency of 1 kHz to the combined input. Measure tplh and tphl. Disconnect input B from A and connect it to ground. Measure tphl and tplh. Are there any differences in the delay times? What explanations can you offer?
1. Connect the NAND gate shown in figure 3. The NAND gate is found on Lab chip 3.
2. Construct the truth table for this circuit using all possible combinations for A and B.
3. Write down the Boolean equation which describes the NAND gate. Does the circuit perform the required function?
4. Place a 100 nF load on the output. Connect inputs A and B together. Connect a 0 to 5 volt square wave with a frequency of 1 kHz to the combined input. Measure tplh and tphl. Disconnect input B from A and connect it to 5 volts. Measure tphl and tplh. Now connect A to 5 volts and have B switch from 0 to 5 volts. Measure tphl and tplh. Are there any differences in the delay times? What explanations can you offer?
1. Connect the ring oscillator as shown below. The ring oscillator is found on Lab Chip 3. Note that the ring oscillator has its own supply pin (PIN 10).
Connecting pins 28 and 10 together makes for a
cleaner measurement. Vary the supply from 0 to 5 volts and
measure the frequency vs. VDD. Make a
graph of the frequency versus the supply voltage. What sort of
dependence does it have? Determine the switching speed of each
inverter from the basic relationship between tp,
the number of inverters, and the frequency of the ring
oscillator. Also, determine the load capacitance per stage using
the value of Kn found before.
1. Connect the dynamic logic circuit shown in figure 5. Use the DIP switch for the four inputs. Attach a load capacitance of 10 pF to the output node.
2. Write Vout
as a function of A, B, C and
. Connect all four inputs to switches.
Normally,
is connected to a
clock, but in this lab you will clock the circuit manually. In
precharge mode
=0 (0V) and in
evaluate mode
=1 (5V). Change the
logic levels of A, B and C and check if the
voltage at VOUT is changing. Why
shouldn't it change?
3. Let A=0, B=1 and C=0
-- in evaluate mode, switch
must
be set to high first. If the output has a path to ground it will
pull low. Check this by switching A high.