Midterm Exam 15 points total. March 28, 2011

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

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

CHAPTER 4 RESULTS & DISCUSSION

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

EECS 270 Midterm 1 Exam Closed book portion Winter 2017

EECS 270 Midterm 2 Exam Closed book portion Fall 2014

ASYNCHRONOUS COUNTER CIRCUITS

Combinational Logic Design

CprE 281: Digital Logic

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

1. True/False Questions (10 x 1p each = 10p) (a) I forgot to write down my name and student ID number.

Logic Design Viva Question Bank Compiled By Channveer Patil

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

MODULE 3. Combinational & Sequential logic

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

Logic Design II (17.342) Spring Lecture Outline

CHAPTER 4: Logic Circuits

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

CS 110 Computer Architecture. Finite State Machines, Functional Units. Instructor: Sören Schwertfeger.

EECS 270 Group Homework 4 Due Friday. June half credit if turned in by June

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

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Multiplexor (aka MUX) An example, yet VERY useful circuit!

Computer Organization & Architecture Lecture #5

CprE 281: Digital Logic

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

CprE 281: Digital Logic

Asynchronous (Ripple) Counters

Long and Fast Up/Down Counters Pushpinder Kaur CHOUHAN 6 th Jan, 2003

CHAPTER 4: Logic Circuits

EECS 270 Midterm Exam Spring 2011

CprE 281: Digital Logic

High Performance Carry Chains for FPGAs

Counter dan Register

Chapter 8 Functions of Combinational Logic

Registers. Unit 12 Registers and Counters. Registers (D Flip-Flop based) Register Transfers (example not out of text) Accumulator Registers

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

WINTER 15 EXAMINATION Model Answer

R13 SET - 1 '' ''' '' ' '''' Code No: RT21053

Logic Design II (17.342) Spring Lecture Outline

Registers and Counters

Lecture 8: Sequential Logic

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

CS/ECE 250: Computer Architecture. Basics of Logic Design: ALU, Storage, Tristate. Benjamin Lee

REPEAT EXAMINATIONS 2002

Lab #10 Hexadecimal-to-Seven-Segment Decoder, 4-bit Adder-Subtractor and Shift Register. Fall 2017

Experiment 8 Introduction to Latches and Flip-Flops and registers

University of Pennsylvania Department of Electrical and Systems Engineering. Digital Design Laboratory. Lab8 Calculator

Design and Implementation of High Speed 256-Bit Modified Square Root Carry Select Adder

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

Digital Electronics II 2016 Imperial College London Page 1 of 8

More Digital Circuits

FUNCTIONS OF COMBINATIONAL LOGIC

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

12-bit Wallace Tree Multiplier CMPEN 411 Final Report Matthew Poremba 5/1/2009

R13. II B. Tech I Semester Regular Examinations, Jan DIGITAL LOGIC DESIGN (Com. to CSE, IT) PART-A

Half-Adders. Ch.5 Summary. Chapter 5. Thomas L. Floyd

Chapter 5 Sequential Circuits

MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL

IT T35 Digital system desigm y - ii /s - iii

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

Computer Architecture and Organization

DALHOUSIE UNIVERSITY Department of Electrical & Computer Engineering Digital Circuits - ECED 220. Experiment 4 - Latches and Flip-Flops

BCN1043. By Dr. Mritha Ramalingam. Faculty of Computer Systems & Software Engineering

Implementation of Low Power and Area Efficient Carry Select Adder

CprE 281: Digital Logic

Contents Circuits... 1

Computer Systems Architecture

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

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

6.S084 Tutorial Problems L05 Sequential Circuits

TYPICAL QUESTIONS & ANSWERS

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

ENGG2410: Digital Design Lab 5: Modular Designs and Hierarchy Using VHDL

Registers and Counters

REPEAT EXAMINATIONS 2004 SOLUTIONS

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

SEMESTER ONE EXAMINATIONS 2002

Chapter Contents. Appendix A: Digital Logic. Some Definitions

CHAPTER 11 LATCHES AND FLIP-FLOPS

Counters

Sequential logic. Circuits with feedback. How to control feedback? Sequential circuits. Timing methodologies. Basic registers

CprE 281: Digital Logic

Fall 2000 Chapter 5 Part 1

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences

Efficient Architecture for Flexible Prescaler Using Multimodulo Prescaler

CSE 352 Laboratory Assignment 3

VLSI Technology used in Auto-Scan Delay Testing Design For Bench Mark Circuits

Modeling Digital Systems with Verilog

Page 1) 7 points Page 2) 16 points Page 3) 22 points Page 4) 21 points Page 5) 22 points Page 6) 12 points. TOTAL out of 100

AC103/AT103 ANALOG & DIGITAL ELECTRONICS JUN 2015

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

Registers and Counters

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

Digital Circuits I and II Nov. 17, 1999

Principles of Computer Architecture. Appendix A: Digital Logic

Logic Design. Flip Flops, Registers and Counters

Transcription:

Midterm Exam 15 points total March 28, 2011 Part I Analytical Problems 1. (1.5 points) A. Convert to decimal, compare, and arrange in ascending order the following numbers encoded using various binary signed number representations: a. 11011011.1101 SM b. 01011011.1101 OC c. 11011011.1101 TC d. 01011011.1101 B Notation: SM - signed magnitude representation, OC - one s complement representation, TC - two s complement representation, B - biased representation with the bias B=2 7 = 128. B. Extend all of the above representations to the equivalent representations with 12 bits in the integer part and 8 bits in the fractional part. 2. (1.5 points) Determine all bits of the ANSI/IEEE standard single-precision representation of the following numbers: a. -.DDDDDD 16 16-32 b. ABC.DDDDDD 16 16-3 c. smallest positive ordinary number + largest positive ordinary number d. smallest positive denormal largest positive ordinary number Hint: Use the default IEEE rounding scheme whenever appropriate.

3. (1.5 points) Arrange the listed below signals in the order they are generated within a 16-bit Hybrid Carry-Lookahead/Carry-Select Adder, shown in the diagram below: For each signal calculate the time when this signal becomes stable for arbitrary values of inputs, assuming that all inputs change at the time 0. Assume that The adder is built out of AND, OR, and XOR gates with up to 5 inputs, and the delays of all these gates are equal. A. s 7 B. p [11, 8] C. c out D. c 8 E. s 10 F. g [7, ]

Part II Design Problems (3.5 points for each problem) 1. Draw full block diagrams of a. 8-bit Hybrid Brent-Kung/Kogge-Stone Parallel Prefix Network Adder, and b. 8-bit Conditional Sum Adder. Using these diagrams, show all intermediate values in each node of each adder when performing the operation X + Y + c 0 for the following values of inputs: X = 10110110 Y = 11001011 c 0 = 1 Verify that the obtained result, including cout = c 8, is correct and the same for both adders. 2. Design and compare the following two circuits: a. k-bit ripple-carry incrementer (RCI), and b. k-bit digit-serial incrementer (DSI) with the digit size d. Assume that all inputs, including control inputs, are registered (outside of your circuit). delays of all gates are independent of the number of inputs, and are equal to the delay of an inverter. Thus, you can assume that the delay of each gate and inverter is equal to 1. area of each gate is proportional to the number of inputs. For example, area of a 2-input gate is equal to the area of 2 inverters. Assume that the area of an inverter is equal to 1, area of a 2-input gate is equal to 2, etc. area of a D flip-flop is equal to 12, its clock-to-output delay is equal to 2, and its setup time is equal to 1. do not include the areas of the surrounding input and output registers in your computations. Perform the following tasks: a. Draw a block diagram of each circuit using medium level components, such as multiplexers, half-adders, modified half-adders, full-adders, flip-flops, etc. b. Draw a detailed schematic of all combinational components of your circuits (no schematic required for a flip-flop). c. Determine areas and delays of all combinational components of your circuit. d. Determine general formulae for the Clock Period (T), Latency (L), and Area (A) of each incrementer as a function of k and d. e. Derive formulae for the following ratios L DSI (k,d)/l RCI (k) A RCI (k)/a DSI (k,d) L RCI (k)*a RCI (k)/ L DSI (k,d)*a DSI (k,d). f. Calculate values of the above ratios for k=32, 6, 128 and d=8. Warning: Please note that using corresponding adders (i.e., ripple carry adder and digit serial adder) instead of incrementers will be treated as a highly inefficient solution, and may result in receiving zero points for this problem.

3. Design a circuit that calculates an average of 16 unsigned -bit numbers. The circuit accepts four operands (V, X, Y, Z) in the first clock cycle, and three operands (X, Y, Z) in the following four clock cycles. This averaging circuit is specified below using its pseudocode and block diagram. Pseudocode sum = 0 for i = 0 to do if i = 0 then sum = V + X + Y + Z else sum = sum + X + Y + Z end if end for average = sum / 2 Top-level Block Diagram "0000" & V 8 8 0 1 w clk X Y Z first x y z MADD s Reg >> 8 sum reset average

Design and analyze the multi-operand adder MADD being a part of this circuit. In order to do that, please perform the following tasks: a. Draw the dot diagram of the operations performed by MADD. b. Draw a block diagram of MADD using medium level components, such as full-adders and half-adders. c. Clearly mark names and indices of all signals in your schematic, using notation such as x 0, w 1, s1 0, c1 3, etc. d. Determine the minimum number of -input Look-Up Tables (LUTs) necessary to implement this circuit using Xilinx Spartan 3 devices, assuming that Full adders within Carry Save Adders are implemented using LUTs only. Full adders within a Carry Propagate Adder and half-adders within both types of adders are implemented using fast carry chain logic (LUT + 2-to-1 MUX + XOR gate). Bonus (1 point): Determine the critical path and delay of this circuit assuming that the delay of a LUT is 1 ns, the delay of a fast-carry-chain MUX is 0.1 ns from carry in to carry out, and 0.25 ns from the select signal to carry out, and the delay of a fast-carry-chain XOR gate is 0.25 ns delays of interconnects should be neglected in your computations.