Synchronous (Parallel) Counters
|
|
- Richard Snow
- 7 years ago
- Views:
Transcription
1 Synchronous ounter
2 Synchronous (Parallel) ounters Synchronous (parallel) counters: the flip-flops are clocked at the same time by a common clock pulse. We can design these counters using the sequential logic design process (covered in Lecture #12). Example: 2-bit synchronous binary counter (using T flip-flops, or JK flip-flops with identical J,K inputs) Present Next Flip-flop state state inputs A 1 A 0 + A 1 + A 0 TA 1 TA
3 Synchronous (Parallel) ounters Example: 2-bit synchronous binary counter (using T flip-flops, or JK flip-flops with identical J,K inputs). Present Next Flip-flop state state inputs A 1 A 0 + A 1 + A 0 TA 1 TA TA 1 = A 0 TA 0 = 1 1 J K ' A 0 J K ' A 1 LK Synchronous (Parallel) ounters 3
4 Synchronous (Parallel) ounters Example: 3-bit synchronous binary counter (using T flip-flops, or JK flip-flops with identical J, K inputs). Present Next Flip-flop state state inputs A 2 A 1 A 0 + A 2 + A 1 + A 0 TA 2 TA 1 TA A 1 A 1 A A 2 1 A A A 0 TA 2 = A 1.A 0 A 0 A 0 TA 1 = A 0 TA 0 = 1 S Synchronous (Parallel) ounters 4
5 Synchronous (Parallel) ounters Example: 3-bit synchronous binary counter (cont d). TA 2 = A 1.A 0 TA 1 = A 0 TA 0 = 1 A 2 A 1 A 0 J K J K J K P 1 Synchronous (Parallel) ounters 5
6 Synchronous (Parallel) ounters Note that in a binary counter, the n th bit (shown underlined) is always complemented whenever or Hence, X n is complemented whenever X n-1 X n-2... X 1 X 0 = As a result, if T flip-flops are used, then TX n = X n-1. X n X 1. X 0 Synchronous (Parallel) ounters 6
7 Synchronous (Parallel) ounters Example: 4-bit synchronous binary counter. TA 3 = A 2. A 1. A 0 TA 2 = A 1. A 0 TA 1 = A 0 TA 0 = 1 1 A 1.A 0 A 2.A 1.A 0 J K ' A 0 J K ' A 1 J K ' A 2 J K ' A 3 LK Synchronous (Parallel) ounters 7
8 Synchronous (Parallel) ounters Example: Synchronous decade/bd counter. lock pulse Initially (recycle) T 0 = 1 T 1 = 3 '. 0 T 2 = 1. 0 T 3 = Synchronous (Parallel) ounters 8
9 Synchronous (Parallel) ounters Example: Synchronous decade/bd counter (cont d). T 0 = 1 T 1 = 3 '. 0 T 2 = 1. 0 T 3 = T ' T ' 1 T ' 2 T 3 ' LK Synchronous (Parallel) ounters 9
10 Up/Down Synchronous ounters Up/down synchronous counter: a bidirectional counter that is capable of counting either up or down. An input (control) line Up/Down (or simply Up) specifies the direction of counting. Up/Down = 1 ount upward Up/Down = 0 ount downward Up/Down Synchronous ounters 10
11 Up/Down Synchronous ounters Example: A 3-bit up/down synchronous binary counter. lock pulse Up Down T 0 = 1 T 1 = ( 0.Up) + ( 0 '.Up' ) T 2 = ( 0. 1.Up ) + ( 0 '. 1 '. Up' ) Up counter T 0 = 1 T 1 = 0 T 2 = 0. 1 Down counter T 0 = 1 T 1 = 0 T 2 = 0. 1 S Up/Down Synchronous ounters 11
12 Up/Down Synchronous ounters Example: A 3-bit up/down synchronous binary counter (cont d). T 0 = 1 T 1 = ( 0.Up) + ( 0 '.Up' ) T 2 = ( 0. 1.Up ) + ( 0 '. 1 '. Up' ) 0 1 Up 1 T ' T ' T ' 2 LK S Up/Down Synchronous ounters 12
13 Designing Synchronous ounters overed in Lecture #12. Example: A 3-bit Gray code counter (using JK flip-flops) Present Next Flip-flop state state inputs J 2 K 2 J 1 K 1 J 0 K X 0 X 1 X X 1 X X X X 0 0 X X X 0 X X 1 0 X 0 X X 0 0 X X X 0 X 0 1 X X 0 X 1 X S Designing Synchronous ounters 13
14 Designing Synchronous ounters 3-bit Gray code counter: flip-flop inputs X X X X J 2 = 1. 0 ' X X X X J 1 = 2 ' X X X X J 0 = '. 1 ' = ( 2 1 )' X X X X 1 K 2 = 1 '. 0 ' X X X X 1 K 1 = X 1 X X 1 X K 0 = 2. 1 ' + 2 '. 1 = 2 1 S Designing Synchronous ounters 14
15 Designing Synchronous ounters 3-bit Gray code counter: logic diagram. J 2 = 1. 0 ' J 1 = 2 '. 0 J 0 = ( 2 1 )' K 2 = 1 '. 0 ' K 1 = 2. 0 K 0 = 2 1 J 0 J 1 J 2 K ' K ' 1 ' K ' 2 ' LK 0 ' S Designing Synchronous ounters 15
16 Decoding A ounter Decoding a counter involves determining which state in the sequence the counter is in. Differentiate between active-high and active-low decoding. Active-HIGH decoding: output HIGH if the counter is in the state concerned. Active-LOW decoding: output LOW if the counter is in the state concerned. S Decoding A ounter 16
17 Decoding A ounter Example: MOD-8 ripple counter (active- HIGH decoding). A' B' ' A' B' A' B ' A B lock HIGH only on count of AB = 000 HIGH only on count of AB = 001 HIGH only on count of AB = 010 HIGH only on count of AB = 111 S Decoding A ounter 17
18 Decoding A ounter Example: To detect that a MOD-8 counter is in state 0 (000) or state 1 (001). A' B' ' A' B' A' B' lock HIGH only on count of AB = 000 or AB = 001 Example: To detect that a MOD-8 counter is in the odd states (states 1, 3, 5 or 7), simply use. lock HIGH only on count of odd states S Decoding A ounter 18
19 ounters with Parallel Load ounters could be augmented with parallel load capability for the following purposes: To start at a different state To count a different sequence As more sophisticated register with increment/decrement functionality. S ounters with Parallel Load 19
20 ounters with Parallel Load Different ways of getting a MOD-6 counter: A 4 A 3 A 2 A 1 A 4 A 3 A 2 A 1 Load I 4 I 3 I 2 I 1 ount = 1 lear = 1 P lear I 4 I 3 I 2 I 1 ount = 1 Load = 0 P Inputs = 0 (a) Binary states 0,1,2,3,4,5. Inputs have no effect (b) Binary states 0,1,2,3,4,5. A 4 A 3 A 2 A 1 A 4 A 3 A 2 A 1 arry-out Load I 4 I 3 I 2 I 1 ount = 1 lear = 1 P Load I 4 I 3 I 2 I 1 ount = 1 lear = 1 P (c) Binary states 10,11,12,13,14, (d) Binary states 3,4,5,6,7,8. S ounters with Parallel Load 20
21 ounters with Parallel Load 4-bit counter with parallel load. lear P Load ount Function 0 X X X lear to 0 1 X 0 0 No change 1 1 X Load inputs Next state S ounters with Parallel Load 21
22 Introduction: Registers An n-bit register has a group of n flip-flops and some logic gates and is capable of storing n bits of information. The flip-flops store the information while the gates control when and how new information is transferred into the register. Some functions of register: retrieve data from register store/load new data into register (serial or parallel) S Introduction: Registers 22 shift the data within register (left or right)
23 Simple Registers No external gates. Example: A 4-bit register. A new 4-bit data is loaded every clock cycle. A 3 A 2 A 1 A 0 D D D D P I 3 I 2 I 1 I 0 S Simple Registers 23
24 Registers With Parallel Load Instead of loading the register at every clock pulse, we may want to control when to load. Loading a register: transfer new information into the register. Requires a load control input. Parallel loading: all bits are loaded simultaneously. S Registers With Parallel Load 24
25 Registers With Parallel Load Load I 0 Load'.A 0 + Load. I 0 D A 0 D A 1 I 1 D A 2 I 2 D A 3 I 3 LK LEAR S Registers With Parallel Load 25
26 Using Registers to implement Sequential ircuits A sequential circuit may consist of a register (memory) Next-state and value a combinational circuit. lock Register Inputs ombinational circuit Outputs The external inputs and present states of the register determine the next states of the register and the external outputs, through the combinational circuit. The combinational circuit may be implemented by any of the methods covered in MSI components and Programmable Logic Devices. S Using Registers to implement Sequential ircuits 26
27 Using Registers to implement Sequential ircuits Example 1: A 1+ = S m(4,6) = A 1.x' A 2+ = S m(1,2,5,6) = A 2.x' + A 2 '.x = A 2 x y = S m(3,7) = A 2.x Present Next state Input State Output A 1 A 2 x + A 1 + A 2 y A 1.x' A 2 x x A 1 A 2 y S Using Registers to implement Sequential ircuits 27
28 Using Registers to implement Sequential ircuits Example 2: Repeat example 1, but use a ROM. Address Outputs x A 1 A 2 8 x 3 ROM y ROM truth table S Using Registers to implement Sequential ircuits 28
29 Shift Registers Another function of a register, besides storage, is to provide for data movements. Each stage (flip-flop) in a shift register represents one bit of storage, and the shifting capability of a register permits the movement of data from stage to stage within the register, or into or out of the register upon application of clock pulses. S Shift Registers 29
30 Shift Registers Basic data movement in shift registers (four bits are used for illustration). Data in Data out Data out Data in (a) Serial in/shift right/serial out (b) Serial in/shift left/serial out Data in Data in Data in Data out (c) Parallel in/serial out Data out (d) Serial in/parallel out Data out (e) Parallel in / parallel out (f) Rotate right (g) Rotate left S Shift Registers 30
31 Serial In/Serial Out Shift Registers Accepts data serially one bit at a time and also produces output serially. Serial data input D 0 D 1 D 2 D 3 Serial data output LK S Serial In/Serial Out Shift Registers 31
32 Serial In/Serial Out Shift Registers Application: Serial transfer of data from one register to another. SI Shift register A SO SI Shift register B SO lock Shift control P lock Shift control P Wordtime T 1 T 2 T 3 T 4 S Serial In/Serial Out Shift Registers 32
33 Serial In/Serial Out Shift Registers Serial-transfer example. Timing Pulse Shift register A Shift register B Serial output of B Initial value After T After T After T After T S Serial In/Serial Out Shift Registers 33
34 Serial In/Parallel Out Shift Registers Accepts data serially. Outputs of all stages are available Data input D D D D simultaneously. LK Data input LK D SRG 4 Logic symbol S Serial In/Parallel Out Shift Registers 34
35 Parallel In/Serial Out Shift Registers Bits are entered simultaneously, but output is serial. Data input D 0 D 1 D 2 D 3 SHIFT/LOAD D Serial D D D data out LK SHIFT. 0 + SHIFT'.D 1 S Parallel In/Serial Out Shift Registers 35
36 Parallel In/Serial Out Shift Registers Bits are entered simultaneously, but output is serial. Data in D 0 D 1 D 2 D 3 SHIFT/LOAD LK SRG 4 Serial data out Logic symbol S Parallel In/Serial Out Shift Registers 36
37 Parallel In/Parallel Out Shift Registers Simultaneous input and output of all data bits. Parallel data inputs D 0 D 1 D 2 D 3 D D D D LK Parallel data outputs S Parallel In/Parallel Out Shift Registers 37
38 Bidirectional Shift Registers Data can be shifted either left or right, using a control line RIGHT/LEFT (or simply RIGHT) to indicate the direction. RIGHT/LEFT Serial data in RIGHT. 0 + RIGHT'. 2 D D 1 D 2 D 3 LK 0 S Bidirectional Shift Registers 38
39 Bidirectional Shift Registers 4-bit bidirectional shift register with parallel Parallel outputs load. A 4 A 3 A 2 A 1 lear D D D D LK s 1 4x1 s MUX x1 MUX x1 MUX x1 MUX Serial input for shift-right I 4 I 3 I 2 I 1 Serial input for shift-left Parallel inputs S Bidirectional Shift Registers 39
40 Bidirectional Shift Registers 4-bit bidirectional shift register with parallel load. Mode ontrol s 1 s 0 Register Operation 0 0 No change 0 1 Shift right 1 0 Shift left 1 1 Parallel load S Bidirectional Shift Registers 40
41 An Application Serial Addition Most operations in digital computers are done in parallel. Serial operations are slower but require less equipment. A serial adder is shown below. A A + B. Shift-right P External input SI SI Shift-register A Shift-register B SO SO x y z FA D S lear S An Application Serial Addition 41
42 An Application Serial Addition A = 0100; B = A + B = 1011 is stored in A after 4 clock pulses. Initial: A: B: : 0 Step 1: S = 1, = 0 Step 2: S = 1, = 0 Step 3: S = 0, = 1 Step 4: S = 1, = 0 A: B: x A: B: x x 0 1 A: B: x x x 0 A: B: x x x x : 0 : 0 : 1 : 0 S An Application Serial Addition 42
43 Shift Register ounters Shift register counter: a shift register with the serial output connected back to the serial input. They are classified as counters because they give a specified sequence of states. Two common types: the Johnson counter and the Ring counter. S Shift Register ounters 43
44 Ring ounters One flip-flop (stage) for each state in the sequence. The output of the last stage is connected to the D input of the first stage. An n-bit ring counter cycles through n states. No decoding gates are required, as there is an output that corresponds to every state the counter is in. S Ring ounters 44
45 Ring ounters Example: A 6-bit (MOD-6) ring counter. PRE D D D D D D LR LK lock S Ring ounters 45
46 Johnson ounters The complement of the output of the last stage is connected back to the D input of the first stage. Also called the twisted-ring counter. Require fewer flip-flops than ring counters but more flip-flops than binary counters. An n-bit Johnson counter cycles through 2n states. Require more decoding circuitry than ring S Johnson ounters 46 counter but less than binary counters.
47 Johnson ounters Example: A 4-bit (MOD-8) Johnson counter. LR LK D D D D ' 3 ' lock S Johnson ounters 47
48 Johnson ounters Decoding logic for a 4-bit Johnson counter. lock A B D Decoding A'.D' A.B' B.' D' A.D A'.B B' '.D A' D' A B' B ' D' State 0 State 1 State 2 State 3 B' State 6 A D State 4 ' D State 7 A' B State 5 S Johnson ounters 48
49 Random Access Memory (RAM) A memory unit stores binary information in groups of bits called words. The data consists of n lines (for n-bit words). Data input lines provide the information to be stored (written) into the memory, while data output lines carry the information out (read) from the memory. The address consists of k lines which specify which word (among the 2 k words available) to be selected for reading or writing. S Random Access Memory (RAM) 49 The control lines Read and Write (usually
50 Random Access Memory (RAM) Block diagram of a memory unit: n data input lines n k address lines Read/Write k Memory unit 2 k words n bits per word n n data output lines S Random Access Memory (RAM) 50
51 Random Access Memory (RAM) ontent of a 1024 x 16-bit memory: Memory address binary decimal Memory content : : : : : : S Random Access Memory (RAM) 51
52 Random Access Memory (RAM) The Write operation: Transfers the address of the desired word to the address lines Transfers the data bits (the word) to be stored in memory to the data input lines Activates the Write control line (set Read/Write to 0) The Read operation: Transfers the address of the desired word to the address lines S Random Access Memory (RAM) 52 Activates the Read control line (set Read/Write to 1)
53 Random Access Memory (RAM) The Read/Write operation: Memory Enable Read/Write Memory Operation 0 X None 1 0 Write to selected word 1 1 Read from selected word Two types of RAM: Static and dynamic. Static RAMs use flip-flops as the memory cells. Dynamic RAMs use capacitor charges to represent data. Though simpler in circuitry, they have to be constantly refreshed. S Random Access Memory (RAM) 53
54 Random Access Memory (RAM) A single memory cell of the static RAM has the following logic and block diagrams. Select R Select Input S Output Input B Output Read/Write Logic diagram Read/Write Block diagram S Random Access Memory (RAM) 54
55 Random Access Memory (RAM) Logic construction of a 4 x 3 RAM (with decoder and OR gates): S Random Access Memory (RAM) 55
56 Random Access Memory (RAM) An array of RAM chips: memory chips are combined to form larger memory. A 1K x 8-bit RAM chip: RAM 1K x 8 Input data Address hip select Read/write DATA (8) ADRS (10) S RW (8) Output data Block diagram of a 1K x 8 RAM chip S Random Access Memory (RAM) 56
57 Random Access Memory (RAM) Lines Read/write Address 2x4 decoder S 0 S 1 4K x 8 RAM. Lines Input data 8 lines DATA (8) ADRS (10) S 1K x 8 RW (8) DATA (8) (8) ADRS (10) S 1K x 8 RW DATA (8) (8) ADRS (10) S 1K x 8 RW DATA (8) (8) ADRS (10) S 1K x 8 RW Output data S Random Access Memory (RAM) 57
58 End of segment
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 informationModule 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 informationChapter 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 informationCounters & 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 informationDesign 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 informationExperiment # 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 informationCHAPTER 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 informationWEEK 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 informationDIGITAL 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 informationCounters. 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 informationDigital 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 informationDIGITAL 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 informationAsynchronous 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 informationModeling 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 informationETEC 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 informationThe 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 informationMemory 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 informationRAM & ROM Based Digital Design. ECE 152A Winter 2012
RAM & ROM Based Digital Design ECE 152A Winter 212 Reading Assignment Brown and Vranesic 1 Digital System Design 1.1 Building Block Circuits 1.1.3 Static Random Access Memory (SRAM) 1.1.4 SRAM Blocks in
More informationDIGITAL 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 informationChapter 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 informationSystems I: Computer Organization and Architecture
Systems I: Computer Organization and Architecture Lecture 9 - Register Transfer and Microoperations Microoperations Digital systems are modular in nature, with modules containing registers, decoders, arithmetic
More informationUpon 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 informationMemory unit. 2 k words. n bits per word
9- k address lines Read n data input lines Memory unit 2 k words n bits per word n data output lines 24 Pearson Education, Inc M Morris Mano & Charles R Kime 9-2 Memory address Binary Decimal Memory contents
More informationCounters 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 informationASYNCHRONOUS 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 informationDigital 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 informationSECTION 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 informationFlip-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 informationAsynchronous 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 informationContents 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 informationCopyright 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 informationDigital 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 informationCounters 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 informationDIGITAL 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 informationDigital 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 informationRegisters & Counters
Objectives This section deals with some simple and useful sequential circuits. Its objectives are to: Introduce registers as multi-bit storage devices. Introduce counters by adding logic to registers implementing
More informationChapter 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 informationCOMBINATIONAL 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 informationOperating 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 informationDEPARTMENT 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 informationTake-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 informationTo 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 informationBINARY 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 informationSequential 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 informationECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path
ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path Project Summary This project involves the schematic and layout design of an 8-bit microprocessor data
More informationLatches, 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 informationENEE 244 (01**). Spring 2006. Homework 5. Due back in class on Friday, April 28.
ENEE 244 (01**). Spring 2006 Homework 5 Due back in class on Friday, April 28. 1. Fill up the function table (truth table) for the following latch. How is this latch related to those described in the lectures
More informationFlip-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 informationFlip-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 informationLecture 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 informationLet 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 informationLab 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 informationSequential Circuit Design
Sequential Circuit Design Lan-Da Van ( 倫 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, 2009 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Outlines
More informationCOMBINATIONAL 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 informationMICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1
MICROPROCESSOR A microprocessor incorporates the functions of a computer s central processing unit (CPU) on a single Integrated (IC), or at most a few integrated circuit. It is a multipurpose, programmable
More informationTheory 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 informationLecture 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 informationLesson 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 information150127-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 informationFig1-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 informationMemory Basics. SRAM/DRAM Basics
Memory Basics RAM: Random Access Memory historically defined as memory array with individual bit access refers to memory with both Read and Write capabilities ROM: Read Only Memory no capabilities for
More informationA N. O N Output/Input-output connection
Memory Types Two basic types: ROM: Read-only memory RAM: Read-Write memory Four commonly used memories: ROM Flash, EEPROM Static RAM (SRAM) Dynamic RAM (DRAM), SDRAM, RAMBUS, DDR RAM Generic pin configuration:
More informationSistemas 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 informationChapter 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 informationEngr354: 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 informationDM74LS169A Synchronous 4-Bit Up/Down Binary Counter
Synchronous 4-Bit Up/Down Binary Counter General Description This synchronous presettable counter features an internal carry look-ahead for cascading in high-speed counting applications. Synchronous operation
More informationLecture-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 informationCpE358/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(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 informationMICROPROCESSOR AND MICROCOMPUTER BASICS
Introduction MICROPROCESSOR AND MICROCOMPUTER BASICS At present there are many types and sizes of computers available. These computers are designed and constructed based on digital and Integrated Circuit
More informationCombinational 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 informationCHAPTER 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 informationStandart 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 informationDigital 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 informationWiki Lab Book. This week is practice for wiki usage during the project.
Wiki Lab Book Use a wiki as a lab book. Wikis are excellent tools for collaborative work (i.e. where you need to efficiently share lots of information and files with multiple people). This week is practice
More informationIE1204 Digital Design F12: Asynchronous Sequential Circuits (Part 1)
IE1204 Digital Design F12: Asynchronous Sequential Circuits (Part 1) Elena Dubrova KTH / ICT / ES dubrova@kth.se BV pp. 584-640 This lecture IE1204 Digital Design, HT14 2 Asynchronous Sequential Machines
More information7CS-A(CD_lab) Actual date of covering the. Reason for not covering the topic in due time. Month in which the topic will be covered
7CS-A(CD_lab) Write grammar for a fictitious language and create a lexical analyzer for the same Develop a lexical analyzer to recognize a few patterns in PASCAL and C (ex: identifiers, constants, comments,
More informationCHAPTER 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 informationHaving 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 informationINTEGRATED CIRCUITS. For a complete data sheet, please also download:
INTEGRATED CIRCUITS DATA SEET For a complete data sheet, please also download: The IC06 74C/CT/CU/CMOS ogic Family Specifications The IC06 74C/CT/CU/CMOS ogic Package Information The IC06 74C/CT/CU/CMOS
More informationChapter 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 informationCHAPTER 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 information1. 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 informationDATA 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 informationBinary 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 informationDM74LS191 Synchronous 4-Bit Up/Down Counter with Mode Control
August 1986 Revised February 1999 DM74LS191 Synchronous 4-Bit Up/Down Counter with Mode Control General Description The DM74LS191 circuit is a synchronous, reversible, up/ down counter. Synchronous operation
More informationUnited States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1
United States Naval Academy Electrical and Computer Engineering Department EC262 Exam 29 September 2. Do a page check now. You should have pages (cover & questions). 2. Read all problems in their entirety.
More informationChapter 5 :: Memory and Logic Arrays
Chapter 5 :: Memory and Logic Arrays Digital Design and Computer Architecture David Money Harris and Sarah L. Harris Copyright 2007 Elsevier 5- ROM Storage Copyright 2007 Elsevier 5- ROM Logic Data
More informationModule 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1
Module 2 Embedded Processors and Memory Version 2 EE IIT, Kharagpur 1 Lesson 5 Memory-I Version 2 EE IIT, Kharagpur 2 Instructional Objectives After going through this lesson the student would Pre-Requisite
More informationBinary full adder. 2-bit ripple-carry adder. CSE 370 Spring 2006 Introduction to Digital Design Lecture 12: Adders
SE 370 Spring 2006 Introduction to Digital Design Lecture 12: dders Last Lecture Ls and Ls Today dders inary full 1-bit full omputes sum, carry-out arry-in allows cascaded s = xor xor = + + 32 ND2 11 ND2
More informationA 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 informationDM54161 DM74161 DM74163 Synchronous 4-Bit Counters
DM54161 DM74161 DM74163 Synchronous 4-Bit Counters General Description These synchronous presettable counters feature an internal carry look-ahead for application in high-speed counting designs The 161
More informationCONTENTS PREFACE 1 INTRODUCTION 1 2 NUMBER SYSTEMS AND CODES 25. vii
2006 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is CONTENTS PREFACE xv 1 INTRODUCTION 1 1.1 About Digital Design 1 1.2 Analog versus Digital 3 1.3 Digital Devices
More informationINTEGRATED 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 informationGray Code Generator and Decoder by Carsten Kristiansen Napier University. November 2004
Gray Code Generator and Decoder by Carsten Kristiansen Napier University November 2004 Title page Author: Carsten Kristiansen. Napier No: 04007712. Assignment title: Design of a Gray Code Generator and
More informationCombinational 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 informationSemiconduttori - C-MOS
4000 nor gate 2010-0005 TC4000BP TOS DIL14 4001 nor gate 2010-0010 CD4001BE TEX DIL14 2010-0015 HCF4001BEY STM DIL14 2010-0020 HCF4001BM1 STM SOIC14 2010-0011 HEF4001BP PHS DIL14 4002 nor gate 2010-0025
More information5 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 informationCounters. Resources and methods for learning about these subjects (list a few here, in preparation for your research):
ounters This worksheet and all related files are licensed under the reative ommons Attribution License, version 1.0. To view a copy of this license, visit http://creativecommons.org/licenses/by/1.0/, or
More information