MIPS/PIC3 – Arhitectura PIC32 – set instructiuni

Slides:



Advertisements
Similar presentations
Introduction to Computers Section 4A. home Decimal Number System Called base 10 because 10 symbols are available.
Advertisements

More Intel machine language and one more look at other architectures.
Final Project : Pipelined Microprocessor Joseph Kim.
Computer Organization and Architecture
Computer Organization. This module surveys the physical resources of a computer system. –Basic components CPUMemoryBus I/O devices –CPU structure Registers.
Embedded Systems Programming
Architectural Support for OS March 29, 2000 Instructor: Gary Kimura Slides courtesy of Hank Levy.
State Machines Timing Computer Bus Computer Performance Instruction Set Architectures RISC / CISC Machines.
Vacuum tubes Transistor 1948 –Smaller, Cheaper, Less heat dissipation, Made from Silicon (Sand) –Invented at Bell Labs –Shockley, Brittain, Bardeen ICs.
Processor Architecture Kieran Mathieson. Outline Memory CPU Structure Design a CPU Programming Design Issues.
CS402 PPP # 2 MIPS BASIC INFORMATION By George Koutsogiannakis 1.
Programming & Development of Mobile & Embedded Systems Lin Zhong ELEC424, Fall 2010.
Micro controllers A self-contained system in which a processor, support, memory, and input/output (I/O) are all contained in a single package.
9/20/6Lecture 21 -PIC Architecture1 PIC Architecture Programmers Model and Instruction Set.
AVR Microcontrollers.
hardware and operating systems basics.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Memory Addressing in Linux  Logical Address machine language instruction location  Linear address (virtual address) a single 32 but unsigned integer.
The Instruction Set Architecture Level Dept. of Computer Science Virginia Commonwealth University.
Computer Organization and Architecture Tutorial 1 Kenneth Lee.
Practice Exercises Chapter one and three.
Microprocessor Microprocessor (cont..) It is a 16 bit μp has a 20 bit address bus can access upto 220 memory locations ( 1 MB). It can support.
Interrupt driven I/O. MIPS RISC Exception Mechanism The processor operates in The processor operates in user mode user mode kernel mode kernel mode Access.
DIGITAL SIGNAL PROCESSORS. Von Neumann Architecture Computers to be programmed by codes residing in memory. Single Memory to store data and program.
Computer Organization Rabie A. Ramadan Lecture 3.
Processor Structure and Function Chapter8:. CPU Structure  CPU must:  Fetch instructions –Read instruction from memory  Interpret instructions –Instruction.
JOP Java Optimized Processor DI Martin Schöberl. Content Targets Java Virtal Machine Three different architectures Datapath of JOP3 First results.
Interrupt driven I/O Computer Organization and Assembly Language: Module 12.
Fundamentals of Programming Languages-II
RISC / CISC Architecture by Derek Ng. Overview CISC Architecture RISC Architecture  Pipelining RISC vs CISC.
Chapter 11 System Performance Enhancement. Basic Operation of a Computer l Program is loaded into memory l Instruction is fetched from memory l Operands.
STUDY OF PIC MICROCONTROLLERS.. Design Flow C CODE Hex File Assembly Code Compiler Assembler Chip Programming.
Chapter Overview General Concepts IA-32 Processor Architecture
Protection in Virtual Mode
Interrupts and exceptions
Processes and threads.
CS501 Advanced Computer Architecture
AVR ATMEGA 8 MICRO-CONTROLLER
Chapter 1: A Tour of Computer Systems
William Stallings Computer Organization and Architecture 8th Edition
Microprocessor Systems Design I
Microprocessor Systems Design I
Memory Management References text: Tanenbaum ch.4.
contains 8086 processor and several additional functional chips: clock generator 2 independent DMA channels PIC 3 programmable 16-bit timers.
University of Gujrat Department of Computer Science
1st micro 1971 calculator 2300 transistors 4-bit microprocessor
Paging and Segmentation
PIC Microcontroller What is PC LATH?????.
Memory Management References text: Tanenbaum ch.4.
EE 445S Real-Time Digital Signal Processing Lab Spring 2014
Memory Physical and Virtual
Today’s agenda Hardware architecture and runtime system
Architectural Support for OS
CSE 451: Operating Systems Autumn 2003 Lecture 2 Architectural Support for Operating Systems Hank Levy 596 Allen Center 1.
EECE.3170 Microprocessor Systems Design I
CSE 451: Operating Systems Winter 2003 Lecture 2 Architectural Support for Operating Systems Hank Levy 412 Sieg Hall 1.
Architectural Support for OS
Course Outline for Computer Architecture
Lecture 13 Harvard architecture Coccone OS demonstrator
CPU Structure CPU must:
Lecture 4: Instruction Set Design/Pipelining
CPU Structure and Function
Chapter 11 Processor Structure and function
Embedded System Development Lecture 10 March 29, 2006
Introduction to Computers
Presentation transcript:

MIPS/PIC3 – Arhitectura PIC32 – set instructiuni Embedded Computer – Master 2009 Curs9 MIPS/PIC3 – Arhitectura PIC32 – set instructiuni MIPS PIC32 – functii I/O PIC32 – C i/o port Lab.9 – Intreruperi Timer1 Extensii NXT

MIPS – Nucleu centarl - Full 32-bit RISC technology - Register-based processor - Five stage pipeline - MIPS16e for improved code density - Virtual addresses with fixed mapping - Multi-segment memory model - User and Kernel Mode

MIPS – Instruction Set Architecture

MICROCHIP - MCU

PIC32 – Arhitectura

PIC32 –

PIC/MIPS –

MIPS –Prefech Fetches 128-bit data 􀁏 4x32-bit instructions 􀁏 Up to 80 MIPS of linear execution 􀁏 256 Bytes Cache 􀁏 16 total lines 􀁏 Up to 4 data lines 􀁏 Lockable Lines

Operatii multiple 1

USB

PIC32- platforme de dezvoltare

PIC32– Generator clock

MIPS – Registre generale – C32

MIPS C32 - Atomic bit manipulation Atomic bit manipulation via special SET, CLR, & INV registers allows faster operations Operates on corresponding base register Only bits specified as ‘1’ are modified Writing 0x0001 to TRISASET register sets only bit 0 in base register TRISA Writing 0x0020 to PORTDCLR register clears only bit 5 in base register PORTD Writing 0x9000 to LATCINV register inverts only bits 15 and 12 in the base register LATC

MIPS C32 – Fisier initializare crt0.o Compiler’s crt0.o performs processor initialization - Initialize Stack, Heap and Global pointers - Clear Uninitialized Data Sections - Copy Initialized Data Flash to Data Memory - Copy RAM Functions from Program Flash to Data Memory - Initialize CP0 Registers - Initialize Exception Vectors - Call main()

PIC32 – POSC/FRC

PIC32 - Timer 1

MIPS

MIPS

MIPS

NXT – Hello world