課程名稱 : 數位邏輯設計 P-1/ /6/11
|
|
- Clinton Henderson
- 6 years ago
- Views:
Transcription
1 課程名稱 : 數位邏輯設計 P-1/ /6/11 Textbook: Digital Design, 4 th. Edition M. Morris Mano and Michael D. Ciletti Prentice-Hall, Inc. 教師 : 蘇慶龍 INSTRUCTOR : CHING-LUNG SU kevinsu@yuntech.edu.tw
2 Chapter 8 P-2/ /6/11 Chapter 8 Design at the Register Transfer Level
3 Outline of Chapter 8 P-3/ /6/ Introduction 8.2 Register Transfer Level (RTL) Notation 8.3 Register Transfer Level in HDL 8.4 Algorithmic State Machines (ASMs) 8.5 Design Example 8.6 HDL Description of Design Example 8.7 Sequential Binary Multiplier 8.8 Control Logic 8.9 HDL Description of Binary Multiplier 8.10 Design With Multiplexers
4 8.1 Introduction P-4/ /6/ Introduction 8.2 Register Transfer Level (RTL) Notation 8.3 Register Transfer Level in HDL 8.4 Algorithmic State Machines (ASMs) 8.5 Design Example 8.6 HDL Description of Design Example 8.7 Sequential Binary Multiplier 8.8 Control Logic 8.9 HDL Description of Binary Multiplier 8.10 Design With Multiplexers
5 8.1 Introduction P-5/ /6/11 A digital system is a sequential logic system constructed with flip-flops and gates. 1. To specify a large digital system with a state table is very difficult. 2. Modular subsystems 3. Registers, decoders, multiplexers, arithmetic elements and control logic 4. They are interconnected with datapaths and control signals.
6 8.2 Register Transfer Level Notation P-6/ /6/ Introduction 8.2 Register Transfer Level (RTL) Notation 8.3 Register Transfer Level in HDL 8.4 Algorithmic State Machines (ASMs) 8.5 Design Example 8.6 HDL Description of Design Example 8.7 Sequential Binary Multiplier 8.8 Control Logic 8.8 HDL Description of Binary Multiplier 8.10 Design With Multiplexers
7 8.2 Register Transfer Level Notation P-7/ /6/11 RTL 1. Register Transfer Level (RTL): The information flow and processing perform on the data stored in the registers is referred to as register transfer operations. 2. A large digital system is presented at the register transfer level when it is specified by the following three components: 1: The set of registers in the system 2: The operations that are performed on the data stored in the registers 3: The control that supervises the sequence of operations in the system
8 Register MUX Register Register Register 8.2 Register Transfer Level Notation P-8/ /6/11 Controller RTL (Continued) RTL 1 IF Combination Logic Gates Combination Logic Gates Combination Logic Gates Combination Logic Gates RTL 2 RTL 3
9 8.2 Register Transfer Level Notation P-9/ /6/11 R2 RTL Notations R1 : Contents of R1 transfer into R2 IF (T1=1) then (R2 R1) Concurrently IF (T3=1) then (R2 R1, R1 R2) : Exchange R1, R2 R1 R3 R4 R1+R2 : Add Content of R2 to R1 R3+1 : Increase R3 by 1 (Count up) shr R4 : Shift right R4 R5 0 : Clear R5 to 0
10 8.2 Register Transfer Level Notation P-10/ /6/11 Four Types of Operations in a Digital System 1. Transfer operations that transfer data from one register to another. 2. Arithmetic operations that perform arithmetic on data in registers. 3. Logic operations that perform bits manipulation of non-numeric data in registers. 4. Shift operations that shift data in registers
11 8.3 Register Transfer Level in HDL P-11/ /6/ Introduction 8.2 Register Transfer Level (RTL) Notation 8.3 Register Transfer Level in HDL 8.4 Algorithmic State Machines (ASMs) 8.5 Design Example 8.6 HDL Description of Design Example 8.7 Sequential Binary Multiplier 8.8 Control Logic 8.9 HDL Description of Binary Multiplier 8.10 Design With Multiplexers
12 8.3 Register Transfer Level in HDL P-12/ /6/11 HDL Programming referred to TA
13 8.3 Register Transfer Level in HDL P-13/ /6/11 Process of HDL Simulation and Synthesis HDL Description of Design Valid Design Synthesis Tools Synthesis Gate-level Netlist Simulation RTL Design Test Bench Simulation Gate-level Design Needs Corerection Results OK! OK! Results Needs Corerection No Match Comparison Match! Fabricate IC
14 8.4 Arithmetic State Machines (ASMs) P-14/ /6/ Introduction 8.2 Register Transfer Level (RTL) Notation 8.3 Register Transfer Level in HDL 8.4 Algorithmic State Machines (ASMs) 8.5 Design Example 8.6 HDL Description of Design Example 8.7 Sequential Binary Multiplier 8.8 Control Logic 8.9 HDL Description of Binary Multiplier 8.10 Design With Multiplexers
15 8.4 Arithmetic State Machines (ASMs) P-15/ /6/11 Control and Datapath Interaction Status Conditions Inputs Control Logic (Controller) Commands (Control Signals) Inputs Datapath (Data Compuating) Outputs Adders Decoder Multiplexer Counter Shift Register
16 8.4 Arithmetic State Machines (ASMs) P-16/ /6/11 Algorithmic State Machine (ASM) 1. Algorithmic State Machine (ASM): A special flow chart that has been developed specifically to define digital hardware algorithm. 2. State Machine: A term for a sequential circuit. 3. ASM Chart: The ASM chart describes the sequence of events as well as the timing relation ship between the states of sequential controller and the events that occur while going from one state to the next.
17 8.4 Arithmetic State Machines (ASMs) P-17/ /6/11 ASM Chart: State Box + Decision Box + Conditional Box State Box: Name Binary Code T Register Operation or Output R 0 START (a) General Description (b) Specific Example Decision Box: 0 1 Condition Exit Path Exit Path
18 8.4 Arithmetic State Machines (ASMs) P-18/ /6/11 Conditional Box and a Example Example with Conditional Box: T General Description: START From exit path of decision box Register Operation or Output 0 E 1 R 0 T F E
19 8.4 Arithmetic State Machines (ASMs) P-19/ /6/11 ASM Block : 1 Clock Period (RTL) T ASM Block A A+1 0 E 1 State Diagram Equivalent to ASM Chart 001 EF=00 E=1 0 1 F R EF= T T T
20 8.4 Arithmetic State Machines (ASMs) P-20/ /6/11 Timing Considerations Clock Present State (T 1 ) Next State (T 2 or T 3 or T 4 ) 1. Register A is increased 2. If E=1, then register R is cleared 3. Control transfer to the next state as specified in previous slice.
21 8.5 Design Example P-21/ /6/ Introduction 8.2 Register Transfer Level (RTL) Notation 8.3 Register Transfer Level in HDL 8.4 Algorithmic State Machines (ASMs) 8.5 Design Example 8.6 HDL Description of Design Example 8.7 Sequential Binary Multiplier 8.8 Control Logic 8.9 HDL Description of Binary Multiplier 8.10 Design With Multiplexers
22 8.5 Design Example P-22/ /6/11 Design Descriptions 1. System with 2 FFs (E and F), a 4-bit binary counter A (A 4 A 3 A 2 A 1 ) 2. A 4 : Most Signification Bit (MSB) 3. In initiation signal S clear A and F 4. Counter is increased by clock pulse 5. If A 3 =0, E is cleared to 0 and the counter continues 6. If A 3 =1, E is set to 1; then if A 4 =0, the count continues, but if A 4 =1, F is set to 1 on next clock pulse and the system stops counting 7. Then if S=0, the system remains in the initial state, but if S=1, the operation cycle repeats.
23 8.5 Design Example P-23/ /6/11 T 0 00 Initial State 0 S T 0 ASM Block ASM Chart for Design Example T 1 1 A 0 F 0 A A+1 T 1 A 3 =0 G 1 G 0 =01 A 3 A 4 =10 T A 3 E 0 E 1 A 4 0 T 2 1 A 3 A 4 =11 11 F 1
24 Delay 1 Cycle 8.5 Design Example P-24/ /6/11 Timing Sequence: Response Delay 1 Cycle Operation Sequence Counter Flip-Flop A 4 A 3 A 2 A 1 E F Condition State Delay 1 Cycle A 3 =0, A 4 =0 T A 3 =1, A 4 = A 3 =0, A 4 = A 3 =1, A 4 = T T 0 Delay 1 Cycle
25 8.5 Design Example P-25/ /6/11 Datapath Design Start S T 0 T 0 =1,S=1 A 4 Controller T 1 T 1 =1,E=A 3 A 3 Clock T 2 J C K E T 2 =1 J C K F A 4 A 3 A 2 A 1 4-Bit Counter with Synchronous Clear Count Clear T 0 =1,S=1 Clock
26 8.5 Design Example P-26/ /6/11 Register Transfer Representation S=0 A 3 =0 Register Transfer Operations T 0 : if (S=1) then A 0, F 0 T 0 S=1 T 1 T A 2 3 A 4 =11 T 1 : A A+1 if (A 3 =1) then E 1 if (A 3 =0) then E 0 A 3 A 4 =10 T 2 : F 1 State Diagram
27 8.5 Design Example P-27/ /6/11 State Table State Table for Controller Present Next Present-State State Inputs State Outputs Symbol G 1 G 0 S A 3 A 4 G 1 G 0 T 0 T 1 T 2 T X X T X X T X 0 X T X T X T X X X T 0 =G 0 T 2 =G 1
28 8.5 Design Example P-28/ /6/11 Control Logic (Controller) Design S D G 0 D G1 = T 1 A 3 A 4 D G0 = T 0 S+T 1 T 0 = G 0 T 1 = G 1 G 0 T 2 = G 1 A 3 A 4 C D G 1 Clear T 0 T 2 C T 1 Clock Clear
29 8.6 HDL Description of Design Example P-29/ /6/ Introduction 8.2 Register Transfer Level (RTL) Notation 8.3 Register Transfer Level in HDL 8.4 Algorithmic State Machines (ASMs) 8.5 Design Example 8.6 HDL Description of Design Example 8.7 Sequential Binary Multiplier 8.8 Control Logic 8.9 HDL Description of Binary Multiplier 8.10 Design With Multiplexers
30 8.6 HDL Description of Design Example P-30/ /6/11 Referred to TA
31 8.7 Sequential Binary Multiplier P-31/ /6/ Introduction 8.2 Register Transfer Level (RTL) Notation 8.3 Register Transfer Level in HDL 8.4 Algorithmic State Machines (ASMs) 8.5 Design Example 8.6 HDL Description of Design Example 8.7 Sequential Binary Multiplier 8.8 Control Logic 8.9 HDL Description of Binary Multiplier 8.10 Design With Multiplexers
32 8.7 Sequential Binary Multiplier P-32/ /6/11 Example for Binary Multiplications Multiplicand (n-bit) Multiplier (m-bit) Product (n+m Bits)
33 8.7 Sequential Binary Multiplier P-33/ /6/11 Register Configuration Check for Zero Z=1 if P=0 Z Control Logic P Counter (Down Counter) S (Start) Register B Multiplicand Initial Value = n (Bit Number of Multiplier) CAQ C out Parallel Adder Sum Initial Value = 0 C Register A Initial Value=0 Register Q Multiplier Q 0 Product
34 8.7 Sequential Binary Multiplier P-34/ /6/11 T 0 Initial State T 1 0 S 1 A 0 C 0 P n ASM Chart T 2 P P Q 0 A A+B, C C out Shift CAQ, C 0 A shr A, A n-1 C, Q shr Q, Q n-1 A 0, C 0 T 3 Shift Right CAQ, C Z
35 8.7 Sequential Binary Multiplier P-35/ /6/11 Numerical Example for Binary Multiplier Multiplicand B=10111 C A Q P Multiplier in Q Q 0 =1; add B First partial product Shift right CAQ Q 0 =1; add B Second partial product Shift right CAQ Q 0 =0; shift right CAQ Q 0 =0; shift right CAQ Q 0 =1; add B Fifth partial product Shift right CAQ Final Product in CAQ =
36 8.8 Control Logic P-36/ /6/ Introduction 8.2 Register Transfer Level (RTL) Notation 8.3 Register Transfer Level in HDL 8.4 Algorithmic State Machines (ASMs) 8.5 Design Example 8.6 HDL Description of Design Example 8.7 Sequential Binary Multiplier 8.8 Control Logic 8.9 HDL Description of Binary Multiplier 8.10 Design With Multiplexers
37 8.8 Control Logic P-37/ /6/11 Control Specifications for Binary Multiplier Register Transfer Operations T 0 : Initial State T 1 : A 0, C 0, P n T 2 : P P-1 if (Q 0 )=1 then (A A+B, C C out ) T 3 : Shift Right CAQ, C 0 State Diagram S=0 Z=1 T 0 T 1 T 2 T 3 S=1 Z=0
38 8.8 Control Logic P-38/ /6/11 Control Block Diagram and State Assignment Control Block Diagram Z S Q 0 Control Logic T 0 T 1 T 2 T 3 L=Q 0 T 2 Addition State Assignment for Control State Binary Gray Code One-Hot T T T T
39 8.8 Control Logic P-39/ /6/11 Sequence Register and Decoder State Table for Control Circuit Present Next State Input State Outputs G 1 G 0 S Z G 1 G 0 T 0 T 1 T 2 T X X X X X X X X T 3 Z Next State: D G1 = T 1 + T 2 + T 3 Z D G0 = T 0 S + T 2
40 8.8 Control Logic P-40/ /6/11 Control Logic Diagram of a Binary Multiplier S D C G X4 Decoder T 0 T 1 T 2 T 3 Z D G 1 C Q 0 L=T 2 Q 0 Clock
41 8.8 Control Logic P-41/ /6/11 One Flip-Flop per State (One-Hot) without Decoder State Table for One-Hot Controller T 0 S T 3 Z Present Next State Input State Outputs S Z T 0 T 1 T 2 T 3 T 0 0 X T T 0 1 X T T 1 X X T T 2 X X T T 3 X 0 T T 3 X 1 T Next State: D T0 = T 0 S + T 3 Z D T1 = T 0 S D T2 = T 1 + T 3 Z D T3 = T 2
42 8.8 Control Logic P-42/ /6/11 S Z T 0 S +T 3 Z D C T 0 One Flip-Flop per State (One-Hot) Controller D C D C T 1 T 2 D T 3 C Clock
43 8.9 HDL Description of Binary Multiplier P-43/ /6/ Introduction 8.2 Register Transfer Level (RTL) Notation 8.3 Register Transfer Level in HDL 8.4 Algorithmic State Machines (ASMs) 8.5 Design Example 8.6 HDL Description of Design Example 8.7 Sequential Binary Multiplier 8.8 Control Logic 8.9 HDL Description of Binary Multiplier 8.10 Design With Multiplexers
44 8.9 HDL Description of Binary Multiplier P-44/ /6/11 Referred to TA
45 8.10 Design With Multiplexers P-45/ /6/ Introduction 8.2 Register Transfer Level (RTL) Notation 8.3 Register Transfer Level in HDL 8.4 Algorithmic State Machines (ASMs) 8.5 Design Example 8.6 HDL Description of Design Example 8.7 Sequential Binary Multiplier 8.8 Control Logic 8.9 HDL Description of Binary Multiplier 8.10 Design With Multiplexers
46 8.10 Design With Multiplexers P-46/ /6/11 3-Level Controller Implementations with Multiplexers 1 st. Level: Multiplexers determines the next state of the register. 2 nd. Level: Registers hold the present binary state. 3 rd. Level: Decoders provide a separate output for each control state.
47 8.10 Design With Multiplexers P-47/ /6/11 T 0 00 w 0w 1w T 1 01 Design Example x 0 x 1 x T 3 11 T z 0 y 1 1 y 0 yz 1 1 z 0 yz y
48 8.10 Design With Multiplexers P-48/ /6/11 Control Implementation with Multiplexers y z y z 0 1 y w x y MUX 1 S 1 S 0 S 1 S 0 MUX 2 D C D C G 1 G 0 2X4 Decoder T 0 T 1 T 2 T 3 Clock
49 8.10 Design With Multiplexers P-49/ /6/11 Multiplexer Input Conditions Multiplexer Input Conditions Present Next State State Input Inputs G 1 G 0 G 1 G 0 Conditions MUX1 MUX w w 0 w x x 1 x y yz yz +yz=y yz yz y z y y+y z =y+z y z+y z =y y z
50 8.10 Design With Multiplexers P-50/ /6/11 Design Example: Count the Number of Ones in a Register 1. The system to be designed consists of two registers, R1 and R2, and a flip-flop E. 2. The system counts the number of 1 s in the number loaded into R1 and sets register R2 to that number. Example: R1 = R2 = 101 Solution: 1. Shift each bit from R1 one at a time into flip-flop E 2. If E=1, then R2 is increased by 1 3. If R1=0, then Z=1
51 Complete 8.10 Design With Multiplexers P-51/ /6/11 T 0 00 Initial State 0 R1 R2 S 1 Input All 1's ASM Chart for Countof-Ones Circuit T 1 01 R2 R2+1 Z 1 0 T 2 10 Shift R1 to E T 3 11 E 1 0
52 8.10 Design With Multiplexers P-52/ /6/11 Start S E Z Control T 0 T 1 T 2 T 3 Z=1 if R1=0 Block Diagram for Count-of-Ones E D Check for Zero Parallel Output Shift Register R1 Serial Input=0 Shift Left Load Input C Input Data Clock Output Count Counter R2 Count Load Input Input = All 1's
53 8.10 Design With Multiplexers P-53/ /6/11 Multiplexer Input Conditions for Design Example Present Next Multiplexer State State Input Inputs G 1 G 0 G 1 G 0 Conditions MUX1 MUX S S 0 S Z Z Z None E E E E
54 8.10 Design With Multiplexers P-54/ /6/11 0 Z 1 E S 0 1 E Control Implementation for Count-of-One Circuit MUX 1 S 1 S 0 S 1 S 0 MUX 2 Clock D C D C G 1 G 0 2X4 Decoder T 0 T 1 T 2 T 3
55 P-55/ /6/11 Have a nice summer vacation!
Design at the Register Transfer Level
Week-7 Design at the Register Transfer Level Algorithmic State Machines Algorithmic State Machine (ASM) q Our design methodologies do not scale well to real-world problems. q 232 - Logic Design / Algorithmic
More information課程名稱 : 數位邏輯設計 P-1/ /6/11
課程名稱 : 數位邏輯設計 P-1/41 2012/6/11 extbook: igital esign, 4 th. Edition M. Morris Mano and Michael. iletti Prentice-Hall, Inc. 教師 : 蘇慶龍 INSRUOR : HING-LUNG SU E-mail: kevinsu@yuntech.edu.tw hapter 6 P-2/41
More informationRegister Transfer Level
Register Transfer Level CSE3201 RTL A digital system is represented at the register transfer level by these three components 1. The set of registers in the system 2. The operation that are performed on
More informationECE 341. Lecture # 3
ECE 341 Lecture # 3 Instructor: Zeshan Chishti zeshan@ece.pdx.edu October 7, 2013 Portland State University Lecture Topics Counters Finite State Machines Decoders Multiplexers Reference: Appendix A of
More informationLogic and Computer Design Fundamentals. Chapter 8 Sequencing and Control
Logic and Computer Design Fundamentals Chapter 8 Sequencing and Control Datapath and Control Datapath - performs data transfer and processing operations Control Unit - Determines enabling and sequencing
More informationEECS150 - Digital Design Lecture 11 - Shifters & Counters. Register Summary
EECS50 - Digital Design Lecture - Shifters & Counters February 24, 2003 John Wawrzynek Spring 2005 EECS50 - Lec-counters Page Register Summary All registers (this semester) based on Flip-flops: q 3 q 2
More informationFundamentals of Digital Design
Fundamentals of Digital Design Digital Radiation Measurement and Spectroscopy NE/RHP 537 1 Binary Number System The binary numeral system, or base-2 number system, is a numeral system that represents numeric
More informationCOEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University
1 OEN 312 DIGIAL SYSEMS DESIGN - LEURE NOES oncordia University hapter 6: Registers and ounters NOE: For more examples and detailed description of the material in the lecture notes, please refer to the
More informationDesign of Sequential Circuits
Design of Sequential Circuits Seven Steps: Construct a state diagram (showing contents of flip flop and inputs with next state) Assign letter variables to each flip flop and each input and output variable
More informationCOE 202: Digital Logic Design Sequential Circuits Part 4. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
COE 202: Digital Logic Design Sequential Circuits Part 4 Dr. Ahmad Almulhem Email: ahmadsm AT kfupm Phone: 860-7554 Office: 22-324 Objectives Registers Counters Registers 0 1 n-1 A register is a group
More informationLogic Design II (17.342) Spring Lecture Outline
Logic Design II (17.342) Spring 2012 Lecture Outline Class # 10 April 12, 2012 Dohn Bowden 1 Today s Lecture First half of the class Circuits for Arithmetic Operations Chapter 18 Should finish at least
More informationCprE 281: Digital Logic
CprE 28: Digital Logic Instructor: Alexander Stoytchev http://www.ece.iastate.edu/~alexs/classes/ Simple Processor CprE 28: Digital Logic Iowa State University, Ames, IA Copyright Alexander Stoytchev Digital
More informationLOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.
Basic Experiment and Design of Electronics LOGIC CIRCUITS Ho Kyung Kim, Ph.D. hokyung@pusan.ac.kr School of Mechanical Engineering Pusan National University Digital IC packages TTL (transistor-transistor
More informationLOGIC CIRCUITS. Basic Experiment and Design of Electronics
Basic Experiment and Design of Electronics LOGIC CIRCUITS Ho Kyung Kim, Ph.D. hokyung@pusan.ac.kr School of Mechanical Engineering Pusan National University Outline Combinational logic circuits Output
More informationKing Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department
King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department Page 1 of 13 COE 202: Digital Logic Design (3-0-3) Term 112 (Spring 2012) Final
More informationDigital Logic: Boolean Algebra and Gates. Textbook Chapter 3
Digital Logic: Boolean Algebra and Gates Textbook Chapter 3 Basic Logic Gates XOR CMPE12 Summer 2009 02-2 Truth Table The most basic representation of a logic function Lists the output for all possible
More informationEECS150 - Digital Design Lecture 18 - Counters
EECS150 - Digital Design Lecture 18 - Counters October 24, 2002 John Wawrzynek Fall 2002 EECS150 - Lec18-counters Page 1 Counters Special sequential circuits (FSMs) that sequence though a set outputs.
More informationEECS150 - Digital Design Lecture 18 - Counters
EECS50 - Digital Design Lecture 8 - Counters October 24, 2002 John Wawrzynek Fall 2002 EECS50 - Lec8-counters Page Counters Special sequential circuits (FSMs) that sequence though a set outputs. Examples:
More informationTextbook: Digital Design, 3 rd. Edition M. Morris Mano
: 25/5/ P-/70 Tetbook: Digital Design, 3 rd. Edition M. Morris Mano Prentice-Hall, Inc. : INSTRUCTOR : CHING-LUNG SU E-mail: kevinsu@yuntech.edu.tw Chapter 3 25/5/ P-2/70 Chapter 3 Gate-Level Minimization
More informationEECS150 - Digital Design Lecture 17 - Sequential Circuits 3 (Counters)
EECS150 - Digital Design Lecture 17 - Sequential Circuits 3 (Counters) March 19&21, 2002 John Wawrzynek Spring 2002 EECS150 - Lec13-seq3 version 2 Page 1 Counters Special sequential circuits (FSMs) that
More informationELEN Electronique numérique
ELEN0040 - Electronique numérique Patricia ROUSSEAUX Année académique 2014-2015 CHAPITRE 3 Combinational Logic Circuits ELEN0040 3-4 1 Combinational Functional Blocks 1.1 Rudimentary Functions 1.2 Functions
More informationSample Test Paper - I
Scheme G Sample Test Paper - I Course Name : Computer Engineering Group Marks : 25 Hours: 1 Hrs. Q.1) Attempt any THREE: 09 Marks a) Define i) Propagation delay ii) Fan-in iii) Fan-out b) Convert the following:
More informationDE58/DC58 LOGIC DESIGN DEC 2014
Q.2 a. In a base-5 number system, 3 digit representations is used. Find out (i) Number of distinct quantities that can be represented.(ii) Representation of highest decimal number in base-5. Since, r=5
More informationECE 448 Lecture 6. Finite State Machines. State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts, and VHDL Code. George Mason University
ECE 448 Lecture 6 Finite State Machines State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts, and VHDL Code George Mason University Required reading P. Chu, FPGA Prototyping by VHDL Examples
More informationCHW 261: Logic Design
CHW 26: Logic Design Instructors: Prof. Hala Zayed Dr. Ahmed Shalaby http://www.bu.edu.eg/staff/halazayed4 http://bu.edu.eg/staff/ahmedshalaby4# Slide Digital Fundamentals CHAPTER 8 Counters Slide 2 Counting
More information( c) Give logic symbol, Truth table and circuit diagram for a clocked SR flip-flop. A combinational circuit is defined by the function
Question Paper Digital Electronics (EE-204-F) MDU Examination May 2015 1. (a) represent (32)10 in (i) BCD 8421 code (ii) Excess-3 code (iii) ASCII code (b) Design half adder using only NAND gates. ( c)
More informationLecture 10: Synchronous Sequential Circuits Design
Lecture 0: Synchronous Sequential Circuits Design. General Form Input Combinational Flip-flops Combinational Output Circuit Circuit Clock.. Moore type has outputs dependent only on the state, e.g. ripple
More informationDecoding A Counter. svbitec.wordpress.com 1
ecoding A ounter ecoding a counter involves determining which state in the sequence the counter is in. ifferentiate between active-high and active-low decoding. Active-HIGH decoding: output HIGH if the
More informationSynchronous Sequential Logic
1 IT 201 DIGITAL SYSTEMS DESIGN MODULE4 NOTES Synchronous Sequential Logic Sequential Circuits - A sequential circuit consists of a combinational circuit and a feedback through the storage elements in
More informationThe Design Procedure. Output Equation Determination - Derive output equations from the state table
The Design Procedure Specification Formulation - Obtain a state diagram or state table State Assignment - Assign binary codes to the states Flip-Flop Input Equation Determination - Select flipflop types
More informationChapter 5. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris. Chapter 5 <1>
Chapter 5 Digital Design and Computer Architecture, 2 nd Edition David Money Harris and Sarah L. Harris Chapter 5 Chapter 5 :: Topics Introduction Arithmetic Circuits umber Systems Sequential Building
More informationIT T35 Digital system desigm y - ii /s - iii
UNIT - II Combinational Logic Adders subtractors code converters binary parallel adder decimal adder magnitude comparator encoders decoders multiplexers demultiplexers-binarymultiplier Parity generator
More informationCombinational Logic Design Combinational Functions and Circuits
Combinational Logic Design Combinational Functions and Circuits Overview Combinational Circuits Design Procedure Generic Example Example with don t cares: BCD-to-SevenSegment converter Binary Decoders
More informationLecture 8: Sequential Multipliers
Lecture 8: Sequential Multipliers ECE 645 Computer Arithmetic 3/25/08 ECE 645 Computer Arithmetic Lecture Roadmap Sequential Multipliers Unsigned Signed Radix-2 Booth Recoding High-Radix Multiplication
More informationEE40 Lec 15. Logic Synthesis and Sequential Logic Circuits
EE40 Lec 15 Logic Synthesis and Sequential Logic Circuits Prof. Nathan Cheung 10/20/2009 Reading: Hambley Chapters 7.4-7.6 Karnaugh Maps: Read following before reading textbook http://www.facstaff.bucknell.edu/mastascu/elessonshtml/logic/logic3.html
More informationvidyarthiplus.com vidyarthiplus.com vidyarthiplus.com ANNA UNIVERSITY- COMBATORE B.E./ B.TECH. DEGREE EXAMINATION - JUNE 2009. ELECTRICAL & ELECTONICS ENGG. - FOURTH SEMESTER DIGITAL LOGIC CIRCUITS PART-A
More informationIntroduction EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 6: Sequential Logic 3 Registers & Counters 5/9/2010
EE 224: INTROUCTION TO IGITAL CIRCUITS & COMPUTER ESIGN Lecture 6: Sequential Logic 3 Registers & Counters 05/10/2010 Avinash Kodi, kodi@ohio.edu Introduction 2 A Flip-Flop stores one bit of information
More informationFSM model for sequential circuits
1 FSM model for sequential circuits The mathematical model of a sequential circuit is called finite-state machine. FSM is fully characterized by: S Finite set of states ( state ~ contents of FFs) I Finite
More informationEECS150 - Digital Design Lecture 25 Shifters and Counters. Recap
EECS150 - Digital Design Lecture 25 Shifters and Counters Nov. 21, 2013 Prof. Ronald Fearing Electrical Engineering and Computer Sciences University of California, Berkeley (slides courtesy of Prof. John
More informationPhiladelphia University Student Name: Student Number:
Philadelphia University Student Name: Student Number: Faculty of Engineering Serial Number: Final Exam, First Semester: 2017/2018 Dept. of Computer Engineering Course Title: Logic Circuits Date: 29/01/2018
More informationEE 209 Logic Cumulative Exam Name:
EE 209 Logic Cumulative Exam Name: 1.) Answer the following questions as True or False a.) A 4-to-1 multiplexer requires at least 4 select lines: true / false b.) An 8-to-1 mux and no other logi can be
More informationPGT104 Digital Electronics. PGT104 Digital Electronics
1 Part 6 Sequential Logic ircuits Disclaimer: Most of the contents (if not all) are extracted from resources available for Digital Fundamentals 10 th Edition 2 Basic Shift Register Operations A shift register
More informationDigital Logic Design - Chapter 4
Digital Logic Design - Chapter 4 1. Analyze the latch circuit shown below by obtaining timing diagram for the circuit; include propagation delays. Y This circuit has two external input and one feedback
More informationEXPERIMENT Bit Binary Sequential Multiplier
12.1 Objectives EXPERIMENT 12 12. -Bit Binary Sequential Multiplier Introduction of large digital system design, i.e. data path and control path. To apply the above concepts to the design of a sequential
More informationEECS150 - Digital Design Lecture 16 Counters. Announcements
EECS150 - Digital Design Lecture 16 Counters October 20, 2011 Elad Alon Electrical Engineering and Computer Sciences University of California, Berkeley http://www-inst.eecs.berkeley.edu/~cs150 Fall 2011
More informationReview: Designing with FSM. EECS Components and Design Techniques for Digital Systems. Lec09 Counters Outline.
Review: Designing with FSM EECS 150 - Components and Design Techniques for Digital Systems Lec09 Counters 9-28-04 David Culler Electrical Engineering and Computer Sciences University of California, Berkeley
More informationEECS150 - Digital Design Lecture 23 - FSMs & Counters
EECS150 - Digital Design Lecture 23 - FSMs & Counters April 8, 2010 John Wawrzynek Spring 2010 EECS150 - Lec22-counters Page 1 One-hot encoding of states. One FF per state. State Encoding Why one-hot encoding?
More informationDIGITAL LOGIC CIRCUITS
DIGITAL LOGIC CIRCUITS Introduction Logic Gates Boolean Algebra Map Specification Combinational Circuits Flip-Flops Sequential Circuits Memory Components Integrated Circuits Digital Computers 2 LOGIC GATES
More informationDigital Electronics Circuits 2017
JSS SCIENCE AND TECHNOLOGY UNIVERSITY Digital Electronics Circuits (EC37L) Lab in-charge: Dr. Shankraiah Course outcomes: After the completion of laboratory the student will be able to, 1. Simplify, design
More informationChapter 4. Combinational: Circuits with logic gates whose outputs depend on the present combination of the inputs. elements. Dr.
Chapter 4 Dr. Panos Nasiopoulos Combinational: Circuits with logic gates whose outputs depend on the present combination of the inputs. Sequential: In addition, they include storage elements Combinational
More informationIntroduction to Digital Logic Missouri S&T University CPE 2210 Multiplexers/Demultiplexers
Introduction to Digital Logic Missouri S&T University CPE 2210 Multiplexers/Demultiplexers Egemen K. Çetinkaya Department of Electrical & Computer Engineering Missouri University of Science and Technology
More informationUnit 7 Sequential Circuits (Flip Flop, Registers)
College of Computer and Information Sciences Department of Computer Science CSC 220: Computer Organization Unit 7 Sequential Circuits (Flip Flop, Registers) 2 SR Flip-Flop The SR flip-flop, also known
More informationPhiladelphia University Student Name: Student Number:
Philadelphia University Student Name: Student Number: Faculty of Engineering Serial Number: Final Exam, Second Semester: 2015/2016 Dept. of Computer Engineering Course Title: Logic Circuits Date: 08/06/2016
More informationDigital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.
CS211 Computer Architecture Digital Logic l Topics l Transistors (Design & Types) l Logic Gates l Combinational Circuits l K-Maps Figures & Tables borrowed from:! http://www.allaboutcircuits.com/vol_4/index.html!
More informationChapter 5 Synchronous Sequential Logic
Chapter 5 Synchronous Sequential Logic Sequential circuit: A circuit that includes memory elements. In this case the output depends not only on the current input but also on the past inputs. Memory A synchronous
More information3. Complete the following table of equivalent values. Use binary numbers with a sign bit and 7 bits for the value
EGC22 Digital Logic Fundamental Additional Practice Problems. Complete the following table of equivalent values. Binary. Octal 35.77 33.23.875 29.99 27 9 64 Hexadecimal B.3 D.FD B.4C 2. Calculate the following
More informationAppendix B. Review of Digital Logic. Baback Izadi Division of Engineering Programs
Appendix B Review of Digital Logic Baback Izadi Division of Engineering Programs bai@engr.newpaltz.edu Elect. & Comp. Eng. 2 DeMorgan Symbols NAND (A.B) = A +B NOR (A+B) = A.B AND A.B = A.B = (A +B ) OR
More informationKing Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department
King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department Page of COE 22: Digital Logic Design (3--3) Term (Fall 22) Final Exam Sunday January
More informationELCT201: DIGITAL LOGIC DESIGN
ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Following the slides of Dr. Ahmed H. Madian Lecture 10 محرم 1439 ه Winter
More informationHardware testing and design for testability. EE 3610 Digital Systems
EE 3610: Digital Systems 1 Hardware testing and design for testability Introduction A Digital System requires testing before and after it is manufactured 2 Level 1: behavioral modeling and test benches
More informationWORKBOOK. Try Yourself Questions. Electrical Engineering Digital Electronics. Detailed Explanations of
27 WORKBOOK Detailed Eplanations of Try Yourself Questions Electrical Engineering Digital Electronics Number Systems and Codes T : Solution Converting into decimal number system 2 + 3 + 5 + 8 2 + 4 8 +
More informationEE 209 Spiral 1 Exam Solutions Name:
EE 29 Spiral Exam Solutions Name:.) Answer the following questions as True or False a.) A 4-to- multiplexer requires at least 4 select lines: true / false b.) An 8-to- mux and no other logic can be used
More informationCSE140: Design of Sequential Logic
CSE4: Design of Sequential Logic Instructor: Mohsen Imani Flip Flops 2 Counter 3 Up counter 4 Up counter 5 FSM with JK-Flip Flop 6 State Table 7 State Table 8 Circuit Minimization 9 Circuit Timing Constraints
More information10/12/2016. An FSM with No Inputs Moves from State to State. ECE 120: Introduction to Computing. Eventually, the States Form a Loop
University of Illinois at Urbana-Champaign Dept. of Electrical and Computer Engineering An FSM with No Inputs Moves from State to State What happens if an FSM has no inputs? ECE 120: Introduction to Computing
More informationECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering TIMING ANALYSIS Overview Circuits do not respond instantaneously to input changes
More information15.1 Elimination of Redundant States
15.1 Elimination of Redundant States In Ch. 14 we tried not to have unnecessary states What if we have extra states in the state graph/table? Complete the table then eliminate the redundant states Chapter
More informationMenu. Excitation Tables (Bonus Slide) EEL3701 EEL3701. Registers, RALU, Asynch, Synch
Menu Registers >Storage Registers >Shift Registers More LSI Components >Arithmetic-Logic Units (ALUs) > Carry-Look-Ahead Circuitry (skip this) Asynchronous versus Synchronous Look into my... 1 Excitation
More informationBoolean Algebra and Digital Logic 2009, University of Colombo School of Computing
IT 204 Section 3.0 Boolean Algebra and Digital Logic Boolean Algebra 2 Logic Equations to Truth Tables X = A. B + A. B + AB A B X 0 0 0 0 3 Sum of Products The OR operation performed on the products of
More informationSynchronous Sequential Circuit Design. Digital Computer Design
Synchronous Sequential Circuit Design Digital Computer Design Races and Instability Combinational logic has no cyclic paths and no races If inputs are applied to combinational logic, the outputs will always
More informationReview for Final Exam
CSE140: Components and Design Techniques for Digital Systems Review for Final Exam Mohsen Imani CAPE Please submit your evaluations!!!! RTL design Use the RTL design process to design a system that has
More informationReview: Designing with FSM. EECS Components and Design Techniques for Digital Systems. Lec 09 Counters Outline.
Review: esigning with FSM EECS 150 - Components and esign Techniques for igital Systems Lec 09 Counters 9-28-0 avid Culler Electrical Engineering and Computer Sciences University of California, Berkeley
More informationELCT201: DIGITAL LOGIC DESIGN
ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 5 Following the slides of Dr. Ahmed H. Madian ذو الحجة 1438 ه Winter
More informationCombinational Logic. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C.
Combinational Logic ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, 2017 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Combinational Circuits
More informationFinite State Machine (FSM)
Finite State Machine (FSM) Consists of: State register Stores current state Loads next state at clock edge Combinational logic Computes the next state Computes the outputs S S Next State CLK Current State
More information(Boolean Algebra, combinational circuits) (Binary Codes and -arithmetics)
Task 1. Exercises: Logical Design of Digital Systems Seite: 1 Self Study (Boolean Algebra, combinational circuits) 1.1 Minimize the function f 1 a ab ab by the help of Boolean algebra and give an implementation
More informationDHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS6201 DIGITAL PRINCIPLES AND SYSTEM DESIGN
DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS6201 DIGITAL PRINCIPLES AND SYSTEM DESIGN UNIT I : BOOLEAN ALGEBRA AND LOGIC GATES PART - A (2 MARKS) Number
More informationSequential logic and design
Principles Of Digital Design Sequential logic and design Analysis State-based (Moore) Input-based (Mealy) FSM definition Synthesis State minimization Encoding Optimization and timing Copyright 20-20by
More informationEECS Components and Design Techniques for Digital Systems. FSMs 9/11/2007
EECS 150 - Components and Design Techniques for Digital Systems FSMs 9/11/2007 Sarah Bird Electrical Engineering and Computer Sciences University of California, Berkeley Slides borrowed from David Culler
More informationELECTRONICS & COMMUNICATION ENGINEERING PROFESSIONAL ETHICS AND HUMAN VALUES
EC 216(R-15) Total No. of Questions :09] [Total No. of Pages : 02 II/IV B.Tech. DEGREE EXAMINATIONS, DECEMBER- 2016 First Semester ELECTRONICS & COMMUNICATION ENGINEERING PROFESSIONAL ETHICS AND HUMAN
More informationUnit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4
Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4 4.1.1 Signal... 4 4.1.2 Comparison of Analog and Digital Signal... 7 4.2 Number Systems... 7 4.2.1 Decimal Number System... 7 4.2.2 Binary
More informationSAU1A FUNDAMENTALS OF DIGITAL COMPUTERS
SAU1A FUNDAMENTALS OF DIGITAL COMPUTERS Unit : I - V Unit : I Overview Fundamentals of Computers Characteristics of Computers Computer Language Operating Systems Generation of Computers 2 Definition of
More informationLecture 8. Sequential Multipliers
Lecture 8 Sequential Multipliers Required Reading Behrooz Parhami, Computer Arithmetic: Algorithms and Hardware Design Chapter 9, Basic Multiplication Scheme Chapter 10, High-Radix Multipliers Chapter
More informationCpE358/CS381. Switching Theory and Logical Design. Summer
Switching Theory and Logical Design - Class Schedule Monday Tuesday Wednesday Thursday Friday May 7 8 9 - Class 2 - Class 2 2 24 - Class 3 25 26 - Class 4 27 28 Quiz Commencement 3 June 2 - Class 5 3 -
More informationELEVATOR CONTROL CIRCUIT. Project No: PRJ045 Presented by; Masila Jane Mwelu. Supervisor: Prof. Mwangi Examiner: Dr. Mang oli
ELEVATOR CONTROL CIRCUIT Project No: PRJ045 Presented by; Masila Jane Mwelu Supervisor: Prof. Mwangi Examiner: Dr. Mang oli Presentation Outline Project objectives Design approach Implementation Results
More information/ M Morris Mano Digital Design Ahmad_911@hotmailcom / / / / wwwuqucscom Binary Systems Introduction - Digital Systems - The Conversion Between Numbering Systems - From Binary To Decimal - Octet To Decimal
More informationChapter 2. Review of Digital Systems Design
x 2-4 = 42.625. Chapter 2 Review of Digital Systems Design Numbering Systems Decimal number may be expressed as powers of 10. For example, consider a six digit decimal number 987654, which can be represented
More informationECE/Comp Sci 352 Digital Systems Fundamentals. Charles R. Kime Section 2 Fall Logic and Computer Design Fundamentals
University of Wisconsin - Madison ECE/Comp Sci 352 Digital Systems Fundamentals Charles R. Kime Section 2 Fall 2001 Lecture 5 Registers & Counters Part 2 Charles Kime Counters Counters are sequential circuits
More informationMAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI
MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI 6 DEPARTMENT: EEE QUESTION BANK SUBJECT NAME: DIGITAL LOGIC CIRCUITS SUBJECT CODE: EE55 SEMESTER IV UNIT : Design of Synchronous Sequential Circuits PART
More informationELEC Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10)
ELEC 2200-002 Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10) Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering
More informationCHW 261: Logic Design
CHW 26: Logic Design Instructors: Prof. Hala Zayed Dr. Ahmed Shalaby http://www.bu.edu.eg/staff/halazayed4 http://bu.edu.eg/staff/ahmedshalaby4# Slide Digital Fundamentals Digital Concepts Slide 2 What?
More informationECE 407 Computer Aided Design for Electronic Systems. Simulation. Instructor: Maria K. Michael. Overview
407 Computer Aided Design for Electronic Systems Simulation Instructor: Maria K. Michael Overview What is simulation? Design verification Modeling Levels Modeling circuits for simulation True-value simulation
More informationCprE 281: Digital Logic
CprE 28: Digital Logic Instructor: Alexander Stoytchev http://www.ece.iastate.edu/~alexs/classes/ Decoders and Encoders CprE 28: Digital Logic Iowa State University, Ames, IA Copyright Alexander Stoytchev
More informationCounters. We ll look at different kinds of counters and discuss how to build them
Counters We ll look at different kinds of counters and discuss how to build them These are not only examples of sequential analysis and design, but also real devices used in larger circuits 1 Introducing
More informationDigital Fundamentals
Digital Fundamentals Tenth Edition Floyd Chapter 9 Sections 9-1 thru 9-5 2009 Pearson Education, Upper 2008 Pearson Saddle River, Education NJ 07458. All Rights Reserved ET285 Agenda Week 2 Quiz 0: Covered
More informationCPE100: Digital Logic Design I
Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu CPE100: Digital Logic Design I Final Review http://www.ee.unlv.edu/~b1morris/cpe100/ 2 Logistics Tuesday Dec 12 th 13:00-15:00 (1-3pm) 2 hour
More informationProcessor Design & ALU Design
3/8/2 Processor Design A. Sahu CSE, IIT Guwahati Please be updated with http://jatinga.iitg.ernet.in/~asahu/c22/ Outline Components of CPU Register, Multiplexor, Decoder, / Adder, substractor, Varity of
More informationDepartment of Electrical & Electronics EE-333 DIGITAL SYSTEMS
Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS 1) Given the two binary numbers X = 1010100 and Y = 1000011, perform the subtraction (a) X -Y and (b) Y - X using 2's complements. a) X = 1010100
More informationDigital Circuits ECS 371
Digital Circuits ECS 371 Dr. Prapun Suksompong prapun@siit.tu.ac.th Lecture 18 Office Hours: BKD 3601-7 Monday 9:00-10:30, 1:30-3:30 Tuesday 10:30-11:30 1 Announcement Reading Assignment: Chapter 7: 7-1,
More informationCPE100: Digital Logic Design I
Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu CPE100: Digital Logic Design I Midterm02 Review http://www.ee.unlv.edu/~b1morris/cpe100/ 2 Logistics Thursday Nov. 16 th In normal lecture (13:00-14:15)
More informationSequential Circuits Sequential circuits combinational circuits state gate delay
Sequential Circuits Sequential circuits are those with memory, also called feedback. In this, they differ from combinational circuits, which have no memory. The stable output of a combinational circuit
More information