MicroBaby Datapath.

Slides:



Advertisements
Similar presentations
1/8/ VerilogCopyright Joanne DeGroat, ECE, OSU1 Verilog Overview An overview of the Verilog HDL.
Advertisements

L23 – Adder Architectures. Adders  Carry Lookahead adder  Carry select adder (staged)  Carry Multiplexed Adder  Ref: text Unit 15 9/2/2012 – ECE 3561.
L18 – VHDL for other counters and controllers. Other counters  More examples Gray Code counter Controlled counters  Up down counter  Ref: text Unit.
9/15/09 - L25 Registers & Load Enable Copyright Joanne DeGroat, ECE, OSU1 Registers & Load Enable.
L23 – Arithmetic Logic Units. Arithmetic Logic Units (ALU)  Modern ALU design  ALU is heart of datapath  Ref: text Unit 15 9/2/2012 – ECE 3561 Lect.
1/8/ L24 IEEE Floating Point Basics Copyright Joanne DeGroat, ECE, OSU1 IEEE Floating Point The IEEE Floating Point Standard and execution.
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Decoders and Multiplexers.
SAP1 (Simple-As-Possible) Computer
L16 – Testbenches for state machines. VHDL Language Elements  More examples HDL coding of class examples Testbench for example  Testing of examples.
1/8/ L3 Data Path DesignCopyright Joanne DeGroat, ECE, OSU1 ALUs and Data Paths Subtitle: How to design the data path of a processor.
Computer Design Basics
1/8/ L11 Project Step 5Copyright Joanne DeGroat, ECE, OSU1 Project Step 5 Step 2 in behavioral modeling. Use of procedures.
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Decoders and Multiplexer Circuits.
L26 – Datapath ALU implementation
1/8/ L23 Project Step 9 - Sequential Machine Copyright Joanne DeGroat, ECE, OSU1 Project Step 9 Beyond the ALU and Datapath. Sequential Machine.
L16 – VHDL for State Machines with binary encoding.
Chap 7. Register Transfers and Datapaths. 7.1 Datapaths and Operations Two types of modules of digital systems –Datapath perform data-processing operations.
1/8/ L7 Project Step 3Copyright Joanne DeGroat, ECE, OSU1 Project Step 3 Structural Modeling and the Generate Statement.
1/8/ Data Path Design & Control Copyright Joanne DeGroat, ECE, OSU1 Processor Data Paths - ALU and Registers Incorporating the ALU into a.
1/8/ Extra CreditCopyright Joanne DeGroat, ECE, OSU1 PS3xcr Extra Credit Project Modification that can be done to the datapath.
A four function ALU A 00 ADD B MUX SUB 11 Result AND OR
L19 – Resolved Signals. Resolved Signals  What are resolved signals In systems In VHDL Resolution – Isn’t that for resolving conflicts?  Ref: text Unit.
CPU The Central Processing Unit (CPU), has 3 main parts: Control Unit Arithmetic and Logic Unit Registers. These components are connected to the rest.
L20 – Register Set. The 430 Register Set  Not exactly a dual ported register set, but a dual drive register set.  Ref: text Unit 10, 17, 20 9/2/2012.
1/8/ L11 Project Step 5Copyright Joanne DeGroat, ECE, OSU1 Project Step 7 Behavioral modeling of a dual ported register set.
1/8/ L25 Floating Point Adder Copyright Joanne DeGroat, ECE, OSU1 IEEE Floating Point Adder Using the IEEE Floating Point Standard for an.
MicroBaby ALU.
State Machine Design with an HDL
Implementing Combinational
SAP1 (Simple-As-Possible) Computer
Subtitle: How to design the data path of a processor.
Modification that can be done to the datapath.
Chap 7. Register Transfers and Datapaths
Homework Reading Machine Projects Labs
Basics of digital systems
Behavioral modeling of a dual ported register set.
Instructor: Alexander Stoytchev
The IEEE Floating Point Standard and execution units for it
Processor Data Paths -ALU and Registers
Modification that can be done to the datapath.
L19 – Register Set.
Incrementing and Decrementing
Copyright Joanne DeGroat, ECE, OSU
Copyright Joanne DeGroat, ECE, OSU
Project Step 1 Due – see webpage
L21 – Register Set.
L25 – Datapath ALU.
MicroBaby Datapath.
Copyright Joanne DeGroat, ECE, OSU
L22 – Register Set Debugging
Design Specification Document
IEEE Floating Point Adder
CSC 220: Computer Organization
Homework Reading Machine Projects Labs
Step 2 in behavioral modeling. Use of procedures.
Beyond the ALU and Datapath. Sequential Machine Modeling exercise.
IEEE Floating Point Adder Verification
An overview of the Verilog HDL.
Behavioral modeling of a dual ported register set.
Copyright Joanne DeGroat, ECE, OSU
The IEEE Floating Point Standard and execution units for it
Structural Modeling and the Generate Statement
Copyright Joanne DeGroat, ECE, OSU
Step 2 in behavioral modeling. Use of procedures.
L4 – An overview of Quartis
Step 3 in behavioral modeling. Use of packages.
L25 – Final Review AU 15 Final Exam – Classroom – Journalism 300
Instruction execution and ALU
Beyond the ALU and Datapath. Sequential Machine Modeling exercise.
Structural Modeling and the Generate Statement
Presentation transcript:

MicroBaby Datapath

Copyright 2015 - Joanne DeGroat, ECE, OSU MB Datapth The MicroBaby Datapath – the main part of the processor – composed of : The MB ALU An accumulator A B input, which also has a latch register to hold the value when the bus returns to high impedance, Z Output driver to drive the bidirectional data bus. The objective is to implement this in VHDL, verify the implementation, and then synthesize it in Quartis. Copyright 2015 - Joanne DeGroat, ECE, OSU

Copyright 2015 - Joanne DeGroat, ECE, OSU The MB datapath The datapath has the following structure Copyright 2015 - Joanne DeGroat, ECE, OSU

Copyright 2015 - Joanne DeGroat, ECE, OSU Datapath components The MB ALU An 8-bit register for the accumulator Ldac – load the accumulator with the value on its input A 2-to-1x8 mux before the accumulator Aal control signal selects between the ALU result and the databus input A 2-to-1x8 mux before the Blatch Bbu selects between a fixed input of “00000000” and the databus input An 8-bit register to hold the Binput to the accumulator This is needed to prevent connection of the Binput to the ALU directly to the databus which goes back to high impedance, Z A BusDriver Allows the contents of the accumulator to be driven onto the bus Copyright 2015 - Joanne DeGroat, ECE, OSU

Control signal summary Aal – Accumulator input selection Bbu – B input select Ldac – Load the accumulator (positive edge) Dracc – Drive the accumulator value onto the databus Bmuxlatch – Load the Blatch with data F(3 dt 0) – the function code (ALU) AddSub – add or subtract (ALU) Cin – the Carry input (ALU) Arlo – arithmetic or logic operation (ALU) Csel – the carry input mux to the adder of the ALU DataBus – the databus which runs on a bus cycle Cout – the ALU carry flag N – the ALU N flag Z – the ALU Z flag Copyright 2015 - Joanne DeGroat, ECE, OSU

Copyright 2015 - Joanne DeGroat, ECE, OSU The last step You will be modeling each of these components, HDL simulating it, and then synthesizing it using Quartis. A model of components will be provided along with an HDL testbench. Copyright 2015 - Joanne DeGroat, ECE, OSU

Copyright 2015 - Joanne DeGroat, ECE, OSU

Copyright 2015 - Joanne DeGroat, ECE, OSU

Copyright 2015 - Joanne DeGroat, ECE, OSU

Copyright 2015 - Joanne DeGroat, ECE, OSU