Exercises: Fundamentals of Computer Engineering 1 PAGE: 1

Similar documents
EECS 150 Homework 4 Solutions Fall 2008

IES Digital Mock Test

logic system Outputs The addition of feedback means that the state of the circuit may change with time; it is sequential. logic system Outputs

DIGITAL ELECTRONICS QUESTION BANK

ANALOGUE AND DIGITAL ELECTRONICS STUDENT S WORKBOOK U3: DIGITAL ELECTRONICS

Department of Electronics and Communication Engineering

LOGIC DIAGRAM: HALF ADDER TRUTH TABLE: A B CARRY SUM. 2012/ODD/III/ECE/DE/LM Page No. 1

CS302 - Digital Logic Design Glossary By

COMPUTER ORGANIZATION & ARCHITECTURE DIGITAL LOGIC CSCD211- DEPARTMENT OF COMPUTER SCIENCE, UNIVERSITY OF GHANA

DIGITAL CIRCUITS AND SYSTEMS ASSIGNMENTS 1 SOLUTIONS

Number system: the system used to count discrete units is called number. Decimal system: the number system that contains 10 distinguished

SRV ENGINEERING COLLEGE SEMBODAI RUKMANI VARATHARAJAN ENGINEERING COLLEGE SEMBODAI


LIST OF EXPERIMENTS. KCTCET/ /Odd/3rd/ETE/CSE/LM

Dr. Nicola Nicolici COE/EE2DI4 Midterm Test #1 Oct 18, 2006

GATE Online Free Material

Electronics. Digital Electronics

Chapter 5 Sequential Logic Circuits Part II Hiroaki Kobayashi 7/11/2011

Digital Logic Circuits

Logic Design I (17.341) Fall Lecture Outline

Chapter 4: FLIP FLOPS. (Sequential Circuits) By: Siti Sabariah Hj. Salihin ELECTRICAL ENGINEERING DEPARTMENT EE 202 : DIGITAL ELECTRONICS 1

Linear & Digital IC Applications (BRIDGE COURSE)

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) SUMMER-16 EXAMINATION Model Answer

UNIT-IV Combinational Logic

Written exam IE1204/5 Digital Design Friday 13/

Brought to you by. Priti Srinivas Sajja. PS01CMCA02 Course Content. Tutorial Practice Material. Acknowldgement References. Website pritisajja.

Logic Circuit Design

COLLEGE OF ENGINEERING, NASIK

Course Outline Cover Page

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING SEMESTER TWO EXAMINATION 2017/2018

Analog to digital and digital to analog converters

0 0 Q Q Q Q

UNIT II: Clocked Synchronous Sequential Circuits. CpE 411 Advanced Logic Circuits Design 1

EEE 301 Digital Electronics

R.B.V.R.R. WOMEN S COLLEGE (AUTONOMOUS) Narayanaguda, Hyderabad. ELECTRONIC PRINCIPLES AND APPLICATIONS

Chapter 3 Digital Logic Structures

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

Unit level 4 Credit value 15. Introduction. Learning Outcomes

Project Board Game Counter: Digital

Lecture 02: Digital Logic Review

DIGITAL LOGIC CIRCUITS

CHAPTER 3 BASIC & COMBINATIONAL LOGIC CIRCUIT

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

ELECTRONIC CIRCUITS. Time: Three Hours Maximum Marks: 100

Asst. Prof. Thavatchai Tayjasanant, PhD. Power System Research Lab 12 th Floor, Building 4 Tel: (02)

(CSC-3501) Lecture 6 (31 Jan 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

NUMBER SYSTEM AND CODES

Objective Questions. (a) Light (b) Temperature (c) Sound (d) all of these

EXPERIMENT NO 1 TRUTH TABLE (1)

Combinational Circuits DC-IV (Part I) Notes

Data Logger by Carsten Kristiansen Napier University. November 2004

On Built-In Self-Test for Adders

Chapter 1 Binary Systems

Practical Workbook Logic Design & Switching Theory

Winter 14 EXAMINATION Subject Code: Model Answer P a g e 1/28

Unit 3. Logic Design

DIGITAL LOGIC COMPUTER SCIENCE

Aim. Lecture 1: Overview Digital Concepts. Objectives. 15 Lectures

EXPERIMENT 12: DIGITAL LOGIC CIRCUITS

Paper No. Name of the Paper Theory marks Practical marks Periods per week Semester-I I Semiconductor

Chapter 5 Sequential Logic Circuits Part II Hiroaki Kobayashi 6/30/2008

ELECTRONICS AND COMMUNICATION ENGINEERING

Module -18 Flip flops

UNIT III. Designing Combinatorial Circuits. Adders

4:Combinational logic circuits. 3 July

Syllabus: Digital Electronics (DE) (Project Lead The Way)

Fan in: The number of inputs of a logic gate can handle.

Module 4: Design and Analysis of Combinational Circuits 1. Module-4. Design and Analysis of Combinational Circuits

CMOS Digital Integrated Circuits Lec 11 Sequential CMOS Logic Circuits

Laboratory Manual CS (P) Digital Systems Lab

ELECTRONICS ADVANCED SUPPLEMENTARY LEVEL

Digital Electronics. A. I can list five basic safety rules for electronics. B. I can properly display large and small numbers in proper notation,

! Sequential Logic. ! Timing Hazards. ! Dynamic Logic. ! Add state elements (registers, latches) ! Compute. " From state elements

Experiment # 3 Combinational Circuits (I) Binary Addition and Subtraction

Java Bread Board Introductory Digital Electronics Exercise 2, Page 1

2 Building Blocks. There is often the need to compare two binary values.

Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates

UC Berkeley CS61C : Machine Structures

In this lecture: Lecture 3: Basic Logic Gates & Boolean Expressions

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

R09. 1.a) State and explain Kirchoff s laws. b) In the circuit given below Figure 1 find the current through 5 Ω resistor. [7+8] FIRSTRANKER.

DARSHAN INSTITUTE OF ENGINEERING & TECHNOLOGY

Code No: R Set No. 1

Gates and Circuits 1

THE INTERNATIONAL JOURNAL OF SCIENCE & TECHNOLEDGE

Logic diagram: a graphical representation of a circuit

Frequently Asked Questions GE6252 BEEE UNIT I ELECTRICAL CIRCUITS AND MEASUREMENTS

E-Tec Module Part No

Lab #10: Finite State Machine Design

ENGIN 112 Intro to Electrical and Computer Engineering

2 Logic Gates THE INVERTER. A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs.

UC Berkeley CS61C : Machine Structures

Electronic Instrumentation

Computer Systems and Networks. ECPE 170 Jeff Shafer University of the Pacific. Digital Logic

Digital Applications (CETT 1415) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite: CETT 1403 & CETT 1405

Low Power VLSI CMOS Design. An Image Processing Chip for RGB to HSI Conversion

Digital Electronics Course Objectives

CHAPTER 5 DESIGNS AND ANALYSIS OF SINGLE ELECTRON TECHNOLOGY BASED MEMORY UNITS


An Analysis of Multipliers in a New Binary System

Transcription:

Exercises: Fundamentals of Computer Engineering PAGE: Exercise Minimise the following using the laws of Boolean algebra. f = a + ab + ab.2 f ( ) ( ) ( ) 2 = c bd + bd + ac b + d + cd a + b + ad( b + c) + ab In each case, show the circuit diagram of the minimised function. Exercise 2 Express the function y = abd + c + acd + b as the complete disjunctive normal form: 2. by applying Boole's theorerm, 2.2 producing a function table. I I I Exercise 3 The following truth table is given. A B C X I I I I I I I I I I I I I I I I 3. Express the function as the complete disjunctive normal form. 3.2 Express the function as the complete conjunctive normal form. 3.3 Suggest a circuit solution for the complete disjunctive normal form. 3.4 Suggest a circuit solution for the complete conjunctive normal form.

Exercises: Fundamentals of Computer Engineering PAGE: 2 Exercise 4 Given is the following digital circuit. 4. What is the circuits function y = f(a,b,c,d)? 4.2 Transform y into the CDNF. 4.3 Give the truth table for y CDNF. 4.4 Draw the circuit for the CDNF as derived from 4.2 and 4.3 4.5 Compare the two implementations Exercise 5 Given in the following digital circuit and its input sequence. Assume delay time for all gates is 2 ns. X,X2 5. Analyze the logical function of the circuit 5.2 Complete the given timing diagram 5.3 Does the circuit produce any Hazards for the given input sequence? X3 X4 Y,Y2 Y 3 Y4 Y

Exercises: Fundamentals of Computer Engineering PAGE: 3 Exercise 6 6. X = A + A + A + A 6.2 Y = A D + A D + A D + A D + A D + A D 6.3 f K = ( A + B + C) ( A + B + C) ( A + B + C) 6.4 Use a KV map to minimize the function given through the following truth table and by using don t cares. A B C D Y Exercise 7 Given is the circuit in fig. 7. and its timing diagram in fig. 7.2. fig. 7. 7. Analyse the circuits function and its timing behaviour 7.2 Fill in the KV-Map for the given circuit 7.3 Explain the timing diagram by means of the KV-Map 7.4 Construct a hazard-free implementation from the KV-Map fig. 7.2

Exercises: Fundamentals of Computer Engineering PAGE: 4 Exercise 8 Convert the following numbers: 8. N = 9,375 N 2 8.2 N = 27,375 N 4 8.3 N 2 = I I I I,I I N 8, N 6 Exercise 9 Voltage values in the range of -2 mv to +2 mv need to be represented precisely to an accuracy of mv. 9. State the minimum number of positions necessary for a representation in two s-complement. 9.2 Which number range is covered by usage of this format? Now a floating point representation is considered 9.3 State the minimum number of positions necessary for a floating-point representation without loss of accuracy. The mantissa and exponent are represented as a dual complement. 9.4 Which number range is covered by usage of this floating point format? Exercise Given is the following floating point format In this format is VZ:=Sign Bit, where positive numbers are represented by VZ= and negative numbers being represented by VZ=. Characteristic:= the exponent increased by 64. Therefore, E =Charakteristik - 64. In case that all bits of the mantissa are equal to, the number is represented. In case that at least one bit of the mantissa equals to, the following number is represented:. Which kind of normalisation is used?.2 Which range is covered by this format. What is - the biggest and the smallest possible positive numbers - the biggest and the smallest possible negative number Give these numbers as decimal numbers as well as the corresponding bit pattern of the given floating point format..3 State the changes in case that the mantissa will be reduced by one bit and that bit is added to the characteristic..4 State the changes in case that the characteristic is directly used as exponent E (without substraction of 64).5 Compare the format given by.3 with IEEE-754 format Exercise The following numbers shall be represented in IEEE-754-single precision format.. x = -6,5.2 x=,875.3 x=. 2?

Exercises: Fundamentals of Computer Engineering PAGE: 5 Exercise 2 2. Add the ternary numbers (B=3) N = 22,22 N 2 = 2,2 2.2 Multiply N 2 = I I I, I N 2 2 = I I, I 2.3 Complete a binary calculation as a dual complement, whereby z = 8 places. 7 + 2 and 7 + 8 2. 7-2 and 7-8 3. -8-2 and -8-8 Exercise 3 The following binary floating-point format is given: S Exp.(Char.) Mantissa 5 4 9 8 Mantissa accuracy is bits! The exponent is represented as a characteristic (C=32) 3. Why can the mantissa be represented with 9 bits (without positive/negative number sign)? 3.2 Complete the subtraction A-B in this format when A = 46528 B = 6696 Check your result against that of a decimal control calculation. Exercise 4 Convert 3-bit binary digits into Gray's code. 4. State the calculation rules for conducting such a conversion. 4.2 State a program sequence plan for completing this conversion with software. 4.3 Suggest a circuit solution. Exercise 5 Design a code converter for converting Aiken into DCD code (Dual Coded Decimal).

Exercises: Fundamentals of Computer Engineering PAGE: 6 Exercise 6 Design a combinational circuit with 4 input lines (x3, x2, x, x) and one output line y. Output shall be high when checksum of the input lines equals to 2 6. Give the truth table for this function 6.2 Realize the function with one MUX. (It can be assumed that also the inverted input signals are available) 6.3 Realise the same function, but now only with 2:-Multiplexers. helping Tables x4 x3 x2 x y x4 x3 x2 x y I I 2 I I 3 I I I I 4 I I 5 I I I I 6 I I I I 7 I I I I I I 8 I I 9 I I I I I I I I I I I I I I 2 I I I I 3 I I I I I I 4 I I I I I I 5 I I I I I I I I I I I2 I3 I4 I5 I6 I7 x3 x2 x Y

Exercises: Fundamentals of Computer Engineering PAGE: 7 Split table in x4= and x4=i 2 3 4 5 6 7 x3 x2 x Y x3 x2 x Y ---------------------------------------------------------------------------------------------------------------------- x2 x Y x2 x Y x2 x Y x2 x Y ------------------------------------------------------------------------------------------------------------------------ x Ya x Yb x Y x Yb x Ya x Yb x Ya x Yb

Exercises: Fundamentals of Computer Engineering PAGE: 8 Exercise 7 Given is the following Circuit Let A and B be the input lines and C and D the control lines. With the help of C and D, logical functions of A and B can be selected. Assume D=, C= selects the first MUX-Input line, D=, C=I the 2nd input line, and so on. 7. Give the truth table for the output y 7.2 Minimize the output function 7.3 Draw the minimized circuit Exercise 8 Given the following circuit: 8. State the DNF for x and y. 8.2 Give the circuits truth table. 8.3 Suggest a possible application for the circuit.

Exercises: Fundamentals of Computer Engineering PAGE: 9 Exercise 9 Given the following circuits, Examine their 9. logical behaviour (truth table). 9.2 ideal-typical electrical behaviour (impulse diagram). Exercise 2 Analyse the circuit given in figure 2.. In doing so, cut off the marked line and produce a new input q. figure 2. 2. Give the truth table of the combinational circuit after you cut off the line. 2.2 Mark stable and unstable states in the truth table. 2.3 Which device is implemented by the given circuit? Now the circuit in figure 2. is enhanced by two additional gates as shown in figure 2.2 figure 2.2 2.4 Produce the truth table for the circuit given in figure 2.2. 2.5 Which device is implemented by the circuit given in figure 2.2? 2.6 Describe the function of the input signal x3. Now analyse the circuit given in figure 2.3. Use the former results from this task?

Exercises: Fundamentals of Computer Engineering PAGE: figure 2.3 2.7 Which implementation strategy applies to the circuit given in figure 2.3? Exercise 2 Given are the timing diagrams of the input signals clk, d, s, r, j and k. 2. Name and describe the shown elements 2.2 Complete the timing diagrams

Exercises: Fundamentals of Computer Engineering PAGE: Exercise 22 22. Determine the characteristic equation of a D-Flip Flop and a JK-Flip Flop. 22.2 How must a JK flip-flop be switched to turn it into a D flip-flop? Exercise 23 Given the following sequential circuit (automaton): 23. what type of state machine is it? (Give reason) 23.2 determine the coded state table for this circuit. 23.3 determine the general (non-coded) state table for this circuit. 23.4 minimise the state table. 23.5 draw the state transition diagram of the minimised state machine. 23.6 construct the functionally identical minimised state machine as a sequential circuit. Exercise 24 Design a synchronous Aiken-code ring counter.