Professional Documents
Culture Documents
Abstract
The goal of Lab 2 is to familiarize students with the tangible execution of digital
logic using discrete components. In pursuit of this goal, students will refresh
themselves on the implementation of Karnaugh1 maps to simplify logical constructs. Physical implementation of these designs will manifest themselves on a
protoboard2 instead of a FPGA3 . These procedures will solidify the fundamentals of combination design that students will rely on for the rest of the course.
Students will also gain familiarity in circuit construction and troubleshooting
techniques used to implement on protoboards. Additionally, students will learn
adequate preparation and organization that is integral to accurately and efficiently construct, verify, and troubleshoot designed circuits.
1 A Karnuagh map also colloquially know as a Kmap is used as a visual aid to simply
boolean algebra by hand. It is eponymously named for Maurice Karnaughs 1953 refinement
of Edward Veitchs 1952 Veitch diagram.
2 Used for solderless construction of prototype circuits
3 Field Programmable Gate Array.
Contents
1 Introduction and Background
1.1 Logic thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2 Protoboard circuit construction . . . . . . . . . . . . . . . . . . .
1.3 Switches and pull-up resistors . . . . . . . . . . . . . . . . . . . .
3
3
4
4
2 Theory
4 Overview of Procedure
5 Required Data
12
7 Conclusion
13
List of Figures
1
2
3
4
5
6
7
8
9
10
11
12
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3
4
5
6
6
7
7
8
8
10
11
12
1.1
Logic thresholds
In ones first digital theory class, logical values are introduced as a binary system
consisting of 0 and 1. While this is a useful abstraction, these values appear
as unique voltage ranges4 in real-world circuits. The particular technology we
will concern ourselves with in this lab is Transistor-Transistor Logic, initialized
as TTL. TTL is named for the transistors5 that perform both logic gate operation and amplification. TTL is powered by +5 V. The logical threshold voltage
for low and high is 0.8 V and 2 V respectively. Voltage values between aforementioned voltages within some tolerance results in an undefined logical
function with unpredictable behavior. This undefined state is to be avoided,
which due to the proliferation and adherence to the TTL Standard is trivial
across both time and manufacturer. While TTL is fairly ubiquitous, it is not
suited to high density integrated circuits. In high density circuits, complementary metal-oxide semiconductors, or CMOS, has become the standard. One
advantage of CMOS is the ability to operate at varying voltages. An application of this is to have CMOS devices powered at a low voltage, thusly reducing
the power consumed and heat produced as a result. In this lab we will use logic
components from the CMOS HCT6 family.
1.2
In this lab we will use prototyping circuit board, or protoboard. While other
methods of prototyping exist7 , protoboards are reusable, cheap, and efficient;
thus explaining their popularity. Protoboards conistis of a plastic or ceramic
grid and conductive elements below the grid. The grid aligns either DIPs8 or
jumper wires inserted through the grid.
1.3
7 Stripboard,
8 Dual
Theory
After simplification of the table provided for the lab via Karnaugh map and the
transformation into NAND gates, appropriate DIPs are specified. To implement
the function, 3 DIPS from the HCT family are used. Shown below are the
function diagram followed by the pin layout for each respective DIP.
9 Voltage
Overview of Procedure
The laboratory procedures have been noted below as a brief overview. If further
explanation is needed, it is recommended to reference Lab 2 in the Digital Design
Laboratory Manual.
1. Properly insert all three DIPs into the breadboard.
2. Connect all ground and power to each DIP.
3. Connect jumpers to correct pins using reference diagrams.
4. Connect Switches and LEDS.
5. Verify accuracy of logical operation.
Required Data
10 We
11 Apparatus
10
11
In Figure 10, The given logic table was simplified by a Karnaugh map. This
may be feasible for simple logical constraints, however more complex logic simplification is achieved using computer programs that employ sophisticated algorithms12 . The schematic created in Quartus, Figure 11, has been annotated
with the pin numbers of each logical representation. This organization is vital
to construct the circuit in an efficient manner. One will also find troubleshooting to be easier with good documentation. Figure 12 shows a square wave.
This signal was created by the oscilloscope to calibrate itself using known signal
values.
12 Ex
Espresso algorithm.
12
Conclusion
This lab has refreshed old skills and built a solid foundation for new ones.
The logic simplification process reviews techniques such as Karnaugh maps and
technology mapping. The breadboard apparatus was introduced along with the
HCT family of CMOS chips; also touched upon briefly was the oscilloscope,
a device for visualizing signals. While all of these experiences presented new
challenges, one of the greatest lessons learned from this lab is the importance
of having a structured, and detailed plan of operation to simply, construct, and
verify your circuits.
13
References
Digital Design Laboratory Manual Twigg, Collins
Rapid Prototyping of Digital Systems Hamblen, Furman
74HCT00 Data-sheet NXP Conductors
74HCT04 Data-sheet NXP Conductors
74HCT20 Data-sheet NXP Conductors
14