מבנה המחשב - מבוא למחשבים ספרתיים Synchronous Circuits.

Slides:



Advertisements
Similar presentations
COUNTERS Counters with Inputs Kinds of Counters Asynchronous vs
Advertisements

Sequential Circuits Storage elements
State-machine structure (Mealy)
TOPIC : Finite State Machine(FSM) and Flow Tables UNIT 1 : Modeling Module 1.4 : Modeling Sequential circuits.
Flip-Flops and Related Devices Wen-Hung Liao, Ph.D.
1 Chapter 8 Flip-Flops and Related Devices. 2 Figure 8--1 Two versions of SET-RESET (S-R) latches S-R (Set-Reset) Latch.
K-Maps, Timing Sequential Circuits: Latches & Flip-Flops Lecture 4 Digital Design and Computer Architecture Harris & Harris Morgan Kaufmann / Elsevier,
Computing Machinery Chapter 5: Sequential Circuits.
1 Sequential Circuits Dr. Pang. 2 Outline Introduction to sequential circuits Basic latch Gated SR latch and gated D latch D flip-flop, T flip-flop, JK.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Ch 8. Sequential logic design practices 1. Documentation standards ▶ general requirements : signal name, logic symbol, schematic logic - state machine.
CS 151 Digital Systems Design Lecture 21 Analyzing Sequential Circuits.
How Computers Work Lecture 6 Page 1 How Computers Work Lecture 6 Finite State Machines.
COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf of Monash University.
CSE 140L Lecture 4 Flip-Flops, Shifters and Counters Professor CK Cheng CSE Dept. UC San Diego.
Flip-Flops מבנה המחשב + מבוא למחשבים ספרתיים תרגול 10#
Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Chapter #7: Sequential Logic Case Studies 7.1, 7.2 Counters.
Embedded Systems Hardware:
CONT(MUX) PD(MUX) 11.4 : Clock enabled edge-triggered flip-flop.
Embedded Systems Hardware: Storage Elements; Finite State Machines; Sequential Logic.
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
מבנה מחשב – מבוא למחשבים ספרתיים Encoders, Decoders & Shifters תרגול מספר 5.
CS 140L Lecture 4 Professor CK Cheng 10/22/02. 1)F-F 2)Shift register 3)Counter (Asynchronous) 4)Counter (Synchronous)
Sequential logic and systems
Counters.
Circuit, State Diagram, State Table
Sequential Circuits. Combinational Circuits + Storage element output depends both on previous state and input Fig. 5-1.
CS1104 – Computer Organization Aaron Tan Tuck Choy School of Computing National University.
State Machines.
Introduction to Sequential Circuit By : Pn Siti Nor Diana Ismail CHAPTER 5.
Introduction to Sequential Logic Design Finite State-Machine Design.
Counters Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty of Information Technology The Islamic University.
BZUPAGES.COM1 Chapter 9 Counters. BZUPAGES.COM2 BzuPages.COM Please share your assignments/lectures & Presentation Slides on bzupages which can help your.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
REGISTER A register is a group of flip-flops. Each flip- flop is capable of storing one bit of informa­ tion. An n-bit register consists of a group of.
Module : FSM Topic : types of FSM. Two types of FSM The instant of transition from the present to the next can be completely controlled by a clock; additionally,
1.8 Binary Storage and Registers
CHAPTER 8 - COUNTER -.
Fall 2004EE 3563 Digital Systems Design EE3563 Chapter 7, 8, 10 Reading Assignments  7.1, 7.2, 7.3  8.1, ,   8.5.1, 8.5.2,
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Latches & Flip-Flops.
Digital Logic Design.
ANALYSIS OF SEQUENTIAL CIRCUITS by Dr. Amin Danial Asham.
CHAPTER 6 Sequential Circuits’ Analysis CHAPTER 6 Sequential Circuits’ Analysis Sichuan University Software College.
Sequential Circuit: Analysis BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Analysis and Synthesis of Synchronous Sequential Circuits A “synchronizing” pulse/edge signal (clock) controls the operation of the memory portion of the.
CEC 220 Digital Circuit Design Timing Analysis of State Machines
Registers; State Machines Analysis Section 7-1 Section 5-4.
1 Synchronous Sequential Logic Sequential Circuits Every digital system is likely to have combinational circuits, most systems encountered in practice.
CEC 220 Digital Circuit Design Latches and Flip-Flops Monday, March 03 CEC 220 Digital Circuit Design Slide 1 of 19.
CEC 220 Digital Circuit Design Mealy and Moore State Machines Friday, March 27 CEC 220 Digital Circuit Design Slide 1 of 16.
1 COMP541 Sequential Logic Timing Montek Singh Sep 30, 2015.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 6 – Part 4.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
AND Gate Inputs Output Input A (Switch) Input B (Switch) Output Y (Lamp) 0 (Open) 0 (OFF) A B Lamp.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
Dept. of Electrical Engineering
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 13 Edge-Triggered FF Operation.
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
Govt. Engineering College- Gandhinagar. It is all about……  STATE MACHINE.
Mealy and Moore Machines Lecture 8 Overview Moore Machines Mealy Machines Sequential Circuits.
1 Lecture 3: Modeling Sequential Logic in Verilog HDL.
Lecture 15 Sequential Circuit Design
Introduction to Sequential Logic Design
Sequential Logic Counters and Registers
Learning Outcome By the end of this chapter, students are expected to refresh their knowledge on sequential logic related to HDL.
FIGURE 5.1 Block diagram of sequential circuit
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Presentation transcript:

מבנה המחשב - מבוא למחשבים ספרתיים Synchronous Circuits

Question Circuit Analysis Comb. Logic ANDD FF Q CLK

Question Circuit Analysis CLK case #1 – negative setup time t i-1 titi CiCi Logic Q D Not stableStable

Question Circuit Analysis CLK case #1 – negative setup time t i-1 titi CiCi Logic Q D Not stableStable

Question Circuit Analysis CLK case #2 – positive setup time t i-1 titi CiCi Logic Q D Not stableStable CiCi

Question Circuit Analysis CLK case #2 – positive setup time t i-1 titi CiCi Logic Q D Not stableStable CiCi

The Marvelous Toy

Toy Design Identifying system states Identifying state transitions and deciding on Moore or Mealy model Detailing the state machine transition and output functions The combinational circuits The Canonic circuit Clock rate calculation

Toy System States Only the three switching elements keep state. Each has a binary state: Left or Right We can model the state of every switch by a single bit. Convention: 0=Left, 1=Right The total number of states: 2 3 = 8

State Diagram 000

State Diagram /0 1/0 X is Left Z is Left Y is Left Enter from Left Out from Left Swap X Enter from Right Out from Left Swap Y & Z

State Diagram /0 1/ /0 1/0

State Diagram /0 1/ /0 1/ /0 1/1 Enter Right Out Right Swap Y&Z

State Diagram /0 1/ /0 1/ /0 1/1 0/11/1

State Diagram /0 1/ /0 1/ /0 1/1 0/11/1 0/1 1/1

State Diagram /0 1/ /0 1/ /0 1/1 0/11/1 0/1 1/1 0/0 1/1

State Diagram /0 1/ /0 1/ /0 1/1 0/11/1 0/1 1/1 0/0 1/1 0/0 1/1

State Diagram /0 1/ /0 1/ /0 1/1 0/11/1 0/1 1/1 0/0 1/1 0/0 1/1 0/0 1/1

Output Function Y=0 I=0 Y=0 I=1 Y=1 I=1 Y=1 I=0 X=0 Z= X=0 Z= X=1 Z= X=1 Z=0 0010

Output Function Output = YI + XZ + ZI (This is λ) This circuit has 3 AND(2) in parallel, and then an OR(3) No NOT gates. Delay = D(AND)+2*D(OR) –Assuming we use OR(2) only

The Next State Function of X /0 1/ /0 1/ /0 1/1 0/11/1 0/1 1/1 0/0 1/1 0/0 1/1 0/0 1/1

Next State Function for X Y=0 I=0 Y=0 I=1 Y=1 I=1 Y=1 I=0 X=0 Z= X=0 Z= X=1 Z= X=1 Z=0 0110

X Next State Function X = X’I’+XI (This is part of δ) This circuit has: –2 negations in parallel –2 AND(2) in parallel, –and then an OR(2) Delay = D(NOT)+D(AND)+D(OR)

The Canonic Circuit State Register Next State Circuit δ Output Circuit λ Input {0,1} Next State {0,1} 3 State {0,1} 3 Output {0,1}

Stripping away the Flip-Flops Next State Circuit δ Output Circuit λ Input {0,1} Next State {0,1} 3 State {0,1} 3 Output {0,1} D-portQ-port

Attaching Delay Next State Circuit pd(δ) Output Circuit pd(λ) Input {0,1} Next State {0,1} 3 State {0,1} 3 Output {0,1} D-portQ-port t pd pd(IN) setup(OUT) t su

Finding the Clock Rate Next State Circuit pd(δ) Output Circuit pd(λ) Input {0,1} Next State {0,1} 3 State {0,1} 3 Output {0,1} D-portQ-port t pd pd(IN) setup(OUT) t su

The Clock Rate We are done!