



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




ECE 238 Laboratory Lectures – University of New Mexico
The notation for the AND of A and B is A*B or AB.
Truth Table Symbol
A
B
Y = A and B
The notation for the OR of A and B is A+B.
Truth Table Symbol
A
B
Y = A or B
The notation for the COMPLEMENT or NOT of A is A'.
Truth Table Symbol
A Y = not A
TTL stands for Transistor-to-Transistor Logic. In this lab TTL chips will be used to implement basic logic gates such as AND, OR, NAND and others. On TTL technology gates are made of bipolar transistors (see figure 1). Main characteristics of these gates include their relatively high switching speed, immunity to noise and high consumption of power.
TTL chips can be identified by its code, which will always start with the numbers 74 or 54 followed by some more numbers or characters that will serve to uniquely identify the chip.
Figure 1. Two kinds of bipolar transistors.
In order to operate this chip it is necessary to take a look at their datasheet. Basic information to notice is the truth table and schematic of the chip as well as maximum and minimum voltages and current rates. Figure 2 shows a sample of this information.
Figure 2. Example of information from 7400 TTL datasheet
CMOS stands for Oxide Semiconductor. Chips implementing
S transistor
OS chips is tha er range f voltage. For instance, while TTL input digital zero levels range from 0 to 0.8 volts, CMOS can
Figure 4. Example of CMOS
e Logic Trainer.
Complementary Metal-
gates with this technology use MOS transistors. Figure 3 shows the symbol for these kinds of transistors. In comparison with TTL technology, CMOS power consumption is small, which makes them ideal for most of today’s digital applications.
Another important difference with TTL and CM
Figure 3. MO
t CMOS can support a wid o go up to 4 volts. Figure 4 shows the voltage ranges for CMOS and TTL.
and TTL voltage levels
A description of basic features for the Logic Trainer (Figure 5) follows:
modifying the circuit. If you blow a fuse, notify your TA
If you do not know how to convert an AND/OR circuit to NAND or NOR click here for instructions.
This section will show you how to transition from complex (larger) equations to smaller equations
riables
and then to hardware. Let's start with a three variable problem and then progress to a four variable.
Three Va
Here is a Boolean function of three variables: F3 = (Y + Z') X + X'YZ
The most important information that this truth table gives you is contained in the first and last columns. The first column represents each distinct set of inputs. The last column represents the behavior of the output to each set of inputs. The other columns represent an isolated part of the equations and are useful in determining the final output.
X, Y and Z are the inputs. The values in the yellow area are the outputs. You fill in the K- Map by placing each output in the box corresponding to its inputs.
The K-Map will allow you to simplify the function. C You cannot combine ones along the diagonal. Ho combine ones along the edges.
ombine the adjacent 1's in multiples of two. wever, the edges are adjacent, so you can
The simplified equations results from two pairs of ones. Each term in the equation is color coded to match the pair that represents it in the K-Map.
a. 3 inputs: X, Y and Z b. 1 output: F c. Draw a Logic diagram (figure 7) he e
d. Draw a Layout diagram giving t relative position of the chips on th breadboard (figure 8)
Figure 7. Logic Diagram
Figure 8. Layout Diagram
Four Variables
oolean function of four