CSC270 Lab 4 2011

From dftwiki3
Revision as of 11:46, 14 February 2011 by Thiebaut (talk | contribs) (The 74LS42 Datasheet)
Jump to: navigation, search

--D. Thiebaut 10:42, 14 February 2011 (EST)



This lab deals with decoders, and in particular the 74LS42, and will have you look at using the decoder as a building block of combinational circuits, or as a dedicated decoder.





The 74LS42 Datasheet

74ls42a.png
74ls42b.png
74ls42c.png

Experiment #1

Use a 74LS42 to implement a 3-to-8 decoder with enable and active-low outputs. The challenge here is that you only have 4 LEDs to show outputs. You cannot use one LED connected to two different outputs, or one of the outputs will get damaged in the process. You'll have to switch back and forth between LEDs and signals to show one set of outputs, for example the lower 4 output bits, and the other set of outputs, i.e. the upper 4 output bits.


Experiment #2

Use a 74LS42 to implement a majority voter of 3 input signals.

You can only use one extra chip, in addition to the 74LS42!