LABORATORY MODULE. EKT 121/4 Digital Electronics I

Size: px
Start display at page:

Download "LABORATORY MODULE. EKT 121/4 Digital Electronics I"

Transcription

1 LABORATORY MODULE EKT 121/4 Digital Electronics I Mohd. Najmuddin Mohd. Hassan Zahereel Ishwar Abdul Khalib Mohammad Nazri Md. Noor Rafikha Aliana A.Raof School of Computer & Communications Engineering Universiti Malaysia Perlis

2 - FOR UniMAP INTERNAL CIRCULATION ONLY- EKT 121/4 Digital Electronics I Printed in , Universiti Malaysia Perlis All rights reserved. No part of this book may be reproduced or transmitted in any form by any means, electronic, mechanical, or otherwise, whether now or hereafter devised, including photocopying, recording, or by any information storage and retrieval system without express written prior permission from the publishers. Published by : Unit Penerbitan, Perpustakaan, Universiti Malaysia Perlis Tingkat 1, Bangunan KWSP, Jalan Bukit Lagi, Kangar, Perlis. Tel : , Fax : penerbitan@unimap.edu.my

3 CONTENTS PREFACE EXPERIMENT 1 : LOGIC GATES 1 ~ 8 EXPERIMENT 2 : BOOLEAN THEOREMS 9 ~ 18 EXPERIMENT 3 : DECODERS 19 ~ 24 EXPERIMENT 4 : MULTIPLEXER & DEMULTIPLEXER 25 ~ 30 EXPERIMENT 5 : FLIP-FLOP 31 ~ 38 EXPERIMENT 6 : SHIFT REGISTERS 39 ~ 44 EXPERIMENT 7 : COUNTERS 45 ~ 49 REFERENCES 50 APPENDIX LOGIC IC DATASHEETS a) 74LS00-2 input NAND Gate b) 74LS02-2 input NOR Gate c) 74LS04 - INVERTER Gate d) 74LS08-2 input AND Gate e) 74LS11-3 input AND Gate f) 74LS32-2 input OR Gate g) 74LS47 - BCD-to-7 segment Decoder h) 74LS48 - BCD-to-7 segment Decoder i) 74LS74 - D flip-flop j) 74LS76 - JK flip-flop k) 74LS90 - Decade Counter l) 74lS153-4-to-1 Multiplexer

4 PREFACE This laboratory module serves as a guidance and practical book for students who are registered for the EKT 121/4 Digital Electronics I subject. It is designed to allow the students grasp the theoretical concepts imparted during the lecture sessions and apply them into their practical purposes. The contents of this module will be used by UniMAP students for laboratory practices in the goal to help them further understand the subject in a more effective manner. There are seven (7) experiments on this subject that need to be performed by the students. It will involve a lot of techniques obtained during the lecture sessions in order to fulfill the major part of the lab sessions and will also cover the students knowledge and skills with the use of logic integrated circuits (ICs), datasheets and deep understanding of circuit troubleshooting and component and equipment man-handling. It is hoped that the students would enjoy every part of the laboratory works and thus, would increase their understanding on the fundamentals of digital designs.

5 LAB 1: LOGIC GATES OBJECTIVES 1. To verify the operation of OR, AND and NOT gates. 2. To construct a simple combinational logic circuits. EQUIPMENT/COMPONENTS A DC power supply capable of 5V DC output An oscilloscope A multimeter Logic Gate IC : 7404 (1pc), 7432 (1pc), 7408 (2pc) Light Emitting Diode (4pc) Resistors : 330Ω (4pc) Switches (3pc) INTRODUCTION Digital circuits are often referred to as switching circuits because their control devices (e.g. diodes and transistors) are switched between the two extremes of ON and OFF. Logic gates have one or more inputs with one output. They respond to various input combinations. A truth table shows this relationship between circuits s input combinations and its output. To determine the total number of different combinational to be listed in the truth table, use the equation: Number of Combinations = 2 N where, N = number of inputs The truth table for a particular circuit explains how the circuit behaves under normal condition. In this experiment, three logic gates are covered: the OR, AND and NOT gates. You should recall that the logic levels, 0 and 1, have voltage assignments. For TTL circuits, a logic 0 can be anywhere from 0V to +0.8V, and a logic 1 is in the range of +2.0 V to +5.0V. PROCEDURE 1. The NOT Gate: Figure 2.1 shows the logic symbol of NOT gate. The NOT gate is also known as an inverter. Figure 2.1: NOT Gate Logic Diagram 1

6 2. Refer to the data sheet for the 7404 IC. It contains six NOT gates. Wire one of them as follows: Note: V cc = +5V to pin 14; GND to pin 7. Figure Construct a truth table for a NOT gate at Table 2.1, then verify the NOT operation by completing the truth table. (Please fill Table 2.1 at the results) 4. The OR Gate: Figure 2.3 shows the logic symbol of OR gate. Figure 2.3: OR Gate Logic Diagram 5. Refer to the data sheet for the 7432 IC. It contains four OR gates. Wire one of them as follows: Note: Vcc = +5V to pin 14; GND to pin 7. Figure You will now verify the OR operation by completing the truth table in Table 2.2. (Please fill Table 2.2 at the results) 2

7 7. The AND Gate: Figure 2.5 shows the logic symbol of AND gate. Figure 2.5: AND Gate Logic Diagram 8. Refer to the data sheet for the 7408 IC. It contains four AND gates. Wire one of them as follows: Figure 2.6 Note: Vcc = +5V to pin 14; GND to pin You will now verify the AND operation by completing the truth table in Table 2.3. (Please fill Table 2.3 at the results) RESULTS Input Output LED (on / off) Level ( 1 / 0 ) Table 2.1: Truth table of NOT gate Input Output A B LED (on / off) Level ( 1 / 0 ) Table 2.2: Truth table of OR gate 3

8 Input Output A B LED (on / off) Level ( 1 / 0 ) Table 2.3: Truth table of AND gate ACTIVITY SHEET PART A 1. Construct the combinational circuit shown in Figure 2.7: Figure 2.7 : Combinational Circuit 2. Assign your inputs A, B and C with switches that are connected to +5VCC and GROUND respectively. Take note to determine where your MSB to LSB values are located i.e; ABC or CBA. Enter your input name following this rule. 3. Assign your outputs W, X, Y and Z with your light emitting diodes (LEDs). 4. Record all your output level for all input states into Table 2.4. LED ON = 1 INPUTS OUTPUT LED (on=1 / off=0) W X Y Z Table 2.4: Circuit Operation 4

9 PART B Given to you is a Boolean Expression : X = ( A + B ).( B + A ) 1. What kind of operations does the symbols + and. means? 2. Simplify this expression to get the logic equation. 3. Construct your combinational circuit of this logic expression using the components supplied. 4. Create a Truth Table in Table 2.5 for this operation and record your values for each state. INPUTS OUTPUT REPORT REQUIREMENT The lab report should include the following: Table 2.5 : Truth Table of Boolean Expression 1. Summary of each experiment done. 2. Results of each experiment. 3. Discussions on each operations of the gates. 4. For Activity Part B, describe the kind of equation given, the simplified Boolean equation, include the circuit diagram and the truth table. 5. Remarks on any possible failures and measures done to overcome this problem. 6. Conclusion for the experiments. 5

10 EKT 121 DIGITAL ELECTRONICS I EXPERIMENT DATA SHEET NAME : METRIC NO.: COURSE : LAB EXPERIMENT : Input Output A LED (on / off) Level ( 1 / 0 ) Instructor Signature Table 2.1: Truth table of NOT gate Input Output A B LED (on / off) Level ( 1 / 0 ) Instructor Signature Table 2.2: Truth table of OR gate Input Output A B LED (on / off) Level ( 1 / 0 ) Instructor Signature Table 2.3: Truth table of AND gate 6

11 INPUTS OUTPUT LED (on=1 / off=0) W X Y Z Table 2.4: Circuit Operation Instructor Signature INPUTS OUTPUT Instructor Signature Table 2.5 : Truth Table of Boolean Expression 7

12 LAB 2: BOOLEAN THEOREMS OBJECTIVES 1. To implement DeMorgan's theorems in circuit simplification. 2. To design a combinational logic circuit with simplest logic gates representation using Karnaugh Mapping Technique. EQUIPMENTS/COMPONENTS A DC power supply capable of 5V DC output A multimeter Logic Gate IC : 7400(1pc), 7402(1pc), 7404 (1pc), 7432 (1pc), 7408 (1pc) Light Emitting Diode (2pc) Resistors : 330Ω (2pc) Switches (4pc) INTRODUCTION Theorems of Boolean Algebra are a set of rules used with digital variables and logical operations to develop, manipulate and simplify logical expressions. Boolean Algebra provide systematic means for discovering alternative expressions. This lab session will let you get familiarize with De Morgan s and Karnaugh Technique. De Morgan Theorems De Morgan's theorem allows large bars in a Boolean expression to be broken up into smaller bars over individual variables. De Morgan's theorem says that a large bar over several variables can be broken between the variables if the sign between the variables is changed. From the above equation, it is clear that a NAND gate is equal to an OR gate with inverted inputs and a NOR gate is equal to an AND gate with inverted inputs. In order to reduce expressions with large bars, the bars must first be broken up. This means that in some cases, the first step in reducing an expression is to use De Morgan's theorem. De Morgan's theorem is useful in the implementation of the basic gate operations using alternative gates, particularly operations involving NAND and NOR gates. For this session, you will implement De Morgan Theorem into a given Boolean Equation. Karnaugh Maps Karnaugh Map provides a systematic method for simplifying Boolean expressions. Using K-Map is very similar to truth table. K-Map can be used for expressions with two, three, four or five variables. 8

13 Number of cells in a K-Map is equivalent to the number of possible input variable combinations (2 n ). As an example: For 3-variables; number of cells are 2 3 = 8 The cells in K-Map are arranged so that only one single variable changes between adjacent cells. In the experiment, you will be given a design problem. You should be able to interpret the design problem into a truth table and apply the Karnaugh Map technique to find the simplest logic expression. Finally, you have to construct and test the circuit. PROCEDURE PART A : Simplification using De Morgan's theorems 1. Draw a logic diagram for the equation : Y = AB B+C 9

14 2. Construct the circuit using the diagram you drew in Step 1. Connect toggle switches to inputs A, B and a LED to the circuit output, Y. Set the toggle switches to each input combination listed in Table 2.1, and record the output value observed in the table. INPUTS OUTPUT Table 2.1 : Step 1 Circuit Operation 3. Apply De Morgan s laws to remove the top inversion bar by changing the sign. Get the simplified expression and draw the logic circuit diagram in the space given below: 10

15 4. Construct a logic circuit for the simplified expression obtained in step 3 and again complete the truth table in Table 2.2. INPUTS OUTPUT Table 2.2 : Step 3 Circuit Operation 5. Write your observation based on the results. 11

16 PART B: Design Problem using Karnaugh Mapping Technique A jet aircraft employs a system for monitoring the rpm, pressure, and temperature values of its engines using sensors that operate as follows: RPM sensor output = 0, only when speed < 4800 rpm P sensor output = 0, when pressure <220 psi T sensor output = 0, only when temperature < 200 F Figure 2.1 shows the logic circuit that controls a cockpit warning light for certain combinations of engine conditions. Assume that a HIGH at output W activates the warning light: (a) Create your truth Table with appropriate input-output combinations (b) Determine what engine conditions will give warning to the pilot. (c) Using K-Map technique to obtain your simplified Boolean equation. (d) Change this circuit to one using all NAND gates and constructs the circuit. Figure 2.1 REPORT REQUIREMENT The lab report should include the following: 1. Summary of each experiment done. 2. Results of each experiment. 3. Discussions on each operation of the gates. 4. For Activity Part B, include your K-Map table, the simplified Boolean equation, the circuit diagram, the truth table and the engine conditions. 5. Remarks on any possible failures and measures done to overcome this problem. 6. Conclusion for the experiments. 12

17 EKT 121 DIGITAL ELECTRONICS I EXPERIMENT DATA SHEET NAME : METRIC NO.: COURSE : LAB EXPERIMENT : PART A : Simplification Using De Morgan Theorem equivalent operation Y = inputs outputs inputs outputs Table 2.1 : Step 1 Operation Table 2.2 : Step 3 Operation INSTRUCTOR S SIGNATURE: 13

18 PART B : Karnaugh Map Design Method (a) INPUTS OUTPUT Truth Table (b) The engine conditions that will give warning to the pilot: (c) K-Mapping : Simplified Boolean equation: 14

19 (d) Logic Circuit Diagram using all NAND gates INSTRUCTOR S SIGNATURE: 15

20 LAB 3: DECODERS OBJECTIVES 1. To expose the student with one of the combinational logic circuits application. 2. To understand the operation of decoder. 3. To design and construct a type of decoder. EQUIPMENTS/COMPONENTS DC power supply capable of 5V DC output Pattern generator Multimeter Logic Gate ICs : 7404 (1pc), 7432 (2pc), 7448 (1pc), 7490 (1pc) Seven Segment Display (1pc) Resistors : 330Ω (1pc) Switches (4pc) INTRODUCTION A decoder is a circuit that creates an output based on the binary states of a given input. It is used in many applications. One example is in computers for input/output selection. Computers must communicate with a variety of external devices (e.g. printers, disk drives, modem etc.) by sending and/or receiving data through what is known as input/output ports. In this case, a decoder is used to select the I/O port as determined by the computer so that data can be sent or received from a specific external device. Other than that, systems such as digital watches, calculators and cellular phones use decoders for multisegment display. In this case, decoders are needed in these systems to decode the binary data into the multi-segment data to drive the display. In this session, you will first create a normal BCD counter using a BCD-to-seven segment display and its decoder by using existing logic ICs. The display should show the following : The second part will enhance your decoding system and let you study further the addition of other decoding ICs into your construction. 16

21 PROCEDURE Part A In this lab you will experiment with a decoder and associated hardware to derive a BCD counter onto a seven-segment LED display. Your job for this lab is to design and test a circuit to convert a 4-bit BCD signal into a 7-bit control signal according to the following figure: Figure 3.1 : BCD counter schematic diagram 1. Construct the circuit in Figure 3.1 onto your breadboard. From the output of your 7448 BCD-to-7 segment decode, wire the pins to the 7 seven segment display as shown in Figure 3.2 below. Figure 3.2 : 7 Segment display schematic diagram 17

22 2. Study the light emitted on every value shown based from the decoder connector. Fill in the table 3.1. Part B Table 3.1 : The 7-segment output truth table 1. Instead of using the 7448 BCD decoder, create your own combinational logic decoder that will only display the following counting sequence. 2. Prepare the necessary steps using the K-map technique and obtain the Boolean equation. Take note to consider unwanted values as don t care states and redundant for any current values. 18

23 3. Construct your design onto the breadboard. Use the switches first as your inputs. Verify with your instructor on your design. 4. Replace your input switches with the 7490 decade counter IC. Verify the counting sequence with your instructor. Take note to remember where your inputs are. This is important when wiring between your two systems. 5. For your experiment data sheet, submit your Part B : (a) Truth table (b) K-Map (c) Schematic Design CAUTION!!! Marks will be deducted for messy submissions. REPORT REQUIREMENT The lab report should include the following: 1. Summary of each experiment done. 2. Results of each experiment. 3. Discussions on each operation. 4. For Part B, include your K-Map table, the simplified Boolean equation, include the circuit diagram and the truth table. 5. Remarks on any possible failures and measures done to overcome this problem. 6. Conclusion for the experiments. 19

24 EKT 121 DIGITAL ELECTRONICS I EXPERIMENT DATA SHEET NAME : METRIC NO.: COURSE : LAB EXPERIMENT : Part A Table 3.1 : The 7-segment output truth table Circuit construction verification Instructor s signature : 20

25 Part B 1. Attach together with this experiment sheet are your Counting sequence truth table K-Map Schematic Design CAUTION!!! Marks will be deducted for messy submissions 2. Counting sequence using switches. Is the circuit construction OK? Instructor s signature : 3. Counting sequence using the 7490 decade counter. Is the circuit construction OK? Instructor s signature : 21

26 LAB 4: MULTIPLEXER & DEMULTIPLEXER OBJECTIVES 1. To understand the operation of a multiplexer and demultiplexer. 2. To design basic multiplexer. EQUIPMENTS/COMPONENTS DC power supply capable of 5V DC output Multimeter Logic ICs : 7404(2pc), 7408(3pc), 7411(2pc), 7432(1pc), 74153(3pc) Light Emitting Diode (6pc) Resistors : 330Ω (2pc) Switches (5pc) INTRODUCTION A digital multiplexer or data selector is a logic circuit that accepts several digital data inputs and selects one of them at any given time to pass on to the output. Primarily they are used for data routing which selects a transmission path for outgoing data according to the coding criteria established by binary inputs. The routing of the desired data input to the output is controlled by SELECT inputs (often referred to as ADDRESS inputs). Figure 4.1 shows the functional diagram of a general digital multiplexer. The inputs and output are drawn as wide arrows rather than lines; this indicates that they may actually be more than one signal line. Figure 4.1: Functional diagram of digital multiplexer (MUX) 22

27 A demultiplexer performs the reverse operations. It takes a single input and distributes it over several outputs based on the selector. Figure 4.2 shows the functional diagram for digital demultiplexer (DEMUX). The large arrows for inputs and outputs can represent one or more lines. The select inputs code determines to which output the DATA input will be transmitted. In other words, the demultiplexer takes one input data sources and selectively distributes it to 1 of N output channels just like a multiposition switch. Figure 4.2: Functional diagram of digital demultiplexer (DEMUX) For this lab session, you are required to first build your own multiplexing system which will include the combination of a 4:1 multiplexer (MUX) and a 1:5 demultiplexer (DEMUX). 23

28 PROCEDURE Part A: Designing a multiplexing system Construct your very own multiplexing system which has a 4-to-1 multiplexer (MUX) to transmit your data and received by a 1:5 demultiplexer (DEMUX). 1) Construct the truth table and get the Boolean expression for your MUX and DEMUX. 2) Draw the circuit diagram for a 4:1 MUX. 3) Draw the circuit diagram for a 1:5 DEMUX based on the given Ics. 4) Construct your MUX and DEMUX together based on the following diagram in Figure 5.3. Take note on the tasks below : a. Construct your MUX using the input AND gates. b. Construct your DeMUX using the input AND gates. You may need to redesign your schematic first to suit the above requirements due to limited components. 5) Assign the toggle switches as your S0, S1, S2, S3, and S4 selector. Figure 4.3: Multiplexing System Schematic 6) Change the connection of your D0 jumper wire from LO to HI. Set your S1 to HI and S0 to LO. Set your S4, S3 & S2 to LO. Fill in Table 5.1 upon your result. 24

29 7) Fill in the rest of the data given in Table ) Demonstrate to your instructor and get your instructor s signature for verification. Selector LED state (ON/OFF) D0 D1 D2 D3 S1 S0 F S4 S3 S2 L0 L1 L2 L3 L4 HI LO LO LO HI LO LO LO LO LO LO LO HI LO LO LO LO HI HI LO LO LO LO LO HI LO LO LO HI LO LO LO HI LO HI HI LO LO LO HI HI HI HI HI LO LO LO HI LO HI LO LO LO HI LO HI HI HI LO LO HI LO LO Table 4.1: Data Output of Multiplexing System Part B: Design Problem 1. Draw a block diagram of a 16:1 multiplexer using 4:1 multiplexers. 2. Construct your circuit onto the breadboard using the ICs provided. 3. Test your construct based on your block diagram. 4. Demonstrate to your instructor for verification. REPORT REQUIREMENT The lab report should include the following: 1. Summary of each experiment done. 2. Results of each experiment. 3. Discussions on each operation based on your results. 4. Include your Truth Tables, K-Maps, the simplified Boolean equations and circuit diagrams. 5. Remarks on any possible failures endured throughout your experiment and steps or measures you have done to overcome that problem. 6. Conclusion for the experiments. 25

30 EKT 121 DIGITAL ELECTRONICS I EXPERIMENT DATA SHEET NAME: COURSE: METRIC NO.: TABLE NO.: EXPERIMENT TITLE: Part A 1. Attachments : 4:1 Multiplexer Truth Table 4:1 Multiplexer K-Map and Boolean equation 4:1 Multiplexer Circuit diagram 1:5 Demultiplexer Truth Table 1:5 Demultiplexer K-Map and Boolean equations 1:5 Demultiplexer Circuit diagram 2. Circuit Operation Selector LED state (ON/OFF) D0 D1 D2 D3 S1 S0 F S4 S3 S2 L0 L1 L2 L3 L4 HI LO LO LO HI LO LO LO LO LO LO LO HI LO LO LO LO HI HI LO LO LO LO LO HI LO LO LO HI LO LO LO HI LO HI HI LO LO LO HI HI HI HI HI LO LO LO HI LO HI LO LO LO HI LO HI HI HI LO LO HI LO LO Table 4.1: Data Output of Multiplexing System INSTRUCTOR S SIGNATURE CIRCUIT SETUP: CIRCUIT CONSTRUCT OPERATION CONFIRMED: 26

31 Part B 1. Boolean Expression: 2. Attachments: a) Schematic Diagram INSTRUCTOR S SIGNATURE CIRCUIT SETUP: CIRCUIT CONSTRUCT OPERATION CONFIRMED: 27

32 LAB 5: FLIP-FLOP OBJECTIVES 1. To construct the basic circuit of latches and flip-flops using basic gates. 2. To investigate the operation of latches and flip-flops. 3. To determine the input and output states of the circuits constructed. EQUIPMENTS/COMPONENTS DC power supply capable of 5V DC output Multimeter Pattern generator Logic ICs : 7402(1pc), 7408(1pc), 7476(1pc) Light Emitting Diode (4pc) Resistors : 330Ω (4pc) Switches (4pc) INTRODUCTION In the previous lab sessions, you have studied forms of combinational logic. This session will introduce the fundamentals of sequential logic. You will be introduced to two types of device which perform the basis of multivibratators such as bistable, monostable and astable and memory elements like registers. The two categories of device which are bistable are the latch and the flip-flop. A bistable device means that it has two stable states called SET and RESET; in which they can retain either of these states indefinitely, making bistable devices useful to be functioned as storage devices. The latch and flip-flop are basic elements that are able to store binary information. Even though they are made up of combinational logic gates that have no storage capability, the way they are connected permits information to be stored. Both have basic feedback design circuits but the differences between the latch and the flip-flop is how it can be triggered to change their outputs between the two states. This lab will introduce you the design to build your own latch and flip-flops. You will construct, examine and verify its operations individually. Finally you will determine the actual difference between the two fundamental devices. 28

33 PROCEDURE 1. R-S flip-flop: Construct a circuit as shown in Figure 5.1. Connect switches to the input and complete Table 5.1 by monitoring the output using the LED display. Figure Make a modification on the previous circuit by connecting the circuit as illustrated at Figure 5.2. Connect another switch for the CLK input and complete Table 5.2. Figure J-K flip-flop: Combine the circuit constructed in procedure 2 with gate AND as shown in Figure 5.3. Perform the following series of test on the circuit by completing Table 5.3. Figure 5.2 Figure

34 4. Figure 5.4 shows IC 7476 which is a JK flip-flop. Verify the operation of JK flipflop by ignoring the PRE and CLR input. Fill in the results at Table 5.4. Figure Experiment in procedure 4 is repeated but this time the PRE and CLR input are considered. Test all the possible input combination and complete Table T flip-flop: Apply the rectangular waveform at 1 KHz frequency to the CLK input of JK flip-flop. Set the input T at logic 1 as shown in Figure 5.5. Use oscilloscope with dual channel to display the output waveform for CLK and signal Q. Sketch the output Q waveform at Diagram 5.1. Figure

35 7. D flip-flop: Connect an inverter to the input K of flip-flop JK as illustrated in Figure 5.6 and complete Table 5.6. Figure 5.6 REPORT REQUIREMENT The lab report should include the following: 1. Summary of each experiment done. 2. Results of each experiment. 3. Discussions on each operation based on your results. 4. Include your remarks (if any) on any possible failures endured throughout your experiment and steps or measures you have done to overcome that problem. 5. Conclusion for the experiments. 31

36 EKT 121 DIGITAL ELECTRONICS I EXPERIMENT DATA SHEET NAME: COURSE: MATRIC NO.: TABLE NO.: EXPERIMENT TITLE: Input Output R S Q Q Input Table 5.1 Table 5.2 Output R S CLK Q Q Signature: Signature: Input Output J K CLK Q Input Output J K CLK Q Table 5.3 Table 5.4 Signature: Signature: 32

37 Input Output CLR PRE J K CLK Q Table 5.5 Diagram 5.1 Signature: 33

38 Input Output R CLK Q Q Table 5.6 Signature: 1. Based on your observations, explain the different between RS flip-flop and JK flipflop in term of its operation. 2. Discuss the effect of PRE and CLR in JK flip-flop. 34

39 LAB 6: SHIFT REGISTERS OBJECTIVES 1. To explain the operation of a serial shift register. 2. To describe the function of shift register in ring counter. EQUIPMENT/COMPONENTS A DC power supply capable of 5V DC output A pattern generator for square wave signals A multimeter Logic Gate IC : 7474 (2pc) Light Emitting Diode (4pc) Resistors : 330Ω (4pc) Toggle Switches (2pc) INTRODUCTION An introduction to flip-flops in the previous session will now be extended into introducing many important sequential logic designs when they are combined together with combinational logic circuits. Among the most important sequential circuits that are widely used in digital systems are registers. A 1-bit register requires one flip-flop, so an array of these flip-flops are required to store binary information either in 1, 4, 8, 16 or 32 bits of data accordingly. Registers can both receive and transmit data either in serial (one-bit at a time) or in parallel (simultaneously) form. They can be classified depending upon the way in which data are entered and exited. There are four modes of operation : 1. serial in, serial out (SISO) 2. serial in, parallel out (SIPO) 3. parallel in, serial out (PISO) and 4. parallel in, parallel out (PIPO). A register designed to transfer any given data from one flip-flop to another commonly known as Shift Registers. The data bits are shifted in the flip-flops with the occurrence of clock pulses either in the right direction (right-shift registers) or in the left direction (leftshift register) before sending it back out again. A register that can shift data in both ways is called a bi-directional shift register. This lab session will give you a task to construct the given shift register circuits and verify the operations with your instructor. 35

40 PROCEDURE PART A : Shift Register Operation 1. Refer to the figure below and construct the circuit onto the breadboard. D Flipflops are used in this experiment. 1 Hz Figure 6.1 : D flip-flop Shift Register (Take note of the components assigned to the DATA INPUT, Clock, CLEAR / RESET pins and the output pins of each D flip-flop, Q A, Q B, Q C and Q D respectively). 2. Set your switch A to LO for initial stage and Switch B to HI. Switch B is to reset your circuit. If any LEDs are ON, reset your system by setting switch B to LO and then set it back to HI again. The reset mode for the D flip-flop requires an active low input pulse. 3. Assign your Clock input to the pattern generator that generates a square wave with a frequency of 1 Hz. Connect the waveform to your system. As explained earlier on, the shift register operation is based on a clock pulse from the square wave form. One clock pulse is defined as or depending to the mode of edge-triggered operation of the flip-flop. 4. Refer to Table 6.1. Set your initial Data Input value to HI at the first clock pulse. Record your output values. 5. Complete Table 6.1 by recording the output values based on the given input values. Demonstrate and verify your operation with your instructor. Caution : If your register is too fast to record, you can slow down the frequency to suit your pace. You may need to reset your system so that you can follow up on the input values you have missed. 36

41 Clock OUTPUT LED Switch A Pulse A B C D Initial Stage st 1 2 nd 1 3 rd 1 4 th 1 5 th 0 6 th 0 7 th 0 8 th 0 9 th 1 10 th 0 11 th 1 12 th 1 13 th 0 14 th 0 15 th 0 16 th 1 PART B : Ring Counter Operation Table 6.1 : Shift Register Operation 1. Reconstruct your existing shift registers into a Ring Counter. Switch A will then be connected to the PRESET (PR) at pin 4 of your first D Flip-flop as your DATA INPUT. Refer Figure 6.2 : 1 Hz Figure 6.2 : Ring Counter Schematic 2. Set your Switch A to LO and Switch B to HI. Reset your system if necessary by applying a LO to Switch B and twist it to HI back again. 37

42 3. Set your pattern generator to square wave with a 1 Hz frequency. Connect the Clock pin to your pattern generator. 4. Now set your Switch A to LO for a second and wait for LED A to light up before twisting back Switch A to HI again. (You should only get one LED A that will light up before it is shifted to LED B). 5. Complete the Table 6.2 on what you have observed from your LED outputs. Demonstrate and verify with your instructor upon completion of your system. Clock OUTPUT LED Pulse A B C D Initial Stage Table 6.2 : Ring Counter Operation REPORT REQUIREMENT The lab report should include the following: 1. Summary of each experiment done. 2. Discussions on each experiments. 3. Remarks on any possible failures and measures done to overcome this problem. 4. Conclusion for the experiments. 38

43 EKT 121 DIGITAL ELECTRONICS I EXPERIMENT DATA SHEET NAME: COURSE: MATRIC NO.: TABLE NO.: EXPERIMENT TITLE: Part A : Shift Register Operation Clock OUTPUT LED Switch A Pulse A B C D Initial Stage st 1 2 nd 1 3 rd 1 4 th 1 5 th 0 6 th 0 7 th 0 8 th 0 9 th 1 10 th 0 11 th 1 12 th 1 13 th 0 14 th 0 15 th 0 16 th 1 Table 6.1 : Shift Register Operation Construction Complete? : YES / NO Shift Register Function? : YES / NO Instructor Signature : 39

44 Part B : Ring Counter Operation Clock OUTPUT LED Pulse A B C D Initial Stage Table 6.2 : Ring Counter Operation Construction Complete? : YES / NO Shift Register Function? : YES / NO Instructor Signature : EXERCISES: 1. Explain two advantages and disadvantages for a data transfer by serial shift and parallel shift. 2. Give one example where Ring Counters are applied and briefly explain its operation. 3. Briefly define Johnson Shift Register and its application. 40

45 LAB 7: COUNTER DESIGN OBJECTIVE 1. To design a synchronous counter using J-K flip-flops. EQUIPMENT/COMPONENTS A DC power supply capable of 5V DC output A pattern generator for square wave signals A multimeter Logic Gate IC : 7408 (1pc), 7447 (1pc), 7476 (2pc) Seven Segment Display (1pc) Resistors : 330Ω (1pc) Toggle Switch (1pc) INTRODUCTION Counters are classified into two broad categories according to the way they are clocked: asynchronous and synchronous. In asynchronous counters, the first flip-flop is clocked by the external clock pulse, and then each successive flip-flop is clocked by the output of the preceding flip-flop. However, in synchronous counters, all flip-flops will be connected to the same clock input so that they are clocked simultaneously. Our focus is to design the synchronous counter. Synchronous counter design is also known as sequential circuit design. Figure 7.1 illustrate the general idea of clocked sequential circuit. It can be noticed that there is a clock input to the memory section. Figure 7.1: General Clocked Sequential Circuit Several methods exist for designing counters that follow arbitrary sequences. One common method is using J-K flip-flop in a synchronous counter configuration. The basic idea is to design the logic circuits that decode the various states of the counter to supply the logic levels to each J and K input by applying the transition table as shown in Table

46 Output Transitions FF Inputs Q(t) Q(t+1) J K X X 1 0 X X 0 Table 7.1: J-K flip-flop excitation table As usual, you will be given a design problem. It is an advantage for you to master the synchronous counter design technique using J-K flip-flop before attending the lab session. PROCEDURE Flip-flop Counter Design 1. Design a binary counter with sequence shown on the state transition diagram in Figure 7.2. Figure 7.2: Counting Sequence 2. You will need to determine the following : a. Create the circuit excitation table as in Ttable 7.2 based on the given state transitions in Table 7.1 above. b. Create your Karnaugh Map for a J-K flip-flop to generate the required inputs for the flip-flops. (Don t care states can be placed in the corresponding invalid cells.) c. Draw the circuit diagram to implement the expressions derived from your K- Map. 42

47 3. Construct the circuit you have drawn. Put a Switch A to your CLR/RESET pin for all your flip-flops. (Make sure your PRE pins are set to HI to disable the PRE/SET function). 4. Assign a clock pulse (square waveform) from a pattern generator with a frequency of 1 Hz to your counter. 5. Justify your design and demonstrate to your instructors for verification. REPORT REQUIREMENT The lab report should include the following: 1. Summary of each step done. 2. Discussions of your design. 3. Remarks on any possible failures during construct and measures done to overcome this problem. 4. Conclusion for the experiment. 43

48 EKT 121 DIGITAL ELECTRONICS I EXPERIMENT DATA SHEET NAME: COURSE: MATRIC NO.: TABLE NO.: EXPERIMENT TITLE: Flip-flop Counter Design OUTPUT VALUES INPUT VALUES Decimal Binary Binary Present Present State Next State Flip-flop 2 Flip-flop 1 Flip-flop 0 Value Q 2 Q 1 Q 0 Q 2 Q 1 Q 0 J 2 K 2 J 1 K 1 J 0 K 0 Table 7.2: JK Flip-flop Counter Excitation Table INSTRUCTOR AREA Check to confirm: Attachment: Counter Karnaugh Map and Boolean Expressions Attachment: Counter Circuit Diagram with 7476 and 7447 ICs included Circuit construction completed Counter operational shown on seven segment display Instructor Signature: 44

49 REFERENCES 1. William Kleitz. (July 14, 2004), Digital Electronics: A Practical Approach. 7 th Edition. Prentice Hall. 45

Counters and Decoders

Counters and Decoders Physics 3330 Experiment #10 Fall 1999 Purpose Counters and Decoders In this experiment, you will design and construct a 4-bit ripple-through decade counter with a decimal read-out display. Such a counter

More information

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa Experiment # 9 Clock generator circuits & Counters Eng. Waleed Y. Mousa 1. Objectives: 1. Understanding the principles and construction of Clock generator. 2. To be familiar with clock pulse generation

More information

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop. Objectives Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop. describe how such a flip-flop can be SET and RESET. describe the disadvantage

More information

Module 3: Floyd, Digital Fundamental

Module 3: Floyd, Digital Fundamental Module 3: Lecturer : Yongsheng Gao Room : Tech - 3.25 Email : yongsheng.gao@griffith.edu.au Structure : 6 lectures 1 Tutorial Assessment: 1 Laboratory (5%) 1 Test (20%) Textbook : Floyd, Digital Fundamental

More information

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals of Computer Organization and Design. Introduction

More information

The components. E3: Digital electronics. Goals:

The components. E3: Digital electronics. Goals: E3: Digital electronics Goals: Basic understanding of logic circuits. Become familiar with the most common digital components and their use. Equipment: 1 st. LED bridge 1 st. 7-segment display. 2 st. IC

More information

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design PH-315 COMINATIONAL and SEUENTIAL LOGIC CIRCUITS Hardware implementation and software design A La Rosa I PURPOSE: To familiarize with combinational and sequential logic circuits Combinational circuits

More information

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill Objectives: Analyze the operation of sequential logic circuits. Understand the operation of digital counters.

More information

CHAPTER 3 Boolean Algebra and Digital Logic

CHAPTER 3 Boolean Algebra and Digital Logic CHAPTER 3 Boolean Algebra and Digital Logic 3.1 Introduction 121 3.2 Boolean Algebra 122 3.2.1 Boolean Expressions 123 3.2.2 Boolean Identities 124 3.2.3 Simplification of Boolean Expressions 126 3.2.4

More information

DEPARTMENT OF INFORMATION TECHNLOGY

DEPARTMENT OF INFORMATION TECHNLOGY DRONACHARYA GROUP OF INSTITUTIONS, GREATER NOIDA Affiliated to Mahamaya Technical University, Noida Approved by AICTE DEPARTMENT OF INFORMATION TECHNLOGY Lab Manual for Computer Organization Lab ECS-453

More information

BINARY CODED DECIMAL: B.C.D.

BINARY CODED DECIMAL: B.C.D. BINARY CODED DECIMAL: B.C.D. ANOTHER METHOD TO REPRESENT DECIMAL NUMBERS USEFUL BECAUSE MANY DIGITAL DEVICES PROCESS + DISPLAY NUMBERS IN TENS IN BCD EACH NUMBER IS DEFINED BY A BINARY CODE OF 4 BITS.

More information

Digital Electronics Detailed Outline

Digital Electronics Detailed Outline Digital Electronics Detailed Outline Unit 1: Fundamentals of Analog and Digital Electronics (32 Total Days) Lesson 1.1: Foundations and the Board Game Counter (9 days) 1. Safety is an important concept

More information

A Digital Timer Implementation using 7 Segment Displays

A Digital Timer Implementation using 7 Segment Displays A Digital Timer Implementation using 7 Segment Displays Group Members: Tiffany Sham u2548168 Michael Couchman u4111670 Simon Oseineks u2566139 Caitlyn Young u4233209 Subject: ENGN3227 - Analogue Electronics

More information

CHAPTER 11: Flip Flops

CHAPTER 11: Flip Flops CHAPTER 11: Flip Flops In this chapter, you will be building the part of the circuit that controls the command sequencing. The required circuit must operate the counter and the memory chip. When the teach

More information

Chapter 9 Latches, Flip-Flops, and Timers

Chapter 9 Latches, Flip-Flops, and Timers ETEC 23 Programmable Logic Devices Chapter 9 Latches, Flip-Flops, and Timers Shawnee State University Department of Industrial and Engineering Technologies Copyright 27 by Janna B. Gallaher Latches A temporary

More information

Sequential Logic Design Principles.Latches and Flip-Flops

Sequential Logic Design Principles.Latches and Flip-Flops Sequential Logic Design Principles.Latches and Flip-Flops Doru Todinca Department of Computers Politehnica University of Timisoara Outline Introduction Bistable Elements Latches and Flip-Flops S-R Latch

More information

Digital Logic Elements, Clock, and Memory Elements

Digital Logic Elements, Clock, and Memory Elements Physics 333 Experiment #9 Fall 999 Digital Logic Elements, Clock, and Memory Elements Purpose This experiment introduces the fundamental circuit elements of digital electronics. These include a basic set

More information

Asynchronous Counters. Asynchronous Counters

Asynchronous Counters. Asynchronous Counters Counters and State Machine Design November 25 Asynchronous Counters ENGI 25 ELEC 24 Asynchronous Counters The term Asynchronous refers to events that do not occur at the same time With respect to counter

More information

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies ETEC 2301 Programmable Logic Devices Chapter 10 Counters Shawnee State University Department of Industrial and Engineering Technologies Copyright 2007 by Janna B. Gallaher Asynchronous Counter Operation

More information

CHAPTER 11 LATCHES AND FLIP-FLOPS

CHAPTER 11 LATCHES AND FLIP-FLOPS CHAPTER 11 LATCHES AND FLIP-FLOPS This chapter in the book includes: Objectives Study Guide 11.1 Introduction 11.2 Set-Reset Latch 11.3 Gated D Latch 11.4 Edge-Triggered D Flip-Flop 11.5 S-R Flip-Flop

More information

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department Counters By: Electrical Engineering Department 1 Counters Upon completion of the chapter, students should be able to:.1 Understand the basic concepts of asynchronous counter and synchronous counters, and

More information

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas Take-Home Exercise Assume you want the counter below to count mod-6 backward. That is, it would count 0-5-4-3-2-1-0, etc. Assume it is reset on startup, and design the wiring to make the counter count

More information

Operating Manual Ver.1.1

Operating Manual Ver.1.1 4 Bit Binary Ripple Counter (Up-Down Counter) Operating Manual Ver.1.1 An ISO 9001 : 2000 company 94-101, Electronic Complex Pardesipura, Indore- 452010, India Tel : 91-731- 2570301/02, 4211100 Fax: 91-731-

More information

Theory of Logic Circuits. Laboratory manual. Exercise 3

Theory of Logic Circuits. Laboratory manual. Exercise 3 Zakład Mikroinformatyki i Teorii Automatów yfrowych Theory of Logic ircuits Laboratory manual Exercise 3 Bistable devices 2008 Krzysztof yran, Piotr zekalski (edt.) 1. lassification of bistable devices

More information

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse. DIGITAL COUNTERS http://www.tutorialspoint.com/computer_logical_organization/digital_counters.htm Copyright tutorialspoint.com Counter is a sequential circuit. A digital circuit which is used for a counting

More information

Memory Elements. Combinational logic cannot remember

Memory Elements. Combinational logic cannot remember Memory Elements Combinational logic cannot remember Output logic values are function of inputs only Feedback is needed to be able to remember a logic value Memory elements are needed in most digital logic

More information

Upon completion of unit 1.1, students will be able to

Upon completion of unit 1.1, students will be able to Upon completion of unit 1.1, students will be able to 1. Demonstrate safety of the individual, class, and overall environment of the classroom/laboratory, and understand that electricity, even at the nominal

More information

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC. 8.1 Objectives To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC. 8.2 Introduction Circuits for counting events are frequently used in computers and other digital

More information

List of Experiment. 8. To study and verify the BCD to Seven Segments DECODER.(IC-7447).

List of Experiment. 8. To study and verify the BCD to Seven Segments DECODER.(IC-7447). G. H. RAISONI COLLEGE OF ENGINEERING, NAGPUR Department of Electronics & Communication Engineering Branch:-4 th Semester[Electronics] Subject: - Digital Circuits List of Experiment Sr. Name Of Experiment

More information

Lab 11 Digital Dice. Figure 11.0. Digital Dice Circuit on NI ELVIS II Workstation

Lab 11 Digital Dice. Figure 11.0. Digital Dice Circuit on NI ELVIS II Workstation Lab 11 Digital Dice Figure 11.0. Digital Dice Circuit on NI ELVIS II Workstation From the beginning of time, dice have been used for games of chance. Cubic dice similar to modern dice date back to before

More information

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1 WEEK 8.1 egisters and Counters ECE124 igital Circuits and Systems Page 1 Additional schematic FF symbols Active low set and reset signals. S Active high set and reset signals. S ECE124 igital Circuits

More information

Lecture 8: Synchronous Digital Systems

Lecture 8: Synchronous Digital Systems Lecture 8: Synchronous Digital Systems The distinguishing feature of a synchronous digital system is that the circuit only changes in response to a system clock. For example, consider the edge triggered

More information

ELEC 2210 - EXPERIMENT 1 Basic Digital Logic Circuits

ELEC 2210 - EXPERIMENT 1 Basic Digital Logic Circuits Objectives ELEC - EXPERIMENT Basic Digital Logic Circuits The experiments in this laboratory exercise will provide an introduction to digital electronic circuits. You will learn how to use the IDL-00 Bit

More information

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012 Latches, the D Flip-Flop & Counter Design ECE 52A Winter 22 Reading Assignment Brown and Vranesic 7 Flip-Flops, Registers, Counters and a Simple Processor 7. Basic Latch 7.2 Gated SR Latch 7.2. Gated SR

More information

Contents COUNTER. Unit III- Counters

Contents COUNTER. Unit III- Counters COUNTER Contents COUNTER...1 Frequency Division...2 Divide-by-2 Counter... 3 Toggle Flip-Flop...3 Frequency Division using Toggle Flip-flops...5 Truth Table for a 3-bit Asynchronous Up Counter...6 Modulo

More information

ASYNCHRONOUS COUNTERS

ASYNCHRONOUS COUNTERS LB no.. SYNCHONOUS COUNTES. Introduction Counters are sequential logic circuits that counts the pulses applied at their clock input. They usually have 4 bits, delivering at the outputs the corresponding

More information

Lecture-3 MEMORY: Development of Memory:

Lecture-3 MEMORY: Development of Memory: Lecture-3 MEMORY: It is a storage device. It stores program data and the results. There are two kind of memories; semiconductor memories & magnetic memories. Semiconductor memories are faster, smaller,

More information

Copyright Peter R. Rony 2009. All rights reserved.

Copyright Peter R. Rony 2009. All rights reserved. Experiment No. 1. THE DIGI DESIGNER Experiment 1-1. Socket Connections on the Digi Designer Experiment No. 2. LOGIC LEVELS AND THE 7400 QUADRUPLE 2-INPUT POSITIVE NAND GATE Experiment 2-1. Truth Table

More information

EXPERIMENT 8. Flip-Flops and Sequential Circuits

EXPERIMENT 8. Flip-Flops and Sequential Circuits EXPERIMENT 8. Flip-Flops and Sequential Circuits I. Introduction I.a. Objectives The objective of this experiment is to become familiar with the basic operational principles of flip-flops and counters.

More information

Flip-Flops, Registers, Counters, and a Simple Processor

Flip-Flops, Registers, Counters, and a Simple Processor June 8, 22 5:56 vra235_ch7 Sheet number Page number 349 black chapter 7 Flip-Flops, Registers, Counters, and a Simple Processor 7. Ng f3, h7 h6 349 June 8, 22 5:56 vra235_ch7 Sheet number 2 Page number

More information

Lab 1: Study of Gates & Flip-flops

Lab 1: Study of Gates & Flip-flops 1.1 Aim Lab 1: Study of Gates & Flip-flops To familiarize with circuit implementations using ICs and test the behavior of different logic gates and Flip-flops. 1.2 Hardware Requirement a. Equipments -

More information

3-Digit Counter and Display

3-Digit Counter and Display ECE 2B Winter 2007 Lab #7 7 3-Digit Counter and Display This final lab brings together much of what we have done in our lab experiments this quarter to construct a simple tachometer circuit for measuring

More information

ANALOG & DIGITAL ELECTRONICS

ANALOG & DIGITAL ELECTRONICS ANALOG & DIGITAL ELECTRONICS Course Instructor: Course No: PH-218 3-1-0-8 Dr. A.P. Vajpeyi E-mail: apvajpeyi@iitg.ernet.in Room No: #305 Department of Physics, Indian Institute of Technology Guwahati,

More information

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver Electronics Exercise 2: The 555 Timer and its Applications Mechatronics Instructional Laboratory Woodruff School of Mechanical Engineering Georgia Institute of Technology Lab Director: I. Charles Ume,

More information

Counters. Present State Next State A B A B 0 0 0 1 0 1 1 0 1 0 1 1 1 1 0 0

Counters. Present State Next State A B A B 0 0 0 1 0 1 1 0 1 0 1 1 1 1 0 0 ounter ounters ounters are a specific type of sequential circuit. Like registers, the state, or the flip-flop values themselves, serves as the output. The output value increases by one on each clock cycle.

More information

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012 Flip-Flops and Sequential Circuit Design ECE 52 Winter 22 Reading ssignment Brown and Vranesic 7 Flip-Flops, Registers, Counters and a Simple Processor 7.5 T Flip-Flop 7.5. Configurable Flip-Flops 7.6

More information

Flip-Flops and Sequential Circuit Design

Flip-Flops and Sequential Circuit Design Flip-Flops and Sequential Circuit Design ECE 52 Winter 22 Reading ssignment Brown and Vranesic 7 Flip-Flops, Registers, Counters and a Simple Processor 7.5 T Flip-Flop 7.5. Configurable Flip-Flops 7.6

More information

LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters

LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters LAB OBJECTIVES 1. Introduction to latches and the D type flip-flop 2. Use of actual flip-flops to help you understand sequential

More information

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements ) Sequential Logic (Materials taken from: Principles of Computer Hardware by Alan Clements ) Sequential vs. Combinational Circuits Combinatorial circuits: their outputs are computed entirely from their present

More information

Sequential Logic: Clocks, Registers, etc.

Sequential Logic: Clocks, Registers, etc. ENEE 245: igital Circuits & Systems Lab Lab 2 : Clocks, Registers, etc. ENEE 245: igital Circuits and Systems Laboratory Lab 2 Objectives The objectives of this laboratory are the following: To design

More information

CS311 Lecture: Sequential Circuits

CS311 Lecture: Sequential Circuits CS311 Lecture: Sequential Circuits Last revised 8/15/2007 Objectives: 1. To introduce asynchronous and synchronous flip-flops (latches and pulsetriggered, plus asynchronous preset/clear) 2. To introduce

More information

Chapter 7. Registers & Register Transfers. J.J. Shann. J. J. Shann

Chapter 7. Registers & Register Transfers. J.J. Shann. J. J. Shann Chapter 7 Registers & Register Transfers J. J. Shann J.J. Shann Chapter Overview 7- Registers and Load Enable 7-2 Register Transfers 7-3 Register Transfer Operations 7-4 A Note for VHDL and Verilog Users

More information

CpE358/CS381. Switching Theory and Logical Design. Class 10

CpE358/CS381. Switching Theory and Logical Design. Class 10 CpE358/CS38 Switching Theory and Logical Design Class CpE358/CS38 Summer- 24 Copyright 24-373 Today Fundamental concepts of digital systems (Mano Chapter ) Binary codes, number systems, and arithmetic

More information

Decimal Number (base 10) Binary Number (base 2)

Decimal Number (base 10) Binary Number (base 2) LECTURE 5. BINARY COUNTER Before starting with counters there is some vital information that needs to be understood. The most important is the fact that since the outputs of a digital chip can only be

More information

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1. File: chap04, Chapter 04 1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1. 2. True or False? A gate is a device that accepts a single input signal and produces one

More information

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors Electronics Exercise 3: Uni-Polar Stepper Motor Controller / Driver Mechatronics Instructional Laboratory Woodruff School of Mechanical Engineering Georgia Institute of Technology Lab Director: I. Charles

More information

Counters are sequential circuits which "count" through a specific state sequence.

Counters are sequential circuits which count through a specific state sequence. Counters Counters are sequential circuits which "count" through a specific state sequence. They can count up, count down, or count through other fixed sequences. Two distinct types are in common usage:

More information

Engr354: Digital Logic Circuits

Engr354: Digital Logic Circuits Engr354: igital Circuits Chapter 7 Sequential Elements r. Curtis Nelson Sequential Elements In this chapter you will learn about: circuits that can store information; Basic cells, latches, and flip-flops;

More information

A Lesson on Digital Clocks, One Shots and Counters

A Lesson on Digital Clocks, One Shots and Counters A Lesson on Digital Clocks, One Shots and Counters Topics Clocks & Oscillators LM 555 Timer IC Crystal Oscillators Selection of Variable Resistors Schmitt Gates Power-On Reset Circuits One Shots Counters

More information

COURSE SYLLABUS. PRE-REQUISITES: Take CETT-1303(41052); Minimum grade C, CR.

COURSE SYLLABUS. PRE-REQUISITES: Take CETT-1303(41052); Minimum grade C, CR. COURSE SYLLABUS COURSE NUMBER AND TITLE: CETT 1325- Digital Fundamentals COURSE (CATALOG) DESCRIPTION An entry level course in digital electronics covering number systems, binary mathematics, digital codes,

More information

Figure 8-1 Four Possible Results of Adding Two Bits

Figure 8-1 Four Possible Results of Adding Two Bits CHPTER EIGHT Combinational Logic pplications Thus far, our discussion has focused on the theoretical design issues of computer systems. We have not yet addressed any of the actual hardware you might find

More information

A Lesson on Digital Clocks, One Shots and Counters

A Lesson on Digital Clocks, One Shots and Counters A Lesson on Digital Clocks, One Shots and Counters Topics Clocks & Oscillators LM 555 Timer IC Crystal Oscillators Selection of Variable Resistors Schmitt Gates Power-On Reset Circuits One Shots Counters

More information

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

Digital Fundamentals. Lab 8 Asynchronous Counter Applications Richland College Engineering Technology Rev. 0 B. Donham Rev. 1 (7/2003). Horne Rev. 2 (1/2008). Bradbury Digital Fundamentals CETT 1425 Lab 8 Asynchronous Counter Applications Name: Date: Objectives:

More information

Gates, Circuits, and Boolean Algebra

Gates, Circuits, and Boolean Algebra Gates, Circuits, and Boolean Algebra Computers and Electricity A gate is a device that performs a basic operation on electrical signals Gates are combined into circuits to perform more complicated tasks

More information

7. Latches and Flip-Flops

7. Latches and Flip-Flops Chapter 7 Latches and Flip-Flops Page 1 of 18 7. Latches and Flip-Flops Latches and flip-flops are the basic elements for storing information. One latch or flip-flop can store one bit of information. The

More information

Counters & Shift Registers Chapter 8 of R.P Jain

Counters & Shift Registers Chapter 8 of R.P Jain Chapter 3 Counters & Shift Registers Chapter 8 of R.P Jain Counters & Shift Registers Counters, Syllabus Design of Modulo-N ripple counter, Up-Down counter, design of synchronous counters with and without

More information

Lesson 12 Sequential Circuits: Flip-Flops

Lesson 12 Sequential Circuits: Flip-Flops Lesson 12 Sequential Circuits: Flip-Flops 1. Overview of a Synchronous Sequential Circuit We saw from last lesson that the level sensitive latches could cause instability in a sequential system. This instability

More information

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots Registers As you probably know (if you don t then you should consider changing your course), data processing is usually

More information

Combinational Logic Design Process

Combinational Logic Design Process Combinational Logic Design Process Create truth table from specification Generate K-maps & obtain logic equations Draw logic diagram (sharing common gates) Simulate circuit for design verification Debug

More information

Fig1-1 2-bit asynchronous counter

Fig1-1 2-bit asynchronous counter Digital electronics 1-Sequential circuit counters Such a group of flip- flops is a counter. The number of flip-flops used and the way in which they are connected determine the number of states and also

More information

ECE380 Digital Logic

ECE380 Digital Logic ECE38 igital Logic Flip-Flops, Registers and Counters: Flip-Flops r.. J. Jackson Lecture 25- Flip-flops The gated latch circuits presented are level sensitive and can change states more than once during

More information

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on Digital Logic Circuits Digital circuits make up all computers and computer systems. The operation of digital circuits is based on Boolean algebra, the mathematics of binary numbers. Boolean algebra is

More information

2 : BISTABLES. In this Chapter, you will find out about bistables which are the fundamental building blocks of electronic counting circuits.

2 : BISTABLES. In this Chapter, you will find out about bistables which are the fundamental building blocks of electronic counting circuits. 2 : BITABLE In this Chapter, you will find out about bistables which are the fundamental building blos of electronic counting circuits. et-reset bistable A bistable circuit, also called a latch, or flip-flop,

More information

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks UNIVERSITY OF KERALA First Degree Programme in Computer Applications Model Question Paper Semester I Course Code- CP 1121 Introduction to Computer Science TIME : 3 hrs Maximum Mark: 80 SECTION A [Very

More information

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell Digital Electronics Part I Combinational and Sequential Logic Dr. I. J. Wassell Introduction Aims To familiarise students with Combinational logic circuits Sequential logic circuits How digital logic gates

More information

Lecture 5: Gate Logic Logic Optimization

Lecture 5: Gate Logic Logic Optimization Lecture 5: Gate Logic Logic Optimization MAH, AEN EE271 Lecture 5 1 Overview Reading McCluskey, Logic Design Principles- or any text in boolean algebra Introduction We could design at the level of irsim

More information

CHAPTER IX REGISTER BLOCKS COUNTERS, SHIFT, AND ROTATE REGISTERS

CHAPTER IX REGISTER BLOCKS COUNTERS, SHIFT, AND ROTATE REGISTERS CHAPTER IX-1 CHAPTER IX CHAPTER IX COUNTERS, SHIFT, AN ROTATE REGISTERS REA PAGES 249-275 FROM MANO AN KIME CHAPTER IX-2 INTROUCTION -INTROUCTION Like combinational building blocks, we can also develop

More information

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs. equential Logic o far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs. In sequential logic the output of the

More information

Seven-Segment LED Displays

Seven-Segment LED Displays Seven-Segment LED Displays Nicholas Neumann 11/19/2010 Abstract Seven-segment displays are electronic display devices used as an easy way to display decimal numerals and an alterative to the more complex

More information

PLL frequency synthesizer

PLL frequency synthesizer ANALOG & TELECOMMUNICATION ELECTRONICS LABORATORY EXERCISE 4 Lab 4: PLL frequency synthesizer 1.1 Goal The goals of this lab exercise are: - Verify the behavior of a and of a complete PLL - Find capture

More information

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters: Design Eample: ers er: a sequential circuit that repeats a specified sequence of output upon clock pulses. A,B,C,, Z. G, O, T, E, R, P, S,!.,,,,,,,7. 7,,,,,,,.,,,,,,,,,,,. Binary counter: follows the binary

More information

Content Map For Career & Technology

Content Map For Career & Technology Content Strand: Applied Academics CT-ET1-1 analysis of electronic A. Fractions and decimals B. Powers of 10 and engineering notation C. Formula based problem solutions D. Powers and roots E. Linear equations

More information

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter Description: The NTE2053 is a CMOS 8 bit successive approximation Analog to Digital converter in a 20 Lead DIP type package which uses a differential

More information

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute DIGITAL TECHNICS II Dr. Bálint Pődör Óbuda University, Microelectronics and Technology Institute 2. LECTURE: ELEMENTARY SEUENTIAL CIRCUITS: FLIP-FLOPS 1st year BSc course 2nd (Spring) term 2012/2013 1

More information

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute. 2nd (Spring) term 2012/2013

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute. 2nd (Spring) term 2012/2013 DIGITAL TECHNICS II Dr. Bálint Pődör Óbuda University, Microelectronics and Technology Institute 4. LECTURE: COUNTERS AND RELATED 2nd (Spring) term 2012/2013 1 4. LECTURE: COUNTERS AND RELATED 1. Counters,

More information

RUTGERS UNIVERSITY Department of Electrical and Computer Engineering 14:332:233 DIGITAL LOGIC DESIGN LABORATORY

RUTGERS UNIVERSITY Department of Electrical and Computer Engineering 14:332:233 DIGITAL LOGIC DESIGN LABORATORY RUTGERS UNIVERSITY Department of Electrical and Computer Engineering 14:332:233 DIGITAL LOGIC DESIGN LABORATORY Fall 2012 Contents 1 LABORATORY No 1 3 11 Equipment 3 12 Protoboard 4 13 The Input-Control/Output-Display

More information

3.Basic Gate Combinations

3.Basic Gate Combinations 3.Basic Gate Combinations 3.1 TTL NAND Gate In logic circuits transistors play the role of switches. For those in the TTL gate the conducting state (on) occurs when the baseemmiter signal is high, and

More information

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad A. M. Niknejad University of California, Berkeley EE 100 / 42 Lecture 24 p. 1/20 EE 42/100 Lecture 24: Latches and Flip Flops ELECTRONICS Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad University of California,

More information

FORDHAM UNIVERSITY CISC 3593. Dept. of Computer and Info. Science Spring, 2011. Lab 2. The Full-Adder

FORDHAM UNIVERSITY CISC 3593. Dept. of Computer and Info. Science Spring, 2011. Lab 2. The Full-Adder FORDHAM UNIVERSITY CISC 3593 Fordham College Lincoln Center Computer Organization Dept. of Computer and Info. Science Spring, 2011 Lab 2 The Full-Adder 1 Introduction In this lab, the student will construct

More information

COMBINATIONAL CIRCUITS

COMBINATIONAL CIRCUITS COMBINATIONAL CIRCUITS http://www.tutorialspoint.com/computer_logical_organization/combinational_circuits.htm Copyright tutorialspoint.com Combinational circuit is a circuit in which we combine the different

More information

Digital Logic Design Sequential circuits

Digital Logic Design Sequential circuits Digital Logic Design Sequential circuits Dr. Eng. Ahmed H. Madian E-mail: ahmed.madian@guc.edu.eg Dr. Eng. Rania.Swief E-mail: rania.swief@guc.edu.eg Dr. Eng. Ahmed H. Madian Registers An n-bit register

More information

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012 CDA 3200 Digital Systems Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012 Outline SR Latch D Latch Edge-Triggered D Flip-Flop (FF) S-R Flip-Flop (FF) J-K Flip-Flop (FF) T Flip-Flop

More information

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: jimmy@ee.ncu.edu.tw. Sequential Circuit

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: jimmy@ee.ncu.edu.tw. Sequential Circuit Modeling Sequential Elements with Verilog Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: jimmy@ee.ncu.edu.tw 4-1 Sequential Circuit Outputs are functions of inputs and present states of storage elements

More information

EE360: Digital Design I Course Syllabus

EE360: Digital Design I Course Syllabus : Course Syllabus Dr. Mohammad H. Awedh Fall 2008 Course Description This course introduces students to the basic concepts of digital systems, including analysis and design. Both combinational and sequential

More information

1.1 The 7493 consists of 4 flip-flops with J-K inputs unconnected. In a TTL chip, unconnected inputs

1.1 The 7493 consists of 4 flip-flops with J-K inputs unconnected. In a TTL chip, unconnected inputs CALIFORNIA STATE UNIVERSITY LOS ANGELES Department of Electrical and Computer Engineering EE-246 Digital Logic Lab EXPERIMENT 1 COUNTERS AND WAVEFORMS Text: Mano, Digital Design, 3rd & 4th Editions, Sec.

More information

Chapter 8. Sequential Circuits for Registers and Counters

Chapter 8. Sequential Circuits for Registers and Counters Chapter 8 Sequential Circuits for Registers and Counters Lesson 3 COUNTERS Ch16L3- "Digital Principles and Design", Raj Kamal, Pearson Education, 2006 2 Outline Counters T-FF Basic Counting element State

More information

Modeling Latches and Flip-flops

Modeling Latches and Flip-flops Lab Workbook Introduction Sequential circuits are digital circuits in which the output depends not only on the present input (like combinatorial circuits), but also on the past sequence of inputs. In effect,

More information

DS1307ZN. 64 x 8 Serial Real-Time Clock

DS1307ZN. 64 x 8 Serial Real-Time Clock DS137 64 x 8 Serial Real-Time Clock www.maxim-ic.com FEATURES Real-time clock (RTC) counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap-year compensation valid

More information