Calculator Overview Functional Verification. Calculator Design n Calculator has 4 functions: Add Subtract Shift left Shift right n Calculator can handle.

Slides:



Advertisements
Similar presentations
Reliable Data Processor in VLSI
Advertisements

Calculator 3: Transformation to an ALU! Design specs.
Calculator Lab Exercises Bruce Wile, IBM Design Automation Conference Sunday, June 9, 2002.
1 ALUs. 2 Topics: ALU Overview - core of the integer datapath - 2 operands, 32-bits wide, plus control signals Exercise: A simple multiplier.
Calculator Design n Calculator has 4 functions: è Add è Subtract è Shift left è Shift right n Calculator can handle 4 requests in parallel è All 4 requestors.
Instruction Set Architecture & Design
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
TECH CH03 System Buses Computer Components Computer Function
Configuration. Mirjana Stojanovic Process of loading bitstream of a design into the configuration memory. Bitstream is the transmission.
Lab 1 Calculator Overview CSE Functional Verification SUNY New Paltz.
Group 7 Jhonathan Briceño Reginal Etienne Christian Kruger Felix Martinez Dane Minott Immer S Rivera Ander Sahonero.
INPUT-OUTPUT ORGANIZATION
CS-334: Computer Architecture
Computer Architecture Lecture 08 Fasih ur Rehman.
Computer Architecture
THE COMPUTER SYSTEM. Lecture Objectives Computer functions – Instruction fetch & execute – Interrupt Handling – I/O functions Interconnections Computer.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Top Level View of Computer Function and Interconnection.
I/P Addressing Each input or output is assigned a number on its module, which is referenced to within the program which is refereed to as “address”.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
COMPUTER ORGANIZATIONS CSNB123. COMPUTER ORGANIZATIONS CSNB123 Expected Course Outcome #Course OutcomeCoverage 1Explain the concepts that underlie modern.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
EEE440 Computer Architecture
Simulating a Verilog Description module bigtest;. calc1_top D1(out_data1, out_data2, out_data3, out_data4, out_resp1, out_resp2, out_resp3, out_resp4,
Microprocessor. Interrupts The processor has 5 interrupts. CALL instruction (3 byte instruction). The processor calls the subroutine, address of which.
Z80 Overview internal architecture and major elements of the Z80 CPU.
A four function ALU A 00 ADD B MUX SUB 11 Result AND OR
80386DX functional Block Diagram PIN Description Register set Flags Physical address space Data types.
Dr Mohamed Menacer College of Computer Science and Engineering, Taibah University CE-321: Computer.
Antelope Progress MMU and Cache->Datapath interfaces almost complete Datapath moving slowly, control issues keep surfacing Hazard Detection/Prevention.
Overview von Neumann Architecture Computer component Computer function
Calculator Lab Exercises Bruce Wile, IBM Design Automation Conference Sunday, June 9, 2002.
Register Transfer Languages (RTL)
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
Group 1 chapter 3 Alex Francisco Mario Palomino Mohammed Ur-Rehman Maria Lopez.
Elements of Datapath for the fetch and increment The first element we need: a memory unit to store the instructions of a program and supply instructions.
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
8 085Microprocessor Temp Reg (8) Accumulator (A reg) Flag flip flops(8) Instruction Register (8) Arithmetic Logic Unit ALU Instruction Decoder and Machine.
Review ATA - IDE Project name : ATA – IDE Training Engineer : Minh Nguyen.
Computer Architecture. Top level of Computer A top level of computer consists of CPU, memory, an I/O components, with one or more modules of each type.
CPU Lesson 2.
Implementing Combinational
Multiplication and Division basics
Combinational Circuits
Basic Processor Structure/design
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
Introduction of microprocessor
Chapter 3 Top Level View of Computer Function and Interconnection
Flip-Flop Applications
Flip-Flop Applications
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Simple Implementation
Combinational Circuits
Arithmetic Circuits.
William Stallings Computer Organization and Architecture 7th Edition
Presentation transcript:

Calculator Overview Functional Verification

Calculator Design n Calculator has 4 functions: Add Subtract Shift left Shift right n Calculator can handle 4 requests in parallel All 4 requestors use separate input signals All requestors have equal priority Each port must wait for its response prior to sending the next command

Calculator design n Input/Output description c_clk out_resp2 req1_data_in req1_cmd_in out_data1 req4_cmd_in req3_cmd_in req2_cmd_in req4_data_in req3_data_in req2_data_in reset out_data4 out_data3 out_data2 out_resp4 out_resp3 out_resp1 calc_top

Calculator Design n I/O Description Input commands: – 0 - No-op – 1 - Add operand1 and operand2 – 2 - Subtract operand2 from operand1 – 5 - Shift left operand1 by operand2 places – 6 - Shift right operand1 by operand2 places Input Data – Operand1 data arrives with command – Operand2 data arrives on the following cycle

Calculator Design n Outputs Response line definition – 0 - no response – 1 - successful operation completion – 2 - invalid command or overflow/underflow error – 3 - Internal error Data – Valid result data on output lines accompanies response (same cycle)

n Input/Output timing Calculator Design req1_data_in req1_cmd_in out_data1 out_resp1 Each port must wait for its response prior to sending the next command!

Calculator Design n Other information Clocking – When using a cycle simulator, the clock should be held high (c_clk in the calculator model) – The clock should be toggled when using an event simulator Calculator priority logic – Priority logic works on first come first serve algorithm – Priority logic allows for 1 add or subtract at a time and one shift operation at a time

Calculator Design n Other information (con't) Resets – Hold reset(1:7) to ' 'b at start of testcase for seven cycles. – During the reset period, outputs of the calculator should be ignored Shift operation – Only the low order 5 bits of the second operand are used Arithmetic operations are unsigned