Page 3 - Version
UG018 (v2.0) August 20, 2004 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 PowerPC™ 405 Processor Block Reference Guide UG018 (v2.0) August 20, 2004 The following table shows the revision history for this document. Version Revision 09/16/02 1.0 Initial Embedded Developme...
Page 5 - Preface: About This Guide; Table of Contents
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 5 UG018 (v2.0) August 20, 2004 1-800-255-7778 Preface: About This Guide Guide Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Additional Resources . . . ...
Page 6 - Chapter 3: PowerPC 405 OCM Controller
6 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 R Instruction-Side PLB Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Instruction-Side PLB I/O Signal Table . . . . . . . . . . . . . . . ....
Page 7 - Chapter 4: PowerPC 405 APU Controller
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 7 UG018 (v2.0) August 20, 2004 1-800-255-7778 R ISOCM Controller Instruction Fetch Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144DSOCM Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 8 - Appendix A: RISCWatch and RISCTrace Interfaces; RISCWatch Interface; Appendix B: Signal Summary; Interface Signals; Appendix C: Processor Block Timing Model; Timing Parameter Tables and Diagram; Index
8 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 R FCM Store Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204FCM Exception . . . . . . . . . . . . . . . . . . . . . . . . ....
Page 9 - Preface; About This Guide; Guide Contents
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 9 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Preface About This Guide This guide serves as a technical reference describing the hardware interface to the PowerPC ® 405 processor block. It contains information on input/output signals, tim...
Page 10 - Additional Resources; Typographical; Resource; Courier bold
10 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Preface: About This Guide R Additional Resources For additional information, go to http://support.xilinx.com . The following table lists some of the resources you can access from this website. ...
Page 11 - Online Document
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 11 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Online Document The following conventions are used in this document: Helvetica bold Commands that you select from a menu File o Open Keyboard shortcuts Ctrl+C Italic font Variables in a synta...
Page 12 - General Conventions; Registers
12 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Preface: About This Guide R General Conventions Table 1-1 lists the general notational conventions used throughout this document. Registers Table 1-2 lists the PowerPC 405 registers used in thi...
Page 13 - Terms; Register
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 13 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Terms TCR Timer-control register TSR Timer-status register Table 1-2: PowerPC 405 Registers (Continued) Register Descriptive Name active As applied to signals, this term indicates a signal is...
Page 17 - Chapter 1; PowerPC Architecture
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 17 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Chapter 1 Introduction to the PowerPC 405 Processor The PowerPC 405 is a 32-bit implementation of the PowerPC embedded-environment architecture that is derived from the PowerPC architecture. ...
Page 18 - PowerPC Embedded-Environment Architecture; Three Levels of PowerPC Architecture
18 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 1: Introduction to the PowerPC 405 Processor R The PowerPC architecture requires that all PowerPC implementations adhere to the UISA, offering compatibility among all PowerPC applicatio...
Page 19 - Virtual Environment; Operating Environment
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 19 UG018 (v2.0) August 20, 2004 1-800-255-7778 R x Special-purpose registers for controlling the use of debug resources, timer resources, interrupts, real-mode storage attributes, memory-management facilities, and other architected processo...
Page 20 - OEA Features of the PowerPC Embedded-Environment Architecture
20 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 1: Introduction to the PowerPC 405 Processor R Table 1-2: OEA Features of the PowerPC Embedded-Environment Architecture Operating Environment Features Register model x Privileged specia...
Page 21 - PowerPC 405 Software Features
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 21 UG018 (v2.0) August 20, 2004 1-800-255-7778 R PowerPC 405 Software Features The PowerPC 405 processor core is an implementation of the PowerPC embedded-environment architecture. The processor provides fixed-point embedded applications wi...
Page 22 - Privilege Modes; Privileged Mode; Address Translation Modes
22 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 1: Introduction to the PowerPC 405 Processor R i Write-back and write-through support i Programmable load and store cache line allocation i Operand forwarding during cache line fills i ...
Page 23 - Real Mode; Virtual Mode; Addressing Modes; Data Types
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 23 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Real Mode In real mode, programs address physical memory directly. Virtual Mode In virtual mode, programs address virtual memory and virtual-memory addresses are translated by the processor i...
Page 24 - General-Purpose Registers; PowerPC 405 Registers; Privileged Registers
24 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 1: Introduction to the PowerPC 405 Processor R General-Purpose Registers The processor contains thirty-two 32-bit general-purpose registers (GPRs), identified as r0 through r31. The con...
Page 25 - Special-Purpose Registers; PowerPC 405 Hardware Organization
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 25 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Special-Purpose Registers The processor contains a number of 32-bit special-purpose registers (SPRs). SPRs provide access to additional processor resources, such as the count register, the li...
Page 26 - Central-Processing Unit; PowerPC 405 Organization
26 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 1: Introduction to the PowerPC 405 Processor R Central-Processing Unit The PowerPC 405 central-processing unit (CPU) implements a 5-stage instruction pipeline consisting of fetch, decod...
Page 27 - Exception Handling Logic
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 27 UG018 (v2.0) August 20, 2004 1-800-255-7778 R read ports and two write ports. During the decode stage, data is read out of the GPRs for use by the execute unit. During the write-back stage, results are written to the GPR. The use of five...
Page 28 - Instruction and Data Caches
28 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 1: Introduction to the PowerPC 405 Processor R Software manages the initialization and replacement of TLB entries. The PowerPC 405 includes instructions for managing TLB entries by soft...
Page 29 - Timer Resources; Programmable Interval Timer; Debug; PowerPC 405 Interfaces
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 29 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Timer Resources The PowerPC 405 contains a 64-bit time base and three timers. The time base is incremented synchronously using the CPU clock or an external clock source. The three timers are ...
Page 30 - PowerPC 405 Performance
30 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 1: Introduction to the PowerPC 405 Processor R x Device control register interface x Clock and power management interface x JTAG port interface x On-chip interrupt controller interface ...
Page 31 - PowerPC 405 Cycles per Instruction
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 31 UG018 (v2.0) August 20, 2004 1-800-255-7778 R caches and the time associated with performing cache-line fills and flushes. Unless stated otherwise, the number of cycles described applies to systems having zero-wait-state memory access. T...
Page 33 - Chapter 2; Input/Output Interfaces
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 33 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Chapter 2 Input/Output Interfaces This chapter describes all PowerPC 405 input/output signals associated with the following processor block interfaces: x “Clock and Power Management Interface...
Page 34 - Signal Naming Conventions; Signal Name Prefix Definitions
34 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R Appendix B, “Signal Summary,” alphabetically lists the signals described in this chapter. The l/O designation and a description summary are included for eac...
Page 35 - Clock and Power Management Interface; Prefix1 or Prefix2
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 35 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Clock and Power Management Interface The clock and power management (CPM) interface enables power-sensitive applications to control the processor clock using external logic. The OCM controlle...
Page 36 - CPM Interface I/O Signal Summary
36 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R i The DBGC405DEBUGHALT chip-input signal (if provided) is asserted. Assertion of this signal indicates that an external debug tool wants to control the Powe...
Page 37 - CPM Interface I/O Signal Descriptions; Signal
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 37 UG018 (v2.0) August 20, 2004 1-800-255-7778 R CPM Interface I/O Signal Descriptions The following sections describe the operation of the CPM interface I/O signals. CPMC405CLOCK (Input) This signal is the source clock for all PowerPC 405 ...
Page 39 - System Design Considerations for Clock Domains
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 39 UG018 (v2.0) August 20, 2004 1-800-255-7778 R C405CPMMSREE, C405CPMMSRCE, and C405CPMTIMERIRQ signals before using them to control the processor clocks. C405CPMTIMERIRQ (Output) When asserted, this signal indicates a timer exception occu...
Page 40 - PLB; Virtex-II Pro and ProX Specific; OCM
40 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R x PLBCLK, primary PLB I/O Bus clock. x BRAMISOCMCLK, reference clock for the I-Side OCM controller. x BRAMDSOCMCLK, reference clock for the D-Side OCM contr...
Page 41 - CPU Control Interface; CPU Control Interface I/O Signal Summary
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 41 UG018 (v2.0) August 20, 2004 1-800-255-7778 R clocks for the OCM controllers in the processor block: BRAMDSOCMCLK (data side controller) and BRAMISOCMCLK (instruction side controllers). The data side controller and the instruction side c...
Page 42 - CPU Control Interface I/O Signal Descriptions
42 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R CPU Control Interface I/O Signal Descriptions The following sections describe the operation of the CPU control-interface I/O signals. TIEC405MMUEN (Input) W...
Page 43 - Reset Interface; Reset Requirements
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 43 UG018 (v2.0) August 20, 2004 1-800-255-7778 R instructions following the load require the loaded data. Disabling operand forwarding may improve the performance (clock frequency) of the PowerPC 405. C405XXXMACHINECHECK (Output) When asser...
Page 44 - Reset Interface I/O Signal Summary
44 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R JTGC405TRSTNEG signals for at least sixteen clock cycles. FPGA designers cannot modify the processor block power-on reset mechanism. The reset logic is not ...
Page 45 - Reset Interface I/O Signal Descriptions
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 45 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Reset Interface I/O Signal Descriptions The following sections describe the operation of the reset interface I/O signals. C405RSTCORERESETREQ (Output) When asserted, this signal indicates the...
Page 47 - Instruction-Side Processor Local Bus Interface; Instruction-Side PLB Operation
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 47 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Table 2-5, page 44 shows the valid combinations of the RSTC405RESETCORE, RSTC405RESETCHIP, and RSTC405RESETSYS signals and their effect on the DBSR[MRR] field following reset. JTGC405TRSTNEG ...
Page 48 - Interaction with the ICU Fill Buffer
48 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R x The request priority is indicated by C405PLBICUPRIORITY[0:1]. See “C405PLBICUPRIORITY[0:1] (Output)” . The PLB arbiter uses this information to prioritize...
Page 49 - Prefetch and Address Pipelining
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 49 UG018 (v2.0) August 20, 2004 1-800-255-7778 R placed in the ICU fill buffer, but not in the instruction cache. Subsequent instruction fetches from the same non-cacheable line are read from the fill buffer instead of requiring a separate ...
Page 50 - Guarded Storage; Instruction-Side PLB Interface Block Symbol
50 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R x The prefetch address does not fall outside the current 1 KB physical page. Address pipelining of cacheable prefetch requests can occur if all of the follo...
Page 51 - Instruction-Side PLB Interface I/O Signal Descriptions; Instruction-Side PLB Interface Signal Summary
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 51 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Instruction-Side PLB Interface I/O Signal Descriptions The following sections describe the operation of the instruction-side PLB interface I/O signals. Throughout these descriptions and unles...
Page 54 - PLB-Request Priority Encoding
54 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R C405PLBICUU0ATTR (Output) This signal reflects the value of the user-defined (U0) storage attribute for the target address. The requested instructions are n...
Page 57 - Attachment of ISPLB Between 32-Bit Slave and 64-Bit Master
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 57 UG018 (v2.0) August 20, 2004 1-800-255-7778 R The ICU reads either the low 32 bits or the high 32 bits of the 64-bit interface, depending on the value of PLBC405ICURDWDADDR[1:3]. x When a 64-bit PLB slave responds, an aligned doubleword ...
Page 59 - Instruction-Side PLB Interface Timing Diagrams; ISPLB Timing Diagram Assumptions
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 59 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Following reset, the processor block prevents the ICU from fetching instructions until the busy signal is deasserted for the first time. This is useful in situations where the processor block...
Page 60 - ISPLB Timing Diagram Abbreviations
60 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R fastest rate at which a BIU can transfer instructions to the ICU (there is no limit to the number of cycles between two transfers). x All line transfers ass...
Page 61 - Abbreviation
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 61 UG018 (v2.0) August 20, 2004 1-800-255-7778 R ISPLB Non-Pipelined Cacheable Sequential Fetch (Case 1) The timing diagram in Figure 2-6 shows two consecutive eight-word line fetches that are not address pipelined. The example assumes inst...
Page 62 - ISPLB Pipelined Cacheable Sequential Fetch (Case 1)
62 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R ISPLB Non-Pipelined Cacheable Sequential Fetch (Case 2) The timing diagram in Figure 2-7 shows two consecutive eight-word line fetches that are not address ...
Page 63 - ISPLB Pipelined Cacheable Sequential Fetch (Case 2)
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 63 UG018 (v2.0) August 20, 2004 1-800-255-7778 R The first line read (rl1) is requested by the ICU in cycle 3 in response to a cache miss (represented by the miss1 transaction in cycles 1 and 2). Instructions are sent from the BIU to the IC...
Page 64 - ISPLB Non-Pipelined Non-Cacheable Sequential Fetch
64 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R After the first miss is detected, the ICU performs a prefetch in anticipation of requiring instructions from the next cache line (represented by the prefetc...
Page 65 - ISPLB Pipelined Non-Cacheable Sequential Fetch
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 65 UG018 (v2.0) August 20, 2004 1-800-255-7778 R in cycles 10 through 15). The line is not cacheable, so instructions are not transferred from the fill buffer to the instruction cache. ISPLB Pipelined Non-Cacheable Sequential Fetch The timi...
Page 67 - ISPLB Aborted Fetch Request
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 67 UG018 (v2.0) August 20, 2004 1-800-255-7778 R ISPLB 3:1 Core-to-PLB Line Fetch The timing diagram in Figure 2-13 shows an eight-word line fetch in a system with a PLB clock that runs at one third the frequency of the PowerPC 405 clock. T...
Page 68 - Data-Side Processor Local Bus Interface; Data-Side PLB Operation
68 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R Data-Side Processor Local Bus Interface The data-side processor local bus (DSPLB) interface enables the PowerPC 405 data cache unit (DCU) to load (read) and...
Page 70 - Interaction with the DCU Fill Buffer
70 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R i An eight-word line transfer moves the eight-word cache line aligned on the address specified by C405PLBDCUABUS[0:26]. See “C405PLBDCUABUS[0:31] (Output)” ...
Page 71 - Address Pipelining
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 71 UG018 (v2.0) August 20, 2004 1-800-255-7778 R An eight-word line-write transfer occurs when the fill buffer replaces an existing data-cache line containing modified data. The existing cache line is written to memory before it is replaced...
Page 73 - Data-Side PLB Interface I/O Signal Descriptions
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 73 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Data-Side PLB Interface I/O Signal Descriptions The following sections describe the operation of the data-side PLB interface I/O signals. Throughout these descriptions and unless otherwise no...
Page 80 - Contents of DCU Write-Data Bus During Eight-Word Line Transfer
80 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R PLBC405DCUADDRACK (Input) When asserted, this signal indicates the PLB slave acknowledges the DCU data-access request (indicated by the DCU assertion of C40...
Page 83 - Contents of DCU Read-Data Bus During Eight-Word Line Transfer
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 83 UG018 (v2.0) August 20, 2004 1-800-255-7778 R PLBC405DCURDWDADDR[1:3] (Input) These signals are used to specify the transfer order. They identify which word or doubleword of an eight-word line transfer is present on the DCU read-data bus...
Page 85 - Data-Side PLB Interface Timing Diagrams; DSPLB Timing Diagram Assumptions
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 85 UG018 (v2.0) August 20, 2004 1-800-255-7778 R The PLB slave should latch error information in DCRs so that software diagnostic routines can attempt to report and recover from the error. A bus-error address register (BEAR) should be imple...
Page 86 - DSPLB Three Consecutive Line Reads; DSPLB Timing Diagram Abbreviations
86 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R x The DCU activity is shown only as an aide in describing the examples. The occurrence and duration of this activity is not observable on the DSPLB. The fol...
Page 88 - DSPLB Three Consecutive Word Reads
88 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R is sent from the BIU to the DCU fill buffer in cycle 7. The DCU uses the byte enables to select the appropriate bytes from the read-data bus. The data is no...
Page 89 - DSPLB Three Consecutive Line Writes
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 89 UG018 (v2.0) August 20, 2004 1-800-255-7778 R The second word read (rw2) is requested by the DCU in cycle 7 and the BIU responds in the same cycle. A single word is sent from the BIU to the DCU in cycle 8. The DCU uses the byte enables t...
Page 91 - DSPLB Three Consecutive Word Writes
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 91 UG018 (v2.0) August 20, 2004 1-800-255-7778 R DSPLB Three Consecutive Word Writes The timing diagram in Figure 2-22 shows three consecutive word writes. It provides an example of the fastest speed at which the DCU can request and send si...
Page 97 - DSPLB Aborted Data-Access Request
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 97 UG018 (v2.0) August 20, 2004 1-800-255-7778 R DSPLB Aborted Data-Access Request The timing diagram in Figure 2-28 shows an aborted data-access request. The request is aborted because of a core reset. The BIU is not reset. A line write (w...
Page 98 - Device-Control Register Interfaces
98 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R Device-Control Register Interfaces The device-control register (DCR) interface provides a mechanism for the processor block to initialize and control periph...
Page 99 - Internal Device Control Register (DCR) Interface
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 99 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Internal Device Control Register (DCR) Interface The PowerPC 405 Processor block contains several internal device-control registers, which can be used to control, configure, and hold status f...
Page 100 - Block
100 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R In Virtex-II Pro/ProX, a DCR access addressing the internal DCR logic could be visible on the external DCR bus interface as an access. Virtex-4-FX In Virte...
Page 101 - External DCR Bus Interface; Dedicated EMAC DCR Bus Interface Block Symbol
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 101 UG018 (v2.0) August 20, 2004 1-800-255-7778 R blocks that are associated with each PowerPC. Thus, this interface is not available to the user for connection to the FPGA fabric. Figure 2-29 shows the block symbol for the dedicated EMAC D...
Page 102 - DCR Chain Block Diagram
102 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R In Virtex-II Pro/ProX the PowerPC external DCR interface is clocked by the processor core clock (CPMC405CLOCK), but in Virtex-4-FX the external interface i...
Page 103 - External DCR Bus Interface I/O Signal Summary; DCR Bus Implementation
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 103 UG018 (v2.0) August 20, 2004 1-800-255-7778 R (CPMC405CLOCK), the access times out. No error is flagged on time-out. The processor just continues to execute the next instruction. Figure 2-31 illustrates a logical implementation of the D...
Page 104 - Virtex-II Pro and Virtex-II ProX DCR Interface Block Symbol
104 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R Virtex-4-FX The external general purpose DCR interface in Virtex-4-FX is identical to its predecessors with the following exceptions: x Dedicated, re-synch...
Page 105 - External DCR Bus Interface I/O Signal Descriptions
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 105 UG018 (v2.0) August 20, 2004 1-800-255-7778 R External DCR Bus Interface I/O Signal Descriptions The following sections describe the operation of the DCR interface I/O signals. Signals are presented with both Virtex-II Pro and Virtex-4-...
Page 106 - External DCR Bus Interface Timing Diagrams
106 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R The processor does not begin driving a new DCR address until the DCR acknowledge signal corresponding to the previous DCR access has been deasserted for at...
Page 107 - DCR Interface 1:1 Clocking, Latched Acknowledge
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 107 UG018 (v2.0) August 20, 2004 1-800-255-7778 R DCR Interface 1:1 Clocking, Latched Acknowledge The example in Figure 2-33 assumes the following: x The PowerPC 405 and the peripheral containing the DCR are clocked at the same frequency. x...
Page 108 - DCR Interface 2:1 Clocking, Latched Acknowledge
108 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R DCR Interface 2:1 Clocking, Latched Acknowledge The example in Figure 2-35 assumes the following: x The PowerPC 405 DCR interface is clocked at twice the f...
Page 109 - External Interrupt Controller Interface; DCR Interface 1:2 Clocking, Latched Acknowledge
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 109 UG018 (v2.0) August 20, 2004 1-800-255-7778 R DCR Interface 1:2 Clocking, Latched Acknowledge The example in Figure 2-36 assumes the following: x The PowerPC 405 DCR interface is clocked at half the frequency of the peripheral containin...
Page 110 - EIC Interface I/O Signal Summary
110 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R interrupts ahead of noncritical interrupts when they occur simultaneously (certain debug exceptions are handled at a lower priority). Critical interrupts u...
Page 111 - EIC Interface I/O Signal Descriptions; PPC405 JTAG Debug Port; JTAG Interface I/O Signals; JTAG Interface Block Symbol
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 111 UG018 (v2.0) August 20, 2004 1-800-255-7778 R EIC Interface I/O Signal Descriptions The following sections describe the operation of the EIC interface I/O signals. EICC405CRITINPUTIRQ (Input) When asserted, this signal indicates the EIC...
Page 112 - JTAG Interface I/O Signal Descriptions
112 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R JTAG Interface I/O Signal Descriptions The following sections describe the operation of the JTAG interface I/O signals. JTGC405TCK (Input) This input is th...
Page 113 - JTAG Instruction Register; Device
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 113 UG018 (v2.0) August 20, 2004 1-800-255-7778 R C405JTGSHIFTDR (Output) This output is asserted (logic High) when the PPC405 TAP is in the Shift-DR state. Most designs do not require this signal and should leave it unconnected. C405JTGUPD...
Page 114 - PPC405 Instruction Opcodes
114 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R The six least significant bits of the parts Instruction Register always comprise the FPGA Instruction Register. The remaining bits are ignored unless the P...
Page 115 - Connecting PPC405 JTAG Logic Directly to Programmable I/O
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 115 UG018 (v2.0) August 20, 2004 1-800-255-7778 R The PPC405 cores do not have their own BSDL files; instead, the necessary INSTRUCTION_OPCODES and other information are incorporated in the device BSDL file. The PPC405 cores are not availab...
Page 118 - Correct Wiring of JTAG Chain with Multiplexed PPC405 Connection
118 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R Figure 2-44: Correct Wiring of JTAG Chain with Multiplexed PPC405 Connection PPC405 Core JTGC405TDI C405JTGTDO JTGC405TMS JTGC405TCK C405JTGTDOEN JTGC405TR...
Page 120 - Primitive
120 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R When the PPC405 JTAG logic is connected in series with the dedicated device JTAG logic, only one JTAG chain is required on the printed circuit board. All J...
Page 121 - VHDL and Verilog Instantiation Templates
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 121 UG018 (v2.0) August 20, 2004 1-800-255-7778 R For devices with more than one PPC405 core, users must connect the JTAG logic for ALL of the PPC405 cores on the device when using this connection style, even if some are not otherwise used....
Page 128 - Debug Interface; Debug Interface I/O Signal Summary; Debug Interface Block Symbol
128 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R .JTGC405BNDSCANTDO (), .C405JTGTDOEN (TDO_TS_OUT2), .C405JTGEXTEST (), .C405JTGCAPTUREDR (), .C405JTGSHIFTDR (), .C405JTGUPDATEDR (), .C405JTGPGMOUT (), .....
Page 129 - Debug Interface I/O Signal Descriptions; Debug Interface I/O Signals
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 129 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Debug Interface I/O Signal Descriptions The following sections describe the operation of the debug interface I/O signals. DBGC405EXTBUSHOLDACK (Input) When asserted, this signal indicates th...
Page 131 - Trace Interface; Trace Interface Signal Summary; Trace Interface Block Symbol
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 131 UG018 (v2.0) August 20, 2004 1-800-255-7778 R C405DBGSTOPACK (Output) When asserted, this signal indicates that the PowerPC 405 is in debug halt mode. When deasserted, the processor is not in debug halt mode. C405DBGLOADDATAONAPUDBUS (O...
Page 132 - Trace Interface I/O Signal Descriptions; Trace Interface Signals
132 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R Trace Interface I/O Signal Descriptions The following sections describe the operation of the trace interface I/O signals. C405TRCTRIGGEREVENTOUT (Output) W...
Page 133 - Bit
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 133 UG018 (v2.0) August 20, 2004 1-800-255-7778 R FPGA logic can combine these signals with the trigger-event output signal to produce a qualified version of the trigger signal. The qualified signal is wrapped to the trigger-event input sig...
Page 134 - PVR Interface I/O Signal Summary; PVR Interface Block Symbol
134 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R C405TRCTRACESTATUS[0:3] (Output) These signals provide additional information required by a trace tool when reconstructing an instruction execution sequenc...
Page 135 - PVR Interface I/O Signal Descriptions; PVR Interface I/O Signals
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 135 UG018 (v2.0) August 20, 2004 1-800-255-7778 R PVR Interface I/O Signal Descriptions The following sections describe the operation of the PVR-interface I/O signals. TIEPVRBIT8 (Input) When tied high sets Processor Version Register bit 8 ...
Page 136 - Additional FPGA Specific Signals; Additional FPGA I/O Signal Descriptions
136 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 2: Input/Output Interfaces R Additional FPGA Specific Signals Figure shows the block symbol for the additional FPGA signals used by the processor block. The signals are summarized in T...
Page 139 - Chapter 3; PowerPC 405 OCM Controller; Introduction
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 139 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Chapter 3 PowerPC 405 OCM Controller Introduction The On-Chip Memory (OCM) controller serves as a dedicated interface between the FPGA BRAMs and the OCM signals contained within the embedded...
Page 140 - Comparison of Virtex-II Pro and Virtex-4 OCM Controllers; Functional Features; Common Features for DSOCM and ISOCM; Features Introduced in Virtex-4 OCM
140 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R Comparison of Virtex-II Pro and Virtex-4 OCM Controllers The Virtex-4 OCM controller is completely backward compatible with the Virtex-II Pro OCM contro...
Page 141 - DSOCM and ISOCM Features
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 141 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Features for Instruction-Side OCM (ISOCM) The ISOCM interface contains a 64-bit read only port for instruction fetches and a 32-bit read and write port to initialize or test the ISBRAM. x 64...
Page 142 - OCM Controller Operation; Feature
142 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R OCM Controller Operation The OCM controller is distributed into two blocks, one for the ISOCM interface and the other for the DSOCM interface, as shown ...
Page 143 - OCM DCR-Based Control Registers (Accessed Via DCR Instructions); DSOCM Controller Load/Store Operation
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 143 UG018 (v2.0) August 20, 2004 1-800-255-7778 R up with the value on the input ports: DSARCVALUE[0:7] and ISARCVALUE[0:7] respectively. The two registers can also be loaded using DCR write assembly instructions (mtdcr). The value of DSARC...
Page 144 - Non-Memory Peripherals for DSOCM; Execution Re-ordering; ISOCM Controller Instruction Fetch Operation
144 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R register defines the 16 MB memory region that is valid for the DSOCM. Load instructions have a priority over store instructions at the DSOCM interface N...
Page 145 - DSOCM Ports; DSOCM Interface for Virtex-4; DSOCM Interface for Virtex-II Pro
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 145 UG018 (v2.0) August 20, 2004 1-800-255-7778 R DSOCM Ports Figure 3-2 and Figure 3-3 are the block diagrams of the DSOCM in Virtex-4 and Virtex-II Pro. All signals are in big endian format. Figure 3-2: DSOCM Interface for Virtex-4 UG018_...
Page 146 - DSOCM Input Ports
146 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R DSOCM Input Ports Table 3-3 describes the Data Side OCM (DSOCM) input ports. Table 3-3: DSOCM Input Ports Port Direction Description BRAMDSOCMCLK Input ...
Page 147 - DSOCM Input Ports: Attributes; DSOCM Attributes
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 147 UG018 (v2.0) August 20, 2004 1-800-255-7778 R DSOCM Input Ports: Attributes Attributes are inputs to the OCM controller from the FPGA fabric that must be connected to initialize registers at FPGA power up, or following a processor reset...
Page 148 - DSOCM Output Ports
148 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R DSOCM Output Ports Table 3-5 describes the data-side OCM (DSOCM) output ports. Table 3-5: DSOCM Output Ports Port Direction Description DSOCMBRAMEN Outp...
Page 149 - Port
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 149 UG018 (v2.0) August 20, 2004 1-800-255-7778 R DSOCM-to-BRAM Interfaces Figure 3-4 provides an example of a basic DSOCM-to-BRAM interface for Virtex-II Pro. Virtex-II Pro supports only fixed latency connections such as the one shown. Fig...
Page 152 - ISOCM Ports; ISOCM Interface for Virtex-II Pro
152 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R Figure 3-6 shows the extended feature in Virtex-4 for DSOCM-to-Memory-Mapped-Slave- Peripheral interface. ISOCM Ports Figure 3-7 and Figure 3-8 are bloc...
Page 153 - ISOCM Interface for Virtex-4; ISOCM Input Ports
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 153 UG018 (v2.0) August 20, 2004 1-800-255-7778 R ISOCM Input Ports Table 3-6 describes the Instruction Side OCM (ISOCM) input ports. Figure 3-8: ISOCM Interface for Virtex-4 ISOCMDCRBRAMEVENEN(Virtex-4 Only)ISOCMDCRBRAMODDEN(Virtex-4 Only)...
Page 154 - ISOCM Input Ports, Attributes; ISOCM Attributes
154 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R ISOCM Input Ports, Attributes Attributes are inputs to the OCM controller, from the FPGA fabric, that must be connected to initialize control registers ...
Page 155 - ISOCM Output Ports
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 155 UG018 (v2.0) August 20, 2004 1-800-255-7778 R ISOCM Output Ports Table 3-8 describes the instruction-side OCM (ISOCM) output ports. Table 3-8: ISOCM Output Ports Port Direction Description ISOCMBRAMEN Output This is a BRAM read enable f...
Page 157 - ISOCM to BRAM Interface: 8 KByte Example in Virtex-II Pro
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 157 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Figure 3-9 shows an example of an ISOCM-to-BRAM interface in Virtex-II Pro. Figure 3-10 shows an example of an ISOCM-to-BRAM interface in Virtex-4. Figure 3-9: ISOCM to BRAM Interface: 8 KBy...
Page 158 - Programmer’s Model; DCR Registers; DSARC/ ISARC Registers; ISOCM to BRAM Interface: 8 KByte Example in Virtex-4
158 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R Note: See Table 3-8 for descriptions of the signals shown in Table 3-10 , above. Programmer’s Model DCR Registers Application software has read and writ...
Page 159 - DSCNTL Registers; DSCNTL Register for Virtex-II Pro
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 159 UG018 (v2.0) August 20, 2004 1-800-255-7778 R locations. These bits are decoded against PPC405 address bits 0:7. These eight most significant address bits permit the OCM controllers to reside independently in any 16 MB, non-cacheable, m...
Page 160 - ISCNTL Registers; DSCNTL Register for Virtex-4
160 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R ISCNTL Registers Table 3-11 and Table 3-12 describe the ISCNTL registers in Virtex-II Pro and Virtex-4 devices. For additional information, refer to Fig...
Page 161 - Features Introduced in Virtex-4 and Comparison with Virtex-II Pro; ISCNTL Register for Virtex-4
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 161 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Features Introduced in Virtex-4 and Comparison with Virtex-II Pro In Virtex-4 an optional auto clock ratio detection feature was implemented on both the DSOCM and ISOCM. If bit 3 (Enable Aut...
Page 162 - DSOCM DCR Registers for Virtex-II Pro
162 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R Figure 3-11: DSOCM DCR Registers for Virtex-II Pro UG018_46_042304 DSARC (DSOCM Address Range Compare Register) User Programmable RegistersAllocated wit...
Page 163 - DSOCM DCR Registers for Virtex-4
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 163 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Figure 3-12: DSOCM DCR Registers for Virtex-4 UG018_46b_042304 DSARC (DSOCM Address Range Compare Register) User Programmable RegistersAllocated within DCR address space (Programmer's Model)...
Page 164 - ISOCM DCR Registers for Virtex-II Pro
164 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R Figure 3-13: ISOCM DCR Registers for Virtex-II Pro UG018_47_042304 ISARC (ISOCM Address Range Compare Register) User Programmable RegistersAllocated wit...
Page 165 - ISOCM DCR Registers for Virtex-4
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 165 UG018 (v2.0) August 20, 2004 1-800-255-7778 R The following section describes the DCR bit mapping during read/write operations on the ISINIT and ISFILL registers. Figure 3-14: ISOCM DCR Registers for Virtex-4 UG018_47b_051204 ISARC (ISO...
Page 166 - DCR Write Access
166 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R DCR Write Access As shown in Figure 3-15 , ISINIT is a 22-bit register (A8-A29) that is mapped to DCR write data bus bits D8-D29. The write address on t...
Page 167 - DCR Read Access
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 167 UG018 (v2.0) August 20, 2004 1-800-255-7778 R DCR Read Access If the ISINIT register is read back on the DCR: x For Virtex-II Pro, bits A8-A29 are mapped onto DCR read data bus bits D0-D21 as shown in Figure 3-16 , please note that the ...
Page 170 - ISOCM Instruction Fetching
170 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R routing delays, signal loading, BRAM memory access time, clock to output times, and setup and hold times of the BRAM and processor blocks. Users may nee...
Page 171 - Instruction Fetch Timing
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 171 UG018 (v2.0) August 20, 2004 1-800-255-7778 R In multi-cycle mode, initial wait cycles are inserted until the CPMC405CLOCK and BRAMISOCMCLK rising edges are aligned. After the initial startup latency, two instructions (64 bits) can be f...
Page 172 - Writing to ISBRAM
172 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R In order to estimate the theoretical maximum number of instruction fetches per second on the OCM interface, measure the period of the BRAM clock cycle t...
Page 174 - DSOCM Data Load, Fixed Latency
174 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R DSOCM Data Load, Fixed Latency Figure 3-22 and Figure 3-23 show two back-to-back loads for single-cycle mode and multi- cycle mode with a CPMC405CLOCK:B...
Page 176 - DSOCM Store, Fixed Latency
176 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R In the figures above, L_addr_n refers to the OCM controller address outputs DSOCMBRAMRDADDR and Rd_data_n refers to the OCM controller data bus inputs B...
Page 178 - DSOCM Data Load, Variable Latency
178 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 3: PowerPC 405 OCM Controller R DSOCM Data Load, Variable Latency Figure 3-26 and Figure 3-27 show two load operations with variable latency for single cycle mode and multi-cycle mode ...
Page 179 - DSOCM Data Store, Variable Latency
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 179 UG018 (v2.0) August 20, 2004 1-800-255-7778 R DSOCM Data Store, Variable Latency Figure 3-28 and Figure 3-29 show two store operations with variable latency for single- cycle mode and for multi-cycle mode with a CPMC405CLOCK:BRAMDSOCMCL...
Page 181 - Application Notes and Reference Designs; References
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 181 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Application Notes and Reference Designs Xilinx provides several application notes and reference designs utilizing the OCM controllers. Design examples include: x Booting the PPC405 from on-c...
Page 183 - Chapter 4; PowerPC 405 APU Controller
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 183 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Chapter 4 PowerPC 405 APU Controller This chapter only applies to the PowerPC 405 in the Virtex-4-FX family and covers the following topics: x “FCM Instruction Processing” x “APU Controller ...
Page 184 - FCM Instruction Processing; Pipeline Flow Diagram
184 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 4: PowerPC 405 APU Controller R The APU Controller serves two purposes: It performs clock domain synchronization between the fast PowerPC clock and the slow FCM interface clock, and it...
Page 185 - Enabling the APU Controller; Autonomous Instructions; APU Controller-Related MSR Bits
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 185 UG018 (v2.0) August 20, 2004 1-800-255-7778 R has a configurable format and is a true extension of the PowerPC instruction set architecture (ISA). Enabling the APU Controller The PowerPC MSR register must be configured before the proces...
Page 186 - Blocking Instructions; Instruction Format; FCM Instruction Format
186 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 4: PowerPC 405 APU Controller R Blocking Instructions Any non-autonomous instruction that cannot be predictably aborted and later re-issued must be blocking. During execution of a bloc...
Page 187 - Instruction Decoding; Floating Point Instructions; Description
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 187 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Instruction Decoding FCM instructions can be decoded either by the APU Controller or by the FCM itself. APU Controller decoding benefits from the higher clock frequencies possible inside the...
Page 188 - FCM Load/Store Instructions
188 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 4: PowerPC 405 APU Controller R The decoded instructions require an FCM floating point unit to be used. FPU instructions that return results to the PowerPC will default to execute as n...
Page 189 - APU Controller User-Defined Instruction Decoding; FCM Pre-Defined Instruction Decoding; Integer Divide Instructions; Field
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 189 UG018 (v2.0) August 20, 2004 1-800-255-7778 R The extended op-code for Load/Store operations are described in Table 4-3 . APU Controller Load/Store instruction decoding can be disabled in the APU Controller configuration register. The P...
Page 190 - FCM User-Defined Instruction Decoding; FCM Instruction Flushing
190 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 4: PowerPC 405 APU Controller R FCM User-Defined Instruction Decoding User-defined instructions that are not recognized (i.e., decoded) by the APU Controller are passed to the FCM for ...
Page 191 - APU Controller Configuration; General Configuration Register; APU Controller Configuration Register Bit Description
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 191 UG018 (v2.0) August 20, 2004 1-800-255-7778 R FCM internal data hazards such as read-after-write (RAW) and write-after-write (WAW) are eliminated if the designer ensures that all FCM instructions complete in order. This can be done cons...
Page 192 - UDI Configuration Registers
192 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 4: PowerPC 405 APU Controller R UDI Configuration Registers The APU Controller includes eight UDI configuration registers. This allows the user to define as many custom instructions an...
Page 193 - DCR Access to the Configuration Registers; Interface Definition; Name
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 193 UG018 (v2.0) August 20, 2004 1-800-255-7778 R The reset value of the individual UDI registers can be defined using attribute inputs to the APU Controller. For details see the “APU Controller Attributes” section in this chapter. DCR Acce...
Page 194 - APU Controller Input Signals; FCM Interface Input Signals
194 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 4: PowerPC 405 APU Controller R APU Controller Input Signals All APU Controller input signals should be synchronized on the FCM clock (CPMFCMCLK). Table 4-6: FCM Interface Input Signal...
Page 196 - APU Controller Output Signals; FCM Interface Output Signals
196 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 4: PowerPC 405 APU Controller R APU Controller Output Signals All APU Controller output signals are synchronous with the FCM clock (CPMFCMCLK). Table 4-7: FCM Interface Output Signals ...
Page 197 - APU Controller Attributes
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 197 UG018 (v2.0) August 20, 2004 1-800-255-7778 R APU Controller Attributes The following input signals are used as reset values for the APU Controller configuration registers. The reset values can be over-written using DCR. For details see...
Page 198 - Bit Map Between TIEAPUCONTROL and APU Configuration Register
198 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 4: PowerPC 405 APU Controller R Table 4-10: Bit Map Between TIEAPUCONTROL and APU Configuration Register APU Controller Configuration Field TIEAPUCONTROL Bits LdStDecDis 0 UDIDecDis 1 ...
Page 199 - FCM Interface Timing Specification; Autonomous Transactions; APU Controller Decoded Autonomous Transaction Example
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 199 UG018 (v2.0) August 20, 2004 1-800-255-7778 R FCM Interface Timing Specification Autonomous Transactions Note: Actual timing results may vary from those shown in Figure 4-3 . For example, the instruction and operands can be valid on the...
Page 200 - FCM Decoded Autonomous Transaction Example
200 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 4: PowerPC 405 APU Controller R Note: Actual timing results may vary from those shown in Figure 4-4 . For example, the operands could come later than shown. Figure 4-4: FCM Decoded Aut...
Page 201 - Blocking Transactions; FCM Decoded Blocking Transaction Example
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 201 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Blocking Transactions Note: Actual timing results may vary from those shown in Figure 4-5 . For example, the operands could come later than shown. Figure 4-5: FCM Decoded Blocking Transactio...
Page 202 - Non-Blocking Transactions; APU Controller Decoded Non-Blocking Transaction Example
202 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 4: PowerPC 405 APU Controller R Non-Blocking Transactions Note: Actual timing results may vary from those shown in Figure 4-6 . For example, the operands could come later than shown. F...
Page 203 - FCM Load Instruction; APU Controller Decoded Load Instruction Example
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 203 UG018 (v2.0) August 20, 2004 1-800-255-7778 R FCM Load Instruction Note: Load data can arrive at the same time as the instruction or at a later clock cycle than shown in Figure 4-7 . Figure 4-7: APU Controller Decoded Load Instruction E...
Page 204 - FCM Store Instruction; APU Controller Decoded Store Instruction
204 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 4: PowerPC 405 APU Controller R Note: Load data can arrive at the same time as the instruction or at a later clock cycle than shown in Figure 4-8 . Also, load data might not be sent ba...
Page 205 - FCM Exception; APU Controller Decoded Store Instruction with StoreWBOK=1
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 205 UG018 (v2.0) August 20, 2004 1-800-255-7778 R FCM Exception Note: FCMAPUEXEPTION may be sent at any time during the execution of a non-autonomous instruction. Figure 4-10: APU Controller Decoded Store Instruction with StoreWBOK=1 UG018_...
Page 206 - FCM Decoding Using Decode Busy Signal; FCM Decode Asserting DecodeBusy
206 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Chapter 4: PowerPC 405 APU Controller R FCM Decoding Using Decode Busy Signal Figure 4-12: FCM Decode Asserting DecodeBusy UG018_04_11_032504 CPMFCMCLK APUFCMINSTRUCTION APUFCMINSTRVALID FCMAP...
Page 207 - Appendix A; RISCWatch and RISCTrace Interfaces; JTAG-Connector Physical Layout
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 207 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Appendix A RISCWatch and RISCTrace Interfaces This appendix summarizes the interface requirements between the PowerPC 405 and the RISCWatch and RISCTrace tools. The requirement for separate ...
Page 208 - JTAG Connector Signals for RISCWatch
208 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Appendix A: RISCWatch and RISCTrace Interfaces R Table A-1: JTAG Connector Signals for RISCWatch Pin RISCWatch Description I/O Signal Name 1 Input TDO JTAG test-data out. 2 No Connect Reserved...
Page 209 - RISCTrace Interface
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 209 UG018 (v2.0) August 20, 2004 1-800-255-7778 R RISCTrace Interface The RISCTrace tool communicates with the PowerPC 405 using the trace interface. It requires a 20-pin, male 2x10 header connector (3M 3592-6002 or equivalent) located on t...
Page 210 - Trace Connector Signals for RISCTrace
210 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Appendix A: RISCWatch and RISCTrace Interfaces R Table A-3: Trace Connector Signals for RISCTrace Pin RISCTrace Description I/O Signal Name 1 No Connect Reserved 2 No Connect Reserved 3 Output...
Page 213 - Appendix B; Signal Summary; PowerPC 405 Interface Signals in Alphabetical Order
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 213 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Appendix B Signal Summary Interface Signals Table B-1 lists the PowerPC 405 interface signals in alphabetical order. A cross reference is provided to each signal description. The signal nami...
Page 223 - Appendix C; Processor Block Timing Model; Processor Block
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 223 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Appendix C Processor Block Timing Model This section explains all of the timing parameters associated with the IBM PPC405 Processor Block. It is intended to be used in conjunction with Modul...
Page 224 - Clocks and Corresponding Processor Interface Blocks
224 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Appendix C: Processor Block Timing Model R PowerPC miscellaneous (PPC), Trace Port (TRC), JTAG, Instruction-Side On-Chip Memory (ISOCM), and Data-Side On-Chip Memory (DSOCM), Auxiliary Process...
Page 225 - Parameters Relative to the Core Clock (CPMC405CLOCK)
PowerPC™ 405 Processor Block Reference Guide www.xilinx.com 225 UG018 (v2.0) August 20, 2004 1-800-255-7778 R Table C-2: Parameters Relative to the Core Clock (CPMC405CLOCK) Parameter Function Signals Setup/Hold: T PCCK _DCR/T PCKC _DCR a Control Inputs DCRC405ACK T PDCK _DCR/T PCKD _DCR a Data Inpu...
Page 226 - Parameter
226 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Appendix C: Processor Block Timing Model R Clock: T CPWH Clock Pulse Width, High State CPMC405CLOCK T CPWL Clock Pulse Width, Low State CPMC405CLOCK a. Virtex-II Pro only. See Table C-3 for Vi...
Page 232 - Processor Block Timing Relative to Clock Edge
232 www.xilinx.com PowerPC™ 405 Processor Block Reference Guide 1-800-255-7778 UG018 (v2.0) August 20, 2004 Appendix C: Processor Block Timing Model R Figure C-2: Processor Block Timing Relative to Clock Edge CLOCK CONTROL INPUTS CONTROL OUTPUTS DATA OUTPUTS DATA INPUTS ADDRESS OUTPUTS T x PWH T PCC...