TABLE OF CONTENTS 1. ABSTRACT 2. INTRODUCTION 3. FUNCTIONAL BLOCK DIAGRAM 4. PIN DIAGRAM 5. SPECIFICATIONS AND PIN FUNCTIONS 6.
|
|
- Derrick Young
- 7 years ago
- Views:
Transcription
1 TABLE OF CONTENTS 1. ABSTRACT 2. INTRODUCTION 3. FUNCTIONAL BLOCK DIAGRAM 4. PIN DIAGRAM 5. SPECIFICATIONS AND PIN FUNCTIONS 6. FLOOR LAYOUT 7. INDIVIDUAL BLOCK DESCRIPTION DECODER SUB / ADD COMPARITOR MULTIPLIER PARITY GENERATOR BARREL SHIFTER LOGICAL OPERATIONS AND OR NOT EXOR 8. POWER, AREA AND DELAY CALCULATIONS 9. CONCLUSION 10. FUTURE EXPANSION 11. APPENDIX TEST RUN SCHEMATICS LAYOUTS OF IMPORTANT BLOCKS FINAL LAYOUT
2 ABSTRACT This project is an implementation of a 4-bit Arithmetic Logic Unit (ALU) using cadence tools. The project is divided in two different parts comprising of the simulation of the ALU using the SPECTRE software and testing all the built in functions and then the optimized design of the same using CADENCE. The built in functions in this 4 bit ALU comprises of the following. Adder Subtractor Magnitude comparator Multiplier( Baugh-Wooley) Parity generator Logical operations 1. 8-bit NOT 2. bit-wise OR 3. bit-wise AND 4. bit-wise XOR Bit Shifter (Barrel shifter) To implement the operations of addition and subtraction a 4-bit transmission gate adder and subtractor design was used with a SUB pin provided to choose between the two options.. Baugh Wooley multiplier has been used to implement the multiplies. Both signed and unsigned multiplication was implemented using this type. The operations of bit shifting and has been implemented using a Barrel shifter. The rest of the functions were implemented using transmission gates. A 4 to 8 bit decoder is used to select the respective functional unit to carry out the function that is desired.. The ALU takes input data from two 4-bit latches which are controlled by a clock. The outputs of the latches are fed into all the functional units of the ALU. The function of the decoder is to select the required functional unit and pass the data to that particular unit, which is accomplished by the input select logic.
3 INTRODUCTION The ALU is the part of the Central Processing unit which performs operations such as addition, subtraction and multiplication of integers and bit-wise AND, OR, NOT, XOR and other Boolean operations. ARITHMETIC LOGIC UNIT ARITHMETIC OPERATION LOGICAL OPERATIONS COMPARISON The CPU s instruction decode logic determines which particular operation the ALU should perform, the source of the operands and the destination of the result. The width in bits of the words which the ALU handles is usually same as that quoted for the processor as a whole whereas its external busses may be narrower. Floating point operations are usually done by a separate floating point unit. Some processors use the ALU for address calculations. Typically, the ALU has direct input and output access to the processor controller, main memory and input and out put devices. The inputs and the outputs follow an electronic path called the bus. The input consists of an instruction word (otherwise known as the machine instruction word) that contains an operation, one or more operands and sometimes a format code. The operation code instructs the AL U to perform a stipulated operation. The flow of bits and the operations performed in the subunits of the ALU is controlled by gated circuits. The gates in these circuits are controlled by a sequence of logic units that use a particular algorithm for each operation code
4 FUNCTIONAL BLOCK DIAGRAM O NOT SHIFT MULTIPLY AND OR EXOR COMPARE ADD/SUB PARITY T G O 16 LATCHED FUNCTION ENABLE LATCHED ENABLED U T P U T S R A N S F M R O M I S INPUT S I E V E R Y O N A B T L O C K E S SIGNALS 4 T DECODER OUTPUT FROM BLOCK
5 PIN DIAGRAM PWR SUB S0 S1 GND IN1 OUT1 IN2 OUT2 IN3 OUT3 IN4 IN5 ALU OUT4 OUT5 IN6 OUT6 IN7 OUT7 IN8 OUT8 CLK E0 E1 E2 E3
6 ALU Specifications 0.6 micron HP CMOS process size: 240X120( in microns) 3 Volt Power Supply 26 pins Operating Temperature: Commercial(0 C~70 C) Power dissipation: mw Number of functions supported: 10 PIN SPECIFICATIONS PIN IN1 IN8 E0-E3 S0-S1 SUB OUT1-OUT8 CLK GND PWR DESCRIPTION Input A FUNCTION SELECT SHIFT SELECT ADD / SUBTRACT SELECT Output Clock Ground Power Supply
7 FLOOR LAYOUT
8 INDUVIDUAL DIGITAL BLOCKS Decoder A decoder is a combinational circuit that converts binary information from n input lines to a maximum of 2 n unique output lines.. We have implemented a 4 to 16 bit decoder out of which only nine combinations are used and the rest are treated as don t cares. As a result this decoder can be used to accommodate to choose seven more functional blocks. The output of the decoder is connected to output transmission gate that it is it is the gating signal for the transmission gates. This block utilizes 4 four input AND gates, their corresponding bit combination and their respective bit selections are as shown in the following table: E3 E2 E1 E0 OPERATION NOT OR AND COMPARATOR BARREL SHIFTER XOR MULTIPLIER ADD/SUB PARITY
9 The following figure illustrates the decoder implemented in this project
10 Transmission gate ADDER and SUBTRACTOR This is rather a dynamic implementation of both the adder and subtractor in the same circuit. It makes extensive use of exclusive-or gates (XOR). The following figure shows the schematic of a transmission gate adder and subtractor. By using a combination of transmission gates, inverters and XOR gates an adder may be constructed. The A B and the complement are formed using the transmission gate XOR.. The sum A B C is formed by a multiplexer controlled by A B and its complement.. It can be quite clearly seen that CARRY = C when A B is true and CARRY = A (or B) when A B is false. This adder has the advantage of having equal sum and carry propagation delay times. In addition the sum and carry signals are not inverted.one of the disadvantages of this circuitry is that since the adder is implemented using XOR gate switch level simulators have problems. The number of transistors used in this circuitry can be minimized if speed of computation is not the main goal. The same circuitry is also used to perform the operation of subtraction based on whether the SUB signal is high or low. One of the inputs is inverted and then added to the other input data to perform subtraction.
11 Magnitude comparator A magnitude comparator is useful to compare magnitude of two binary numbers. A Comparator built from an adder and complemented functions as follows. A zero detect NOR gate provides the A=B signal while the final carry output provides the B>A signal. Other signals such as A<B or A<=B may be generated by logical combinations of these signals. If one needs to check equality between two binary numbers, then a XNOR gate and an AND gate is all that is necessary. A pass-gate logic implementation can also used instead of a gate implementation. Single polarity transmission gates can also be used and are very appropriate in low power circuits. The following are some examples for the use of magnitude comparators : There are times when it is useful to detect the magnitude of two registers. For example: during a search, a value is often compared with another to determine if a match is found. Another example is sorting, in this case you are normally concerned with a "Less Than" or "Greater Than" so a value can be inserted into a list. The comparator circuit for example outputs a: 2 if "A" is greater than "B", 1 if they are equal, and 0 if "A" is less than "B". This output can be used for many things. If the system designer wanted to select the larger of 2 values, then the output would be sent into the select line of a Mux that would then pass the proper register. Another place something like this may be used is in a CPU s compare and branch instruction. The program counter could be incremented by the result of the comparison to select the appropriate branch address. The magnitude comparator works on the following principle: Let A and B be two numbers ach with four digits. i.e A = A 3 A 2 A 1 A 0 B = B 3 B 2 B 1 B 0 Where each subscripted alphabet represents a digit in the number. The two numbers are equal if and only if all pairs of significant digits are equal. When the numbers are binary, the digits are either one or zero and the equality relation of each pair of bits can be expressed logically with an equivalence function: X = A * B + A * B i i i i i
12 Where X i = 1 only if the pair of bits in position i are equal. The equality of the two numbers is displayed in a combinational circuit by an output variable which we designate by the symbol A=B. The binary variable is equal to 1 if the numbers A and B are equal and is equal to 0 otherwise. For the equality condition to exist all X variables must be equal to 1. This indicates an AND operation of all variables. ( A = B) = X 3 X 2 X 1 X 0 The Binary variable (A=B) is equal to 1 only if all pairs of digits of the two numbers are equal. To determine if A<B or A>B, we inspect the relative magnitudes of pairs of significant digits starting from the most significant position. If the two digits are equal, we compare the next lower significant pair of digits. This comparison continues until a pair of unequal digits is reached. If the corresponding digit of A is! and that of B is 0, we conclude that A>B. If the corresponding digit of A is 0 and that of B is 1we have that A<B. This sequential comparison can be expressed logically by the following two Boolean functions: (A>B) = A 3 * B 3 + X 3 * A 2 *B 2 + X 3 * X 2 A 1 *B 1 + X 3 * X 2 *X 1 * A 0 *B 0 (A<B) = A 3 * B 3 + X 3 * A 2 *B 2 + X 3 * X 2 A 1 *B 1 + X 3 * X 2 *X 1 * A 0 *B 0 Condition Eo Fo A < B 0 0 A = B 0 1 A > B 1 0
13 Baugh Wooley Multiplier Baugh-Wooley algorithm! An algorithm for direct 2's complement array multiplication has been proposed by Baugh and Wooley. The primary advantage of this algorithm is that the signs of all the partial products are positive, and thus allowing the array to be entirely the same as conventional standard array structures. The following are some of the highlights of the Baugh Wooley algorithm Algorithm for two s-complement multiplication. Adjusts partial products to maximize regularity of multiplication array. Moves partial products with negative signs to the last steps; also adds negation of partial products rather than subtracts Two s Complement Before starting with signed multiplication, a quick review of the 2 s complement system of signed number representation for a binary number would be helpful in understanding the derivation of the algorithm. Basically, in the 2 s complement system, the left most bit (MSB) indicates the sign of the number, with 0 being positive, 1 being negative. To obtain a negative number, simply subtract the corresponding positive number from 2 n, where n is the number of bits of the original number. For example, to obtain the 4 bit signed number -4, take 2 4 (b 10000),and subtract from it the corresponding positive number, 4(b 0100), the result is (b 1100), -4 in the 2 s complement representation.alternatively, it can be obtained by subtracting 2 (n-1) from the corresponding positive number to obtain the negative number. Using the same example, to obtain the number -4, take the number 4(b 0100) and subtract 2 (4-1) (b 1000)from it. The result is (b 1100). The multiplier algorithm discussed in this application note takes advantage of the latter method. One important note on using 2 s complement number representation is the need for sign extension. That is, to obtain a negative number using a greater number of bits, simply repeat the sign bit to the left until the desired number of bits are filled. For example, to extend the number -4 (b 1100) from 4 bits to 8 bits, the resultant sign extended number would be (b ).
14 Basic Binary Multiplication : Baugh-Wooley Algorithm The Baugh-Wooley algorithm for the unsigned binary multiplication is based on the concept shown in Figure. The algorithm specifies that all possible AND terms are created first, and then sent through an array of half-adders and full-adders with the carryouts chained to the next most significant bit at each level of addition. For signed Multiplication (by utilizing the properties of the two s complement system) the Baugh- Wooley algorithm can implement signed multiplication in almost the same way as the unsigned multiplication shown above.
15 MULTIPLIER CELLS
16
17 TOTAL SCHEMATIC
18 PARITY GENERATOR An N-bit Parity Generator is a combinational Boolean function block which has N parallel inputs and one output. The output (parity) bit is: Logic "1" if the number of "1"'s in the input vector are odd Logic "0" if the number of "1"'s in the input vector are even As an example, the truth table of a 4-bit parity generator is given below. Although the function looks complex it can easily be realized by using XOR gates. The parity function equals to :P= D0 D1 D2 D3... A four bit parity generator can be realized using a tree structure as follows: P= ( ( D0 D1 ) ( D2 D3 ) )
19
20 The parity function is used as a simple means for verifying the correctness of data transmission in digital communications. In some serial communication protocols, the data bits are send together with the corresponding parity value. The receiver checks the parity. If one bit was misinterpreted during transmission, the parity will not match, and the receiver will ask the transmitter to re-transmit the data. This is a very simple method for verifying that the transmitted data is recieved correctly. This method also has some weaknesses, for example, if the communication channel is very noisy and more than one bit gets misinterpreted this method will not be able to detect the error. Still, simple parity checking is one of the most popular error detection methods in data transmission. BARREL SHIFTER A hardware device that can shift or rotate a data word by any number of bits in a single operation. It is implemented like a multiplexor, each output can be connected to any input depending on the shift distance. The operations supported by Barrel shifters are lest shift, right shift and rotations A Barrel shifter cell
21 The following are some of the salient features in the layout of a barrel shifter In addition to the above features it is quite evident that in a Barrel shifter the majority of the area is consumed by wiring. The propagation delay is theoretically a constant at most one transmission gate, independent of shifter size and number of shifts. Finally the capacity of the buffer input is proportional to the maximum shift width.
22 LOGICAL OPERATIONS 4 bit AND operation : The AND operation will be signified by AB or A*B. Other common mathematical notations for it are A^B and A B, called the intersection of A and B. The logical operation of the AND gate is such that the output is HIGH (1) when all the inputs are HIGH, otherwise it is LOW (0). The 4 bit AND gate receives four inputs form A 0, A 1, A 2, A 3 and B 0,B 1,B 2,B 3 where each of these elements taken in a pair form the input to each of the 4 two input AND gates. The truth table and schematic of the AND gate is as follows : A i B i output
23 4-bit OR operation The OR operation will be signified by A+B. Other common mathematical notations for it are A(OR)B and A B, called the union of A and B. The logical operation of the OR gate is such that the output is HIGH (1) when one of the inputs are HIGH or both the inputs are HIGH(1) otherwise it is LOW (0). The 4 bit OR gate receives four inputs form A, A 1, A 2, A 3 and B 0,B 1,B 2,B 3 where each of these elements taken in a pair form the input to each of the 4 two input OR gates. The truth table of the OR gate is as follows : 0 A i B i output
24 8 bit NOT gate : A logical inverter, sometimes called a NOT gate to differentiate it from other types of electronic inverter devices, has only one input. It reverses the logic state. The NOT gate is a circuit which produces at its output the negated (inverted) version of its input logic. The inverter (NOT circuit) performs a basic logic function called inversion or complementation. The purpose of the inverter is to change one logic level (HIGH / LOW) to the opposite logic level. In terms of bits, it changes a 1 to a 0 and vice versa. This inversion in the output is made possible by connecting a PMOS switch from Vdd to output when the input is 0 and connecting an NMOS switch from ground to output when the input is 1. The following is the truth table and schematic of the inverter. Input Output
25 4- bit exclusive- OR The functional operation of a XOR gate is represented as A B. The exclusive-or gate (XOR) subsystem provides an output signal that is low if either both input signals are high or both input signals are low. Otherwise, the output signal is high. The XOR gate responds almost exactly like the OR gate, except that it produces a zero output when BOTH inputs are 1. In that case the OR gate produces a 1, but the XOR gate produces a 0. In conclusion, the XOR produces a 1 when exactly one of the inputs is 1, in all other case it produces a zero. A 4-bit exclusive OR gate has been implemented using 4 XOR gates in conjunction. The following is the truth table for the XOR gate A i B i output
26 Edge triggered D flip-flop For the latch design a positive edge triggered D flip flop is used. This design has the following advantages: No transparency problem AND Clock skew is minimized by balancing CLK and CLK~ delays using buffers and invertors Input Latch The input latch for one clock cycle acts as a register for a single set of data and during the subsequent clock sends them to the ALU inputs. Each latch is appositive edge triggered D flip flop implemented using dynamic logic. Output latch It acts as a register for data during one clock cycle and pushes it out during the next clock cycle.
27 FUTURE EXPANSION The 4 bit A L U can be extended to 8 bit ALU owing to the design simplicity where in concatenation of the blocks is easily achieved. The ALU can also be used along with an on chip memory (like the SRAM designed earlier in the course) to store the outputs temporarily. CONCLUSION This project gave an in depth picture of the complexities involved in designing large circuits and also gave us ample lot of exposure into the use of CADANCE tools in designing. The splitting up of the work amongst the group members and the parallel execution of different blocks in the layout made the job much simpler for final integration. This way the project also threw immense light into the concept of team work. This project has also gone a long way in motivating all the team members to attack new challenges and design much more complex and efficient circuits in future. We would like to thank Dr. Eisenstadt for providing us this launch platform from where we are capable enough to reach new heights.
28 APPENDIX LAYOUT OF IMPORTANT BLOCKS DECODER ADDER / SUBTRACTOR
29 COMPARITOR MULTIPLIER
30 BARREL SHIFTER PARITY GENERATOR
31 EDGE TRIGGERED D FLIP FLOP 4 INPUT PASS GATE
32 FINAL LAYOUT WITH PADS
Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language
Chapter 4 Register Transfer and Microoperations Section 4.1 Register Transfer Language Digital systems are composed of modules that are constructed from digital components, such as registers, decoders,
More informationECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path
ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path Project Summary This project involves the schematic and layout design of an 8-bit microprocessor data
More informationLet s put together a Manual Processor
Lecture 14 Let s put together a Manual Processor Hardware Lecture 14 Slide 1 The processor Inside every computer there is at least one processor which can take an instruction, some operands and produce
More information1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.
File: chap04, Chapter 04 1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1. 2. True or False? A gate is a device that accepts a single input signal and produces one
More informationNEW adder cells are useful for designing larger circuits despite increase in transistor count by four per cell.
CHAPTER 4 THE ADDER The adder is one of the most critical components of a processor, as it is used in the Arithmetic Logic Unit (ALU), in the floating-point unit and for address generation in case of cache
More informationCHAPTER 3 Boolean Algebra and Digital Logic
CHAPTER 3 Boolean Algebra and Digital Logic 3.1 Introduction 121 3.2 Boolean Algebra 122 3.2.1 Boolean Expressions 123 3.2.2 Boolean Identities 124 3.2.3 Simplification of Boolean Expressions 126 3.2.4
More informationMICROPROCESSOR AND MICROCOMPUTER BASICS
Introduction MICROPROCESSOR AND MICROCOMPUTER BASICS At present there are many types and sizes of computers available. These computers are designed and constructed based on digital and Integrated Circuit
More informationBinary Adders: Half Adders and Full Adders
Binary Adders: Half Adders and Full Adders In this set of slides, we present the two basic types of adders: 1. Half adders, and 2. Full adders. Each type of adder functions to add two binary bits. In order
More informationChapter 2 Logic Gates and Introduction to Computer Architecture
Chapter 2 Logic Gates and Introduction to Computer Architecture 2.1 Introduction The basic components of an Integrated Circuit (IC) is logic gates which made of transistors, in digital system there are
More informationDigital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng
Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals of Computer Organization and Design. Introduction
More informationDEPARTMENT OF INFORMATION TECHNLOGY
DRONACHARYA GROUP OF INSTITUTIONS, GREATER NOIDA Affiliated to Mahamaya Technical University, Noida Approved by AICTE DEPARTMENT OF INFORMATION TECHNLOGY Lab Manual for Computer Organization Lab ECS-453
More informationCOMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design
PH-315 COMINATIONAL and SEUENTIAL LOGIC CIRCUITS Hardware implementation and software design A La Rosa I PURPOSE: To familiarize with combinational and sequential logic circuits Combinational circuits
More informationFigure 8-1 Four Possible Results of Adding Two Bits
CHPTER EIGHT Combinational Logic pplications Thus far, our discussion has focused on the theoretical design issues of computer systems. We have not yet addressed any of the actual hardware you might find
More informationSistemas Digitais I LESI - 2º ano
Sistemas Digitais I LESI - 2º ano Lesson 6 - Combinational Design Practices Prof. João Miguel Fernandes (miguel@di.uminho.pt) Dept. Informática UNIVERSIDADE DO MINHO ESCOLA DE ENGENHARIA - PLDs (1) - The
More information(Refer Slide Time: 00:01:16 min)
Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control
More informationLecture 5: Gate Logic Logic Optimization
Lecture 5: Gate Logic Logic Optimization MAH, AEN EE271 Lecture 5 1 Overview Reading McCluskey, Logic Design Principles- or any text in boolean algebra Introduction We could design at the level of irsim
More informationSystems I: Computer Organization and Architecture
Systems I: Computer Organization and Architecture Lecture 9 - Register Transfer and Microoperations Microoperations Digital systems are modular in nature, with modules containing registers, decoders, arithmetic
More informationSo far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.
equential Logic o far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs. In sequential logic the output of the
More informationCHAPTER 11: Flip Flops
CHAPTER 11: Flip Flops In this chapter, you will be building the part of the circuit that controls the command sequencing. The required circuit must operate the counter and the memory chip. When the teach
More informationUnderstanding Logic Design
Understanding Logic Design ppendix of your Textbook does not have the needed background information. This document supplements it. When you write add DD R0, R1, R2, you imagine something like this: R1
More informationThe string of digits 101101 in the binary number system represents the quantity
Data Representation Section 3.1 Data Types Registers contain either data or control information Control information is a bit or group of bits used to specify the sequence of command signals needed for
More informationLayout of Multiple Cells
Layout of Multiple Cells Beyond the primitive tier primitives add instances of primitives add additional transistors if necessary add substrate/well contacts (plugs) add additional polygons where needed
More informationSequential 4-bit Adder Design Report
UNIVERSITY OF WATERLOO Faculty of Engineering E&CE 438: Digital Integrated Circuits Sequential 4-bit Adder Design Report Prepared by: Ian Hung (ixxxxxx), 99XXXXXX Annette Lo (axxxxxx), 99XXXXXX Pamela
More informationFlip-Flops, Registers, Counters, and a Simple Processor
June 8, 22 5:56 vra235_ch7 Sheet number Page number 349 black chapter 7 Flip-Flops, Registers, Counters, and a Simple Processor 7. Ng f3, h7 h6 349 June 8, 22 5:56 vra235_ch7 Sheet number 2 Page number
More informationEE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad
A. M. Niknejad University of California, Berkeley EE 100 / 42 Lecture 24 p. 1/20 EE 42/100 Lecture 24: Latches and Flip Flops ELECTRONICS Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad University of California,
More informationCOMBINATIONAL CIRCUITS
COMBINATIONAL CIRCUITS http://www.tutorialspoint.com/computer_logical_organization/combinational_circuits.htm Copyright tutorialspoint.com Combinational circuit is a circuit in which we combine the different
More informationExperiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa
Experiment # 9 Clock generator circuits & Counters Eng. Waleed Y. Mousa 1. Objectives: 1. Understanding the principles and construction of Clock generator. 2. To be familiar with clock pulse generation
More informationGates, Circuits, and Boolean Algebra
Gates, Circuits, and Boolean Algebra Computers and Electricity A gate is a device that performs a basic operation on electrical signals Gates are combined into circuits to perform more complicated tasks
More information5 Combinatorial Components. 5.0 Full adder. Full subtractor
5 Combatorial Components Use for data transformation, manipulation, terconnection, and for control: arithmetic operations - addition, subtraction, multiplication and division. logic operations - AND, OR,
More informationCounters and Decoders
Physics 3330 Experiment #10 Fall 1999 Purpose Counters and Decoders In this experiment, you will design and construct a 4-bit ripple-through decade counter with a decimal read-out display. Such a counter
More informationCMOS Binary Full Adder
CMOS Binary Full Adder A Survey of Possible Implementations Group : Eren Turgay Aaron Daniels Michael Bacelieri William Berry - - Table of Contents Key Terminology...- - Introduction...- 3 - Design Architectures...-
More informationNTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter Description: The NTE2053 is a CMOS 8 bit successive approximation Analog to Digital converter in a 20 Lead DIP type package which uses a differential
More informationDigital Electronics Detailed Outline
Digital Electronics Detailed Outline Unit 1: Fundamentals of Analog and Digital Electronics (32 Total Days) Lesson 1.1: Foundations and the Board Game Counter (9 days) 1. Safety is an important concept
More informationELEC 2210 - EXPERIMENT 1 Basic Digital Logic Circuits
Objectives ELEC - EXPERIMENT Basic Digital Logic Circuits The experiments in this laboratory exercise will provide an introduction to digital electronic circuits. You will learn how to use the IDL-00 Bit
More informationEE 261 Introduction to Logic Circuits. Module #2 Number Systems
EE 261 Introduction to Logic Circuits Module #2 Number Systems Topics A. Number System Formation B. Base Conversions C. Binary Arithmetic D. Signed Numbers E. Signed Arithmetic F. Binary Codes Textbook
More informationBINARY CODED DECIMAL: B.C.D.
BINARY CODED DECIMAL: B.C.D. ANOTHER METHOD TO REPRESENT DECIMAL NUMBERS USEFUL BECAUSE MANY DIGITAL DEVICES PROCESS + DISPLAY NUMBERS IN TENS IN BCD EACH NUMBER IS DEFINED BY A BINARY CODE OF 4 BITS.
More informationMICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1
MICROPROCESSOR A microprocessor incorporates the functions of a computer s central processing unit (CPU) on a single Integrated (IC), or at most a few integrated circuit. It is a multipurpose, programmable
More informationLecture 8: Synchronous Digital Systems
Lecture 8: Synchronous Digital Systems The distinguishing feature of a synchronous digital system is that the circuit only changes in response to a system clock. For example, consider the edge triggered
More informationCHAPTER 7: The CPU and Memory
CHAPTER 7: The CPU and Memory The Architecture of Computer Hardware, Systems Software & Networking: An Information Technology Approach 4th Edition, Irv Englander John Wiley and Sons 2010 PowerPoint slides
More informationThe 104 Duke_ACC Machine
The 104 Duke_ACC Machine The goal of the next two lessons is to design and simulate a simple accumulator-based processor. The specifications for this processor and some of the QuartusII design components
More informationList of Experiment. 8. To study and verify the BCD to Seven Segments DECODER.(IC-7447).
G. H. RAISONI COLLEGE OF ENGINEERING, NAGPUR Department of Electronics & Communication Engineering Branch:-4 th Semester[Electronics] Subject: - Digital Circuits List of Experiment Sr. Name Of Experiment
More informationHaving read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.
Objectives Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop. describe how such a flip-flop can be SET and RESET. describe the disadvantage
More informationModule 3: Floyd, Digital Fundamental
Module 3: Lecturer : Yongsheng Gao Room : Tech - 3.25 Email : yongsheng.gao@griffith.edu.au Structure : 6 lectures 1 Tutorial Assessment: 1 Laboratory (5%) 1 Test (20%) Textbook : Floyd, Digital Fundamental
More informationETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies
ETEC 2301 Programmable Logic Devices Chapter 10 Counters Shawnee State University Department of Industrial and Engineering Technologies Copyright 2007 by Janna B. Gallaher Asynchronous Counter Operation
More informationTwo's Complement Adder/Subtractor Lab L03
Two's Complement Adder/Subtractor Lab L03 Introduction Computers are usually designed to perform indirect subtraction instead of direct subtraction. Adding -B to A is equivalent to subtracting B from A,
More informationA s we saw in Chapter 4, a CPU contains three main sections: the register section,
6 CPU Design A s we saw in Chapter 4, a CPU contains three main sections: the register section, the arithmetic/logic unit (ALU), and the control unit. These sections work together to perform the sequences
More informationSequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )
Sequential Logic (Materials taken from: Principles of Computer Hardware by Alan Clements ) Sequential vs. Combinational Circuits Combinatorial circuits: their outputs are computed entirely from their present
More information150127-Microprocessor & Assembly Language
Chapter 3 Z80 Microprocessor Architecture The Z 80 is one of the most talented 8 bit microprocessors, and many microprocessor-based systems are designed around the Z80. The Z80 microprocessor needs an
More informationA New Paradigm for Synchronous State Machine Design in Verilog
A New Paradigm for Synchronous State Machine Design in Verilog Randy Nuss Copyright 1999 Idea Consulting Introduction Synchronous State Machines are one of the most common building blocks in modern digital
More informationLecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots
Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots Registers As you probably know (if you don t then you should consider changing your course), data processing is usually
More information2011, The McGraw-Hill Companies, Inc. Chapter 3
Chapter 3 3.1 Decimal System The radix or base of a number system determines the total number of different symbols or digits used by that system. The decimal system has a base of 10 with the digits 0 through
More informationContents COUNTER. Unit III- Counters
COUNTER Contents COUNTER...1 Frequency Division...2 Divide-by-2 Counter... 3 Toggle Flip-Flop...3 Frequency Division using Toggle Flip-flops...5 Truth Table for a 3-bit Asynchronous Up Counter...6 Modulo
More informationLFSR BASED COUNTERS AVINASH AJANE, B.E. A technical report submitted to the Graduate School. in partial fulfillment of the requirements
LFSR BASED COUNTERS BY AVINASH AJANE, B.E A technical report submitted to the Graduate School in partial fulfillment of the requirements for the degree Master of Science in Electrical Engineering New Mexico
More informationDIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute 5. LECTURE: REGISTERS AND RELATED
DIGITAL TECHNICS II Dr. Bálint Pődör Óbuda University, Microelectronics and Technology Institute 5. LECTURE: REGISTERS AND RELATED 2nd (Spring) term 22/23 5. LECTURE: REGISTERS. Storage registers 2. Shift
More informationToday. Binary addition Representing negative numbers. Andrew H. Fagg: Embedded Real- Time Systems: Binary Arithmetic
Today Binary addition Representing negative numbers 2 Binary Addition Consider the following binary numbers: 0 0 1 0 0 1 1 0 0 0 1 0 1 0 1 1 How do we add these numbers? 3 Binary Addition 0 0 1 0 0 1 1
More informationLogic in Computer Science: Logic Gates
Logic in Computer Science: Logic Gates Lila Kari The University of Western Ontario Logic in Computer Science: Logic Gates CS2209, Applied Logic for Computer Science 1 / 49 Logic and bit operations Computers
More informationComputer organization
Computer organization Computer design an application of digital logic design procedures Computer = processing unit + memory system Processing unit = control + datapath Control = finite state machine inputs
More informationFORDHAM UNIVERSITY CISC 3593. Dept. of Computer and Info. Science Spring, 2011. Lab 2. The Full-Adder
FORDHAM UNIVERSITY CISC 3593 Fordham College Lincoln Center Computer Organization Dept. of Computer and Info. Science Spring, 2011 Lab 2 The Full-Adder 1 Introduction In this lab, the student will construct
More informationE158 Intro to CMOS VLSI Design. Alarm Clock
E158 Intro to CMOS VLSI Design Alarm Clock Sarah Yi & Samuel (Tae) Lee 4/19/2010 Introduction The Alarm Clock chip includes the basic functions of an alarm clock such as a running clock time and alarm
More informationA single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc
Other architectures Example. Accumulator-based machines A single register, called the accumulator, stores the operand before the operation, and stores the result after the operation. Load x # into acc
More information3.Basic Gate Combinations
3.Basic Gate Combinations 3.1 TTL NAND Gate In logic circuits transistors play the role of switches. For those in the TTL gate the conducting state (on) occurs when the baseemmiter signal is high, and
More informationLab 1: Full Adder 0.0
Lab 1: Full Adder 0.0 Introduction In this lab you will design a simple digital circuit called a full adder. You will then use logic gates to draw a schematic for the circuit. Finally, you will verify
More informationOperating Manual Ver.1.1
4 Bit Binary Ripple Counter (Up-Down Counter) Operating Manual Ver.1.1 An ISO 9001 : 2000 company 94-101, Electronic Complex Pardesipura, Indore- 452010, India Tel : 91-731- 2570301/02, 4211100 Fax: 91-731-
More informationModeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: jimmy@ee.ncu.edu.tw. Sequential Circuit
Modeling Sequential Elements with Verilog Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: jimmy@ee.ncu.edu.tw 4-1 Sequential Circuit Outputs are functions of inputs and present states of storage elements
More informationASYNCHRONOUS COUNTERS
LB no.. SYNCHONOUS COUNTES. Introduction Counters are sequential logic circuits that counts the pulses applied at their clock input. They usually have 4 bits, delivering at the outputs the corresponding
More informationPART B QUESTIONS AND ANSWERS UNIT I
PART B QUESTIONS AND ANSWERS UNIT I 1. Explain the architecture of 8085 microprocessor? Logic pin out of 8085 microprocessor Address bus: unidirectional bus, used as high order bus Data bus: bi-directional
More informationCombinational Logic Design
Chapter 4 Combinational Logic Design The foundations for the design of digital logic circuits were established in the preceding chapters. The elements of Boolean algebra (two-element switching algebra
More informationUpon completion of unit 1.1, students will be able to
Upon completion of unit 1.1, students will be able to 1. Demonstrate safety of the individual, class, and overall environment of the classroom/laboratory, and understand that electricity, even at the nominal
More informationIntroduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems
Harris Introduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems David Harris Harvey Mudd College David_Harris@hmc.edu Based on EE271 developed by Mark Horowitz, Stanford University MAH
More informationThe components. E3: Digital electronics. Goals:
E3: Digital electronics Goals: Basic understanding of logic circuits. Become familiar with the most common digital components and their use. Equipment: 1 st. LED bridge 1 st. 7-segment display. 2 st. IC
More informationDigital circuits make up all computers and computer systems. The operation of digital circuits is based on
Digital Logic Circuits Digital circuits make up all computers and computer systems. The operation of digital circuits is based on Boolean algebra, the mathematics of binary numbers. Boolean algebra is
More informationSEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram
SEQUENTIAL CIRCUITS http://www.tutorialspoint.com/computer_logical_organization/sequential_circuits.htm Copyright tutorialspoint.com The combinational circuit does not use any memory. Hence the previous
More informationexclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576
exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576 Outline exclusive OR gate (XOR) Definition Properties Examples of Applications Odd Function Parity Generation and Checking
More informationwhat operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?
Inside the CPU how does the CPU work? what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? some short, boring programs to illustrate the
More informationLatches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012
Latches, the D Flip-Flop & Counter Design ECE 52A Winter 22 Reading Assignment Brown and Vranesic 7 Flip-Flops, Registers, Counters and a Simple Processor 7. Basic Latch 7.2 Gated SR Latch 7.2. Gated SR
More informationDigital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill
Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill Objectives: Analyze the operation of sequential logic circuits. Understand the operation of digital counters.
More informationLecture 7: Clocking of VLSI Systems
Lecture 7: Clocking of VLSI Systems MAH, AEN EE271 Lecture 7 1 Overview Reading Wolf 5.3 Two-Phase Clocking (good description) W&E 5.5.1, 5.5.2, 5.5.3, 5.5.4, 5.5.9, 5.5.10 - Clocking Note: The analysis
More informationCSE140 Homework #7 - Solution
CSE140 Spring2013 CSE140 Homework #7 - Solution You must SHOW ALL STEPS for obtaining the solution. Reporting the correct answer, without showing the work performed at each step will result in getting
More informationPLL frequency synthesizer
ANALOG & TELECOMMUNICATION ELECTRONICS LABORATORY EXERCISE 4 Lab 4: PLL frequency synthesizer 1.1 Goal The goals of this lab exercise are: - Verify the behavior of a and of a complete PLL - Find capture
More informationSequential Circuit Design
Sequential Circuit Design Lan-Da Van ( 倫 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, 2009 ldvan@cs.nctu.edu.tw http://www.cs.nctu.edu.tw/~ldvan/ Outlines
More informationCPU Organisation and Operation
CPU Organisation and Operation The Fetch-Execute Cycle The operation of the CPU 1 is usually described in terms of the Fetch-Execute cycle. 2 Fetch-Execute Cycle Fetch the Instruction Increment the Program
More informationplc numbers - 13.1 Encoded values; BCD and ASCII Error detection; parity, gray code and checksums
plc numbers - 3. Topics: Number bases; binary, octal, decimal, hexadecimal Binary calculations; s compliments, addition, subtraction and Boolean operations Encoded values; BCD and ASCII Error detection;
More informationTo design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.
8.1 Objectives To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC. 8.2 Introduction Circuits for counting events are frequently used in computers and other digital
More informationChapter 1: Digital Systems and Binary Numbers
Chapter 1: Digital Systems and Binary Numbers Digital age and information age Digital computers general purposes many scientific, industrial and commercial applications Digital systems telephone switching
More informationMemory Elements. Combinational logic cannot remember
Memory Elements Combinational logic cannot remember Output logic values are function of inputs only Feedback is needed to be able to remember a logic value Memory elements are needed in most digital logic
More informationWEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1
WEEK 8.1 egisters and Counters ECE124 igital Circuits and Systems Page 1 Additional schematic FF symbols Active low set and reset signals. S Active high set and reset signals. S ECE124 igital Circuits
More informationProgramming Logic controllers
Programming Logic controllers Programmable Logic Controller (PLC) is a microprocessor based system that uses programmable memory to store instructions and implement functions such as logic, sequencing,
More informationPROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1
UNIT 22: PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1 This work covers part of outcome 2 of the Edexcel standard module. The material is
More informationLecture-3 MEMORY: Development of Memory:
Lecture-3 MEMORY: It is a storage device. It stores program data and the results. There are two kind of memories; semiconductor memories & magnetic memories. Semiconductor memories are faster, smaller,
More informationGETTING STARTED WITH PROGRAMMABLE LOGIC DEVICES, THE 16V8 AND 20V8
GETTING STARTED WITH PROGRAMMABLE LOGIC DEVICES, THE 16V8 AND 20V8 Robert G. Brown All Rights Reserved August 25, 2000 Alta Engineering 58 Cedar Lane New Hartford, CT 06057-2905 (860) 489-8003 www.alta-engineering.com
More informationECE124 Digital Circuits and Systems Page 1
ECE124 Digital Circuits and Systems Page 1 Chip level timing Have discussed some issues related to timing analysis. Talked briefly about longest combinational path for a combinational circuit. Talked briefly
More informationGates & Boolean Algebra. Boolean Operators. Combinational Logic. Introduction
Introduction Gates & Boolean lgebra Boolean algebra: named after mathematician George Boole (85 864). 2-valued algebra. digital circuit can have one of 2 values. Signal between and volt =, between 4 and
More informationInternational Journal of Electronics and Computer Science Engineering 1482
International Journal of Electronics and Computer Science Engineering 1482 Available Online at www.ijecse.org ISSN- 2277-1956 Behavioral Analysis of Different ALU Architectures G.V.V.S.R.Krishna Assistant
More informationCS311 Lecture: Sequential Circuits
CS311 Lecture: Sequential Circuits Last revised 8/15/2007 Objectives: 1. To introduce asynchronous and synchronous flip-flops (latches and pulsetriggered, plus asynchronous preset/clear) 2. To introduce
More informationDigital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell
Digital Electronics Part I Combinational and Sequential Logic Dr. I. J. Wassell Introduction Aims To familiarise students with Combinational logic circuits Sequential logic circuits How digital logic gates
More informationLecture 8: Binary Multiplication & Division
Lecture 8: Binary Multiplication & Division Today s topics: Addition/Subtraction Multiplication Division Reminder: get started early on assignment 3 1 2 s Complement Signed Numbers two = 0 ten 0001 two
More informationUnited States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1
United States Naval Academy Electrical and Computer Engineering Department EC262 Exam 29 September 2. Do a page check now. You should have pages (cover & questions). 2. Read all problems in their entirety.
More information1. Convert the following base 10 numbers into 8-bit 2 s complement notation 0, -1, -12
C5 Solutions 1. Convert the following base 10 numbers into 8-bit 2 s complement notation 0, -1, -12 To Compute 0 0 = 00000000 To Compute 1 Step 1. Convert 1 to binary 00000001 Step 2. Flip the bits 11111110
More informationDIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department
Counters By: Electrical Engineering Department 1 Counters Upon completion of the chapter, students should be able to:.1 Understand the basic concepts of asynchronous counter and synchronous counters, and
More information