# "$ $ # %!"$!# &!'$("!)!"! $ # *!"! $ '!!$ #!!)! $ "# ' "

Similar documents
1. Convert the decimal number to binary, octal, and hexadecimal.

Computer Organization & Architecture Lecture #5

Lecture 11: Synchronous Sequential Logic

Final Exam review: chapter 4 and 5. Supplement 3 and 4

Introduction. Serial In - Serial Out Shift Registers (SISO)

1. a) For the circuit shown in figure 1.1, draw a truth table showing the output Q for all combinations of inputs A, B and C. [4] Figure 1.

ECE 301 Digital Electronics

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

ELE2120 Digital Circuits and Systems. Tutorial Note 8

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

CHAPTER1: Digital Logic Circuits

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

Flip-Flops and Sequential Circuit Design

Switching Circuits & Logic Design, Fall Final Examination (1/13/2012, 3:30pm~5:20pm)

UNIVERSITI TEKNOLOGI MALAYSIA

ECE 331 Digital System Design

ECE 301 Digital Electronics

RS flip-flop using NOR gate

We are here. Assembly Language. Processors Arithmetic Logic Units. Finite State Machines. Circuits Gates. Transistors

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

Logic Design II (17.342) Spring Lecture Outline

Synchronous sequential circuits

Logic Design. Flip Flops, Registers and Counters

Dr.Mohamed Elmahdy Winter 2015 Eng.Yasmin Mohamed. Problem Set 6. Analysis and Design of Clocked Sequential Circuits. Discussion: 7/11/ /11/2015

EE292: Fundamentals of ECE

Experiment 8 Introduction to Latches and Flip-Flops and registers

ELCT201: DIGITAL LOGIC DESIGN

1.b. Realize a 5-input NOR function using 2-input NOR gates only.

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 2 Logistics

Chapter. Synchronous Sequential Circuits

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

CHAPTER 4: Logic Circuits

Latches, Flip-Flops, and Registers. Dr. Ouiem Bchir

Registers and Counters

Find the equivalent decimal value for the given value Other number system to decimal ( Sample)

Asynchronous (Ripple) Counters

Registers and Counters

Counter dan Register

Counters

Lecture 8: Sequential Logic

The reduction in the number of flip-flops in a sequential circuit is referred to as the state-reduction problem.

Registers and Counters

ASYNCHRONOUS COUNTER CIRCUITS

CHAPTER 6 COUNTERS & REGISTERS

Chapter 2. Digital Circuits


CHAPTER 4: Logic Circuits

Experiment # 12. Traffic Light Controller

Logic Design II (17.342) Spring Lecture Outline

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

Chapter Contents. Appendix A: Digital Logic. Some Definitions

To design a sequential logic circuit using D-Flip-flop. To implement the designed circuit.

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 151) Pass Marks: 24

Part 4: Introduction to Sequential Logic. Basic Sequential structure. Positive-edge-triggered D flip-flop. Flip-flops classified by inputs

The University of Texas at Dallas Department of Computer Science CS 4141: Digital Systems Lab

Dr. Shahram Shirani COE2DI4 Midterm Test #2 Nov 19, 2008

CPSC 121: Models of Computation Lab #5: Flip-Flops and Frequency Division

Sequential Logic Circuits

Digital Design Datapath Components: Parallel Load Register

Serial In/Serial Left/Serial Out Operation

cs281: Introduction to Computer Systems Lab07 - Sequential Circuits II: Ant Brain

CS 151 Final. Instructions: Student ID. (Last Name) (First Name) Signature

Lecture 12. Amirali Baniasadi

Introduction to Microprocessor & Digital Logic

A Combined Combinational-Sequential System

Registers & Counters. Logic and Digital System Design - CS 303 Erkay Savaş Sabanci University

Unit-5 Sequential Circuits - 1

Chapter 6 Digital Circuit 6-5 Department of Mechanical Engineering

INC 253 Digital and electronics laboratory I

ECE 172 Digital Systems. Chapter 2.2 Review: Ring Counter, Johnson Counter. Herbert G. Mayer, PSU Status 7/14/2018

LATCHES & FLIP-FLOP. Chapter 7

Digital Logic Design I

Registers and Counters

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

EET2411 DIGITAL ELECTRONICS

Advanced Digital Logic Design EECS 303

MODULE 3. Combinational & Sequential logic

More design examples, state assignment and reduction. Page 1

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

Principles of Computer Architecture. Appendix A: Digital Logic

Review of digital electronics. Storage units Sequential circuits Counters Shifters

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited

CprE 281: Digital Logic

Microprocessor Design

EE 109 Homework 6 State Machine Design Name: Score:

Department of Electrical and Computer Engineering Mid-Term Examination Winter 2012

LAB #4 SEQUENTIAL LOGIC CIRCUIT

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

Chapter 5 Synchronous Sequential Logic

CPSC 121: Models of Computation Lab #5: Flip-Flops and Frequency Division

Digital Logic Design ENEE x. Lecture 19

Chapter 4. Logic Design

Memory elements. Topics. Memory element terminology. Variations in memory elements. Clock terminology. Memory element parameters. clock.

Sequential Logic. Analysis and Synthesis. Joseph Cavahagh Santa Clara University. r & Francis. TaylonSi Francis Group. , Boca.Raton London New York \

L5 Sequential Circuit Design

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

Sequential Digital Design. Laboratory Manual. Experiment #7. Counters

Transcription:

!" #!""! # "$ $ # %!"$!# &!'$("!)!"! $ # *!"! $ '!!$ #!!)! $ "# ' "

% &! # Design a combinational logic circuit 10:4 encoder which has a 10-bit input (D9 to D0) and a 4-bit output. If bit position i of input is 1 and all the other bit positions are 0, then the output will be i+2. For example, if the input (D9 to D0) is 0010000000, then the output will be 1010. (Note that D9 has the highest priority and D0 has the lowest priority). 2/12

%& A sequential circuit has two JK flip-flops A and B and one input x. The circuit is described by the following flip-flop input equations: J A = Ax K A = B' J B =B x K B = A # Derive the state equation A(t+1) and B(t+1). Draw the state diagram of the circuit. 3/12

!# Show what s the difference between Latch and Flip-flop '" # Draw state diagram of an elevator controller for a building with 25 floors. The controller has two inputs: UP and DOWN. It produces an output indicating the floor that the elevator is on. There is no floor 13, which is still a common architecture design technique. 4/12

# Design a circuit using D flip-flop for the state diagram in part (d). 5/12

% &( $ You are an engineer working for NASA. They want you to design a FSM that will test their newest rover Fido on the MIT campus. NASA wirelessly transmits the travel plans to Fido, and then Fido moves according to that information. To design your FSM, you first select the following locations around the MIT campus and assign each location with a state in 3-bit binary representation: Killian[000], Kresge[001], ZCenter[010], Syd-Pac[011], Student Center[100], Building 34[101], 6.111 Lab[110], and the StataCenter[111]. To simplify your test, you inform NASA to send Fido s FSM a binary sequence for travel plans(e.g. 1-0-0-0-1 to cause Fido to move five times). In other words, Fido receives either 0 or 1 for each move and travels to the next destination as specified below. Fido starts off at Killian Court for each test run, and your FSM should output Fido s current location. Killian [000]: If 0, stay at Killian. If 1, go to Kresge. Kresge [001]: If 0, go to Z-Center. If 1, go to Student Center. Z-Center [010]: If 0, go to Syd-Pac. If 1, go to Student Center. Syd-Pac [011]: If 0, stay at Syd-Pac. If 1, go to Killian. Student Center [100]: If 0, go to Stata Center. If 1, go to Building 34. Building 34 [101]: If 0, go to Syd-Pac. If 1, go to 6.111 Lab. 6.111 Lab [110]: If 0, go to Stata Center. If 1, stay at 6.111 Lab. Stata Center [111]: If 0, go to Kresge. If 1, go to Building 34. (a) Draw the state transition diagram for this FSM. Please use the back of an exam page for scratch space and make a neat copy of your final diagram below. # If Fido is forever given a sequence of ones (i.e. 11111 ), where will it eventually end up?!# If Fido is forever given a sequence of 01s (i.e. 010101 ), which location(s) will it never visit? 6/12

# Design a Circuit for the FSM in part (a) (note that the block diagram for Fido is given below) 7/12

% &( ) In many communication and networking systems, the signal transmitted on the communication line uses a non-return-to-zero (NRZ) format. USB uses a specific version referred to as non-return-to- zero inverted (NRZI). A circuit that converts any message sequence of 0 s and 1 s to a sequence in the NRZI format is to be designed. The mapping for such a circuit is as follows: (a) If the input message bit is a 0, then the output NRZI message contains an immediate change from 1 to 0, or 0 to 1, depending on the current NRZI value. (b) If the input message bit is a 1, then the output NRZI message remains fixed at 0 or 1, depending on the current NRZI value. For example, input Message: 10001110011010 Output NRZI message: 10100001000110 The input and output are serials. # Draw the FSM state diagram for the circuit. 8/12

9/12 # Implement it using D Flip-flops and logic gates.

Draw a state diagram for a recognizer that recognizes an input sequence 101001. It has an input X and output Y. The recognizer sets the output to 1 (Y = 1) for exactly one clock cycle if the last five values on the input X were 101001. Design the circuit for the above state diagram using T Flip-flop. 10/12

% &( * Design a 4 bit up-down counter with parallel load using the following control inputs: The counter has three control inputs for the three operations: up, down, and load 11/12

# Design a 4-bit register with 2 control inputs s1 and s0, 4 data external inputs I3, I2, I1, I0, and 4 data outputs Q3,Q2,Q1,Q0. If s1s0 = 00, it means maintain the present value, s1s0 = 01 means load, and s1s0 = 10 means if external input (I3I2I1I0) < (Q3Q2Q1Q0) maintain the same value (no change) else load external input. s1s0 = 11 means to rotate right by 1 bit, so 0101 would become 1010 and 1000 would become 0100. 12/12