1. BASIC LOGIC GATES

Size: px
Start display at page:

Download "1. BASIC LOGIC GATES"

Transcription

1 1. BASIC LOGIC GATES AIM: To study and verify the truth table of Basic logic gates COMPONENTS REQUIRED: Logic gates (IC) trainer kit. Connecting patch chords. IC 7400, IC 7408, IC 7432, IC 7406, IC 7402, IC 7404, IC 7486 Gates IC NO. AND 7408 OR 7432 NAND 7400 NOR 7402 NOT 7404 XOR 7486 THEORY: Logic gates are idealized or physical devices implementing a Boolean function, which it performs a logical operation on one or more logical inputs and produce a single output. Depending on the context, the term may refer to an ideal logic gate, one that has for instance zero rise time and unlimited fan out or it may refer to anon-ideal physical device. The main hierarchy is as follows:- 1. Basic Gates 2. Universal Gates 3. Advanced Gates CSE Page 1

2 Basic Gates 1. AND gate: - Function of AND gate is to give the output true when both the inputs are true. In all the other remaining cases output becomes false. Following table justifies the statement:- Input A Input B Output IC OR gate: - Function of OR gate is to give output true when one of the either inputs are true.in the remaining case output becomes false. Following table justifies the statement:- Input A Input B Output CSE Page 2

3 IC NOT gate: -Function of NOR gate is to reverse the nature of the input.it converts true input to false and vice versa. Following table justifies the statement :- Input 1 0 Output 0 1 IC 7404 CSE Page 3

4 Universal Gates 1. NAND gate: -Function of NAND gate is to give true output when one of the two provided input are false. In the remaining output is true case.following table justifies the statement :- A Input B Input Output IC NOR gate: - NOR gate gives the output true when both the two provided input are false. In all the other cases output remains false. Following table justifies the statement :- Input A B Input Output CSE Page 4

5 IC 7402 Advanced Gates XOR gate: - The function of XOR gate is to give output true only when both the inputs are true. Following table explain this:- Input A Input B Output IC 7486 CSE Page 5

6 PROCEDURE: Initially all IC s are fixed on bread broad tightly. Give a supply of +5V cc to the 14 th terminal of IC Connect the 7 th terminal of the IC to the common ground terminal. Verify the truth table of the function by switching ON and OFF the input switches and connecting the output terminals of each gates of IC to the logic Output indictor. Observe the glow of LED at the output indicator. PRECAUTIONS: Loose connections are to be avoided Proper IC s must be selected RESULT: All Basic logic gates have been studied and also verified the truth table. VIVA QUESTIONS AND ANSWERS: 1 What is a logic gate? A Logic gates can have one or more inputs and only one output. The output is active only for certain input combinations. Logic gates are the building blocks of any digital circuit and are also called switches. 2 State the different types of logic gates? The different types of logic gates are AND, OR, NOT etc. 3 Mention various types of IC s available for basic logic gates AND gate OR gate NOT gate 7408 IC 7432 IC 7404 IC CSE Page 6

7 2.UNIVERSAL GATES Aim: Implementing all individual gates with Universal Gates NAND & NOR Apparatu s: Breadboard trainer system, ICs 7400, 7402 Circuit Using NAND Using NOR Diagram CSE Page 7

8 Theory: AND, OR, NOT are called basic gates as their logical operation cannot be simplified further. NAND and NOR are called universal gates as using only NAND or only NOR any logic function can be implemented. Using NAND and NOR gates and De Morgan s Theorems different basic gates & EX-OR gates are realized. PROCEDURE: Initially all IC s are fixed on bread broad tightly. Give a supply of +5V cc to the 14 th terminal of IC Connect the 7 th terminal of the IC to the common ground terminal. Verify the truth table of the function by switching ON and OFF the input switches and connecting the output terminals of each gates of IC to the logic Output indictor. Observe the glow of LED at the output indicator. PRECAUTIONS: Loose connections are to be avoided Proper IC s must be selected OBSERVARION: I N P U T A I N P U T B OUTPUT Result: All individual gates with Universal Gates NAND & NOR has been implemented. VIVA QUESTIONS AND ANSWERS: 1 Mention various types of IC s available for universal logic gates NAND gate 7400 IC NOR gate 7402 IC 2 Why NAND and NOR gates are called Universal gates? NAND and NOR gates are called universal gates because they can be used in construct of all basic gates that AND, OR and NOT at any combination of the functions. CSE Page 8

9 3 Realize the XOR gate using minimum number of NOR gates. 4 Realize the XOR gate using minimum number of NAND gates. CSE Page 9

10 3. De-MORGAN Law Aim:- Design a circuit for the given canonical form, draw the circuit diagram and verify the DE-Morgan laws Components:- 1. Logic gates (IC) trainer kit. 2. Connecting wires. 3. IC 7408, IC Theory : We have known the basic operation of binary arithmetic such as binary addition, binary subtraction, binary multiplication and binary division. Now we will look through the most important part of binary arithmetic on which a lot of Boolean algebra stands, that is De-Morgan s Theorem which is called De-Morgan s Laws often. Before discussing De-Morgan's theorems we should know about complements. Complements are the reverse value of the existing value. We are trying to say that as there are only two digits in binary number system 0 & 1. Now if A = 0 then complement of A will be 1 or A = 1.There are actually two theorems that were put forward by De-Morgan. On the basis of DE Morgan s laws much Boolean algebra are solved. Solving these types of algebra with De-Morgan's theorem has a major application in the field of digital electronics. De Morgan s theorem can be stated as follows:- Theorem 1: The compliment of the product of two variables is equal to the sum of the compliment of each variable.thus according to De-Morgan's laws or De- Morgan's theorem if A and B are the two variables or Boolean numbers. Then accordingly (A.B) = A + B Theorem 2: The compliment of the sum of two variables is equal to the product of the compliment of each variable. Thus according to De Morgan s theorem if A and B are the two variables then. (A + B) = A.B CSE Page 10

11 Circuit Diagram: Truth Table: Output Y=(A'+ B').(B'+C').( A'+C') PROCEDURE: CSE Page 11

12 Initially all IC s are fixed on bread broad tightly. Give a supply of +5V cc to the 14 th terminal of IC Connect the 7 th terminal of the IC to the common ground terminal. Verify the truth table of the function by switching ON and OFF the input switches and connecting the output terminals of each gates of IC to the logic Output indictor. Observe the glow of LED at the output indicator. PRECAUTIONS: Loose connections are to be avoided Proper IC s must be selected RESULT: Hence, the canonical form for a given circuit has been designed and also verified the truth table by using the De-Morgan Laws. VIVA QUESTIONS AND ANSWERS 1 What is De Morgan theorem De Morgan's laws are a pair of transformation rules that are both valid rules of inference. They are named after Augustus De Morgan 2 What are the types of Canonical and standard forms? Two dual canonical forms of a Boolean function are available: The sum of minterms (SoM) form The product of maxterms (PoM) form. 3 What are minterms? A minterm is a product of all variables taken either in their direct or complemented form 4 What are maxterms? A maxterm is a sum of all variables taken either in their direct or complemented form CSE Page 12

13 4. MULTIPLEXER Aim: Design a combinational logic circuit for 4x1 MUX and verify the truth table Apparatus: Breadboard trainer system,ic Circuit diagram Theory : Multiplexer is a combinational ckt. that is one of the most widely used in digital design. The multiplexer is a data selector which gates one out of several i/ps to a single o/p. It has n data i/ps & one o/p line & m select lines where 2 m = n. Depending upon CSE Page 13

14 the digital code applied at the select inputs one out of n data input is selected & transmitted to a single o/p channel. Normally strobe(g) input is incorporated which is generally active low which enables the multiplexer when it is LOW. Strobe i/p helps in cascading. A 4:1 Mux. using NAND gate can be designed as shown in dgm 1. No. of ICs are available such as 74157, (Quad 2:1 mux), 74352, (dual 4:1 Mux.), 74151A, (8:1 Mux.), (16:1 Mux). IC 74151A is a 8 : 1 multiplexer which provides two complementary o/ps Y & The o/p Y is same as the selected & Y is its i/p complement. The n:1 multiplexer can be used to realize a m variable function. (2 m = n, m is no. of select inputs) PROCEDURE: Initially all IC s are fixed on bread broad tightly. Give a supply of +5V cc to the 14 th terminal of IC Connect the 7 th terminal of the IC to the common ground terminal. Verify the truth table of the function by switching ON and OFF the input switches and connecting the output terminals of each gates of IC to the logic Output indictor. Observe the glow of LED at the output indicator. PRECAUTIONS: Loose connections are to be avoided Proper IC s must be selected Observation table: Inp uts Outputs C Sele ct B S t r o b e S Q A CSE Page 14

15 0 0 0 B C D E F G H 1 X 1 0 Result: A combinational logic circuit for 4x1 MUX have been designed and also verified it s the truth table. Viva Via Question And Answer: 1 What is a multiplexer? Multiplexer (MUX) is a device that selects one of several analog or digital input signals and forwards the selected input into a single line. A multiplexer of 2 n inputs has n select lines, which are used to select which input line to send to the output. 2 List some IC s of MUX IC s, IC s are used for MUX 3 What is the another name of multiplexer A multiplexer is also called a data selector CSE Page 15

16 5.DEMULTIPLEXER Aim: Design a combinational logic circuit for 1x4 DE-MUX and verify the truth table Apparatus: Logic trainer system, connecting wires IC 74155, IC Pinout: Theory: Demux takes single i/p & distributes it over several o/ps. It has one data line, n o/p lines & m select lines where 2 m = n. The logic ckt. of 1:4 demux. using NAND gates is shown in the dgm 1. The ckt. can also be used as binary to decimal decoder with binary inputs applied at the select i/p lines & o/p will be obtained on the corresponding line. MSI ICs available in TTL family for demux. are 74138(3 line to 8 line decoder/demux.), 74139(dual 2 to 4 line decoder/driver.), 74154(4 to 16 line decoder/demux), 74155(dual 2 to 4 line decoder) etc. IC is a dual 2 to 4 line decoder. It has two sets of active low outputs 1Y0 to 1Y3 & 2Y0 to 2Y3. A & B are the select terminals common for both the demux. C1, C2 & G1, G2 are the data lines CSE Page 16

17 & strobe(enable) inputs for the two demux. C1 is active high, C2, G1, G2 are active low. The two 2 line to 4 line demux. can be combined to implement 3 line to 8 line demux. PROCEDURE: Initially all IC s are fixed on bread broad tightly. Give a supply of +5V cc to the 14 th terminal of IC Connect the 7 th terminal of the IC to the common ground terminal. Verify the truth table of the function by switching ON and OFF the input switches and connecting the output terminals of each gates of IC to the logic Output indictor. Observe the glow of LED at the output indicator. PRECAUTIONS: Loose connections are to be avoided Proper IC s must be selected CSE Page 17

18 TRUTH TABLE: SELECT INPUT INPUT ( Aor B) OUTPUT S0 S1 _E I0 I1 I2 I3 Z X X 1 X X X X X X X X X X X 0 X X X 1 X X X X 0 X X X 1 X X X X X X X 1 1 Result: A combinational logic circuit for 1x4 DE-MUX have been designed and also verified it s the truth table. VIVA QUESTIONS AND ANSWERS: 1. what are de-multiplexer? A demultiplexer (or demux) is a device taking a single input signal and selecting one of many data-output-lines, which is connected to the single input. 2. How many control inputs are there in 1:16 demultiplexer? A: 4 3. List some IC s of DE-MUX A: 74150,74151A,74153,74157,74352 IC s are used for DE-MUX CSE Page 18

19 6. DECODER AIM: To design a 2:4 decoder using basic gates. COMPONENTS REQUIRED: i.bread BOARD TRAINNER SYSTEM ii.ic iii. IC iv. Bread board and connecting wires THEORY: A decoder is a combinational circuit that connects the binary information from n input lines to a maximum of 2 n unique output lines. Decoder is also called a min-term generator/max-term generator. A min-term generator is constructed using AND and NOT gates. The appropriate output is indicated by logic 1 (positive logic). Max-term generator is constructed using NAND gates. The appropriate output is indicated by logic 0 (Negative logic). LOGIC DIAGRAM: CSE Page 19

20 Fig: 2:4 DECODER TRUTH TABLE: INP UT OU TP UT BOOLAEN EXPRESSIONS: Y 0 AB Y1 Y 2 Y 3 AB AB AB PROCEDURE: Initially all IC s are fixed on bread broad tightly. CSE Page 20

21 th terminal of IC Give a supply of +5V cc to the 14 Connect the 7 th terminal of the IC to the common ground terminal. Verify the truth table of the function by switching ON and OFF the input switches and connecting the output terminals of each gates of IC to the logic Output indictor. Observe the glow of LED at the output indicator. PRECAUTIONS: Loose connections are to be avoided Proper IC s must be selected RESULT: A 2:4 Decoder using basic gates has been designed. VIVA QUESTIONS AND ANSWERS: 1) What is a decoder? Ans: A decoder is a combinational circuit which has n inputs and to a maximum of 2 n outputs. 2) Give the applications of decoder Ans: Decoders are used for data distribution, code conversion and they are used to route the input data to a specified output line. 3) Why is a demultiplexer called data distributor? Ans: Because the input will be distributed to one of the outputs. 4) Which digital system translates coded characters into a more useful form? Ans: Decoder 5) Differentiate between decoder and demultiplexer. CSE Page 21

22 Ans: A decoder is a combinational circuit which has n inputs and to a maximum of 2 n outputs. A decoder with enable input is known as demultiplexer. 7. ADDER Aim: Design a Half adder and full adder using logic gates and verify the truth table Apparatus: 7404 Logic gate trainer,connecting wires ICs 7486, 7432, 7408, Theory: The half adder adds two single binary digits A and B. It has two outputs, sum (S) and carry (C). The carry signal represents an overflow into the next digit of a multi-digit addition. The value of the sum is 2C + S. The simplest half-adder design, pictured on the right, incorporates an XOR CSE Page 22

23 gate for S and an AND gate for C. With the addition of an OR gate to combine their carry outputs, two half adders can be combined to make a full adder. The half adder adds two input bits and generates a carry and sum, which are the two outputs of a half adder. The input variables of a half adder are called the augend and addend bits. The output variables are the sum and carry. Half adder Half adder I n p u t A O u t p u t s u m O u t p u t c a r r y CSE Page 23

24 A one-bit full adder adds three one-bit numbers, often written as A, B, and C in ; A and B are the operands, and C in is a bit carried in from the previous less significant stage. The full adder is usually a component in a cascade of adders, which add 8, 16, 32, etc. bit binary numbers. The circuit produces a two-bit output, output carry and sum typically represented by the signals C out and S, where Full adder Full adder I n p u t I n p u t In p ut Ci n O u t p u t Out put carr y A B s u m Initially all broad tightly PROCEDURE: IC s are fixed on bread CSE Page 24

25 Give a supply of +5V cc to the 14 th terminal of IC Connect the 7 th terminal of the IC to the common ground terminal. Verify the truth table of the function by switching ON and OFF the input switches and connecting the output terminals of each gates of IC to the logic Output indictor. Observe the glow of LED at the output indicator. PRECAUTIONS: Loose connections are to be avoided Proper IC s must be selected Result: Half adder and full adder using logic gates has been designed and verified it s the truth table. VIVA VIA QUESTION AND QUESTION: 1. What is a half adder? a. The half adder adds two single binary digits A and B. It has two outputs, sum (S) and carry (C). 2. What are the applications of half adder? a. The applications of half adder are digital computer system, arithmetic circuit. 3. What are the different types of IC s used to build half adder a IC,7400 IC,7402 IC,7408 IC are the different types of IC s used to build half adder. 4. Design a half adder using NAND gates 5. What is a full adder a. A logic circuit that can be added three bits at a time is called as Full Adder CSE Page 25

26 8. SUBTRACTOR Aim: Design a Half subtractor and full subtractor using a basic gates and verify the truth table Apparatus: 7404 Logic gate trainer,connecting wires ICs 7486, 7432, 7408, Theory: HALF SUBTRACTOR: The half subtractor is a combinational circuit which is used to perform subtraction of two bits. It has two inputs, the minuend and subtrahend and two outputs the difference and borrow out. The borrow out signal is set when the subtractor needs to borrow from the next digit in a multi-digit subtraction. That is, when. Since and are bits, if and only if and. An important point worth mentioning is that the half subtractor diagram aside implements and not since on the diagram is given by I n p u t A O u t p u t d i f f e r e O u t p u t c b o r r o w CSE Page 26

27 n c e FULL SUBTRACTOR: The full subtractor is a combinational circuit which is used to perform subtraction of three input bits: the minuend, subtrahend, and borrow in. The full subtractor generates two output bits: the difference and borrow out. is set when the previous digit borrowed from. Thus, is also subtracted from as well as the subtrahend. Or in symbols:. Like the half subtractor, the full subtractor generates a borrow out when it needs to borrow from the next digit. Since we are subtracting by and, a borrow out needs to be generated when. When a borrow out is generated, 2 is added in the current digit. (This is similar to the subtraction algorithm in decimal. Instead of adding 2, we add 10 when we borrow.) Therefore,. I n p u t I n p u t In p ut Ci n O u t p u t Out put bor row A B d i f f e CSE Page 27

28 r e n c e PROCEDURE: Initially all IC s are fixed on bread broad tightly. Give a supply of +5V cc to the 14 th terminal of IC Connect the 7 th terminal of the IC to the common ground terminal. Verify the truth table of the function by switching ON and OFF the input switches and connecting the output terminals of each gates of IC to the logic Output indictor. Observe the glow of LED at the output indicator. PRECAUTIONS: Loose connections are to be avoided Proper IC s must be selected RESULT: Thus, half subtractor and full subtractor have been designed and also verified its truth table. VIVA QUESTIONS AND ANSWERS: 1. What is a half subtractor? a. The half subtractor which can subtract two single binary digits A and B. It has two outputs, difference (D) and borrow (B). 2. What are the applications of half subtractor? a. The applications of half subtractor are digital computer system, arithmetic circuit. 3. What are the different types of IC s used to build half subtractor a IC,7400 IC,7402 IC,7408 IC,7404 IC are the different types of IC s used to build half subtractor. 4. What are the advantages of Full Subtractor over half subtractor? CSE Page 28

29 a. The full subtractor can be constructed from two half subtractor. 5. What is a full subtractor a. A logic circuit that can be subtract three bits at a time is called as Full Subtractor. CSE Page 29

30 9. FLIP-FLOPS Aim: Verification of truth table of basic flip flop with synchronous and asynchronous modes Apparatus: Digital flip flop trainer ICs 7400, 7402, 7404, 7476, Circuit Diagram I) SR FF using NAND INPUT CLK Input R Input S Output Q OUTPUT Q 0 X X PREVIOUS STATE Q Q II) JK FF (IC 7476) INDETERMINITE INPUT CLK Input R Input S Output Q OUTPUT Q 0 X X PREVIOUS STATE NO CHANGE Q (TOGGLE) CSE Page 30

31 III) T FF using JK CLK T Q INPUT CLK INPUT T O X X 1 0 Q N 1 1 Q N OUTPUT Q N+1 D FILP FLOP INPUT CLK INPUT D OUTPUT Q N+1 O X PREVIOUS STATE Theory: Flip-flops are the basic building blocks of sequential ckt. The clocked FFs change their o/p state depending upon i/p's at certain interval of time synchronized with the clock pulse applied to it. Different types of FFs are S-R, J-K, D & T. Their operations are described by the respective truth tables. MSI chip 7476 incorporates two negative edge triggered Master Slave JK flip-flops. The J-K flip-flop can be converted to D & T flip flop. PROCEDURE: Initially all IC s are fixed on bread broad tightly. Give a supply of +5V cc to the 14 th terminal of IC Connect the 7 th terminal of the IC to the common ground terminal. Verify the truth table of the function by switching ON and OFF the input switches and connecting the output terminals of each gates of IC to the logic Output indictor. Observe the glow of LED at the output indicator. PRECAUTIONS: Loose connections are to be avoided Proper IC s must be selected CSE Page 31

32 Result: Truth table of basic flip flop with synchronous and asynchronous modes has been verified. VIVA VIA QUESTION AND QUESTION: 1 What is a flip flop A flip-flop stores a single bit (binary digit) of data; one of its two states represents a "one" and the other represents a "zero". Such data storage can be used for storage of state, and such a circuit is described as sequential logic. 2 What are the basic application of flip flop in digital systems i.used in memory unit or storage cell ii.use to construction of source switches iii.register and counter CSE Page 32

33 10. J-K MASTER SLAVE FLIP-FLOP Aim: Implementation of master and slaves flip flops with JK flip flops and verify the truth table for race around condition. Apparatus: Digital trainer system, ICs 7400, 7410 J-K Master slave flip-flops Procedure: CSE Page 33

34 1. Connect the Flip-flop circuits as shown above. 2. Apply different combinations of inputs and observe the outputs Result: The master slave JK flip flop truth table has been verified in race around condition. VIVA VIA QUESTION AND QUESTION: What is a race around condition? Race around condition occurs write associating with JK flip-flop while using J=K=1condition.In this condition the output will be assocating in between 0 and 1 this operation is known as toggling condition What are the basic applications of flip flop in digital system i.used as a memory unit or storage cell ii.use in construction of source switch iii.latches iv.register and counters 11. DECADE COUNTER Aim: Design a Decade counter and verify the truth table Apparatus: i) JK FilpFlop(74LS73IC) 4 ii) 3-Input And Gate (74LS10) 1 iii) Digital IC Trainer Kit iv) Logic Probes and Connecting Wires Theory: This type of asynchronous counter counts upwards on each trailing edge of the input clock signal starting from 0000 until it reaches an output 1001 (decimal 0-9). Both outputs QA and QD are now equal to logic 1. One the application of the next clock pulse, the output from the 74LS10 NAND gate changes state from logic 1 to a logic 0 level. CSE Page 34

35 asynchronous decade counter: Truth table: Clock Output bit Pattern Decimal CSE Page 35

36 Count QD QC QB QA Value Counter Resets its Outputs back to Zero PROCEDURE: Initially all IC s are fixed on bread broad tightly. Give a supply of +5V cc to the 14 th terminal of IC Connect the 7 th terminal of the IC to the common ground terminal. Verify the truth table of the function by switching ON and OFF the input switches and connecting the output terminals of each gates of IC to the logic Output indictor. Observe the glow of LED at the output indicator. PRECAUTIONS: Loose connections are to be avoided Proper IC s must be selected Result: Thus, hence Decade counter has been designed and verified it s the truth table Viva Via Question And Answer: 1) What is a counter? Ans: A counter is a sequential logic circuit capable of counting the number of clock pulses arriving at its clock input. 2) What is a decade counter? CSE Page 36

37 Ans: A decade counter is one that counts in decimal digits, rather than binary. A decade counter may have each or other binary encodings. "A decade counter is a binary counter that is designed to count to 1010b (decimal 10). 3) How many flip flops are required to construct a decade counter? Ans: 4 4) What are the types of counters? Ans: Asynchronous counter, synchronous counter CSE Page 37

38 12. 4-Bit Mod-K SYNCHRONOUS COUNTER AIM: To design a 4-Bit MOD-K synchronous counter using JK filpflop. APPARATUS REQUIRED: BREAD BOARD TRAINNER SYSTEM 2 i/p quad AND gate(ic 7408)-1 JK Flip Flop (IC 74LS76)-2 Connecting wires PIN DIAGRAM: LOGIC DIAGRAM: CSE Page 38

39 TRUTH TABLE: Q 3 PRESENT STATE NEXT STATE FLIP FLOP INPUT S Q Q Q Q Q Q Q T T T PROCEDURE: The circuit for MOD K synchronous counter is designed using JK flip flop After the circuit is realized it is connected as per the circuit diagram Give various combinations of inputs and note down the output with help of LED for all gate ICs one by one T 0 PRECAUTIONS: Loose connections are to be avoided Proper IC s must be selected RESULT: A 4-Bit Mod Synchronous counter using JK flip flop has been designed and also verified its truth table. CSE Page 39

40 VIVA VIA QUESTION AND ANSWER: 1) What is a counter? Ans: A counter is a sequential logic circuit capable of counting the number of clock pulses arriving at its clock input. 2) What is a Modulus Counter? Ans: MOD NCounter :The 2-bit ripple counter is called as MOD-4 counter and 3-bit ripple counter is called as MOD-8 counter. So in general, an n-bit ripple counter is called as modulo-n counter. Where, MOD number = 2 n. 3) List the applications of counter? Ans: Digital clock Time measurement A to D converter Frequency counters Frequency divider circuits Digital triangular wave generator. CSE Page 40

41 DIGITAL LOGIC DESIGN 13. UNIVERSAL SHIFT REGISTER AIM: To design a bidirectional universal shift register. COMPONENTS REQUIRED: BREAD BOARD TRAINNER SYSTEM IC 74LS194-1 Bread board and connecting wires LOGIC DIAGRAM: D 0 D 1 D 2 D CLR 9 SL SER S LS194 IC 4Bit S 1 Universal Bidirectional Shift 2 SR SER Register 7 11 CLK Q 0 Q 1 Q 2 Q 3 CSE Page 41

42 DIGITAL LOGIC DESIGN THEORY: A universal shift register is an integrated logic circuit that can transfer data in three different modes. Like a parallel register it can load and transmit data in parallel. Like shift registers it can load and transmit data in serial fashions, through left shifts or right shifts. In addition, the universal shift register can combine the capabilities of both parallel and shift registers to accomplish tasks that neither basic type of register can perform on its own. For instance, on a particular job a universal register can load data in series (e.g. through a sequence of left shifts) and then transmit/output data in parallel. Universal shift registers, as all other types of registers, are used in computers as memory elements. Although other types of memory devices are used for the efficient storage of very large volume of data, from a digital system perspective when we say computer memory we mean registers. In fact, all the operations in a digital system are performed on registers. Examples of such operations include multiplication, division, and data transfer. PROCEDURE: Initially all IC are fixed on bread broad tightly. Give a supply of +5V cc to the 16 th terminal of IC Connect the 8 th terminal of the IC to the common ground terminal. Connect the input terminals of each pin of IC to logic input switches Connect the output terminal to the logic output indicator. Corresponding shift operations are observed. PRECAUTIONS: Loose connections are to be avoided Proper IC s must be selected. RESULT: Hence the operation of universal shift register was verified. VIVA VIA QUESTION AND ANSWER: 1) What is a register? Ans: A register is basically a set of flip flops logically connected to perform various operations. 2) What is the need of a register? Ans Registers are used for temporary storage of binary information. Registers are also used for shifting the binary information stored in it. 3) What is universal shift register? CSE Page 42

43 DIGITAL LOGIC DESIGN Ans: A unidirectional shift register is a register that can capable of transferring data in only one direction. 4) What is bidirectional shift register? Ans: The register that is capable of transferring data in both left and right direction is called a bidirectional shift register. Now let we have a register which can capable to transfer data in both the shift-right and shift-left, along with the necessary input and output terminals for parallel transfer, then it is called a shift register with parallel load or universal shift register. CSE Page 43

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

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

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

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

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

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

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

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

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

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

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram SEQUENTIAL CIRCUITS http://www.tutorialspoint.com/computer_logical_organization/sequential_circuits.htm Copyright tutorialspoint.com The combinational circuit does not use any memory. Hence the previous

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

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

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

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 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

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

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

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

Understanding Logic Design

Understanding Logic Design Understanding Logic Design ppendix of your Textbook does not have the needed background information. This document supplements it. When you write add DD R0, R1, R2, you imagine something like this: R1

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

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

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

Binary Adders: Half Adders and Full Adders

Binary Adders: Half Adders and Full Adders Binary Adders: Half Adders and Full Adders In this set of slides, we present the two basic types of adders: 1. Half adders, and 2. Full adders. Each type of adder functions to add two binary bits. In order

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

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

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

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

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

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute 5. LECTURE: REGISTERS AND RELATED

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute 5. LECTURE: REGISTERS AND RELATED DIGITAL TECHNICS II Dr. Bálint Pődör Óbuda University, Microelectronics and Technology Institute 5. LECTURE: REGISTERS AND RELATED 2nd (Spring) term 22/23 5. LECTURE: REGISTERS. Storage registers 2. Shift

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

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

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

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

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

Systems I: Computer Organization and Architecture

Systems I: Computer Organization and Architecture Systems I: omputer Organization and Architecture Lecture 8: Registers and ounters Registers A register is a group of flip-flops. Each flip-flop stores one bit of data; n flip-flops are required to store

More information

Combinational Logic Design

Combinational Logic Design Chapter 4 Combinational Logic Design The foundations for the design of digital logic circuits were established in the preceding chapters. The elements of Boolean algebra (two-element switching algebra

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

Sistemas Digitais I LESI - 2º ano

Sistemas Digitais I LESI - 2º ano Sistemas Digitais I LESI - 2º ano Lesson 6 - Combinational Design Practices Prof. João Miguel Fernandes (miguel@di.uminho.pt) Dept. Informática UNIVERSIDADE DO MINHO ESCOLA DE ENGENHARIA - PLDs (1) - The

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

Standart TTL, Serie 74... Art.Gruppe 13.15. 1...

Standart TTL, Serie 74... Art.Gruppe 13.15. 1... Standart TTL, Serie 74... Art.Gruppe 13.15. 1... Standart TTL, Serie 74... 7400 Quad 2-Input Nand Gate (TP) DIL14 7402 Quad 2 Input Nor Gate (TP) DIL14 7403 Quad 2 Input Nand Gate (OC) DIL14 7404 Hex Inverter

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

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

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language Chapter 4 Register Transfer and Microoperations Section 4.1 Register Transfer Language Digital systems are composed of modules that are constructed from digital components, such as registers, decoders,

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

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

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

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

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

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

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

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

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

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

Chapter 2 Logic Gates and Introduction to Computer Architecture

Chapter 2 Logic Gates and Introduction to Computer Architecture Chapter 2 Logic Gates and Introduction to Computer Architecture 2.1 Introduction The basic components of an Integrated Circuit (IC) is logic gates which made of transistors, in digital system there are

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

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 Systems Laboratory

Digital Systems Laboratory Eskişehir Osmangazi University Digital Systems Laboratory Rev 3.01 February 2011 LIST OF EXPERIMENTS 1. BINARY AND DECIMAL NUMBERS 2. DIGITAL LOGIC GATES 3. INTRODUCTION TO LOGICWORKS 4. BOOLEAN ALGEBRA

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

(Refer Slide Time: 00:01:16 min)

(Refer Slide Time: 00:01:16 min) Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control

More information

BOOLEAN ALGEBRA & LOGIC GATES

BOOLEAN ALGEBRA & LOGIC GATES BOOLEAN ALGEBRA & LOGIC GATES Logic gates are electronic circuits that can be used to implement the most elementary logic expressions, also known as Boolean expressions. The logic gate is the most basic

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

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

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

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

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

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

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

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

Asynchronous counters, except for the first block, work independently from a system clock.

Asynchronous counters, except for the first block, work independently from a system clock. Counters Some digital circuits are designed for the purpose of counting and this is when counters become useful. Counters are made with flip-flops, they can be asynchronous or synchronous and they can

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

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

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

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

exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576

exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576 exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576 Outline exclusive OR gate (XOR) Definition Properties Examples of Applications Odd Function Parity Generation and Checking

More information

DATA SHEETS DE COMPONENTES DA FAMÍLIA LÓGICA TTL GATES AND INVERTERS POSITIVES NAND GATES AND INVERTERS DESCRIÇÃO

DATA SHEETS DE COMPONENTES DA FAMÍLIA LÓGICA TTL GATES AND INVERTERS POSITIVES NAND GATES AND INVERTERS DESCRIÇÃO GATES AND INVERTERS POSITIVES NAND GATES AND INVERTERS Hex Invertes 74LS04 Quadruple 2 Inputs Gates 74LS00 Triple 3 Inputs Gates 74LS10 Dual 4 Inputs Gates 74LS20 8 Inputs Gates 74LS30 13 Inputs Gates

More information

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package. PRESETTABLE BCD/DECADE UP/DOWN COUNTERS PRESETTABLE 4-BIT BINARY UP/DOWN COUNTERS The SN54/74LS90 is a synchronous UP/DOWN BCD Decade (842) Counter and the SN54/74LS9 is a synchronous UP/DOWN Modulo-6

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

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

Let s put together a Manual Processor

Let s put together a Manual Processor Lecture 14 Let s put together a Manual Processor Hardware Lecture 14 Slide 1 The processor Inside every computer there is at least one processor which can take an instruction, some operands and produce

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

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

150127-Microprocessor & Assembly Language

150127-Microprocessor & Assembly Language Chapter 3 Z80 Microprocessor Architecture The Z 80 is one of the most talented 8 bit microprocessors, and many microprocessor-based systems are designed around the Z80. The Z80 microprocessor needs an

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

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

INTEGRATED CIRCUITS. For a complete data sheet, please also download: INTEGRATED CIRCUITS DATA SEET For a complete data sheet, please also download: The IC6 74C/CT/CU/CMOS ogic Family Specifications The IC6 74C/CT/CU/CMOS ogic Package Information The IC6 74C/CT/CU/CMOS ogic

More information

2.0 Chapter Overview. 2.1 Boolean Algebra

2.0 Chapter Overview. 2.1 Boolean Algebra Thi d t t d ith F M k 4 0 2 Boolean Algebra Chapter Two Logic circuits are the basis for modern digital computer systems. To appreciate how computer systems operate you will need to understand digital

More information

Cascaded Counters. Page 1 BYU

Cascaded Counters. Page 1 BYU Cascaded Counters Page 1 Mod-N Counters Generally we are interested in counters that count up to specific count values Not just powers of 2 A mod-n counter has N states Counts from 0 to N-1 then rolls

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

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

Combinational circuits

Combinational circuits Combinational circuits Combinational circuits are stateless The outputs are functions only of the inputs Inputs Combinational circuit Outputs 3 Thursday, September 2, 3 Enabler Circuit (High-level view)

More information

Master/Slave Flip Flops

Master/Slave Flip Flops Master/Slave Flip Flops Page 1 A Master/Slave Flip Flop ( Type) Gated latch(master) Gated latch (slave) 1 Gate Gate GATE Either: The master is loading (the master in on) or The slave is loading (the slave

More information

Basic Logic Gates Richard E. Haskell

Basic Logic Gates Richard E. Haskell BASIC LOGIC GATES 1 E Basic Logic Gates Richard E. Haskell All digital systems are made from a few basic digital circuits that we call logic gates. These circuits perform the basic logic functions that

More information

5 Combinatorial Components. 5.0 Full adder. Full subtractor

5 Combinatorial Components. 5.0 Full adder. Full subtractor 5 Combatorial Components Use for data transformation, manipulation, terconnection, and for control: arithmetic operations - addition, subtraction, multiplication and division. logic operations - AND, OR,

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

Design Verification & Testing Design for Testability and Scan

Design Verification & Testing Design for Testability and Scan Overview esign for testability (FT) makes it possible to: Assure the detection of all faults in a circuit Reduce the cost and time associated with test development Reduce the execution time of performing

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