Training - PPC405 Core (reference 002630A)
 
    Partners
  • Do not hesitate to request the detailed course description by contacting training@mvd-fpga.com
  • This training course is approved by IBM microelectronics
  • Practical exercices are built with Diab Data compiler, downloaded to the Virtex-II Pro evaluation board through the Wind River probe
  • Single Step debugger is used to control code execution
  • A full generic CSP [CPU Software Package] developed by MVD is provided to attendees in source code
   
           
    Related Trainings
   
           
    Prerequisites
  • Experience of a 32 bit processor or DSP is mandatory
   
             
  Course Objectives
  • A boot firmware that initializes the MMU has been developped
  • Internal debug facilities are described
  • OCM memory benefits compared to cache are highlighted
  • The course focusses on 405 low level programming, especially the PowerPC EABI
  • Examples of exception handlers are provided
  • A DFT has been developed to explain how to use mac instructions
   
           
    Duration
  • 3-day course
   
           
    Topics

(The full description of this course can be provided on request)

INTRODUCTION TO 405

  • Architecture of a 405-based System-on-Chip
  • Programming model, the 4 register groups GPRs, SPRs, DCRs and memory mapped

THE CORE ARCHITECTURE

  • 5-stage pipeline operation
  • Instructions flows through the pipeline
  • Speculative execution, guarded memory, SGR register
  • Serialization : prefetch barrier implementation by means of unconditional branch instructions, isync instruction
  • Cache basics : organization, replacement algorithm, write policies
  • Data flow between external memory and caches
  • Cache programming interface
  • Memory Management Unit : memory attributes definition (cache enabled / cache inhibited, copyback / writethrough)
  • Translation Lookaside Buffer initialisation
  • Parity control for caches and UTLB
  • Cache control and debugging features
  • Load / store buffer, sync instruction

PowerPC ARCHITECTURE FOR EMBEDDED APPLICATIONS

  • Branch instructions
  • System call instruction
  • Load / store instructions
  • Semaphore management with lwarx / stwcx. Instructions
  • Arithmetical and logical instructions
  • The PowerPC EABI
  • Cache related instructions
  • 16-bit mac instructions
  • Exception processing
  • Critical versus non critical interrupts
  • Syndrome registers updating when an exception is taken
  • Core timers : PIT, FIT and WDT
  • Reset

INTEGRATED DEBUG FACILITIES

  • JTAG debug
  • Logic analyser connection through Mictor connectors
  • The 405 instruction trace port
  • Hardware vs software breakpoints

HARDWARE IMPLEMENTATION OF THE PPC405 CORE

  • External connections
  • Clock and power management interface
  • CPU control interface
  • Reset interface
  • External interrupt controller interface
  • The OCM busses
  • Instruction-side local bus interface
  • Data-side local bus interface
  • DCR interface

APU CONTROLLER

  • Connection to the native instruction pipeline
  • External coprocessor module
  • Software interface
  • Class of instruction
  • Developing a custom instruction set relying on an external coprocessor
   
           
    Documentation

Training manuals will be given to participants during training. Precise and easy of use, those notes can be used as a reference afterwards.
   
           
    Other trainings :

If you want to know our other training courses and their contents, you can consult or download our complete training courses list on this page : Training courses - General presentation