EE 109L Final Review

Similar documents
EE 109L Review. Name: Solutions

Question Total Possible Test Score Total 100

ECE 341 Midterm Exam

ECE 2030D Computer Engineering Spring problems, 5 pages Exam Two 8 March 2012

Code No: R Set No. 1

R07

ECE 341 Midterm Exam

Final Exam Solution Sunday, December 15, 10:05-12:05 PM

R10. II B. Tech I Semester, Supplementary Examinations, May

Injntu.com Injntu.com Injntu.com R16

HANSABA COLLEGE OF ENGINEERING & TECHNOLOGY (098) SUBJECT: DIGITAL ELECTRONICS ( ) Assignment

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences. Spring 2010 May 10, 2010

Digital Fundamentals. Lab 6 2 s Complement / Digital Calculator

BUILDING BLOCKS OF A BASIC MICROPROCESSOR. Part 1 PowerPoint Format of Lecture 3 of Book

ECE 2300 Digital Logic & Computer Organization. More Sequential Logic Verilog

COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK SUBJECT CODE & NAME: EC 1312 DIGITAL LOGIC CIRCUITS UNIT I

Digital Circuit Design and Language. Datapath Design. Chang, Ik Joon Kyunghee University

Scheme G. Sample Test Paper-I

EE 109 Unit 6 Binary Arithmetic

END-TERM EXAMINATION

Principles of Digital Techniques PDT (17320) Assignment No State advantages of digital system over analog system.

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

Logic design Ibn Al Haitham collage /Computer science Eng. Sameer

University of Toronto Mississauga. Flip to the back cover and write down your name and student number.

Hours / 100 Marks Seat No.

Mark Redekopp, All rights reserved. EE 352 Unit 8. HW Constructs

Introduction to Digital Logic Using Logisim

CS & IT Conversions. Magnitude 10,000 1,

Operations On Data CHAPTER 4. (Solutions to Odd-Numbered Problems) Review Questions

University of Technology

A complement number system is used to represent positive and negative integers. A complement number system is based on a fixed length representation

Code No: R Set No. 1

Digital Logic Design Exercises. Assignment 1

Semester Transition Point. EE 109 Unit 11 Binary Arithmetic. Binary Arithmetic ARITHMETIC

CSE 140L Final Exam. Prof. Tajana Simunic Rosing. Spring 2008

ECE 2030B 1:00pm Computer Engineering Spring problems, 5 pages Exam Two 10 March 2010

problem maximum score 1 10pts 2 8pts 3 10pts 4 12pts 5 7pts 6 7pts 7 7pts 8 17pts 9 22pts total 100pts

11/22/1999 7pm - 9pm. Name: Login Name: Preceptor Name: Precept Number:

Code No: R Set No. 1

Digital Design with FPGAs. By Neeraj Kulkarni

One and a half hours. Section A is COMPULSORY UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK NAME OF THE SUBJECT: EE 2255 DIGITAL LOGIC CIRCUITS

Computer Organisation CS303

CS/COE 0447 Example Problems for Exam 2 Spring 2011

ECE 331: N0. Professor Andrew Mason Michigan State University. Opening Remarks

NADAR SARASWATHI COLLEGE OF ENGINEERING AND TECHNOLOGY Vadapudupatti, Theni

Written exam for IE1204/5 Digital Design Thursday 29/

2015 Paper E2.1: Digital Electronics II

EXPERIMENT #8: BINARY ARITHMETIC OPERATIONS

FPGA Design Challenge :Techkriti 14 Digital Design using Verilog Part 1

Philadelphia University Student Name: Student Number:

Real Digital Problem Set #6

Final Examination (Open Katz, asynchronous & test notes only, Calculators OK, 3 hours)

The Need of Datapath or Register Transfer Logic. Number 1 Number 2 Number 3 Number 4. Numbers from 1 to million. Register

CMPE 413/ CMSC 711. Project Specification: 16 bit 2 s complement Adder and 8 bit 2 s complement multiplier. GND. Input bus. Latches I[8]-I[15]

EECS150, Fall 2004, Midterm 1, Prof. Culler. Problem 1 (15 points) 1.a. Circle the gate-level circuits that DO NOT implement a Boolean AND function.

6.1 Combinational Circuits. George Boole ( ) Claude Shannon ( )

Verilog 1 - Fundamentals

Microcomputers. Outline. Number Systems and Digital Logic Review

E40M. Binary Numbers, Codes. M. Horowitz, J. Plummer, R. Howe 1

(ii) Simplify and implement the following SOP function using NOR gates:

Hours / 100 Marks Seat No.

Number System. Introduction. Decimal Numbers

REGISTER TRANSFER LANGUAGE

ECE20B, Spring Final Exam lab questions.

EECS150 Homework 2 Solutions Fall ) CLD2 problem 2.2. Page 1 of 15

CHAPTER SIX BASIC COMPUTER ORGANIZATION AND DESIGN

B.Tech II Year I Semester (R13) Regular Examinations December 2014 DIGITAL LOGIC DESIGN

SIR C.R.REDDY COLLEGE OF ENGINEERING, ELURU DEPARTMENT OF INFORMATION TECHNOLOGY LESSON PLAN

Chapter 5 Registers & Counters

CHAPTER 4: Register Transfer Language and Microoperations

IA Digital Electronics - Supervision I

CS 202: Introduction to Computation Fall 2010: Exam #1

CSE 140L Final Exam. Prof. Tajana Simunic Rosing. Spring 2008

Student Number: UTORid: Question 0. [1 mark] Read and follow all instructions on this page, and fill in all fields.

1. Draw general diagram of computer showing different logical components (3)

R a) Simplify the logic functions from binary to seven segment display code converter (8M) b) Simplify the following using Tabular method

ENEL 353: Digital Circuits Midterm Examination

DE Solution Set QP Code : 00904

ENEE 245 Lab 1 Report Rubrics

6.1 Combinational Circuits. George Boole ( ) Claude Shannon ( )

a, b sum module add32 sum vector bus sum[31:0] sum[0] sum[31]. sum[7:0] sum sum overflow module add32_carry assign

Department of Electrical Engineering McGill University ECSE 221 Introduction to Computer Engineering Assignment 2 Combinational Logic

Computer architecture Assignment 3

Assembly Language for Intel-Based Computers, 4 th Edition. Chapter 1: Basic Concepts. Chapter Overview. Welcome to Assembly Language

DIGITAL ARITHMETIC: OPERATIONS AND CIRCUITS

Number Systems. Readings: , Problem: Implement simple pocket calculator Need: Display, adders & subtractors, inputs

CONCORDIA UNIVERSITY Department of Computer Science and Software Engineering COMP 228/4 Section PP Midterm Exam

Course Batch Semester Subject Code Subject Name. B.E-Marine Engineering B.E- ME-16 III UBEE307 Integrated Circuits

2. (a) Compare the characteristics of a floppy disk and a hard disk. (b) Discuss in detail memory interleaving. [8+7]

ELCT 501: Digital System Design

CS2630: Computer Organization Homework 1 Bits, bytes, and memory organization Due January 25, 2017, 11:59pm

N-input EX-NOR gate. N-output inverter. N-input NOR gate

SHRI ANGALAMMAN COLLEGE OF ENGINEERING. (An ISO 9001:2008 Certified Institution) SIRUGANOOR, TIRUCHIRAPPALLI

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE)

Computer Architecture: Part III. First Semester 2013 Department of Computer Science Faculty of Science Chiang Mai University

PART A (22 Marks) 2. a) Briefly write about r's complement and (r-1)'s complement. [8] b) Explain any two ways of adding decimal numbers.

Combinational and sequential circuits (learned in Chapters 1 and 2) can be used to create simple digital systems.

Chapter 3: Number Systems and Codes. Textbook: Petruzella, Frank D., Programmable Logic Controllers. McGraw Hill Companies Inc.

Transcription:

EE 09L Final Review Name: Closed Book / Score:. Short Answer (6 pts.) a. Storing temporary values in (memory / registers) is preferred due to the (increased / decreased) access time. b. True / False: A circuit whose VOL value is V can successfully communicate a logic '0' to a circuit whose VIL is 0.5 V? c. A family of circuits have IOH=-2 ma, IOL = ma, IIH = -0.2 ma and IIL = 0.25 ma. How many other inputs can a single output be successfully wired to ensure operation in any condition? d. The address bus of a new computer is 38-bits wide, approximately how many bytes of memory and I/O locations can the computer address? Show any work. 2. Integer Operations (2 pts). Perform the following hexadecimal operations and state whether OVerflow occurred. For subtraction, find the complement and add. a.) C 5 A 0-6 8 B E b.) F B 4 B + 9 F 3 5 signed ov: y /n signed ov: y /n unsigned ov: y /n unsigned ov: y /n

3. Adders (0 pts.) Build a circuit that takes three, 3-bit unsigned numbers, X[2:0], Y[2:0], and Z[2:0], as input and produces an output F = X + 4Y + 4Z. Note: In binary, multiplying by 40 = 002 simply requires appending two 0's to the end of the number just as in decimal, multiplying by 00 just means adding two 0's (i.e. 937*00 = 93700 in decimal). a.) How many bits are required for F? (2 pts.) b.) The columns of addition are shown below. Implement the addition using a minimal number of 74LS283 4-bit adders. One has been drawn below. Add more as necessary. (8 pts.) x2 x x0 y2 y y0 0 0 + z2 z z0 0 0 B3 A3 B2 A2 B A B0 A0 4-bit Binary Adder (74LS283) C0 C4 S3 S2 S S0

4. State Machine Design (Down Counter w/ Restart): Design a synchronous state machine circuit that implements a 2-bit down counter (i.e. counts, 0, 0, 00, ). The circuit has an external input, R (RESTART), that when should force the counter back to the state no matter what the current state is. As long as R stays, the counter should stay in the state. The circuit should also have one output Z. Z= when in the 00 state and 0 otherwise. Let us use 4 states: S3 (initial state on reset) The count should be 2 = 30 S2 The count should be 02 = 20 S The count should be 02 = 0 S0 The count should be 002 = 00 a.) Complete the state diagram below by filling in all necessary transitions and the values of Z. On Reset (power on) R = 0 S3 0 S2 S S0 R = b.) What is the minimum number of flip-flops required to implement this state machine? c.) Complete the state transition/output table given below. (Note: We have provided the state assignment already). We have ordered the states in such a way to use gray code ordering, so take care when translating your state diagram to the transition/output table. Current State Next State Output R=0 R= State QQ0 State Q*Q0* State Q*Q0* Z S0 0 0 S 0 S3 S2 0

d.) Assume we will implement our circuit using D Flip-Flops. Use the K-Maps below to find minimal expressions for D, D0, and Z. D Map D0 Map Z Map R Q Q 0 00 0 R Q Q 0 00 0 Q Q 0 0 0 2 0 0 0 3 0 0 D = D0 = e.) Show how to implement the initial state (power-on/reset state) by connecting the PRE (PRESET) and CLR inputs of the FF s appropriately. Assume the signal /RESET is available to you. You do not need to implement the next-state or output-function logic. D0 PRE D Q Q CLR /Q0 Q0 D PRE D Q Q CLR /Q Q CLK

f.) Using your design above draw the waveform for the sequence of states that the machine will go through and what the output will be for the given input sequence of X. Remember you are using positive edge-triggered devices. CLK RESET R Q 0 Q Z 5. True / False a.) A 4-to- multiplexer requires at least 4 select lines: true / false b.) 3 separate 2-to- muxes can be used to build a single 4-to- mux: true / false c.) 5 flip-flops are required to implement a state machine with 5 states: true / false d.) In binary, performing X-Y can be performed by adding X to the 2 s complement of Y: true / false

6. Design a circuit takes a 2-bit, unsigned number A=(AA0) and a -bit, unsigned number B=(B0) as input and produces the output C = A B represented in the 2 s complement system. (25 pts.) a.) Complete the block diagram of this circuit by showing and labeling the inputs and outputs. Think how many output bits are required. (2 pts.) b.) Write out a truth table for this circuit. (8 pts.) c.) Find the minimal SOP expression for each bit of output by using the 3 K-Maps furnished below. Make sure to add the variable labels for the axes of each K-Map and add your gray code. Clearly indicate the minimal expressions you find for each output. (2 pts.)