Design methodology for Implementing a Microcontroller in a FPGA. Phillip Southard Ohio University EE 690 Reconfigurable Design.

Slides:



Advertisements
Similar presentations
Assembly Language.
Advertisements

The 8051 Microcontroller and Embedded Systems
MICROPROCESSORS TWO TYPES OF MODELS ARE USED :  PROGRAMMER’S MODEL :- THIS MODEL SHOWS FEATURES, SUCH AS INTERNAL REGISTERS, ADDRESS,DATA & CONTROL BUSES.
8051 Core Specification.
CSC 3650 Introduction to Computer Architecture Time: 3:30 to 6:30Meeting Days: WLocation: Oxendine 1237B Textbook: Essentials of Computer Architecture,
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
LS R First Design Key board. A B Second Design A B C D CD B Key board Third Design.
Aug. 24, 2007ELEC 5200/6200 Project1 Computer Design Project ELEC 5200/6200-Computer Architecture and Design Fall 2007 Vishwani D. Agrawal James J.Danaher.
Pyxis Aaron Martin April Lewis Steve Sherk. September 5, 2005 Pyxis16002 General-purpose 16-bit RISC microprocessor bit registers 24-bit address.
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
The MSP430xxxx Department of Electrical and Computer Engineering
Micro controllers A self-contained system in which a processor, support, memory, and input/output (I/O) are all contained in a single package.
ECE/CS-352: Embedded Microcontroller Systems Embedded Microcontroller Systems.
Interrupts  Interrupt is a process where an external device can get the attention of the microprocessor.  The process starts from the I/O device  The.
1 SERIAL PORT INTERFACE FOR MICROCONTROLLER EMBEDDED INTO INTEGRATED POWER METER Mr. Borisav Jovanović, Prof.dr Predrag Petković, Prof.dr. Milunka Damnjanović,
The 8051 Microcontroller and Embedded Systems
ECE 449: Computer Design Lab Coordinator: Kris Gaj TAs: Tuesday session: Pawel Chodowiec Thursday session: Nghi Nguyen.
1 The /27/ Today over fifty companies produce variations of the Several of these companies have over fifty versions of the 8051.
Microcontrollers Class : 4th Semister E&C and EEE Subject Code: 06ES42
Intel 8051 Another family of microcontroller is the Intel 8051 family. The basic 8051 microcontroller has four parallel input/output ports, port 0, 1,
MICROOCESSORS AND MICROCONTROLLER:
What is a Microprocessor ? A microprocessor consists of an ALU to perform arithmetic and logic manipulations, registers, and a control unit Its has some.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
Presented by Sadhish Prabhu
1 EKT 225 MICROCONTROLLER I CHAPTER ASSEMBLY LANGUAGE PROGRAMMING.
8051 Micro Controller. Microcontroller versus general-purpose microprocessor.
HJD Institute of Technical Education & Research- Kera(Kutch) The 8051 Microcontroller architecture PREPARED BY: RAYMA SOHIL( )
80C51 Block Diagram 1. 80C51 Memory Memory The data width is 8 bits Registers are 8 bits Addresses are 8 bits – i.e. addresses for only 256.
MICROPROCESSOR INTEL 8086/8088 BY: SERA SYARMILA SAMEON.
DEPARTMENT OF ELECTRONICS ENGINEERING V-SEMESTER MICROPROCESSOR & MICROCONTROLLER 1 CHAPTER NO microcontroller & programming.
1 Contents: 3.1 Instruction format and Addressing Modes 3.2 Instruction Introduction Chapter 3 Instruction system.
Microprocessors I 8051 Addressing Modes CS Prof. Msc. Ivan A. Escobar
Embedded Microcontroller Systems
Seminar On 8085 microprocessor
The 8051 Microcontroller architecture
Microcontroller.
CHAPTER ADDRESSING MODES.
Embedded Microcontroller Systems
Classification of Instruction Set of 8051
MCI PPT AVR MICROCONTROLLER Mayuri Patel EC-1 5th sem
Memory Organisation Source: under
Microprocessor Systems Design I
UNIT – Microcontroller.
Microprocessor Systems Design I
The 8051 Microcontroller and Embedded Systems
Course Overview and The 8051 Architecture
Sega Dreamcast Visual Memory Unit FPGA Implementation
8051 Addressing Modes The way, using which the data source or destination addresses are specified in the instruction mnemonic for moving the data, is.
Microcomputer Programming
Processor Organization and Architecture
CS703 - Advanced Operating Systems
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Processor Organization and Architecture
Number Representations and Basic Processor Architecture
Memory organization On- chip memory Off-chip memory
Architectural Overview
Microcontroller 8051 Made By: Arun Branch. 4th Sem. I&C Engg.
Memory Organisation Source: under
Unit – Microcontroller Tutorial Class - 2 ANITS College
8051 Microcontroller.
Ghifar Parahyangan Catholic University August 22, 2011
First Design Key board R L S.
Important 8051 Features On chip oscillator 4K bytes ROM 128 bytes RAM
Introduction to Microprocessor Programming
EECE.3170 Microprocessor Systems Design I
Memory Organisation Source: under
UNIT-III Pin Diagram Of 8086
Compiled by Dr. N.Shanmugasundaram, HOD, ECE Dept, SECE.
Course Outline for Computer Architecture
MCU – Microcontroller Unit – 2
Presentation transcript:

Design methodology for Implementing a Microcontroller in a FPGA. Phillip Southard Ohio University EE 690 Reconfigurable Design

Outline n Introduction n Design Process - from goals to implementation n Results n Conclusion

Inroduction n Background Information n Microcontrollers VS. Microprocessors n 8031 defined n Goals of the Design Process

Background Information n My thesis pertains directly to EE 690. n I am modeling a microcontroller, the 8031 n I plan on implementing my design in a FPGA

MicroControllers VS. MicroProcessors n MicroP’s are a general purpose machine n MicroC’s is a true computer on a chip n MicroP’s need additional components to make a complete system n MicroC’s have all necessary features including, ROM,RAM, parallel I/O, etc.

Project focal point, Intel 8031 n 8-bit CPU n Extensive Boolean processing n 64K Data & Memory Space n 128 bytes of on-chip Data Ram n 32 bidirectional/individually addressable I/O lines n 2 16-bit timer/counters n Full Duplex UART n 6-source/5-vector interrupt structure

Goals of the Design Process n To develop an accurate behavior VHDL model of the 8031 n To develop an accurate RTL VHDL model of the 8031 n Synthesize the RTL mode n Successfully implement the synthesized model in a Xilinx FPGA

The Design Process, Part 1 n Define the register structure, instruction set, and addressing modes n Construct table showing register transfers and State Machine graph n Design the control state machine n Write behvioral VHDL code based on the above completed tasks n Simulate execution to verify accurate modeling

The Design Process, Part 2 n Develop block diagram of major units and determine control signals n Rewrite VHDL based on previous step n Again, simulate execution to verify model n Make needed changes in code for Synthesis n Syntheize the controller fromthe VHDL code n Download bit stream file to FPGA for hardware verification

Step 1, Define Register Structure, Instruction Set, & Addressing Modes

Step 1- Instruction Set Arithmetic Instructions

Step 1- Instruction Set Logical Instructions

Step 1- Instruction Set Internal Data Memory Data Transfer

Step 1- Instruction Set Exteranl Data Memory Data Transfer

Step 1- Instruction Set Lookup Table Read Instructions

Step 1- Instruction Set Boolean Instructions

Step 1- Instruction Set Unconditional Jumps

Step 1- Instruction Set Conditional Jumps

Step 1 - Addressing Modes n Direct Addressing – Only internal Data Ram and external Ram and SFR’s can be directly addressed n Indirect Addressing – Both internal and external Ram can be indirectly addressed – The address register for 8-bit addresses can be R0 or R1 of the current register bank, or the Stack Pointer – The address register for 16-bit addresses can be only be the 16-bit “data pointer” register, DPTR

Step 1 - Addressing Modes n Register Addressing – Opcodes that use register addressing use a single byte for identifying the instruction and the register – One of four banks is selected at execution time by the two bank select bits in the PSW n Immediate Addressing – The value of a constant can follow the opcode in Program Memory

Step 2 - Register Transfer Table

Step 2 - State Machine Graph