ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line...

67
CHAPTER

Transcript of ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line...

Page 1: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

CHAPTER

Page 2: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

MEDIUM SCALE INTEGRATION

Page 3: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

In this chapter you will study medium scale integrated circuits. As mentioned previously, MSI devices have between 12 and 100 transistors on a single piece of silicon. You will study several commonly available types of MSI devices and some applications that would normally utilize MSI circuits.

9.0 INTRODUCTION

Page 4: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

Upon completion of this chapter you should be able to:

• Explain and define MSI circuits.

• Name several common types of MSI circuits.

• Know when to use MSI circuit vs other types of logiccircuits.

9.1 OBJECTIVES

Page 5: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

A large number of devices are available as MSI logic circuits. These circuits are constructed using TTL or CMOS techniques. The logic devices used to this point have been SSI devices. SSI is fine for the simple circuits you have constructed, but MSI is frequently used for the more complex logic equations.

9.2 DISCUSSION

Page 6: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

9.2.0 Decoders

9.2.1 BCD-to-Decimal Decoder

Alternatives to the use of MSI are the use of a read only memory (ROM) or programmable logic arrays (PLAs). This chapter will study some typical MSI devices and their applications.

You may recall from your earlier studies that the basic circuit for decoding is the AND gate. The decoder function is to detect the presence of a particular binary number or word. The decoder input is a multi-bit binary word and the output is a binary line that indicates the presence or absence of a specific binary word.

A variety of types of decoders are available as TTL circuits. Two types of these decoders are studied in the following paragraphs. All of the TTL decoders work in the same manner as the devices you will examine.

The BCD-to-decimal decoder is formed from ten NAND gates along with some additional input gating. Figure 9-1 has a logic diagram for the BCD-to-decimal decoder.

Page 7: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

The MSI component that implements the BCD-to-decimal decode function is the 7442. This device is also known as a four-to-ten line decoder. Select one of the possible output states and convince yourself that the output will only be true for a specific set of input circumstances.

Notice that not all of the possible input states are decoded. Decoding all input combinations would result in erroneous decoder output should a number which is not between zero and nine appear on the input.

Another type of common decoder takes a BCD input and converts it to an output which will drive a seven segment display. You should already be familiar with seven segment displays from the laboratories using the LD-2.

A seven segment display is made from seven LED segments. These segments are segments a-g and are lettered clockwise from the top segment of the display with the g segment being the middle segment as shown in Figure 9-2.

Page 8: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

9.2.2 BCD-to-Seven Segment Display Decoders

Page 9: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

The decoder needed to perform this function has four input lines and seven output lines. A logic diagram for a BCD-to-seven segment display decoder is shown in Figure 9-3.

Page 10: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be
Page 11: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be
Page 12: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

9.2.3 Common Displays

Page 13: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

The BCD-to-seven segment performed by the 7447 TTLIC.This device also provides open collector output drivers so that no additional circuitry is needed to

drive a display. Again notice that this device does not decode all of the input combinations and in fact decodes even fewer cases than the BCD- to-decimal decoder.

Two types of simple displays are widely available for use with digital devices. One of these displays is the seven segment display made from LEDs. This type of display is used on the LD-2 logic designer. It is readily made compatible with TTL logic circuits. An LED functions much like any other diode except

decoder function is

Page 14: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

that when it conducts sufficient current, the device will emit light. The two methods of driving an LED with a gate output are to:

1. Connect the gate output to the anode of the LED and thecathode of the LED to ground through a resistor. The LED willlight when the gate output is HI. This is known as currentsourcing operation. This type of operation is not the preferredmethod of biasing an LED to emit light when using TTL devices.

2. Connect the gate output to the cathode of the LED and theanode of the LED to Vcc through a resistor. In thisconfiguration, the LED will light when the gate output is LO.This is the current sinking mode of operation. Current sinkingoperation is preferred since most TTL gates can sink morecurrent than they can source. Note that when a gate is used todrive a LED that the current requirements of the LED are so highthat no other TTL device can be driven from the output of thegate driving the LED.

The different ways of driving LEDs have resulted in two similar configurations of seven segment displays. The Common anode devices are made to be driven by current sinking logic. The Common cathode circuit is for use with current sourcing logic. LED displays can be driven from latches or can be multiplexed so that one decoder/driver can supply the needs of several digits of a display. When LED displays are multiplexed, drive current is modulated to the displays which can result in brightness problems if the drive pulses are too short.

The second type of display which is frequently encountered is the Liquid Crystal Display or LCD. This type of display is made from crystals which will change their light transmittance properties in the presence of an electric field. This means that the LCD requires a light source to be visible. Most LCDs receive enough room light to give good readability. Those that do not get enough room light for good readability often have a backlight which provides good readability in reduced ambient lighting.

The LCD works by changing the light's polarization. The LCD is constructed from two pieces of glass which sandwich the

Page 15: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

9.2.4 Encoders liquid crystal material. One of the glass plates is horizontally polarized to light and the other is vertically polarized. The LC material rotates the polarization of the incoming light by 90 degrees. This means that the incoming vertically polarized light is rotated in polarization by 90 degrees by the LC material and passed unobstructed through the horizontally polarized glass plate. When an electric field is applied the structure of the LC changes and the material will no longer rotate the light polarization. The vertically polarized light passing through the LC is blocked by the horizontal polarization of the other glass plate resulting in a dark area on the display. The LCD is more difficult to drive than the LED display. Several AC voltages with fairly strict timing requirements must be generated in order to drive the display. CMOS circuitry works well for driving LCD displays because of the wide range of supply voltages from which CMOS can be operated.

Complex LCD displays can best be driven by dedicated display driver circuits. One example of this type of circuit is the 4543B BCD-to-seven segment latch/decoder/driver for liquid crystals. This circuit will also drive LEDs, incandescent lamps, gas discharge displays and fluorescent displays.

Page 16: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

Encoders are circuits that accept one or more inputs and generate a multi-bit binary output.

Encoders perform the opposite function from decoders in that decoders detect specific binary codes while encoders generate specific binary codes. Encoders are formed from N AND gates. One common encoder will convert from a decimal input to a BCD output. A logic diagram for this type of encoder is shown in Figure 9-4.

Page 17: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

This type of encoder would be used to convert from a decimal keypad like a ten-key to a BCD output.

Another common type of encoder is the eight line to three line priority encoder. The logic diagram for this device is shown in Figure 9-5.

Page 18: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be
Page 19: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

This device is available as an MSI IC as the 74148. The device will perform as a simple encoder as long as only one input is active (LO). When two inputs are active the device will encode the highest order input hence the name priority encoder. This type of circuit is frequently used in binary code generation since these devices are easily cascaded.

Page 20: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

A multiplexer is an electronic device that allows the routing of any of several inputs to a single output. Both analog and digital multiplexers are available. The emphasis in this chapter is the digital multiplexer or binary data selector. The logic diagram for a simple digital multiplexer is shown in Figure 9-6.

Page 21: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

9.2.5 Multiplexers

Page 22: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

187

Page 23: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be
Page 24: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

The AND gates are used to select which data source is routed through the OR gate to the output. The AND gates are controlled by the S/C flip-flop. When the Q output of the flip-flop is HI (flip-flop SET), AND gate 1 is enabled and the data from source 1 is applied to the OR gate for output.

The multiplexer will have several data inputs, one data output and some control inputs. Simple multiplexers, like the one described above, can be paralleled to form multiplexers for any size of word. For example, four 2-bit multiplexers can be paralleled to form a multiplexer that will select and output one of two four-bit words.

More complex multiplexers with up to 16 inputs and one output are available as TTL MSI circuits. Multiplexers can be used for applications other than data selectors. A multiplexer can be used for parallel to serial conversion by sequencing through the data inputs. This type of application is shown in Figure 9-9.

The sequencing needed to drive the multiplexer control lines can be provided by the parallel output of a 2-bit counter. The data to be converted are stored in a 4-bit register.

An application related to parallel to serial conversion is the generation of a binary word. This application works the same as parallel to serial conversion except that the input data are fixed. A third application of digital multiplexers is the generation of boolean logic functions. The logic diagram for an eight input multiplexer is shown in Figure 9-8.

Page 25: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be
Page 26: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

Notice that the output is the sum of products form of the data select inputs. This allows the implementation of any 3-bit logic function by inspection without reduction of the log^c equations. Suppose that we wish to implement the equation f= ABC + ABC +

Page 27: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

ABC + ABC. In order to accomplish this you need to know which inputs correspond to each boolean function. The functions generated for each corresponding data bit are summarized in TABLE 9-1.

Page 28: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be
Page 29: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be
Page 30: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

Since all of the logic terms are implemented by the multiplexer, you only need to choose the desired functions. In order to select the function ABC, the D7 input must be HI. If any input is LO that logic combination is put into the summation gate as a zero or LO and is not represented on the output. To implement the logic function mentioned above, a logic one or HI would be applied to the Dl, D4, D6, and D7 inputs while the other data inputs are held LO. This circuit is demonstrated in Figure 9-9.

Other more complex boolean functions can be generated by using input variables instead of fixed input levels. For example, a four-bit truth table can be implemented utilizing an eight input multiplexer by using the D (fourth) data bit and it's complement as data inputs.

This type of circuit is known as a folded data selector circuit. This type of circuit is desirable since implementing a four-bit truth table with fixed logic would require a sixteen input multiplexer which is a much more complex and costly circuit.

A demultiplexer performs the opposite function of a multiplexer. The demultiplexer has one input and several outputs. A demultiplexer is also known as a data router or data distributor. A simple two output demultiplexer is shown in Figure 9-10.

Page 31: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

9.2.6 Demultiplexers

Page 32: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

The AND gates route the data under control of the latch. The input data is connected to all of the and gates. The number of control inputs is determined by the number of possible outputs so that a demultiplexer with four outputs will have a 2-bit control input. The demultiplexer can be used for serial to parallel conversion. This type of circuit is demonstrated in Figure 9-11.

Page 33: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be
Page 34: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

191

Page 35: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be
Page 36: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

The parallel output of a 2-bit counter is used to drive the control circuits for this application. The counter is incremented at the same rate as the input serial data stream changes data values. Each gate in succession is enabled and stores one bit from the serial input data.

A close examination of the data distributor circuit will reveal that the circuit is basically a decoder circuit where the decode gates have a common input. For this reason, a standard MSI decoder is often used as a data distributor.

Page 37: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

The multiplexer and demultiplexers just discussed often receive their inputs from or deliver their outputs to some sort of register. In bussed systems where the potential for input from multiple data sources exists, 3-state registers provide a convenient method of providing these inputs and outputs.

3-state registers are available in any and all of the common register formats (PIPO, SISO, PISO, SIPO) and are available in packages with four, eight and sixteen bit widths. These registers operate in the same manner as the registers that you are familiar with except that they also have the capability of providing a high impedance output state.

9.2.7 3-State Registers

Page 38: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

In this chapter you have studied MSI circuits. You learned what MSI circuits are and some of their applications. You have studied decoders and their applications of detecting specific data and driving displays. You also learned about encoders and some of their applications.

Multiplexers and their applications as data selectors, parallel to serial converters, and boolean equation generators were discussed. You studied demultiplexers and some typical applications of these devices and how some demultiplexers can be implemented with decoders. The final topic covered was the use of 3-state logic in conjunction with the circuits studied in this chapter.

9.3 SUMMARY

Page 39: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

1. Define a MSI circuit. 9.4 REVIEW QUESTIONS

Page 40: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

193

Page 41: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

2. What alternatives are available for the implementation oflogic circuits?

3. What is the basic decoder circuit?

4. Name the basic encoder circuit.

5. Define a digital multiplexer.

6. Describe a digital demultiplexer.

7. Give two applications of decoders.

Page 42: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

2. What are three applications of multiplexers?

3. Name an application of demultiplexers.

4. How many control lines are needed for a 16 inputmultiplexer?

Page 43: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

In this lab exercise you will begin your study of MSI circuits. In this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be used as a decoder for any number of binary inputs less than four such as 3-line to 8-line decoders and 2-line to 4-line decoders.

CA.D.E.T.

74LS42 4-Line to 10-Line Decoder

Jumper Wires

TTL Data Book

1. Wire the circuit shown in Figure 9-12. This is the circuit for a BCD/DEC decoder.

LAB EXERCISE 9.1 Decoders

Objectives

Materials

Procedure

Page 44: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be
Page 45: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

2. Switch LS1-LS4 to LO. Turn on power. LI2-LI8 should light.Discreet LEDs should light.

3. Use LS1-LS4 as binary inputs. The LEDs LI1-LI8 are the decoded decimal outputs 1-8. LED 2 is the 8 output and LED 1 isthe 9 output. Observe the circuit's operation and record yourobservations.

4. Now use LS1-LS3 as inputs and LI1-LI8 as the decoded outputs.This circuit is a 3-line to 8-line decoder.

5. Leave this circuit connected while you answer thefollowing questions.

Page 46: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

Questions 1. What happens to the outputs when a count greater than nine is entered onto the binary input lines?

Page 47: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

196

Page 48: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

2. What type of circuit could you use to tell that an invalidinput had been entered on the LS1-LS4 inputs?

3. What type of circuit would you need to use to detectinvalid inputs for the 3-line to 8-line decoder?

4. Are the outputs of the 74LS42 LO true or HI true?

5. The C. A.D.E.T. has an internal display so that the outputs of the74LS42 are driving a TTL load and not a directly connectedLED. Can the 74LS42 be used to drive an LED indicator directly? Explain your answer.

Page 49: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

In this lab exercise you will investigate the use of the 7447 BCD-TO-SEVEN-SEGMENT DECODERS/DRIVERS. You will also learn about the use of seven-segment displays. You will study implementing simple displays.

C.A.D.E.T.

7447 BCD-TO-7-Segment Decoders/Drivers

LTS 312 Common-Anode 7-Segment Display

Jumper Wires

LAB EXERCISE 9.2 Decoder/Drivers

Objectives

Materials

Page 50: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

Procedure 330 Ohm Resistors (7)

TTL Data Book

1. You will study the seven-segment LED display in the firstpart of this lab. Place the LTS 312 onto the LD'sbreadboard.

2. Wire pin 14 to +5 VDC. Connect one end of a 330 ohm toground and use the other end to determine and record thebasing diagram for the LTS 312. No connection is madefor pins 4,5 and 12. Notice that the LTS 312 is a commonanode display and that 7-segment displays are alsoavailable in a common cathode configuration. Also notethat the display segments are labeled clock-wise from thetop as a-f. The seventh segment is labeled as g and is thecross segment. Many of these displays have left and rightdecimal points. Some have the ability to display a leadingminus sign. Seven-segment displays are often used toform small arrays of decimal digits. The displayimplemented here is a single digit decimal display. A fulldigit decimal display can display any number 0-9. A half-digit can only display a blank or a one. Simple seven-segment displays can be made using LCD technology aswell as LED technology.

Page 51: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

4. Turn LS1-LS4 to LO. Turn on power. A zero should be shownin the 7-segment display. Use LSI -LS4 as the A-D inputs and thedisplay as the output. Observe and record the operation of thiscircuit. Compare this display circuit to the one used on theC.A.D.E.T. and note differences.

5. Leave this circuit connected while you answer thefollowing questions.

1. Is the display clear? How could this be improved?

2. What is the purpose of the 330 ohm resistors?

3. . What count is displayed when the LTS 312 consumes thegreatest power ?

4. What input is required to blank the display?

Page 52: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

Questions

Page 53: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

The purpose of this lab exercise is to investigate encoders. You will study the 74LS148 eight-line-to-three-line encoder. This type of encoder is also known as an octal encoder. It could be used to encode an octal keypad or to convert octal to binary.

C.A.D.E.T.

74LS148 8-Line to 3-Line Priority Encoder

LAB EXERCISE 9.3 Encoders

Objectives

Materials

Page 54: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

ProcedureJumper Wires TTL

Data Book

1. Place the 74LS148 onto the C.A.D.E.T. breadboard. Connectpower and ground to the 74LS148.

2. Wire the circuit shown in Figure 9-14. This is the 8-line to3-line encoder.

Page 55: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

Questions

Page 56: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

3. Switch LS1-LS8 to HI. Turn on power. LI1-LI3 will show HI.

4. Use LS1-LS8 as inputs and LI1-LI4 and LI8 as outputs. Observeand record the operation of this circuit. Pay attention towhat happens when more than one input is LO.

5. Leave this circuit connected and answer the followingquestions.

1. Are the inputs to the 74LS148 LO true or HI true?

Page 57: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

2. Are the outputs used in this experiment LO true or HItrue?

3. Explain what is meant by a priority encoder?

4. How can you tell the difference between a zero input andno input?

Page 58: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

In this lab exercise you will study digital multiplexers. The 74LS153 4-line to 1-line data selector/ multiplexer will be studied. A multiplexer can be used as a data selector or for parallel to serial conversion. A multiplexer can also be used to implement logic functions. The following lab exercise will familiarize you with the operation of the 4-line to 1-line multiplexer.

C.A.D.E.T.

74LS153 4-Line to 1-Line Data Selectors/Multiplexers

Jumper Wires

TTL Data Book

1. Place the 74LS153 on the C.A.D.E.T. breadboard. Wire powerand ground to the circuit.

2. Wire the circuit shown in Figure 9-15. This circuit is asimple multiplexer.

LAB EXERCISE 9.4 Digital Multiplexers

Objectives

Materials

Procedure

Page 59: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

Questions

Page 60: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

3. Switch LS1-LS4, LS7 and LS8 to LO. Turn on power.

4. Use LSI -LS4 as the data inputs, LS7 and LS8 as the select inputsand LI8 as the output. Observe and record the operation of thiscircuit.

5. In this part of the experiment you will use the 74153 toimplement a logic function. You will implement thelogical AND function. To do this switch LS4 to HI and LS1-LS3 toLO.

6. Use LS7 and LS8 as the A and B inputs and observe the outputon LI8. Verify the truth table for this circuit.

7. Leave this circuit connected while you answer thefollowing questions.

Explain the operation of the 4-line to 1-line multiplexer.

Page 61: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

2. How would you implement the logical EXNOR using a 74LS153?

Page 62: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

In this lab exercise you will study demultiplexers. Demultiplexers or data distributors are used extensively in digital computers. You will study the 74LS138 3-line to 8-line decoders/demultiplexers. This can be used as an address decoder for memory circuits or as a demultiplexer.

C.A.D.E.T.

74LS138 3-Line to 8-Line Decoders/Demultiplexers

Jumper Wires TTL Data Book

1. Place the 74LS138 on the C.A.D.E.T. breadboard. Wire powerand ground to this circuit.

2. Wire the simple demultiplexer circuit shown in Figure9-16.

LAB EXERCISE 9.5 Demultiplexers

Objectives

Materials

Procedure

Page 63: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

Questions 3. This circuit is a basic decoder circuit with additional gatingfor enabling the circuitry. Any decoder with one or moreenable inputs can be used as a demultiplexer. Use LS1-LS3 as the select inputs, LS8 as the data input and LI1-LI8 as the outputs. Observe the circuit operation and record your obser-vations. Pay attention to the state of unselected outputs.

4. Leave this circuit assembled as you answer the followingquestions.

1. Since the demultiplexer is the inverse function of themultiplexer, could the 74LSI 38 be used for serial toparallel conversion?

2. What type of circuit is a demultiplexer made from?

Page 64: ctemedia.s3.amazonaws.com · Web viewIn this lab exercise you will also study the 4-line to 10-line decoder. This circuit is often used as a BCD to decimal decoder. It can also be

204