CHAPTER 4 RESULTS & DISCUSSION

Similar documents
Lab #12: 4-Bit Arithmetic Logic Unit (ALU)

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.

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

Chapter 5 Sequential Circuits

8-BITS X 8-BITS MODIFIED BOOTH 1 S COMPLEMENT MULTIPLIER NORAFIZA SALEHAN

Midterm Exam 15 points total. March 28, 2011

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

Register Transfer Level in Verilog: Part II

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

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

Digital Networks and Systems Laboratory 2 Basic Digital Building Blocks Time 4 hours

EXPERIMENT: 1. Graphic Symbol: OR: The output of OR gate is true when one of the inputs A and B or both the inputs are true.

EECS 270 Midterm 1 Exam Closed book portion Winter 2017

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

Asynchronous (Ripple) Counters

LATCHES & FLIP-FLOP. Chapter 7

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

Contents Circuits... 1

Tribhuvan University Institute of Science and Technology Bachelor of Science in Computer Science and Information Technology

Lab #11: Register Files

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

Digital Circuits I and II Nov. 17, 1999

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

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

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

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

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

Semester III. Subject Name: Digital Electronics. Subject Code: 09CT0301. Diploma Branches in which this subject is offered: Computer Engineering

Combinational Logic Design

Lecture 12. Amirali Baniasadi

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

Counter dan Register

Analogue Versus Digital [5 M]

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

Electrical and Telecommunications Engineering Technology_TCET3122/TC520. NEW YORK CITY COLLEGE OF TECHNOLOGY The City University of New York

PURBANCHAL UNIVERSITY

ELE2120 Digital Circuits and Systems. Tutorial Note 8

Registers and Counters

Elwin Cabrera May 11, 2016 DIGITAL CLOCK. ECE271/CSC222 Final Project Report

Chapter 7 Counters and Registers

AM AM AM AM PM PM PM

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

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

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

Experiment 8 Introduction to Latches and Flip-Flops and registers

Microprocessor Design

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

1 Hour Sample Test Papers: Sample Test Paper 1. Roll No.

ASYNCHRONOUS COUNTER CIRCUITS

Other Flip-Flops. Lecture 27 1

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

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

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

EECS 270 Midterm Exam Spring 2011

A Combined Combinational-Sequential System

Administrative issues. Sequential logic

SEMESTER ONE EXAMINATIONS 2002

Fall 2000 Chapter 5 Part 1

MODULE 3. Combinational & Sequential logic

REPEAT EXAMINATIONS 2002

UNIVERSITI TEKNOLOGI MALAYSIA

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

TRAINING KITS ON DIGITAL ELECTRONIC EXPERIMENTS. Verify Truth table for TTL IC s AND, NOT, & NAND GATES

Introduction to Sequential Circuits

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

AIM: To study and verify the truth table of logic gates

Synchronous Sequential Logic

Name: Date: Suggested Reading Chapter 7, Digital Systems, Principals and Applications; Tocci

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100

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

EEE130 Digital Electronics I Lecture #1_2. Dr. Shahrel A. Suandi

CHAPTER 6 DESIGN OF HIGH SPEED COUNTER USING PIPELINING

EEC 116 Fall 2011 Lab #5: Pipelined 32b Adder

EET 1131 Lab #10 Latches and Flip-Flops

Digital Electronics II 2016 Imperial College London Page 1 of 8

DIGITAL CIRCUIT COMBINATORIAL LOGIC

Altera s Max+plus II Tutorial

Review : 2 Release Date : 2019 Last Amendment : 2013 Course Code : SKEE 2742 Procedure Number : PK-UTM-FKE-(0)-10

CHAPTER 4: Logic Circuits

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

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

Chapter 3. Boolean Algebra and Digital Logic

Course Plan. Course Articulation Matrix: Mapping of Course Outcomes (COs) with Program Outcomes (POs) PSO-1 PSO-2

EECS 270 Final Exam Spring 2012

Digital Fundamentals: A Systems Approach

Modeling Digital Systems with Verilog

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

CPE 200L LABORATORY 3: SEQUENTIAL LOGIC CIRCUITS UNIVERSITY OF NEVADA, LAS VEGAS GOALS: BACKGROUND: SR FLIP-FLOP/LATCH

Dev Bhoomi Institute Of Technology Department of Electronics and Communication Engineering PRACTICAL INSTRUCTION SHEET

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

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

CprE 281: Digital Logic

EECS 270 Midterm 2 Exam Closed book portion Fall 2014

COMP sequential logic 1 Jan. 25, 2016

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

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

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Final Examination (Open Katz, Calculators OK, 3 hours)

Digital Logic. ECE 206, Fall 2001: Lab 1. Learning Objectives. The Logic Simulator

Computer Organization & Architecture Lecture #5

Transcription:

CHAPTER 4 RESULTS & DISCUSSION 3.2 Introduction This project aims to prove that Modified Baugh-Wooley Two s Complement Signed Multiplier is one of the high speed multipliers. The schematic of the multiplier is designed and analyzed using Block Design Editor that is provided in Altera s Quartus II Software. In order to check the speed performance, the schematic is analyze using Timing Analyzer Tool. The multiplier consists of AND gate, NAND gate, Half Adder, Carry Save Adder and D flip-flop. This chapter will discuss about the design that has been made for 8-bits x 8-bits Modified Baugh-Wooley Two s Complement Signed Multiplier and the results achieved. 4.2 Half Adder Half Adder is an arithmetic circuit that generates the sum of two binary digits. It has two inputs and outputs. The Half Adder is implemented with one exclusive OR gate and one AND gate as shown in Figure 4.1. Figure 4.1 : Logic Diagram of Half Adder 27

The result for this Half Adder is shown in Figure 4.2. The result of this Half Adder is exactly the same as in Table 3.3 that has been explained in Section 3.3.3. Figure 4.2 : Simulation Waveform of Half Adder 4.3 Carry Save Adder Carry Save Adder accepts three n-bit operands and generates two n-bit results, an n bit partial sum, and n-bit carry. As shown in Figure 4.3, the logic diagram for Carry Save Adder consists of two Half Adder blocks and an OR gate. Half Adder block is created from Half Adder.bdf file using Create Symbol Tool. Figure 4.3 : Logic Diagram of Carry Save Adder 28

The result of Carry Save Adder in shown in Figure 4.4. It shows that the result is exactly the same with Table 3.4 in Section 3.3.4. Figure 4.4 : Simulation Waveform of Carry Save Adder 4.4 Modified Baugh-Wooley Two s Complement Signed Multiplier The design of 8-bits x 8-bits Modified Baugh-Wooley Two s Complement Signed Multiplier is done by referring to the tabular form of bit-level Modified Baugh- Wooley multiplication. The implementation of this circuit needed AND gates, NOT gates, Half Adders and Carry Save Adders to form the partial product bits as shown in Figure 4.5 in next page. 29

Multiplicand P r o d u c t Multiplier Figure 4.5: 8-bits x 8-bits Modified Baugh-Wooley Two s Complement Signed Multiplier 30

Modified Baugh-Wooley Two s Complement Signed Multiplier is a two s complement parallel array multiplier. Since it uses two s complement representation, the multiplicand and the multiplier are put in true binary form to perform multiplication. If the two numbers to be multiplied are positive, both are already in true binary form and are multiplied as they are. The resulting product is positive and is given a sign bit of 0. Binary Decimal 0000 1100 12 Multiplicand x 0001 1111 x 31 x Multiplier 0000 0001 0111 0100 372 Product Given sign bit True binary form Figure 4.6 shows the correct answer of multiplication for the two positive numbers. The result is represented in binary and decimal numbering system verification. Since the range of positive numbers in an 8-bit system is 0000 0000 to 0111 1111 (0 to 127), only selected number are displayed. Figure 4.6 : Simulation Waveform of Both Positive Numbers Multiplication 31

When two numbers are negative, it will be in two s complement form. The two s complement of each is taken to convert it to a positive number, and then the two numbers are multiplied. The product is kept as a positive number and is given a sign bit of 0. Binary Decimal 1100 1100-52 Multiplicand x 1001 1111 x -97 x Multiplier 0001 1011 1011 0100 5044 Product Given sign bit Two s complement form Figure 4.7 shows the correct answer of multiplication for the two negative numbers. The result is represented in binary and decimal numbering system verification. The range of negative numbers is 1111 1111 to 1000 0000 ( -1 to -128), only selected number are displayed. Figure 4.7 : Simulation Waveform of Both Negative Numbers Multiplication 32

When one of the numbers is positive and the other is negative, the negative number is first converted to a positive magnitude by taking its two s complement. The product will be in true magnitude form. However, the product must be negative, since the original numbers are of opposite sign. Thus, the product is then changed to two s complement form and is given a sign bit of 1. Binary Decimal 0100 1000 72 Multiplicand x 1001 0111 x -105 x Multiplier 1100 0010 0111 1000-7560 Product Given sign bit True binary form Two s complement form Need to change the product to two s complement form Figure 4.8 shows the result for positive and negative numbers multiplication. The results of multiplications for both numbers are correct. Only selected numbers are displayed, due to the wide range of numbers that can be multiplied together. Figure 4.8 : Simulation Waveform of Positive and Negative Numbers Multiplication 33

The main objective for this project is to prove that Modified Baugh-Wooley Two s Complement Signed Multiplier is a high speed multiplier. In order to check the speed performance, D Flip-flop must be connected first to each inputs and outputs to provide a clock signal as shown in Figure 4.9. Create Block of Modified Baugh-Wooley Two s Complement Signed Multiplier D Flip-flop D Flip-flop Figure 4.9 : 8-bit x 8-bit Modified Baugh-Wooley Multiplier with D Flip-flop at inputs and outputs 34

The speed value for this multiplier is 20.33MHz as shown in Figure 4.10. Figure 4.10 : Speed Performance for Modified Baugh-Wooley Multiplier The output from this multiplier is shown in Figure 4.11. The multiplication results for this multiplier are correct. It should be noted that, there is delay for first output that been introduced by D Flip-flop registers. Figure 4.11 : Simulation Waveform for Modified Baugh-Wooley Multiplier From results that have been discussed, it shows that the schematic design of Modified Baugh-Wooley Two s Complement Signed Multiplier is functioning correctly. D Flip-flop must be connected first to each inputs and outputs to provide a clock signal in order to check the speed performance. Pipelining approach applied to Modified Baugh-Wooley Two s Complement Signed Multiplier has not been able to produce the expected result yet, might be due to improper of placing pipeline 35

register (D Flip-flop) in the schematic. This is because, some of the D Flip-flops must even be placed in data paths in which no work has been done. 36