Nec Network Controller uPD98502 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Hardware Nec Network Controller uPD98502 herunter. NEC Network Controller uPD98502 User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 595
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Preliminary User’s Manual
µ
µµ
µ
PD98502
Network Controller
Document No. S15543EJ1V0UM00 (1st edition)
Date Published December 2001 NS CP(K)
2001
Printed in Japan
Seitenansicht 0
1 2 3 4 5 6 ... 594 595

Inhaltsverzeichnis

Seite 1 - Preliminary User’s Manual

Preliminary User’s ManualµµµµPD98502Network ControllerDocument No. S15543EJ1V0UM00 (1st edition)Date Published December 2001 NS CP(K)

Seite 2

10Preliminary User’s Manual S15543EJ1V0UM3.4.15 SDRAM refresh...

Seite 3

CHAPTER 2 VR4120A100Preliminary User’s Manual S15543EJ1V0UM2.3.6 Program compatibilityThe VR4120A core is designed taking into consideration prog

Seite 4 - NOTES FOR CMOS DEVICES

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1012.4 Memory Management SystemThe VR4120A Core provides a memory management unit (MMU) w

Seite 5 - M5D 98. 12

CHAPTER 2 VR4120A102Preliminary User’s Manual S15543EJ1V0UM2.4.2 Virtual address spaceThis section describes the virtual/physical address space a

Seite 6

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1032.4.2.1 Virtual-to-physical address translationConverting a virtual address to a physi

Seite 7

CHAPTER 2 VR4120A104Preliminary User’s Manual S15543EJ1V0UM2.4.2.2 32-bit mode address translationFigure 2-26 shows the virtual-to-physical-addre

Seite 8

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1052.4.2.3 64-bit mode address translationFigure 2-27 shows the virtual-to-physical-addre

Seite 9

CHAPTER 2 VR4120A106Preliminary User’s Manual S15543EJ1V0UM2.4.2.4 Operating modesThe processor has three operating modes that function in both 3

Seite 10

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM107The User segment starts at address 0 and the current active user process resides in eit

Seite 11

CHAPTER 2 VR4120A108Preliminary User’s Manual S15543EJ1V0UM2.4.2.6 Supervisor-mode virtual addressingSupervisor mode shown in Figure 2-29 is desi

Seite 12

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM109Table 2-28. 32-bit and 64-bit Supervisor Mode SegmentsAddress Bit Status Register Bit

Seite 13

Preliminary User’s Manual S15543EJ1V0UM114.4.18 A_T1R (T1 Time Register)...

Seite 14

CHAPTER 2 VR4120A110Preliminary User’s Manual S15543EJ1V0UM2.4.2.7 Kernel-mode virtual addressingIf the Status register satisfies any of the foll

Seite 15

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM111Figure 2-30. Kernel Mode Address Space32-bit mode Note 10.5 Gbytes withTLB mapping0.5

Seite 16 - LIST OF FIGURES (1/5)

CHAPTER 2 VR4120A112Preliminary User’s Manual S15543EJ1V0UMTable 2-29. 32-bit Kernel Mode SegmentsAddress Bit Status Register Bit Value Segment V

Seite 17 - LIST OF FIGURES (2/5)

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM113(5) kseg3 (32-bit kernel mode, kernel space 3)When KX = 0 in the Status register and th

Seite 18 - LIST OF FIGURES (3/5)

CHAPTER 2 VR4120A114Preliminary User’s Manual S15543EJ1V0UM(7) xksseg (64-bit kernel mode, current supervisor space)When KX = 1 in the Status regi

Seite 19 - LIST OF FIGURES (4/5)

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM115(9) xkseg (64-bit kernel mode, physical spaces)When the KX = 1 in the Status register a

Seite 20 - LIST OF FIGURES (5/5)

CHAPTER 2 VR4120A116Preliminary User’s Manual S15543EJ1V0UM2.4.3 Physical address spaceSo VR4120A core uses a 32-bit address, that the processor

Seite 21 - LIST OF TABLES (1/2)

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1172.4.4 System control coprocessorThe System Control Coprocessor (CP0) is implemented as

Seite 22 - LIST OF TABLES (2/2)

CHAPTER 2 VR4120A118Preliminary User’s Manual S15543EJ1V0UM2.4.4.1 Format of a TLB entryFigure 2-33 shows the TLB entry formats for both 32- and

Seite 23 - 1.2 Ordering Information

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1192.4.5 CP0 registersThe CP0 registers explained below are accessed by the memory manage

Seite 24 - 1.3 System Configuration

12Preliminary User’s Manual S15543EJ1V0UM5.2.20 En_HT1 (Hash Table Register 1)...

Seite 25 - 1.4 Block Diagram (Summary)

CHAPTER 2 VR4120A120Preliminary User’s Manual S15543EJ1V0UM2.4.5.3 EntryLo0 (2) and EntryLo1 (3) registersThe EntryLo register consists of two re

Seite 26 - 1.5 Block Diagram (Detail)

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM121Table 2-32. Cache AlgorithmC Bit Value Cache Algorithm0 Cached1 Cached2 Uncached3 Cach

Seite 27

CHAPTER 2 VR4120A122Preliminary User’s Manual S15543EJ1V0UM2.4.5.5 Wired register (6)The Wired register is a read/write register that specifies t

Seite 28

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1232.4.5.6 EntryHi register (10)The EntryHi register is write-accessible. It is used to

Seite 29

CHAPTER 2 VR4120A124Preliminary User’s Manual S15543EJ1V0UM2.4.5.8 Config register (16)The Config register specifies various configuration option

Seite 30 - Ethernet Controller

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1252.4.5.9 Load linked address (LLAddr) register (17)The read/write Load Linked Address (

Seite 31 - USB CONTROLLER

CHAPTER 2 VR4120A126Preliminary User’s Manual S15543EJ1V0UM2.4.5.11 Virtual-to-physical address translationDuring virtual-to-physical address tra

Seite 32

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM127Figure 2-46. TLB Address TranslationVirtual address (input)VPNandASIDExceptionExceptio

Seite 33 - Index Mark

CHAPTER 2 VR4120A128Preliminary User’s Manual S15543EJ1V0UM2.4.5.13 TLB instructionsThe instructions used for TLB control are described below.(1)

Seite 34 - Pin Name

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1292.5 Exception ProcessingThis chapter describes VR4120A CPU exception processing, incl

Seite 35

Preliminary User’s Manual S15543EJ1V0UM136.2.20 U_RP1IR (USB Rx Pool1 Information Register) ...

Seite 36

CHAPTER 2 VR4120A130Preliminary User’s Manual S15543EJ1V0UM2.5.2 Precision of exceptionsVR4120A CPU exceptions are logically precise; the instruc

Seite 37 - 1.7 Pin Function

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1312.5.3.1 Context register (4)The Context register is a read/write register containing t

Seite 38

CHAPTER 2 VR4120A132Preliminary User’s Manual S15543EJ1V0UM2.5.3.2 BadVAddr register (8)The Bad Virtual Address (BadVAddr) register is a read-onl

Seite 39 - 1.7.5 Memory interface

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1332.5.3.4 Compare register (11)The Compare register causes a timer interrupt; it maintai

Seite 40

CHAPTER 2 VR4120A134Preliminary User’s Manual S15543EJ1V0UM2.5.3.5 Status register (12)The Status register is a read/write register that contains

Seite 41 - 1.7.6 PCI interface

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM135Figure 2-52. Status Register Diagnostic Status Field1617181920212223240 BEV TS SR 0 CH

Seite 42

CHAPTER 2 VR4120A136Preliminary User’s Manual S15543EJ1V0UM(7) Status after resetThe contents of the Status register are undefined after Cold rese

Seite 43 - 1.7.7 ATM interface

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM137Table 2-35. Cause Register Exception Code FieldException Code Mnemonic Description0 In

Seite 44

CHAPTER 2 VR4120A138Preliminary User’s Manual S15543EJ1V0UM2.5.3.7 Exception program counter (EPC) register (14)The Exception Program Counter (EP

Seite 45 - 1.7.8 Ethernet interface

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1392.5.3.8 WatchLo (18) and WatchHi (19) registersThe VR4120A processor provides a debugg

Seite 46 - 1.7.9 USB interface

14Preliminary User’s Manual S15543EJ1V0UMCHAPTER 7 PCI CONTROLLER ...

Seite 47 - 1.7.11 Micro Wire interface

CHAPTER 2 VR4120A140Preliminary User’s Manual S15543EJ1V0UM2.5.3.9 XContext register (20)The read/write XContext register contains a pointer to a

Seite 48 - 1.7.17 I.C. – pull up

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1412.5.3.11 Cache error register (27)The Cache Error register is a readable/writeable reg

Seite 49 - Register

CHAPTER 2 VR4120A142Preliminary User’s Manual S15543EJ1V0UM2.5.4 Details of exceptionsThis section describes causes, processes, and services of t

Seite 50

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM143Table 2-37. 32-Bit Mode Exception Vector Base AddressesVector Base Address (Virtual) V

Seite 51

CHAPTER 2 VR4120A144Preliminary User’s Manual S15543EJ1V0UM2.5.4.3 Priority of exceptionsWhile more than one exception can occur for a single ins

Seite 52

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1452.5.4.4 Cold reset exception(1) CauseThe Cold Reset exception occurs when the ColdRese

Seite 53 - 1.9 Memory Map

CHAPTER 2 VR4120A146Preliminary User’s Manual S15543EJ1V0UM2.5.4.5 Soft reset exception(1) CauseA Soft Reset (sometimes called Warm Reset) occurs

Seite 54 - 1.10 Reset Configuration

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1472.5.4.6 NMI exception(1) CauseThe Nonmaskable Interrupt (NMI) exception occurs when th

Seite 55

CHAPTER 2 VR4120A148Preliminary User’s Manual S15543EJ1V0UM2.5.4.7 Address error exception(1) CauseThe Address Error exception occurs when an att

Seite 56 - 1.12 Clock Control Unit

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1492.5.4.8 TLB exceptionsThree types of TLB exceptions can occur:• TLB Refill exception o

Seite 57 - 4120A Core

Preliminary User’s Manual S15543EJ1V0UM158.3.4 UARTIER (UART Interrupt Enable Register)...

Seite 58

CHAPTER 2 VR4120A150Preliminary User’s Manual S15543EJ1V0UM(2) TLB invalid exception(a) CauseThe TLB Invalid exception occurs when the TLB entry t

Seite 59

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM151(3) TLB modified exception(a) CauseThe TLB Modified exception occurs when the TLB entry

Seite 60

CHAPTER 2 VR4120A152Preliminary User’s Manual S15543EJ1V0UM2.5.4.9 Bus error exception(1) CauseA Bus Error exception is raised by board-level cir

Seite 61

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1532.5.4.10 System call exception(1) CauseA System Call exception occurs during an attemp

Seite 62

CHAPTER 2 VR4120A154Preliminary User’s Manual S15543EJ1V0UM2.5.4.12 Coprocessor unusable exception(1) CauseThe Coprocessor Unusable exception occ

Seite 63

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1552.5.4.13 Reserved instruction exception(1) CauseThe Reserved Instruction exception occ

Seite 64

CHAPTER 2 VR4120A156Preliminary User’s Manual S15543EJ1V0UM2.5.4.14 Trap exception(1) CauseThe Trap exception occurs when a TGE, TGEU, TLT, TLTU,

Seite 65

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1572.5.4.16 Watch exception(1) CauseA Watch exception occurs when a load or store instruc

Seite 66

CHAPTER 2 VR4120A158Preliminary User’s Manual S15543EJ1V0UM2.5.4.17 Interrupt exception(1) CauseThe Interrupt exception occurs when one of the ei

Seite 67

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM159Figure 2-61. Common Exception Handling (1/2)(a) Handling Exceptions other than Cold Re

Seite 68

16Preliminary User’s Manual S15543EJ1V0UMLIST OF FIGURES (1/5)Figure No. Title Page1-1 Examples of the µPD98502 System Configuration ...

Seite 69

CHAPTER 2 VR4120A160Preliminary User’s Manual S15543EJ1V0UMFigure 2-61. Common Exception Handling (2/2)(b) Servicing Common Exceptions (Software)

Seite 70

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM161Figure 2-62. TLB/XTLB Refill Exception Handling (1/2)(a) Handling TLB/XTLB Refill Exc

Seite 71

CHAPTER 2 VR4120A162Preliminary User’s Manual S15543EJ1V0UMFigure 2-62. TLB/XTLB Refill Exception Handling (2/2)(b) Servicing TLB/XTLB Refill Ex

Seite 72

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM163Figure 2-63. Cold Reset Exception Handling(Hardware)PC←FFFF FFFF BFC0 0000H(Software)•

Seite 73

CHAPTER 2 VR4120A164Preliminary User’s Manual S15543EJ1V0UMFigure 2-64. Soft Reset and NMI Exception HandlingBD bit←1ErrorEPC←PC−4Set Status regi

Seite 74

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1652.6 Initialization InterfaceThis section describes the reset sequence of the VR4120A C

Seite 75

CHAPTER 2 VR4120A166Preliminary User’s Manual S15543EJ1V0UM2.6.3.1 Power modesThe VR4120A supports four power modes: Fullspeed mode, Standby mod

Seite 76

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1672.6.3.2 Privilege modeThe VR4120A supports three system modes: kernel expanded addres

Seite 77

CHAPTER 2 VR4120A168Preliminary User’s Manual S15543EJ1V0UM2.7 Cache MemoryThis section describes in detail the cache memory: its place in the V

Seite 78

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1692.7.2 Cache organizationThis section describes the organization of the on-chip data an

Seite 79

Preliminary User’s Manual S15543EJ1V0UM17LIST OF FIGURES (2/5)Figure No. Title Page2-29 Supervisor Mode Address Space ...

Seite 80

CHAPTER 2 VR4120A170Preliminary User’s Manual S15543EJ1V0UMFigure 2-67. Instruction Cache Line Format22 21VPTag0122Data0DataDataData31PTag : Phy

Seite 81

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1712.7.2.3 Accessing the cachesFigure 2-69 shows the virtual address (VA) index into the

Seite 82

CHAPTER 2 VR4120A172Preliminary User’s Manual S15543EJ1V0UM2.7.3.1 Cache write policyThe VR4120A Core manages its data cache by using a write-bac

Seite 83

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1732.7.5 Cache state transition diagramsThe following section describes the cache state d

Seite 84 - 2.3 Pipeline

CHAPTER 2 VR4120A174Preliminary User’s Manual S15543EJ1V0UM2.7.6 Cache data integrityFigures 2-72 to 2-86 shows checking operations for various c

Seite 85

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM175Figure 2-74. Data Check Flow on Store OperationsStartWrite-back andRefill (seeFigure 2

Seite 86

CHAPTER 2 VR4120A176Preliminary User’s Manual S15543EJ1V0UMFigure 2-76. Data Check Flow on Index_Writeback_Invalidate Operations= 0 (Clean)StartW

Seite 87

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM177Figure 2-78. Data Check Flow on Index_Store_Tag OperationsStartTag Writefrom TagLoENDF

Seite 88

CHAPTER 2 VR4120A178Preliminary User’s Manual S15543EJ1V0UMFigure 2-80. Data Check Flow on Hit_Invalidate OperationsStartValid bit ClearENDMiss o

Seite 89

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM179Figure 2-82. Data Check Flow on Fill OperationsStartRefill (seeFigure 2-85)ENDFigure 2

Seite 90 - If they are

18Preliminary User’s Manual S15543EJ1V0UMLIST OF FIGURES (3/5)Figure No. Title Page2-71 Instruction Cache State Diagram ...

Seite 91

CHAPTER 2 VR4120A180Preliminary User’s Manual S15543EJ1V0UMFigure 2-84. Writeback FlowEOD ?YesNoWrite-backto memoryFigure 2-85. Refill FlowEOD ?

Seite 92 - . The result

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM181Figure 2-86. Writeback & Refill FlowEOD ?YesNoWrite-backto memoryEOD ?Refill Start

Seite 93

CHAPTER 2 VR4120A182Preliminary User’s Manual S15543EJ1V0UM2.8 CPU Core InterruptsFour types of interrupt are available on the CPU core. These a

Seite 94

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM1832.8.5 Asserting interrupts2.8.5.1 Detecting hardware interruptsFigure 2-88 shows how

Seite 95

CHAPTER 2 VR4120A184Preliminary User’s Manual S15543EJ1V0UM2.8.5.2 Masking interrupt signalsFigure 2-89 shows the masking of the CPU core interru

Seite 96

Preliminary User’s Manual S15543EJ1V0UM185CHAPTER 3 SYSTEM CONTROLLER3.1 OverviewRegister mapThis block is an internal system controller for the

Seite 97

CHAPTER 3 SYSTEM CONTROLLER186Preliminary User’s Manual S15543EJ1V0UM• 66-MHz IBUS clock rate• Supports 266-MB/sec (32 bits @66 MHz) bursts on IBU

Seite 98

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM1873.1.9 System block diagramSystem ControllerIBUSSysADTIMERIBUS Master-IFFlash

Seite 99

CHAPTER 3 SYSTEM CONTROLLER188Preliminary User’s Manual S15543EJ1V0UM3.1.10 Data flow diagramVR4120A Core to SDRAM IBUS to SDRAMVR4120A Core to I

Seite 100

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM1893.2 Registers3.2.1 Register mapFollowing Table summarizes the controller’s

Seite 101 - 2.4 Memory Management System

Preliminary User’s Manual S15543EJ1V0UM19LIST OF FIGURES (4/5)Figure No. Title Page4-19 Open_Channel Command and Indication...

Seite 102 - is then added to the PFN

CHAPTER 3 SYSTEM CONTROLLER190Preliminary User’s Manual S15543EJ1V0UMOffset Address Register Name R/W Access Description1000_00D8H MACAR1 R W/H/B

Seite 103 - CHAPTER 2 V

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM1913.2.2 S_GMR (General Mode Register)The general mode register “S_GMR” is a re

Seite 104

CHAPTER 3 SYSTEM CONTROLLER192Preliminary User’s Manual S15543EJ1V0UM3.2.4 S_ISR (Interrupt Status Register)The interrupt status register “S_ISR”

Seite 105 - is passed to

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM1933.2.5 S_IMR (Interrupt Mask Register)The interrupt mask register “S_IMR” is

Seite 106

CHAPTER 3 SYSTEM CONTROLLER194Preliminary User’s Manual S15543EJ1V0UM3.2.6 S_NSR (NMI Status Register)The interrupt status register “S_NSR” is a

Seite 107

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM1953.2.7 S_NER (NMI Enable Register)The NMI enable register “S_NER” is a read-w

Seite 108

CHAPTER 3 SYSTEM CONTROLLER196Preliminary User’s Manual S15543EJ1V0UM3.2.9 S_IOR (IO Port Register)The IO port register “S_IOR” is a read-write a

Seite 109

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM1973.2.10 S_WRCR (Warm Reset Control Register)The warm reset control register “

Seite 110

CHAPTER 3 SYSTEM CONTROLLER198Preliminary User’s Manual S15543EJ1V0UM3.2.11 S_WRSR (Warm Reset Status Register)The warm reset status register “S_

Seite 111 - Without TLB mapping

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM1993.2.12 S_PWCR (Power Control Register)The power control register “S_PWCR” is

Seite 112

Preliminary User’s Manual S15543EJ1V0UM2[MEMO]

Seite 113

20Preliminary User’s Manual S15543EJ1V0UMLIST OF FIGURES (5/5)Figure No. Title Page6-16 Data Receiving in EndPoint0, EndPoint6...

Seite 114

CHAPTER 3 SYSTEM CONTROLLER200Preliminary User’s Manual S15543EJ1V0UM3.2.13 S_PWSR (Power Status Register)The power status register “S_PWSR” is a

Seite 115

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2013.3 CPU InterfaceThe system controller provides the direct interface for the

Seite 116

CHAPTER 3 SYSTEM CONTROLLER202Preliminary User’s Manual S15543EJ1V0UMTable 3-1. Endian Configuration TableBIG pin ENDCENpinStatus registerRE fiel

Seite 117

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2033.3.6 I/O performanceThe following table indicates the I/O performance acces

Seite 118 - (b) 64-bit mode

CHAPTER 3 SYSTEM CONTROLLER204Preliminary User’s Manual S15543EJ1V0UM3.4 Memory InterfaceThe VR4120A accesses memory attached to the controller i

Seite 119

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2053.4.3 Memory signal connectionsµµµµPD98502SMD[31:0]SRMOE_BSRMCS_BSDRAS_BSDCS

Seite 120

CHAPTER 3 SYSTEM CONTROLLER206Preliminary User’s Manual S15543EJ1V0UM3.4.4 Memory performanceThe latency of memory accesses is determined by memo

Seite 121 - 0 MASK 0

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2073.4.5 RMMDR (ROM Mode Register)The ROM mode register “RMMDR” is a read-write

Seite 122

CHAPTER 3 SYSTEM CONTROLLER208Preliminary User’s Manual S15543EJ1V0UMinvalidSMASDCLKNormal ROM Read CycleSMDFAT(=4)SRMCS_BSRMOE_BSDWE_BHValid Read

Seite 123

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2093.4.7 SDMDR (SDRAM Mode Register)The SDRAM mode register “SDMDR” is a read-w

Seite 124

Preliminary User’s Manual S15543EJ1V0UM21LIST OF TABLES (1/2)Table No. Title Page2-1 System Control Coprocessor (CP0) Register Definitions...

Seite 125

CHAPTER 3 SYSTEM CONTROLLER210Preliminary User’s Manual S15543EJ1V0UM3.4.8 SDTSR (SDRAM Type Selection Register)The SDRAM type selection register

Seite 126

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2113.4.9 SDPTR (SDRAM Precharge Timing Register)The SDRAM precharge timing regi

Seite 127

CHAPTER 3 SYSTEM CONTROLLER212Preliminary User’s Manual S15543EJ1V0UM3.4.11 SDRCR (SDRAM Refresh Timer Count Register)The SDRAM refresh timer cou

Seite 128

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2133.4.13 Boot ROMThe system controller supports up to 8 MB of boot memory. Thi

Seite 129 - 2.5 Exception Processing

CHAPTER 3 SYSTEM CONTROLLER214Preliminary User’s Manual S15543EJ1V0UMTable 3-7. Command Sequence(a) Program Command Sequence (4 Write Cycles)1st

Seite 130

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2153.4.1.4 Boot ROM signal connectionsSMD[31:0]SRMOE_BSDWE_BSRMCS_BExample (8 M

Seite 131

CHAPTER 3 SYSTEM CONTROLLER216Preliminary User’s Manual S15543EJ1V0UM3.4.14 SDRAM3.4.14.1 SDRAM address rangeSystem memory can be populated with

Seite 132

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2173.4.1.4 SDRAM word orderingFollowing table indicates the word-address order

Seite 133

CHAPTER 3 SYSTEM CONTROLLER218Preliminary User’s Manual S15543EJ1V0UMRAS_BSDCAS_BSMA[13:0]SMD[31:0]1 M x 16SDRAMA[11:0]DQ[15:0]RAS_BCS_BµPD98502(S

Seite 134

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2193.4.15 SDRAM refreshThe system controller supports CAS-Before-RAS (CBR) DRAM

Seite 135 - 11111112

22Preliminary User’s Manual S15543EJ1V0UMLIST OF TABLES (2/2)Table No. Title Page3-1 Endian Configuration Table...

Seite 136

CHAPTER 3 SYSTEM CONTROLLER220Preliminary User’s Manual S15543EJ1V0UM3.4.18 SDRAM memory initializationThe following sections describe the config

Seite 137

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2213.5 IBUS Interface3.5.1 Overview• IBUS Master and target capability• 64-wor

Seite 138

CHAPTER 3 SYSTEM CONTROLLER222Preliminary User’s Manual S15543EJ1V0UM31 07856341231 07856 34122 bytesOutline figure of Endian converter31 07856341

Seite 139 - WatchLo Register

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2233.5.4 ITCNTR (IBUS Timeout Timer Control Register)The IBUS Timeout Timer con

Seite 140 - 0 Diagnostic

CHAPTER 3 SYSTEM CONTROLLER224Preliminary User’s Manual S15543EJ1V0UM3.6 DSU (Deadman’s SW Unit)3.6.1 OverviewThe DSU detects when the VR4120A i

Seite 141

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2253.6.5 DSUTIMR (DSU Elapsed Time Register)This register indicates the elapsed

Seite 142 - Cold Reset

CHAPTER 3 SYSTEM CONTROLLER226Preliminary User’s Manual S15543EJ1V0UM3.7 Endian Mode Software Issues3.7.1 OverviewThe native endian mode for MIP

Seite 143

CHAPTER 3 SYSTEM CONTROLLERPreliminary User’s Manual S15543EJ1V0UM227Figure 3-1. Bit and Byte Order of Endian ModesBYTE0 BYTE1 BYTE2 BYTE3BYTE4 B

Seite 144

CHAPTER 3 SYSTEM CONTROLLER228Preliminary User’s Manual S15543EJ1V0UMHowever, when making half-word accesses into a data array consisting of word

Seite 145

Preliminary User’s Manual S15543EJ1V0UM229CHAPTER 4 ATM CELL PROCESSOR4.1 OverviewThis section describes functional specifications of ATM cell

Seite 146

Preliminary User’s Manual S15543EJ1V0UM23CHAPTER 1 INTRODUCTIONThe µPD98502 is a high performance controller, which can perform the protocol conve

Seite 147

CHAPTER 4 ATM CELL PROCESSOR230Preliminary User’s Manual S15543EJ1V0UM4.1.2 Block diagram of ATM cell processorFigure 4-1. Block Diagram of AT

Seite 148

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM2314.1.2.3 UTOPIA bus controllerThis block has some H/W resources – DMA cont

Seite 149

CHAPTER 4 ATM CELL PROCESSOR232Preliminary User’s Manual S15543EJ1V0UM4.1.2.4 Other blocksWork-RAM is 12 K-byte memory. Tables and Pool Descrip

Seite 150

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM2334.1.3.1 AAL-5 SAR sublayer functionWhen ATM Cell Processor transmits a ce

Seite 151

CHAPTER 4 ATM CELL PROCESSOR234Preliminary User’s Manual S15543EJ1V0UMFigure 4-4. ATM CellVCIGFCSegment48 byteVPIVPIPTIHECCLPheader12345678bitT

Seite 152

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM235(3) Cell schedulingATM Cell Processor uses Scheduling Table, Cell Timer an

Seite 153

CHAPTER 4 ATM CELL PROCESSOR236Preliminary User’s Manual S15543EJ1V0UM4.2 Memory SpaceAlthough the RISC Core in the ATM Cell Processor is a 32-

Seite 154

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM2374.2.1 Work RAM and register spaceWork RAM and Register Space are shown in

Seite 155

CHAPTER 4 ATM CELL PROCESSOR238Preliminary User’s Manual S15543EJ1V0UM4.4 Registers for ATM Cell ProcessingRegisters in ATM Cell Processor bloc

Seite 156

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM239Offset Address Register Name R/W Access Description1001_F0C8H A_TSR R/W W

Seite 157

CHAPTER 1 INTRODUCTION24Preliminary User’s Manual S15543EJ1V0UM1.3 System ConfigurationThe µPD98502 can perform bridging and routing function bet

Seite 158

CHAPTER 4 ATM CELL PROCESSOR240Preliminary User’s Manual S15543EJ1V0UM4.4.2 A_GMR (General Mode Register)A_GMR is used to select operation mode

Seite 159

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM2414.4.4 A_IMR (Interrupt Mask Register)A_IMR masks interruption for each co

Seite 160

CHAPTER 4 ATM CELL PROCESSOR242Preliminary User’s Manual S15543EJ1V0UM4.4.5 A_RQU (Receiving Queue Underrun Register)A_RQU shows the status of

Seite 161 - (Unmapped, uncached space)

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM2434.4.10 A_MSA0 to A_MSA3 (Mailbox Start Address Register)A_MSA0 to A_MSA3

Seite 162

CHAPTER 4 ATM CELL PROCESSOR244Preliminary User’s Manual S15543EJ1V0UM4.4.13 A_MWA0 to A_MWA3 (Mailbox Write Address Register)A_MWA0 to A_MWA3

Seite 163 - (Software)

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM2454.4.18 A_T1R (T1 Time Register)A_T1R shows time which user allows ATM Cel

Seite 164

CHAPTER 4 ATM CELL PROCESSOR246Preliminary User’s Manual S15543EJ1V0UM4.4.22 A_UMCMD (UTOPIA Management Interface Command Register)A_UMCMD sele

Seite 165 - 2.6 Initialization Interface

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM2474.5 Data StructureATM Cell Processor has Tx/Rx buffer structure similar t

Seite 166

CHAPTER 4 ATM CELL PROCESSOR248Preliminary User’s Manual S15543EJ1V0UMFigure 4-9. Tx Buffer Elements- Tx buffer directoryTx buffer directory Ad

Seite 167

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM2494.5.1.1 Packet descriptorA packet descriptor contains two words shown as

Seite 168 - 2.7 Cache Memory

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM251.4 Block Diagram (Summary)Figure 1-2. Block Diagram of the µµµµPD98502SDRAMATM C

Seite 169

CHAPTER 4 ATM CELL PROCESSOR250Preliminary User’s Manual S15543EJ1V0UM4.5.1.2 Tx buffer directoryTx buffer directory contains some buffer descr

Seite 170

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM251Figure 4-12. Rx Pool StructureRx buffer desc.DataBufferDataBufferDataBuff

Seite 171

CHAPTER 4 ATM CELL PROCESSOR252Preliminary User’s Manual S15543EJ1V0UMFigure 4-13. Rx Pool Descriptor/Rx Buffer Directory/Rx Buffer Descriptor/

Seite 172

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM2534.5.2.1 Rx pool descriptorA pool descriptor contains two words shown as F

Seite 173

CHAPTER 4 ATM CELL PROCESSOR254Preliminary User’s Manual S15543EJ1V0UMFigure 4-15. Rx Buffer Descriptor/ Link Pointer-Rx link pointer-Rx buffer

Seite 174 - 2.7.6 Cache data integrity

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM2554.6 InitializationThis ATM Cell Processor is initialized by firmware that

Seite 175 - Valid bit Clear

CHAPTER 4 ATM CELL PROCESSOR256Preliminary User’s Manual S15543EJ1V0UM4.6.2 After RISC core’s F/W is startingRISC Core starts its operation fro

Seite 176 - Data cache only

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM2574.7 CommandsHere, basic commands used in AAL-5 operation are described. O

Seite 177 - Tag Write

CHAPTER 4 ATM CELL PROCESSOR258Preliminary User’s Manual S15543EJ1V0UM4.7.1 Set_Link_Rate commandThis command is used to set the link rate of A

Seite 178

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM2594.7.3 Close_Channel commandThe Close_Channel command is used to close a s

Seite 179 - Figure 2-84)

CHAPTER 1 INTRODUCTION26Preliminary User’s Manual S15543EJ1V0UM1.5 Block Diagram (Detail)1.5.1 VR4120A RISC processor coreWe will support real-t

Seite 180 - Figure 2-85. Refill Flow

CHAPTER 4 ATM CELL PROCESSOR260Preliminary User’s Manual S15543EJ1V0UM4.7.4 Tx_Ready commandThe Tx_Ready command is used by the VR4120A to noti

Seite 181

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM2614.7.5 Add_Buffers commandThe Add_Buffers command is used to add unused bu

Seite 182 - 2.8 CPU Core Interrupts

CHAPTER 4 ATM CELL PROCESSOR262Preliminary User’s Manual S15543EJ1V0UM4.7.6 Indirect_Access commandThe Indirect_Access command is used to perfo

Seite 183

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM263Figure 4-24. Work RAM UsagePacket Info StructurePool(4 W ords x 64)Free B

Seite 184

CHAPTER 4 ATM CELL PROCESSOR264Preliminary User’s Manual S15543EJ1V0UM4.8.2.1 Transmission procedure(a) Setting transmitting dataBefore transmi

Seite 185 - 3.1 Overview

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM2654.8.2.2 Transmit queueTx_Ready command has to be issued in order to trans

Seite 186

CHAPTER 4 ATM CELL PROCESSOR266Preliminary User’s Manual S15543EJ1V0UM(2) Packet descriptorFigure 4-27. Transmit Queue Packet Descriptor10ENCCL

Seite 187 - System Controller

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM267(3) Tx VC tableFigure 4-28. Tx VC TableWord 0 V ENC CLPM PTI GFC IM C10AA

Seite 188 - 3.1.10 Data flow diagram

CHAPTER 4 ATM CELL PROCESSOR268Preliminary User’s Manual S15543EJ1V0UMWord0 Identical to the contents of Word0 in the packet descriptor in syste

Seite 189 - 3.2 Registers

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM269(2) Raw cell transmissionWhen host sends the non AAL-5 traffic packet whic

Seite 190

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM271.5.2 IBUSThe IBUS is a 32-bit, 66-MHz high-speed on-chip bus, which enables inter

Seite 191

CHAPTER 4 ATM CELL PROCESSOR270Preliminary User’s Manual S15543EJ1V0UM4.8.2.6 LLC encapsulationIf LLC encapsulation is indicated in Tx VC table

Seite 192

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM271(1) Rx VC tableFigure 4-32. Receive VC TableWord 0CLP BFA0 RID DD DP 0 CI

Seite 193

CHAPTER 4 ATM CELL PROCESSOR272Preliminary User’s Manual S15543EJ1V0UMCLP Set to a 1 if the CLP in the header of at least one cell of the packet

Seite 194

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM273Figure 4-33. Raw Cell Data FormatWORD0 CELL HEADERWORD1 BYTE2 BYTE1 BYTE0

Seite 195

CHAPTER 4 ATM CELL PROCESSOR274Preliminary User’s Manual S15543EJ1V0UMFigure 4-34. Receive Indication FormatUINFO PACKET SIZE31 16 15 0TIME STA

Seite 196

CHAPTER 4 ATM CELL PROCESSORPreliminary User’s Manual S15543EJ1V0UM275(2) Max No. of bytes violationThis error occurs if the last cell of a pack

Seite 197

CHAPTER 4 ATM CELL PROCESSOR276Preliminary User’s Manual S15543EJ1V0UM4.8.4 MailboxATM Cell Processor uses mailboxes as ring buffers in system

Seite 198

Preliminary User’s Manual S15543EJ1V0UM277CHAPTER 5 ETHERNET CONTROLLER5.1 OverviewThis section describes Ethernet Controller block. This Ethern

Seite 199

CHAPTER 5 ETHERNET CONTROLLER278Preliminary User’s Manual S15543EJ1V0UMFigure 5-1. Block Diagram of Ethernet ControllerTPO+TPO–TPI+TPI–Transceiv

Seite 200

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2795.2 RegistersRegisters of this block are categorized following four categ

Seite 201 - 3.3 CPU Interface

CHAPTER 1 INTRODUCTION28Preliminary User’s Manual S15543EJ1V0UM1.5.3 System controllerSystem Controller is µPD98502’s internal system controller.

Seite 202 - Remark VR

CHAPTER 5 ETHERNET CONTROLLER280Preliminary User’s Manual S15543EJ1V0UMOffset Address Register Name R/W Access Description1000_m0A8H:1000_m0C4HN/

Seite 203

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM281Table 5-3. Statistics Counter Register MapOffset Address Register Name R/

Seite 204 - 3.4 Memory Interface

CHAPTER 5 ETHERNET CONTROLLER282Preliminary User’s Manual S15543EJ1V0UMOffset Address Register Name R/W Access Description1000_m1C4H En_TPCT R/W

Seite 205

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2835.2.1.3 DMA and FIFO management registersThese registers control to trans

Seite 206

CHAPTER 5 ETHERNET CONTROLLER284Preliminary User’s Manual S15543EJ1V0UM5.2.1.4 Interrupt and configuration registersThese register control inter

Seite 207

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2855.2.2 En_MACC1 (MAC Configuration Register 1)Bits Field R/W Default Descr

Seite 208 - ROM Burst Read Cycle

CHAPTER 5 ETHERNET CONTROLLER286Preliminary User’s Manual S15543EJ1V0UM5.2.3 En_MACC2 (MAC Configuration Register 2)Bits Field R/W Default Descr

Seite 209

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2875.2.6 En_CLRT (Collision Register)Bits Field R/W Default Description31:14

Seite 210

CHAPTER 5 ETHERNET CONTROLLER288Preliminary User’s Manual S15543EJ1V0UM5.2.11 En_PTVR (Pause Timer Value Read Register)Bits Field R/W Default De

Seite 211

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2895.2.15 En_MADR (MII Address Register)Bits Field R/W Default Description31

Seite 212

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM291.5.4 ATM cell processorBy using NEC proprietary 32-bit controller, we will realiz

Seite 213

CHAPTER 5 ETHERNET CONTROLLER290Preliminary User’s Manual S15543EJ1V0UM5.2.19 En_AFR (Address Filtering Register)Bits Field R/W Default Descript

Seite 214

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2915.2.22 En_CAR1 (Carry Register 1)The bits of this register indicate that

Seite 215 - Example (4 MB FLASH)

CHAPTER 5 ETHERNET CONTROLLER292Preliminary User’s Manual S15543EJ1V0UM5.2.23 En_CAR2 (Carry Register 2)The bits of this register indicate that

Seite 216

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2935.2.24 En_CAM1 (Carry Register 1 Mask Register)This register masks the In

Seite 217

CHAPTER 5 ETHERNET CONTROLLER294Preliminary User’s Manual S15543EJ1V0UM5.2.25 En_CAM2 (Carry Register 2 Mask Register)This register masks the In

Seite 218 - SDRAM Configuration

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2955.2.27 En_TXFCR (Transmit FIFO Control Register)Bits Field R/W Default De

Seite 219

CHAPTER 5 ETHERNET CONTROLLER296Preliminary User’s Manual S15543EJ1V0UM5.2.28 En_TXDPR (Transmit Descriptor Pointer)Bits Field R/W Default Descr

Seite 220

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2975.2.30 En_RXFCR (Receive FIFO Control Register)Bits Field R/W Default Des

Seite 221 - 3.5 IBUS Interface

CHAPTER 5 ETHERNET CONTROLLER298Preliminary User’s Manual S15543EJ1V0UM5.2.32 En_RXPDR (Receive Pool Descriptor Pointer)Bits Field R/W Default D

Seite 222

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM2995.2.35 En_MSR (Mask Serves Register)Each interrupt source is maskable. En

Seite 223

Preliminary User’s Manual S15543EJ1V0UM3SUMMARY OF CONTENTSCHAPTER 1 INTRODUCTION ...

Seite 224 - 3.6 DSU (Deadman’s SW Unit)

CHAPTER 1 INTRODUCTION30Preliminary User’s Manual S15543EJ1V0UM1.5.5 Ethernet controllerEthernet Controller supports 2-channel 10 Mbps/100 Mbps E

Seite 225

CHAPTER 5 ETHERNET CONTROLLER300Preliminary User’s Manual S15543EJ1V0UM5.3 Operation5.3.1 InitializationAfter a power on reset or a software re

Seite 226

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3015.3.3 Buffer descriptor formatThe Transmit Descriptor format is shown in

Seite 227 - Little-Endian

CHAPTER 5 ETHERNET CONTROLLER302Preliminary User’s Manual S15543EJ1V0UMTable 5-7. Attribute for Receive DescriptorAttribute & Size Bit Name

Seite 228

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM303Short frames are automatically padded by the transmit logic if PADEN bit i

Seite 229 - 4.1 Overview

CHAPTER 5 ETHERNET CONTROLLER304Preliminary User’s Manual S15543EJ1V0UMFigure 5-7. Transmit ProcedureVR4120A Ethernet Controller External PHY De

Seite 230 - ATM Cell Processor

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM305Operation flow for transmit packeti) Prepares transmit data in data buffer

Seite 231

CHAPTER 5 ETHERNET CONTROLLER306Preliminary User’s Manual S15543EJ1V0UMWhen the receive frame is complete, Ethernet Controller sets the L-bit in

Seite 232 - 4120A RISC Processor

CHAPTER 5 ETHERNET CONTROLLERPreliminary User’s Manual S15543EJ1V0UM307Operation flow for receive packeti) Prepares the receive buffer descriptor

Seite 233

CHAPTER 5 ETHERNET CONTROLLER308Preliminary User’s Manual S15543EJ1V0UM(3) Broadcast address filteringAll of received packets with broadcast des

Seite 234

Preliminary User’s Manual S15543EJ1V0UM309CHAPTER 6 USB CONTROLLER6.1 OverviewThe USB Controller handles the data communication through USB. The

Seite 235

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM311.5.6 USB controllerUSB Controller provides Full Speed Function device function de

Seite 236 - SDRAM Space

CHAPTER 6 USB CONTROLLER310Preliminary User’s Manual S15543EJ1V0UM6.1.2 Internal block diagramUSB Controller internal block diagram is as shown

Seite 237 - 4.3 Interruption

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3116.2 RegistersThis section explains the mapping of those registers that can be

Seite 238

CHAPTER 6 USB CONTROLLER312Preliminary User’s Manual S15543EJ1V0UM2. All internal registers are 32-bit word-aligned registers.3. The burst access

Seite 239

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3136.2.2 U_GMR (USB General Mode Register)This register is used for setting the o

Seite 240

CHAPTER 6 USB CONTROLLER314Preliminary User’s Manual S15543EJ1V0UM6.2.4 U_GSR1 (USB General Status Register 1)This register indicates the curren

Seite 241

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM315Bits Field R/W Default Description8 EP1FU RC 0 EP1 FIFO Error:Bit that indicate

Seite 242

CHAPTER 6 USB CONTROLLER316Preliminary User’s Manual S15543EJ1V0UM6.2.5 U_IMR1 (USB Interrupt Mask Register 1)This register is used to mask inte

Seite 243

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM317Bits Field R/W Default Description4 EP3TF R/W 0 EP3 Tx Finished:1 = unmask.0 =

Seite 244

CHAPTER 6 USB CONTROLLER318Preliminary User’s Manual S15543EJ1V0UM6.2.6 U_GSR2 (USB General Status Register 2)This register indicates the curren

Seite 245

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3196.2.7 U_IMR2 (USB Interrupt Mask Register 2)This register is used to mask inte

Seite 246

CHAPTER 1 INTRODUCTION32Preliminary User’s Manual S15543EJ1V0UM1.5.7 PCI controllerPCI Controller provides PCI Bus function defined by PCI SIG. T

Seite 247 - 4.5 Data Structure

CHAPTER 6 USB CONTROLLER320Preliminary User’s Manual S15543EJ1V0UM6.2.8 U_EP0CR (USB EP0 Control Register)This register is used for setting the

Seite 248 - - Tx packet descriptor

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3216.2.9 U_EP1CR (USB EP1 Control Register)This register is used for setting the

Seite 249

CHAPTER 6 USB CONTROLLER322Preliminary User’s Manual S15543EJ1V0UM6.2.11 U_EP3CR (USB EP3 Control Register)This register is used for setting the

Seite 250 - -Tx buffer descriptor

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3236.2.12 U_EP4CR (USB EP4 Control Register)This register is used for setting the

Seite 251

CHAPTER 6 USB CONTROLLER324Preliminary User’s Manual S15543EJ1V0UM6.2.13 U_EP5CR (USB EP5 Control Register)This register is used for setting the

Seite 252 - -Rx pool descriptor

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3256.2.15 U_CMR (USB Command Register)This register is used for issuing Tx reques

Seite 253 - Alert level

CHAPTER 6 USB CONTROLLER326Preliminary User’s Manual S15543EJ1V0UM6.2.17 U_TEPSR (USB Tx EndPoint Status Register)This register is used for indi

Seite 254

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3276.2.19 U_RP0AR (USB Rx Pool0 Address Register)This register indicates the star

Seite 255 - 4.6 Initialization

CHAPTER 6 USB CONTROLLER328Preliminary User’s Manual S15543EJ1V0UM6.2.22 U_RP2IR (USB Rx Pool2 Information Register)This register indicates the

Seite 256 - 00_2000H

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3296.2.27 U_TMWA (USB Tx MailBox Write Address Register)Bits Field R/W Default De

Seite 257 - 4.7 Commands

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM331.6 Pin Configuration (Bottom View)• 500-pin Tape BGA (Heat spread type) (40 × 40)

Seite 258

CHAPTER 6 USB CONTROLLER330Preliminary User’s Manual S15543EJ1V0UM6.3 USB Attachment SequenceThis section describes the sequence that is followe

Seite 259

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3316.4 InitializationAfter USB Controller has been reset, the VR4120A must set se

Seite 260

CHAPTER 6 USB CONTROLLER332Preliminary User’s Manual S15543EJ1V0UM6.4.1 Receive pool settingsFor details of the receive pool settings, see Secti

Seite 261

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM333Figure 6-3. Mailbox Configuration31 0U_TMSA(U_RMSA)U_TMWA(U_RMWA)U_TMBA(U_RMBA

Seite 262 - 4.8 Operations

CHAPTER 6 USB CONTROLLER334Preliminary User’s Manual S15543EJ1V0UM6.5 Data Transmit FunctionThis section explains USB Controller's data tra

Seite 263 - Work RAM (10 Kbytes)

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM335Figure 6-5. Tx Buffer ConfigurationBuffer descriptorBuffer descriptorBuffer de

Seite 264

CHAPTER 6 USB CONTROLLER336Preliminary User’s Manual S15543EJ1V0UMFigure 6-6. Configuration of Transmit Buffer Directory-Tx Buffer DirectoryDire

Seite 265 - PACKET DESCRIPTOR STORAGE

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3376.5.3 Data transmit modesUSB Controller supports two transmit modes. These mod

Seite 266

CHAPTER 6 USB CONTROLLER338Preliminary User’s Manual S15543EJ1V0UM6.5.4 VR4120A processing at data transmittingThis section explains the process

Seite 267 - Figure 4-28. Tx VC Table

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM339(1) First, the VR4120A prepares the data to be transmitted in system memory.(2)

Seite 268

CHAPTER 1 INTRODUCTION34Preliminary User’s Manual S15543EJ1V0UMPin Name(1/3)Pin No. Pin Name Pin No. Pin Name Pin No. Pin Name Pin No. Pin Name Pi

Seite 269

CHAPTER 6 USB CONTROLLER340Preliminary User’s Manual S15543EJ1V0UMFigure 6-9. Transmit Status Register31 15EP301623 8EP5 EP07EP124USB Tx EndPoin

Seite 270

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3416.5.5 USB controller processing at data transmittingThis section presents all

Seite 271 - (1) Rx VC table

CHAPTER 6 USB CONTROLLER342Preliminary User’s Manual S15543EJ1V0UMNumbers (1) to (15) do not indicate the order in which USB Controller must perf

Seite 272

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3436.5.6 Tx indicationFor every data segment to be transmitted, USB Controller wr

Seite 273

CHAPTER 6 USB CONTROLLER344Preliminary User’s Manual S15543EJ1V0UM6.6 Data Receive FunctionThis section explains USB Controller's data rece

Seite 274

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3456.6.2 Rx Buffer configurationData received from the USB is stored into a recei

Seite 275

CHAPTER 6 USB CONTROLLER346Preliminary User’s Manual S15543EJ1V0UMFigure 6-14. Receive Descriptor Configuration-Rx Buffer DirectoryBuffer Direct

Seite 276 - A_MSA[3:0]

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3476.6.3 Receive pool settingsUSB Controller uses three receive pools.Pool0 For E

Seite 277 - 5.1 Overview

CHAPTER 6 USB CONTROLLER348Preliminary User’s Manual S15543EJ1V0UM(a) If any unused Buffer Directories remain in the pool (when the RNOD field in

Seite 278 - Ethernet Controller Block

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM349(1) Reception in EndPoint0, EndPoint6Same processing is executed without relati

Seite 279 - Register Categories

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM35(2/3)Pin No. Pin Name Pin No. Pin Name Pin No. Pin Name Pin No. Pin Name Pin No. Pi

Seite 280

CHAPTER 6 USB CONTROLLER350Preliminary User’s Manual S15543EJ1V0UM(3) EndPoint2, EndPoint4, assemble modeThe processing in EndPoint2, EndPoint4 r

Seite 281

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3516.6.5 VR4120A receive processingThis section explains the processing that the

Seite 282

CHAPTER 6 USB CONTROLLER352Preliminary User’s Manual S15543EJ1V0UM6.6.6 USB controller receive processingThis section presents all of the proces

Seite 283

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM353Numbers (1) to (9) do not indicate the order in which USB Controller must perfo

Seite 284

CHAPTER 6 USB CONTROLLER354Preliminary User’s Manual S15543EJ1V0UM6.6.6.2 Assemble modeThe following figure illustrates the receive operations p

Seite 285

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM355Numbers (1) to (11) do not indicate the order in which USB Controller must perf

Seite 286

CHAPTER 6 USB CONTROLLER356Preliminary User’s Manual S15543EJ1V0UM6.6.6.3 Separate modeThe following figure illustrates the receive operations p

Seite 287

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM357Numbers (1) to (12) do not indicate the order in which USB Controller must perf

Seite 288

CHAPTER 6 USB CONTROLLER358Preliminary User’s Manual S15543EJ1V0UM6.6.7 Detection of errors on USBUSB Controller has some functions which detect

Seite 289

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM359data to USB and will set EP1ND bit (Bit 2) in USB GeneralStatus Register 2.• Ex

Seite 290

CHAPTER 1 INTRODUCTION36Preliminary User’s Manual S15543EJ1V0UM(3/3)Pin No. Pin Name Pin No. Pin Name Pin No. Pin Name Pin No. Pin Name Pin No. Pi

Seite 291

CHAPTER 6 USB CONTROLLER360Preliminary User’s Manual S15543EJ1V0UM6.6.8 Rx data corruption on Isochronous EndPointOn Isochronous Rx EndPoint (EP

Seite 292

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM361Figure 6-25. Example of Buffers Including Corrupted DataBuffer descriptorBuffe

Seite 293

CHAPTER 6 USB CONTROLLER362Preliminary User’s Manual S15543EJ1V0UM(b) Rx assemble modeUSB Controller sets EP2FO (EndPoint2 No Data) bit (Bit 9) i

Seite 294

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM363When set to a ‘1’, indicates that a buffer overrun occurred.This bit is set onl

Seite 295 - From internal bus

CHAPTER 6 USB CONTROLLER364Preliminary User’s Manual S15543EJ1V0UM6.7 Power ManagementUSB Controller has a built in feature that allows it to us

Seite 296

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM365The VR4120A is not permitted to write to other than USB Controller's USB G

Seite 297 - From MAC Control Block

CHAPTER 6 USB CONTROLLER366Preliminary User’s Manual S15543EJ1V0UM6.7.3 Remote wake upThe Remote Wake Up sequence is shown below.Figure 6-29. R

Seite 298

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3676.8 Receiving SOF PacketUSB Controller can receive SOF Packets, and check if F

Seite 299

CHAPTER 6 USB CONTROLLER368Preliminary User’s Manual S15543EJ1V0UM6.9 Loopback ModeUSB Controller features a built-in loopback function for test

Seite 300 - 5.3 Operation

CHAPTER 6 USB CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3696.10 Example of ConnectionUSB Controller is connected to the µPD98502 internal

Seite 301

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM371.7 Pin FunctionSymbol of I/O column indicates following status in this section.I

Seite 302

370Preliminary User’s Manual S15543EJ1V0UMCHAPTER 7 PCI CONTROLLER7.1 OverviewThe PCI Controller supports both NIC mode and Host mode. With the N

Seite 303

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3717.2 Bus Bridge Functions7.2.1 Internal bus to PCI transaction7.2.1.1 Window s

Seite 304

CHAPTER 7 PCI CONTROLLER372Preliminary User’s Manual S15543EJ1V0UM7.2.1.3 Write issue from internal bus to PCI(1) Posted write transactionIf IPW

Seite 305

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM373(2) Non posted write transactionIf IPWRD bit in P_BCNT register is ‘1’, the PCI

Seite 306 - Set RCVDP

CHAPTER 7 PCI CONTROLLER374Preliminary User’s Manual S15543EJ1V0UM7.2.1.4 Read issue from internal bus to PCI(1) Delayed read transactionWhen ID

Seite 307

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM375(2) Non delayed read transactionWhen IDRTD bit in P_BCNT register is ‘1’, the PC

Seite 308

CHAPTER 7 PCI CONTROLLER376Preliminary User’s Manual S15543EJ1V0UM7.2.2 PCI to internal bus transaction7.2.2.1 Window sizeThe PCI Controller su

Seite 309 - 6.1 Overview

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3777.2.2.3 Write issue from PCI to Internal bus(1) Posted write transactionIf PPWR

Seite 310

CHAPTER 7 PCI CONTROLLER378Preliminary User’s Manual S15543EJ1V0UM(2) Non posted write transactionWhen PPWRD bit in P_BCNT register is ‘1’, the P

Seite 311 - 6.2 Registers

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3797.2.2.4 Read issue from PCI to internal bus(1) Delayed read transactionWhen PDR

Seite 312

CHAPTER 1 INTRODUCTION38Preliminary User’s Manual S15543EJ1V0UM1.7.4 System control interfacePin Name Pin No. I/O Active Level FunctionSCLK V1 I

Seite 313

CHAPTER 7 PCI CONTROLLER380Preliminary User’s Manual S15543EJ1V0UM(2) Non delayed read transactionWhen PDRTD bit in P_BCNT register is ‘1’, the P

Seite 314

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3817.2.3 Abnormal Termination7.2.3.1 On PCI bus(1) Detecting parity errorWhen the

Seite 315

CHAPTER 7 PCI CONTROLLER382Preliminary User’s Manual S15543EJ1V0UMIn the case that the value except for ‘0’ is set to P_RTMR register, the PCI Co

Seite 316

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3837.3 PCI Power Management InterfaceThe PCI Controller has the mechanism for powe

Seite 317

CHAPTER 7 PCI CONTROLLER384Preliminary User’s Manual S15543EJ1V0UM7.3.4 Power state transition7.3.4.1 Transition by issue from PCI-HostAn examp

Seite 318

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3857.3.4.2 Transition by power management eventThe sequence is as follows:1. When

Seite 319

CHAPTER 7 PCI CONTROLLER386Preliminary User’s Manual S15543EJ1V0UM7.4 Functions in Host-modeThe functions described in this section are availabl

Seite 320

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3877.4.1.3 PCI Configuration Data Register (P_PCDR)When bit31 in the PCAR register

Seite 321

CHAPTER 7 PCI CONTROLLER388Preliminary User’s Manual S15543EJ1V0UMFigure 7-14. An Example How to Connect AD [31:16] Signal Line to IDSEL PortAD[

Seite 322

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM389Figure 7-16. Arbitration in Alternating ModePCIControllerGNT#0GNT#3GNT#1GNT#2Ro

Seite 323

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM391.7.5 Memory interface(1/2)Pin Name Pin No. I/O Active Level FunctionSDCLK0 L1 O S

Seite 324

CHAPTER 7 PCI CONTROLLER390Preliminary User’s Manual S15543EJ1V0UM7.5 Registers7.5.1 Register mapR/WOffset Address Register NameInternalbusPCIA

Seite 325

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3917.5.2 P_PLBA (PCI Lower Base Address Register)When the PCI Controller issues 32

Seite 326

CHAPTER 7 PCI CONTROLLER392Preliminary User’s Manual S15543EJ1V0UM7.5.5 P_PCAR (PCI Configuration Address Register)PCAR register is used to set

Seite 327

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3937.5.7 P_IGSR (Internal Bus-side General Status Register)IGSR register shows the

Seite 328

CHAPTER 7 PCI CONTROLLER394Preliminary User’s Manual S15543EJ1V0UM7.5.8 P_IIMR (Internal Bus Interrupt Mask Register)IIMR register masks the int

Seite 329

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3957.5.9 P_PGSR (PCI-side General Status Register)PGSR register shows the interrup

Seite 330 - 6.3 USB Attachment Sequence

CHAPTER 7 PCI CONTROLLER396Preliminary User’s Manual S15543EJ1V0UM7.5.10 P_IIMR (Internal Bus Interrupt Mask Register)IIMR register masks the in

Seite 331 - 6.4 Initialization

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3977.5.11 P_PIMR (PCI Interrupt Mask Register)PIMR register masks interruptions. A

Seite 332

CHAPTER 7 PCI CONTROLLER398Preliminary User’s Manual S15543EJ1V0UM7.5.12 P_HMCR (Host Mode Control Register)This register is used to control the

Seite 333

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM3997.5.15 P_BCNT (Bridge Control Register)This register is used to control the PCI

Seite 334 - Data Segment

Preliminary User’s Manual S15543EJ1V0UM4NOTES FOR CMOS DEVICES1 PRECAUTION AGAINST ESD FOR SEMICONDUCTORSNote:Strong electric field, when exposed to

Seite 335 - Tx Packet

CHAPTER 1 INTRODUCTION40Preliminary User’s Manual S15543EJ1V0UM(2/2)Pin Name Pin No. I/O Active Level FunctionSMD11 R5 I/O Memory dataSMD12 R2 I/O

Seite 336 - -Tx Buffer Descriptor

CHAPTER 7 PCI CONTROLLER400Preliminary User’s Manual S15543EJ1V0UM7.5.16 P_PPCR (PCI Power Control Register)This register is used to control the

Seite 337

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM4017.5.18 P_RTMR (Retry Timer Register)This register is used to set the limitation

Seite 338 - Figure 6-7. V

CHAPTER 7 PCI CONTROLLER402Preliminary User’s Manual S15543EJ1V0UMOffset Address Register Name Size(byte)InternalbusPCI Description1000_4100H Ven

Seite 339

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM4037.5.19.2 Vendor ID registerThis register identifies the manufacturer of the dev

Seite 340

CHAPTER 7 PCI CONTROLLER404Preliminary User’s Manual S15543EJ1V0UM7.5.19.4 Command registerThis register provides coarse control over a device’s

Seite 341

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM4057.5.19.5 Status registerThis register is used to show PCI bus related events st

Seite 342

CHAPTER 7 PCI CONTROLLER406Preliminary User’s Manual S15543EJ1V0UM7.5.19.6 Revision ID registerThis register specifies a device specific revisio

Seite 343

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM4077.5.19.10 Header type registerThis register identifies the layout of the second

Seite 344

CHAPTER 7 PCI CONTROLLER408Preliminary User’s Manual S15543EJ1V0UM7.5.19.14 Subsystem ID registerThis register is used to uniquely identify the

Seite 345 - Buffer Directory

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM4097.5.19.19 Max_Lat registerThis register specifies how often the device needs to

Seite 346 - -Rx Buffer Descriptor

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM411.7.6 PCI interface(1/2)Pin Name Pin No. I/O Active Level FunctionPSCLK V30 I PCI

Seite 347

CHAPTER 7 PCI CONTROLLER410Preliminary User’s Manual S15543EJ1V0UM7.5.19.23 PMCSR registerThis register is used to manage the PCI function’s pow

Seite 348

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM4117.6 Information for Software7.6.1 NIC mode7.6.1.1 Initialization(1) Initializ

Seite 349

CHAPTER 7 PCI CONTROLLER412Preliminary User’s Manual S15543EJ1V0UM- Sets a ‘1’ to PME_En bit in PMCSR register, if neededThen, the PCI-Host devic

Seite 350

CHAPTER 7 PCI CONTROLLERPreliminary User’s Manual S15543EJ1V0UM413- Sets a ‘1’ to “Bus Master Enable” bit in command register, if the chip execute

Seite 351

414Preliminary User’s Manual S15543EJ1V0UMCHAPTER 8 UART8.1 OverviewUART is a serial interface that conforms to the RS-232C communication standar

Seite 352

CHAPTER 8 UARTPreliminary User’s Manual S15543EJ1V0UM4158.3 RegistersThis controller uses the NEC NA16550L Mega-Function as its internal UART. Th

Seite 353

CHAPTER 8 UART416Preliminary User’s Manual S15543EJ1V0UM8.3.2 UARTRBR (UART Receiver data Buffer Register)This register holds receive data. It i

Seite 354

CHAPTER 8 UARTPreliminary User’s Manual S15543EJ1V0UM4178.3.6 UARTDLM (UART Divisor Latch MSB Register)This register is used to set the divisor (

Seite 355

CHAPTER 8 UART418Preliminary User’s Manual S15543EJ1V0UM8.3.7 UARTIIR (UART Interrupt ID Register)This register indicates priority levels for in

Seite 356

CHAPTER 8 UARTPreliminary User’s Manual S15543EJ1V0UM4198.3.8 UARTFCR (UART FIFO Control Register)This register is used to control the FIFOs: ena

Seite 357

CHAPTER 1 INTRODUCTION42Preliminary User’s Manual S15543EJ1V0UM(2/2)Pin Name Pin No. I/O Active Level FunctionPAD11 J28 I/OZ PCI address and dataP

Seite 358

CHAPTER 8 UART420Preliminary User’s Manual S15543EJ1V0UM8.3.9 UARTLCR (UART Line Control Register)This register is used to specify the format fo

Seite 359

CHAPTER 8 UARTPreliminary User’s Manual S15543EJ1V0UM4218.3.10 UARTMCR (UART Modem Control Register)This register controls the state of external

Seite 360

CHAPTER 8 UART422Preliminary User’s Manual S15543EJ1V0UM8.3.11 UARTLSR (UART Line Status Register)This register reports the current state of the

Seite 361

CHAPTER 8 UARTPreliminary User’s Manual S15543EJ1V0UM4238.3.12 UARTMSR (UART Modem Status Register)This register reports the current state of and

Seite 362

424Preliminary User’s Manual S15543EJ1V0UMCHAPTER 9 TIMER9.1 OverviewThere are two Timers. The timers are clocked at the system clock rate. All t

Seite 363

CHAPTER 9 TIMERPreliminary User’s Manual S15543EJ1V0UM4259.3 Registers9.3.1 Register mapOffset Address Register Name R/W Access Description1000_

Seite 364 - 6.7 Power Management

CHAPTER 9 TIMER426Preliminary User’s Manual S15543EJ1V0UM9.3.3 TM0CSR (Timer CH0 Count Set Register)The Timer CH0 Count Set Register “TM0CSR” is

Seite 365

Preliminary User’s Manual S15543EJ1V0UM427CHAPTER 10 MICRO WIRE10.1 OverviewThis EEPROM interface is compatible with the Micro Wire serial inter

Seite 366

CHAPTER 10 MICRO WIRE428Preliminary User’s Manual S15543EJ1V0UM10.2 Operations10.2.1 Data read at the power up loadAfter reset release, power

Seite 367 - 6.8 Receiving SOF Packet

CHAPTER 10 MICRO WIREPreliminary User’s Manual S15543EJ1V0UM42910.3 Registers10.3.1 Register mapOffset Address Register Name R/W Access Descrip

Seite 368 - Tx data Rx data

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM431.7.7 ATM interface1.7.7.1 UTOPIA management interfacePin Name Pin No. I/O Active

Seite 369 - 6.10 Example of Connection

CHAPTER 10 MICRO WIRE430Preliminary User’s Manual S15543EJ1V0UM10.3.6 MACAR3 (MAC Address Register 3)Bits Field R/W Default Description31:16 SE

Seite 370 - 7.1 Overview

Preliminary User’s Manual S15543EJ1V0UM431APPENDIX A MIPS III INSTRUCTION SET DETAILSThis chapter provides a detailed description of the opera

Seite 371 - 7.2 Bus Bridge Functions

APPENDIX A MIPS III INSTRUCTION SET DETAILS432Preliminary User’s Manual S15543EJ1V0UMTable A-1. CPU Instruction Operation NotationsSymbol Des

Seite 372

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM433(1) Instruction notation examplesThe following examples

Seite 373

APPENDIX A MIPS III INSTRUCTION SET DETAILS434Preliminary User’s Manual S15543EJ1V0UMAs shown in Table A-3, the Access Type field indicates th

Seite 374

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM435A.4 System Control Coprocessor (CP0) InstructionsTh

Seite 375

APPENDIX A MIPS III INSTRUCTION SET DETAILS436Preliminary User’s Manual S15543EJ1V0UMADDAddADDrsSPECIAL0 0 0 0 0 0rt rd00 0 0 0 0ADD1 0 0 0 0

Seite 376

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM437ADDIAdd ImmediateADDIrsADDI0 0 1 0 0 0rt immediate31 26

Seite 377

APPENDIX A MIPS III INSTRUCTION SET DETAILS438Preliminary User’s Manual S15543EJ1V0UMADDIUAdd Immediate UnsignedADDIUrsADDIU0 0 1 0 0 1rt imme

Seite 378

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM439ADDUAdd UnsignedADDUrsSPECIAL0 0 0 0 0 0rt rd00 0 0 0 0A

Seite 379

CHAPTER 1 INTRODUCTION44Preliminary User’s Manual S15543EJ1V0UM1.7.7.2 UTOPIA data interfacePin Name Pin No. I/O Active Level FunctionCLKUSL0 T4

Seite 380

APPENDIX A MIPS III INSTRUCTION SET DETAILS440Preliminary User’s Manual S15543EJ1V0UMANDAndANDrsSPECIAL0 0 0 0 0 0rt rd00 0 0 0 0AND1 0 0 1 0

Seite 381

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM441ANDIAnd ImmediateANDIrsANDI0 0 1 1 0 0rt immediate31 26

Seite 382 - CHAPTER 7 PCI CONTROLLER

APPENDIX A MIPS III INSTRUCTION SET DETAILS442Preliminary User’s Manual S15543EJ1V0UMBC0FBranch On Coprocessor 0 FalseBC0FBC0 1 0 0 0COPz0 1 0

Seite 383

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM443BC0FLBranch On Coprocessor 0 False Likely (1/2)BC0FLBC0

Seite 384 - Internal

APPENDIX A MIPS III INSTRUCTION SET DETAILS444Preliminary User’s Manual S15543EJ1V0UMBC0FLBranch On Coprocessor 0 False Likely (2/2)BC0FLOpcod

Seite 385

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM445BC0TBranch On Coprocessor 0 TrueBC0TBC0 1 0 0 0COPz0 1 0

Seite 386 - 7.4 Functions in Host-mode

APPENDIX A MIPS III INSTRUCTION SET DETAILS446Preliminary User’s Manual S15543EJ1V0UMBC0TLBranch On Coprocessor 0 True Likely (1/2)BC0TLBC0 1

Seite 387

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM447BC0TLBranch On Coprocessor 0 True Likely (2/2)BC0TLOpcod

Seite 388 - PCI device

APPENDIX A MIPS III INSTRUCTION SET DETAILS448Preliminary User’s Manual S15543EJ1V0UMBEQBranch On EqualBEQrsBEQ0 0 0 1 0 0rt offset31 26 25 21

Seite 389

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM449BEQLBranch On Equal LikelyBEQLrsBEQL0 1 0 1 0 0rt offset

Seite 390 - Register Name

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM451.7.8 Ethernet interface1.7.8.1 Ethernet interface (Channel 1)Pin Name Pin No. I/

Seite 391

APPENDIX A MIPS III INSTRUCTION SET DETAILS450Preliminary User’s Manual S15543EJ1V0UMBGEZBranch On Greater Than Or Equal To ZeroBGEZrsREGIMM0

Seite 392

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM451BGEZALBranch On Greater Than Or Equal To Zero And LinkBG

Seite 393

APPENDIX A MIPS III INSTRUCTION SET DETAILS452Preliminary User’s Manual S15543EJ1V0UMBGEZALLBranch On Greater Than Or Equal To Zero And Link L

Seite 394

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM453BGEZLBranch On Greater Than Or Equal To Zero LikelyBGEZL

Seite 395

APPENDIX A MIPS III INSTRUCTION SET DETAILS454Preliminary User’s Manual S15543EJ1V0UMBGTZBranch On Greater Than ZeroBGTZrsBGTZ0 0 0 1 1 100 0

Seite 396

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM455BGTZLBranch On Greater Than Zero LikelyBGTZLrsBGTZL0 1 0

Seite 397

APPENDIX A MIPS III INSTRUCTION SET DETAILS456Preliminary User’s Manual S15543EJ1V0UMBLEZBranch On Less Than Or Equal To ZeroBLEZrsBLEZ0 0 0 1

Seite 398

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM457BLEZLBranch On Less Than Or Equal To Zero LikelyBLEZLrsB

Seite 399

APPENDIX A MIPS III INSTRUCTION SET DETAILS458Preliminary User’s Manual S15543EJ1V0UMBLTZBranch On Less Than ZeroBLTZrsREGIMM0 0 0 0 0 1BLTZ0

Seite 400

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM459BLTZALBranch On Less Than Zero And LinkBLTZALrsREGIMM0 0

Seite 401

CHAPTER 1 INTRODUCTION46Preliminary User’s Manual S15543EJ1V0UM1.7.8.2 Ethernet interface (Channel 2)Pin Name Pin No. I/O Active Level FunctionMI

Seite 402 - Register Name Size

APPENDIX A MIPS III INSTRUCTION SET DETAILS460Preliminary User’s Manual S15543EJ1V0UMBLTZALLBranch On Less Than Zero And Link LikelyBLTZALLrsR

Seite 403 - 7.5.19.3 Device ID register

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM461BLTZLBranch On Less Than Zero LikelyBLTZLrsREGIMM0 0 0 0

Seite 404 - 7.5.19.4 Command register

APPENDIX A MIPS III INSTRUCTION SET DETAILS462Preliminary User’s Manual S15543EJ1V0UMBNEBranch On Not EqualBNErsBNE0 0 0 1 0 1rt offset31 26 2

Seite 405 - 7.5.19.5 Status register

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM463BNELBranch On Not Equal LikelyBNELrsBNEL0 1 0 1 0 1rt of

Seite 406

APPENDIX A MIPS III INSTRUCTION SET DETAILS464Preliminary User’s Manual S15543EJ1V0UMBREAKBreakpointBREAKcodeSPECIAL0 0 0 0 0 0BREAK0 0 1 1 0

Seite 407

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM465CACHECache (1/4)CACHEbaseCACHE1 0 1 1 1 1op offset31 26

Seite 408

APPENDIX A MIPS III INSTRUCTION SET DETAILS466Preliminary User’s Manual S15543EJ1V0UMCACHECache (2/4)CACHEWrite back from a cache goes to main

Seite 409

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM467CACHECache (3/4)CACHECode Cache Name Operation0 I Index_

Seite 410 - 7.5.19.24 PMData register

APPENDIX A MIPS III INSTRUCTION SET DETAILS468Preliminary User’s Manual S15543EJ1V0UMCACHECache (4/4)CACHEOperation:32, 64 T:vAddr ← ((offset

Seite 411 - 7.6 Information for Software

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM469DADDDoubleword AddDADDrsSPECIAL0 0 0 0 0 0rt rd00 0 0 0

Seite 412

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM471.7.10 UART interfacePin Name Pin No. I/O Active Level FunctionURCLK D9 I UART ext

Seite 413

APPENDIX A MIPS III INSTRUCTION SET DETAILS470Preliminary User’s Manual S15543EJ1V0UMDADDIDoubleword Add ImmediateDADDIrsDADDI0 1 1 0 0 0rt im

Seite 414 - NS16550D

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM471DADDIUDoubleword Add Immediate UnsignedDADDIUrsDADDIU0 1

Seite 415 - 8.3 Registers

APPENDIX A MIPS III INSTRUCTION SET DETAILS472Preliminary User’s Manual S15543EJ1V0UMDADDUDoubleword Add UnsignedDADDUrsSPECIAL0 0 0 0 0 0rt r

Seite 416

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM473DDIVDoubleword DivideDDIVrsSPECIAL0 0 0 0 0 0rt00 0 0

Seite 417

APPENDIX A MIPS III INSTRUCTION SET DETAILS474Preliminary User’s Manual S15543EJ1V0UMDDIVUDoubleword Divide UnsignedDDIVUrsSPECIAL0 0 0 0 0 0r

Seite 418

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM475DIVDivideDIVrsSPECIAL0 0 0 0 0 0rt00 0 0 0 0 0 0 0

Seite 419

APPENDIX A MIPS III INSTRUCTION SET DETAILS476Preliminary User’s Manual S15543EJ1V0UMDIVUDivide UnsignedDIVUrsSPECIAL0 0 0 0 0 0rt00 0 0 0 0

Seite 420

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM477DMACCDoubleword Multiply and Accumulate (1/3)DMACCrsSPEC

Seite 421

APPENDIX A MIPS III INSTRUCTION SET DETAILS478Preliminary User’s Manual S15543EJ1V0UMDMACCDoubleword Multiply and Accumulate (2/3)DMACC• When

Seite 422

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM479DMACCDoubleword Multiply and Accumulate (3/3)DMACCOperat

Seite 423

CHAPTER 1 INTRODUCTION48Preliminary User’s Manual S15543EJ1V0UM1.7.14 I.C. – openPin Name Pin No. I/O Active Level FunctionIC-OPEN A17, A19, A20,

Seite 424 - 9.2 Block Diagram

APPENDIX A MIPS III INSTRUCTION SET DETAILS480Preliminary User’s Manual S15543EJ1V0UMDMFC0 Doubleword Move From System Control Coprocessor DMF

Seite 425 - 9.3 Registers

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM481DMTC0Doubleword Move To System Control CoprocessorDMTC0D

Seite 426

APPENDIX A MIPS III INSTRUCTION SET DETAILS482Preliminary User’s Manual S15543EJ1V0UMDMULTDoubleword MultiplyDMULTrsSPECIAL0 0 0 0 0 0rt00 0

Seite 427 - 10.1 Overview

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM483DMULTUDoubleword Multiply UnsignedDMULTUrsSPECIAL0 0 0 0

Seite 428 - 10.2 Operations

APPENDIX A MIPS III INSTRUCTION SET DETAILS484Preliminary User’s Manual S15543EJ1V0UMDSLLDoubleword Shift Left LogicalDSLL00 0 0 0 0SPECIAL0 0

Seite 429 - 10.3 Registers

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM485DSLLVDoubleword Shift Left Logical VariableDSLLVrsSPECIA

Seite 430

APPENDIX A MIPS III INSTRUCTION SET DETAILS486Preliminary User’s Manual S15543EJ1V0UMDSLL32Doubleword Shift Left Logical + 32DSLL3200 0 0 0 0S

Seite 431

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM487DSRADoubleword Shift Right ArithmeticDSRA00 0 0 0 0SPECI

Seite 432

APPENDIX A MIPS III INSTRUCTION SET DETAILS488Preliminary User’s Manual S15543EJ1V0UMDSRAVDoubleword Shift Right Arithmetic VariableDSRAVrsSPE

Seite 433

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM489DSRA32Doubleword Shift Right Arithmetic + 32DSRA3200 0 0

Seite 434

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM491.8 I/O Register MapCore Offset RegisterLength(Byte)Name Access byVR4120ADescripti

Seite 435 - A.5 CPU Instruction

APPENDIX A MIPS III INSTRUCTION SET DETAILS490Preliminary User’s Manual S15543EJ1V0UMDSRLDoubleword Shift Right LogicalDSRL00 0 0 0 0SPECIAL0

Seite 436

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM491DSRLVDoubleword Shift Right Logical VariableDSRLVrsSPECI

Seite 437 - 0 0 1 0 0 0

APPENDIX A MIPS III INSTRUCTION SET DETAILS492Preliminary User’s Manual S15543EJ1V0UMDSRL32Doubleword Shift Right Logical + 32DSRL3200 0 0 0 0

Seite 438 - Add Immediate Unsi

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM493DSUBDoubleword SubtractDSUBrsSPECIAL0 0 0 0 0 0rt rd00 0

Seite 439 - 6 5555 6

APPENDIX A MIPS III INSTRUCTION SET DETAILS494Preliminary User’s Manual S15543EJ1V0UMDSUBUDoubleword Subtract UnsignedDSUBUrsSPECIAL0 0 0 0 0

Seite 440

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM495ERETException ReturnERETCO1COP00 1 0 0 0 000 0 0 0 0 0

Seite 441 - 0 0 1 1 0 0

APPENDIX A MIPS III INSTRUCTION SET DETAILS496Preliminary User’s Manual S15543EJ1V0UMHIBERNATEHibernateHIBERNATECO1COP00 1 0 0 0 000 0 0 0 0

Seite 442 - Branch On Coprocessor 0 False

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM497JJumpJJ0 0 0 0 1 0target31 26 25 0626Format:J targetDesc

Seite 443

APPENDIX A MIPS III INSTRUCTION SET DETAILS498Preliminary User’s Manual S15543EJ1V0UMJALJump And LinkJALJAL0 0 0 0 1 1target31 26 25 0626Forma

Seite 444

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM499JALRJump And Link RegisterJALRrsSPECIAL0 0 0 0 0 000 0 0

Seite 445 - Branch On Coprocessor 0 True

Preliminary User’s Manual S15543EJ1V0UM5VR4100, VR4102, VR4111, VR4120A, VR4300, VR4305, VR4310, VR4400, VR5000, VR10000, VR Series, VR4000Series, VR

Seite 446

CHAPTER 1 INTRODUCTION50Preliminary User’s Manual S15543EJ1V0UMCore Offset RegisterLength(Byte)Name Access byVR4120ADescriptionPCI 048H-04CH 4 N/A

Seite 447 - Opcode Table:

APPENDIX A MIPS III INSTRUCTION SET DETAILS500Preliminary User’s Manual S15543EJ1V0UMJALXJump And Link ExchangeJALXJALX01110131 26 25 0626targ

Seite 448 - 0 0 0 1 0 0

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM501JRJump RegisterJRrsSPECIAL0 0 0 0 0 000 0 0 0 0 0 0 0

Seite 449 - 0 1 0 1 0 0

APPENDIX A MIPS III INSTRUCTION SET DETAILS502Preliminary User’s Manual S15543EJ1V0UMLBLoad ByteLBbaseLB1 0 0 0 0 0rt offset31 26 25 21 20 16

Seite 450 - 31 26 25 21 20 16 15 0

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM503LBULoad Byte UnsignedLBUbaseLBU1 0 0 1 0 0rt offset31 26

Seite 451

APPENDIX A MIPS III INSTRUCTION SET DETAILS504Preliminary User’s Manual S15543EJ1V0UMLDLoad DoublewordLDbaseLD1 1 0 1 1 1rt offset31 26 25 21

Seite 452

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM505LDLLoad Doubleword Left (1/3)LDLbaseLDL0 1 1 0 1 0rt off

Seite 453

APPENDIX A MIPS III INSTRUCTION SET DETAILS506Preliminary User’s Manual S15543EJ1V0UMLDLLoad Doubleword Left (2/3)LDLThe contents of general r

Seite 454

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM507LDLLoad Doubleword Left (3/3)LDLGiven a doubleword in a

Seite 455

APPENDIX A MIPS III INSTRUCTION SET DETAILS508Preliminary User’s Manual S15543EJ1V0UMLDRLoad Doubleword Right (1/3)LDRbaseLDR0 1 1 0 1 1rt off

Seite 456

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM509LDRLoad Doubleword Right (2/3)LDRThe contents of general

Seite 457

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM51Core Offset RegisterLength(Byte)Name Access byVR4120ADescriptionEther 1D0H 4 En_TBC

Seite 458

APPENDIX A MIPS III INSTRUCTION SET DETAILS510Preliminary User’s Manual S15543EJ1V0UMLDRLoad Doubleword Right (3/3)LDRGiven a doubleword in a

Seite 459

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM511LHLoad HalfwordLHbaseLH1 0 0 0 0 1rt offset31 26 25 21 2

Seite 460

APPENDIX A MIPS III INSTRUCTION SET DETAILS512Preliminary User’s Manual S15543EJ1V0UMLHULoad Halfword UnsignedLHUbaseLHU1 0 0 1 0 1rt offset31

Seite 461

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM513LUILoad Upper ImmediateLUI00 0 0 0 0LUI0 0 1 1 1 1rt imm

Seite 462 - 0 0 0 1 0 1

APPENDIX A MIPS III INSTRUCTION SET DETAILS514Preliminary User’s Manual S15543EJ1V0UMLWLoad WordLWbaseLW1 0 0 0 1 1rt offset31 26 25 21 20 16

Seite 463 - 0 1 0 1 0 1

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM515LWLLoad Word Left (1/3)LWLbaseLWL1 0 0 0 1 0rt offset31

Seite 464 - 0 0 1 1 0 1

APPENDIX A MIPS III INSTRUCTION SET DETAILS516Preliminary User’s Manual S15543EJ1V0UMLWLLoad Word Left (2/3)LWLThe contents of general registe

Seite 465 - Cache (1/4)

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM517LWLLoad Word Left (3/3)LWLGiven a doubleword in a regist

Seite 466 - Cache (2/4)

APPENDIX A MIPS III INSTRUCTION SET DETAILS518Preliminary User’s Manual S15543EJ1V0UMLWRLoad Word Right (1/3)LWRbaseLWR1 0 0 1 1 0rt offset31

Seite 467 - Cache (3/4)

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM519LWRLoad Word Right (2/3)LWRThe contents of general regis

Seite 468 - Cache (4/4)

CHAPTER 1 INTRODUCTION52Preliminary User’s Manual S15543EJ1V0UMCore Offset RegisterLength(Byte)Name Access byVR4120ADescriptionSYSCNT D8H 4 MACAR1

Seite 469

APPENDIX A MIPS III INSTRUCTION SET DETAILS520Preliminary User’s Manual S15543EJ1V0UMLWRLoad Word Right (3/3)LWRGiven a word in a register and

Seite 470 - 0 1 1 0 0 0

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM521LWULoad Word UnsignedLWUbaseLWU1 0 1 1 1 1rt offset31 26

Seite 471 - 0 1 1 0 0 1

APPENDIX A MIPS III INSTRUCTION SET DETAILS522Preliminary User’s Manual S15543EJ1V0UMMACCMultiply and Accumulate (1/5)MACCrsSPECIAL0 0 0 0 0 0

Seite 472

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM523MACCMultiply and Accumulate (2/5)MACC• When saturation p

Seite 473 - 655 10 6

APPENDIX A MIPS III INSTRUCTION SET DETAILS524Preliminary User’s Manual S15543EJ1V0UMMACCMultiply and Accumulate (3/5)MACCOperation:32, sat=0,

Seite 474 - Doubleword Divide Unsigned

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM525MACCMultiply and Accumulate (4/5)MACC32, sat=1, hi=1, us

Seite 475

APPENDIX A MIPS III INSTRUCTION SET DETAILS526Preliminary User’s Manual S15543EJ1V0UMMACCMultiply and Accumulate (5/5)MACC64, sat=1, hi=0, us=

Seite 476 - Divide Unsigned

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM527MFC0Move From System Control CoprocessorMFC0MF0 0 0 0 0C

Seite 477

APPENDIX A MIPS III INSTRUCTION SET DETAILS528Preliminary User’s Manual S15543EJ1V0UMMFHIMove From HIMFHI00 0 0 0 0 0 0 0 0 0SPECIAL0 0

Seite 478

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM529MFLOMove From LOMFLO00 0 0 0 0 0 0 0 0 0SPECIAL0 0

Seite 479

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM531.9 Memory MapUsing a 32-bit address, the processor physical address space encompa

Seite 480

APPENDIX A MIPS III INSTRUCTION SET DETAILS530Preliminary User’s Manual S15543EJ1V0UMMTC0Move To Coprocessor0MTC000 0 0 0 0 0 0 0 0 0 0COP00

Seite 481

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM531MTHIMove To HIrsSPECIAL0 0 0 0 0 0MTHI0 1 0 0 0 100 0 0

Seite 482

APPENDIX A MIPS III INSTRUCTION SET DETAILS532Preliminary User’s Manual S15543EJ1V0UMMTLOMove To LOMTLOrsSPECIAL0 0 0 0 0 0MTLO0 1 0 0 1 100 0

Seite 483

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM533MULTMultiplyMULTrsSPECIAL0 0 0 0 0 0MULT0 1 1 0 0 000 0

Seite 484

APPENDIX A MIPS III INSTRUCTION SET DETAILS534Preliminary User’s Manual S15543EJ1V0UMMULTUMultiply UnsignedMULTUrsSPECIAL0 0 0 0 0 0MULTU0 1 1

Seite 485

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM535NORNorNORrsSPECIAL0 0 0 0 0 0rt rd00 0 0 0 0NOR1 0 0 1 1

Seite 486

APPENDIX A MIPS III INSTRUCTION SET DETAILS536Preliminary User’s Manual S15543EJ1V0UMOROrORrsSPECIAL000000rt rd000000OR1 0 0 1 0 131 26 25 21

Seite 487

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM537ORIOr ImmediateORIrsORI0 0 1 1 0 1rt immediate31 26 25 2

Seite 488 - 6 5 555 6

APPENDIX A MIPS III INSTRUCTION SET DETAILS538Preliminary User’s Manual S15543EJ1V0UMSBStore ByteSBbaseSB1 0 1 0 0 0rt offset31 26 25 21 20 16

Seite 489

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM539SDStore DoublewordSDbaseSD1 1 1 1 1 1rt offset31 26 25 2

Seite 490

CHAPTER 1 INTRODUCTION54Preliminary User’s Manual S15543EJ1V0UM1.10 Reset ConfigurationThe falling edge of Clock Control Unit (CCU)’s reset line

Seite 491

APPENDIX A MIPS III INSTRUCTION SET DETAILS540Preliminary User’s Manual S15543EJ1V0UMSDLStore Doubleword Left (1/3)SDLbaseSDL1 0 1 1 0 0rt off

Seite 492

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM541SDLStore Doubleword Left (2/3)SDLAn address error except

Seite 493

APPENDIX A MIPS III INSTRUCTION SET DETAILS542Preliminary User’s Manual S15543EJ1V0UMSDLStore Doubleword Left (3/3)SDLGiven a doubleword in a

Seite 494

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM543SDRStore Doubleword Right (1/3)SDRbaseSDR1 0 1 1 0 1rt o

Seite 495 - 31 26 25 24 6 5 0

APPENDIX A MIPS III INSTRUCTION SET DETAILS544Preliminary User’s Manual S15543EJ1V0UMSDRStore Doubleword Right (2/3)SDRAn address error except

Seite 496 - HIBERNATE

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM545SDRStore Doubleword Right (3/3)SDRGiven a doubleword in

Seite 497 - 0 0 0 0 1 0

APPENDIX A MIPS III INSTRUCTION SET DETAILS546Preliminary User’s Manual S15543EJ1V0UMSHStore HalfwordSHbaseSH1 0 1 0 0 1rt offset31 26 25 21 2

Seite 498 - 0 0 0 0 1 1

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM547SLLShift Left LogicalSLLSPECIAL0 0 0 0 0 0rt rd saSLL0 0

Seite 499 - Jump And Link Register

APPENDIX A MIPS III INSTRUCTION SET DETAILS548Preliminary User’s Manual S15543EJ1V0UMSLLVShift Left Logical VariableSLLVSPECIAL0 0 0 0 0 0rt r

Seite 500 - Jump And Link Exchange

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM549SLTSet On Less ThanSLTrsSPECIAL0 0 0 0 0 0rt rd00 0 0 0

Seite 501 - 31 26 25 21 20 0

CHAPTER 1 INTRODUCTIONPreliminary User’s Manual S15543EJ1V0UM551.11 InterruptsThe controller supports maskable interrupts and Non-Maskable to the

Seite 502 - 1 0 0 0 0 0

APPENDIX A MIPS III INSTRUCTION SET DETAILS550Preliminary User’s Manual S15543EJ1V0UMSLTISet On Less Than ImmediateSLTIrsSLTI0 0 1 0 1 0rt imm

Seite 503 - 1 0 0 1 0 0

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM551SLTIUSet On Less Than Immediate UnsignedSLTIUrsSLTIU0 0

Seite 504 - 1 1 0 1 1 1

APPENDIX A MIPS III INSTRUCTION SET DETAILS552Preliminary User’s Manual S15543EJ1V0UMSLTUSet On Less Than UnsignedSLTUrsSPECIAL0 0 0 0 0 0rt r

Seite 505 - Load Doubleword Left (1/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM553SRAShift Right ArithmeticSRA00 0 0 0 0SPECIAL0 0 0 0 0 0

Seite 506 - Load Doubleword Left (2/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILS554Preliminary User’s Manual S15543EJ1V0UMSRAVShift Right Arithmetic VariableSRAVrsSPECIAL0 0 0 0 0

Seite 507 - Load Doubleword Left (3/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM555SRLShift Right LogicalSRL00 0 0 0 0SPECIAL0 0 0 0 0 0rt

Seite 508 - Load Doubleword Right (1/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILS556Preliminary User’s Manual S15543EJ1V0UMSRLVShift Right Logical VariableSRLVrsSPECIAL0 0 0 0 0 0r

Seite 509 - Load Doubleword Right (2/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM557STANDBYStandbySTANDBY000 0 0 000 0000 0000 0000COP00 1

Seite 510 - Load Doubleword Right (3/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILS558Preliminary User’s Manual S15543EJ1V0UMSUBSubtractSUBrsSPECIAL0 0 0 0 0 0rt rd00 0 0 0 0SUB1 0 0

Seite 511 - 1 0 0 0 0 1

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM559SUBUSubtract UnsignedSUBUrsSPECIAL0 0 0 0 0 0rt rd00 0 0

Seite 512 - 1 0 0 1 0 1

CHAPTER 1 INTRODUCTION56Preliminary User’s Manual S15543EJ1V0UM1.12 Clock Control UnitThis section describe µPD98502’s internal clock is supplied

Seite 513 - 0 0 1 1 1 1

APPENDIX A MIPS III INSTRUCTION SET DETAILS560Preliminary User’s Manual S15543EJ1V0UMSUSPENDSuspendSUSPEND00 0 0 0 0 0 0 0 0 0 0 0 0

Seite 514 - 1 0 0 0 1 1

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM561SWStore WordSWbaseSW1 0 1 0 1 1rt offset31 26 25 21 20 1

Seite 515 - Load Word Left (1/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILS562Preliminary User’s Manual S15543EJ1V0UMSWLStore Word Left (1/3)SWLbaseSWL1 0 1 0 1 0rt offset31

Seite 516 - Load Word Left (2/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM563SWLStore Word Left (2/3)SWLOperation:32 T:vAddr ← ((offs

Seite 517 - Load Word Left (3/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILS564Preliminary User’s Manual S15543EJ1V0UMSWLStore Word Left (3/3)SWLGiven a doubleword in a regist

Seite 518 - Load Word Right (1/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM565SWRStore Word Right (1/3)SWRbaseSWR1 0 1 1 1 0rt offset3

Seite 519 - Load Word Right (2/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILS566Preliminary User’s Manual S15543EJ1V0UMSWRStore Word Right (2/3)SWROperation:32 T:vAddr← ((offse

Seite 520 - Load Word Right (3/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM567SWRStore Word Right (3/3)SWRGiven a doubleword in a regi

Seite 521 - Load Word Unsigned

APPENDIX A MIPS III INSTRUCTION SET DETAILS568Preliminary User’s Manual S15543EJ1V0UMSYNCSynchronizeSYNCSPECIAL0 0 0 0 0 000 0 0 0 0 0 0 0

Seite 522 - Multiply and Accumulate (1/5)

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM569SYSCALLSystem CallSYSCALLSPECIAL0 0 0 0 0 0Code31 26 25

Seite 523 - Multiply and Accumulate (2/5)

Preliminary User’s Manual S15543EJ1V0UM57CHAPTER 2 VR4120ACaution The µµµµPD98502 doesn’t support MIPS16 instructions.This chapter describes an VR

Seite 524 - Multiply and Accumulate (3/5)

APPENDIX A MIPS III INSTRUCTION SET DETAILS570Preliminary User’s Manual S15543EJ1V0UMTEQTrap If EqualTEQrsSPECIAL0 0 0 0 0 0rt code31 26 25 21

Seite 525 - Multiply and Accumulate (4/5)

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM571TEQITrap If Equal ImmediateTEQIrsREGIMM0 0 0 0 0 1TEQI0

Seite 526 - Multiply and Accumulate (5/5)

APPENDIX A MIPS III INSTRUCTION SET DETAILS572Preliminary User’s Manual S15543EJ1V0UMTGETrap If Greater Than Or EqualTGErsSPECIAL0 0 0 0 0 0rt

Seite 527

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM573TGEITrap If Greater Than Or Equal ImmediateTGEIrsREGIMM0

Seite 528 - 31 26 25 11 1016 15 0

APPENDIX A MIPS III INSTRUCTION SET DETAILS574Preliminary User’s Manual S15543EJ1V0UMTGEIUTrap If Greater Than Or Equal Immediate UnsignedTGEI

Seite 529

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM575TGEUTrap If Greater Than Or Equal UnsignedTGEUrsSPECIAL0

Seite 530 - Move To Coprocessor0

APPENDIX A MIPS III INSTRUCTION SET DETAILS576Preliminary User’s Manual S15543EJ1V0UMTLBPProbe TLB For Matching EntryTLBP00 0 0 0 0 0 0 0 0

Seite 531 - Move To HI

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM577TLBRRead Indexed TLB EntryTLBR00 0 0 0 0 0 0 0 0 0 0

Seite 532 - Move To LO

APPENDIX A MIPS III INSTRUCTION SET DETAILS578Preliminary User’s Manual S15543EJ1V0UMTLBWIWrite Indexed TLB EntryTLBWI00 0 0 0 0 0 0 0 0 0 0

Seite 533 - 31 26 25 21 20 6 5 0

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM579TLBWRWrite Random TLB EntryTLBWR00 0 0 0 0 0 0 0 0 0 0

Seite 534

CHAPTER 2 VR4120A58Preliminary User’s Manual S15543EJ1V0UM2.1.1 Internal block configuration2.1.1.1 CPUCPU has hardware resources to process an

Seite 535

APPENDIX A MIPS III INSTRUCTION SET DETAILS580Preliminary User’s Manual S15543EJ1V0UMTLTTrap If Less ThanTLTrsSPECIAL0 0 0 0 0 0rt code31 26 2

Seite 536

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM581TLTITrap If Less Than ImmediateTLTIrsREGIMM0 0 0 0 0 1TL

Seite 537 - Or Immediate

APPENDIX A MIPS III INSTRUCTION SET DETAILS582Preliminary User’s Manual S15543EJ1V0UMTLTIUTrap If Less Than Immediate UnsignedTLTIUrsREGIMM0 0

Seite 538 - 1 0 1 0 0 0

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM583TLTUTrap If Less Than UnsignedTLTUrsSPECIAL0 0 0 0 0 0rt

Seite 539 - 1 1 1 1 1 1

APPENDIX A MIPS III INSTRUCTION SET DETAILS584Preliminary User’s Manual S15543EJ1V0UMTNETrap If Not EqualTNErsSPECIAL0 0 0 0 0 0rt code31 26 2

Seite 540 - Store Doubleword Left (1/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM585TNEITrap If Not Equal ImmediateTNEIrsREGIMM0 0 0 0 0 1TN

Seite 541 - Store Doubleword Left (2/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILS586Preliminary User’s Manual S15543EJ1V0UMXORExclusive OrXORrsSPECIAL0 0 0 0 0 0rt rd00 0 0 0 0XOR1

Seite 542 - Store Doubleword Left (3/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM587XORIExclusive OR ImmediateXORIrsXORI0 0 1 1 1 0rt immedi

Seite 543 - Store Doubleword Right (1/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILS588Preliminary User’s Manual S15543EJ1V0UMA.6 CPU Instruction Opcode Bit EncodingFigure A-1 li

Seite 544 - Store Doubleword Right (2/3)

APPENDIX A MIPS III INSTRUCTION SET DETAILSPreliminary User’s Manual S15543EJ1V0UM589Figure A-1. VR4120AOpcode Bit Encoding (2/2)23...21COP0

Seite 545 - Store Doubleword Right (3/3)

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM592.1.2 VR4120A registersThe VR4120A has the following registers. general-purpose regist

Seite 546 - 1 0 1 0 0 1

590Preliminary User’s Manual S15543EJ1V0UMAPPENDIX B VR4120A COPROCESSOR 0 HAZARDSThe VR4120A core avoids contention of its internal resources

Seite 547 - Shift Left Logical

APPENDIX B VR4120A COPROCESSOR 0 HAZARDSPreliminary User’s Manual S15543EJ1V0UM591Table B-1. VR4120A CPU Coprocessor 0 HazardsOperation Source

Seite 548 - Shift Left Logical Variable

APPENDIX B VR4120A COPROCESSOR 0 HAZARDS592Preliminary User’s Manual S15543EJ1V0UMRemarks 1. The instruction following MTC0 must not be MFC0.2.

Seite 549

APPENDIX B VR4120A COPROCESSOR 0 HAZARDSPreliminary User’s Manual S15543EJ1V0UM593(10) Instruction FetchSource: The confirmation of the operati

Seite 550 - 0 0 1 0 1 0

APPENDIX B VR4120A COPROCESSOR 0 HAZARDS594Preliminary User’s Manual S15543EJ1V0UMTable B-2 indicates examples of calculation.Table B-2. Calcu

Seite 551 - 0 0 1 0 1 1

Although NEC has taken all possible stepsto ensure that the documentation suppliedto our customers is complete, bug freeand up-to-date, we readily acc

Seite 552

6Preliminary User’s Manual S15543EJ1V0UMPREFACEReaders This manual is intended for engineers who need to be familiar with the capability ofthe µPD985

Seite 553

CHAPTER 2 VR4120A60Preliminary User’s Manual S15543EJ1V0UM2.1.3 VR4120A instruction set overviewFor CPU instructions, there are only one type of

Seite 554

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM612.1.4 Data formats and addressingThe VR4120A uses following four data formats:✧ Doublew

Seite 555

CHAPTER 2 VR4120A62Preliminary User’s Manual S15543EJ1V0UMThe following special instructions to load and store data that are not aligned on 4-byte

Seite 556

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM632.1.5 Coprocessors (CP0)MIPS ISA defines 4 types of coprocessors (CP0 to CP3).• CP0 tra

Seite 557

CHAPTER 2 VR4120A64Preliminary User’s Manual S15543EJ1V0UMTable 2-1. System Control Coprocessor (CP0) Register DefinitionsRegisterNumberRegister

Seite 558

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM652.1.7 CPU core memory management system (MMU)The VR4120A has a 32-bit physical addressi

Seite 559

CHAPTER 2 VR4120A66Preliminary User’s Manual S15543EJ1V0UM2.1.11 Instruction pipelineThe VR4120A has a 6-stage instruction pipeline. Under norma

Seite 560 - 31 26 25 6 5 0

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM672.2.2 Instruction classesThe CPU instructions are classified into five classes.2.2.2.1

Seite 561 - 1 0 1 0 1 1

CHAPTER 2 VR4120A68Preliminary User’s Manual S15543EJ1V0UMTable 2-3. Byte Specification Related to Load and Store InstructionsAccessed ByteLow-Or

Seite 562 - Store Word Left (1/3)

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM69Table 2-4. Load/Store InstructionInstruction Format and DescriptionLoad Byte LB rt, of

Seite 563 - Store Word Left (2/3)

Preliminary User’s Manual S15543EJ1V0UM7CONTENTSCHAPTER 1 INTRODUCTION ...

Seite 564 - Store Word Left (3/3)

CHAPTER 2 VR4120A70Preliminary User’s Manual S15543EJ1V0UMTable 2-5. Load/Store Instruction (Extended ISA)Instruction Format and DescriptionStore

Seite 565 - Store Word Right (1/3)

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM712.2.2.2 Computational instructionsComputational instructions perform arithmetic, logica

Seite 566 - Store Word Right (2/3)

CHAPTER 2 VR4120A72Preliminary User’s Manual S15543EJ1V0UMTable 2-7. ALU Immediate Instruction (Extended ISA)Instruction Format and DescriptionDo

Seite 567 - Store Word Right (3/3)

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM73Table 2-9. Three-Operand Type Instruction (Extended ISA)Instruction Format and Descript

Seite 568 - 32, 64 T: SyncOperation ( )

CHAPTER 2 VR4120A74Preliminary User’s Manual S15543EJ1V0UMTable 2-11. Shift Instruction (Extended ISA)Instruction Format and DescriptionDoublewor

Seite 569 - System Call

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM75Table 2-12. Multiply/Divide InstructionsInstruction Format and DescriptionMultiply MULT

Seite 570 - Trap If Equal

CHAPTER 2 VR4120A76Preliminary User’s Manual S15543EJ1V0UMTable 2-13. Multiply/Divide Instructions (Extended ISA)Instruction Format and Descripti

Seite 571 - Trap If Equal Immediate

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM77Table 2-14. Number of Stall Cycles in Multiply and Divide InstructionsInstruction Numbe

Seite 572

CHAPTER 2 VR4120A78Preliminary User’s Manual S15543EJ1V0UMTable 2-16. Jump InstructionInstruction Format and DescriptionJump JAL targetThe conte

Seite 573

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM79There are special symbols used in the instruction formats of Tables 2-17 through 2-21.RE

Seite 574

8Preliminary User’s Manual S15543EJ1V0UM2.1.6 Floating-point unit (FPU)...

Seite 575

CHAPTER 2 VR4120A80Preliminary User’s Manual S15543EJ1V0UMTable 2-18. Branch Instructions (Extended ISA)Instruction Format and DescriptionBranch

Seite 576 - Probe TLB For Matching Entry

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM812.2.2.4 Special instructionsSpecial instructions generate software exceptions. Their f

Seite 577 - Read Indexed TLB Entry

CHAPTER 2 VR4120A82Preliminary User’s Manual S15543EJ1V0UMTable 2-20. Special Instructions (Extended ISA) (2/2)Instruction Format and Description

Seite 578 - Write Indexed TLB Entry

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM83Table 2-21. System Control Coprocessor (CP0) Instructions (2/2)Instruction Format and D

Seite 579 - Write Random TLB Entry

CHAPTER 2 VR4120A84Preliminary User’s Manual S15543EJ1V0UM2.3 PipelineThis section describes the basic operation of the VR4120A Core pipeline, wh

Seite 580

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM85Figure 2-10. Instruction Execution in the Pipeline(Five stages)Current CPU cyclePCycleI

Seite 581 - Trap If Less Than Immediate

CHAPTER 2 VR4120A86Preliminary User’s Manual S15543EJ1V0UMTable 2-22. Operation in Each Stage of Pipeline (MIPS III)Cycle Phase Mnemonic Descript

Seite 582

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM872.3.2 Branch delayDuring a VR4120A's pipeline operation, a one-cycle branch delay

Seite 583

CHAPTER 2 VR4120A88Preliminary User’s Manual S15543EJ1V0UM2.3.4 Pipeline operationThe operation of the pipeline is illustrated by the following e

Seite 584 - Trap If Not Equal

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM892.3.4.2 Jump and link register instruction (JALR rd, rs)IF stage Same as the IF stage f

Seite 585 - Trap If Not Equal Immediate

Preliminary User’s Manual S15543EJ1V0UM9CHAPTER 3 SYSTEM CONTROLLER...

Seite 586

CHAPTER 2 VR4120A90Preliminary User’s Manual S15543EJ1V0UM2.3.4.3 Branch on equal instruction (BEQ rs, rt, offset)IF stage Same as the IF stage f

Seite 587 - 0 0 1 1 1 0

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM912.3.4.4 Trap if less than instruction (TLT rs, rt)IF stage Same as the IF stage for the

Seite 588

CHAPTER 2 VR4120A92Preliminary User’s Manual S15543EJ1V0UM2.3.4.5 Load word instruction (LW rt, offset (base))IF stage Same as the IF stage for t

Seite 589

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM932.3.4.6 Store word instruction (SW rt, offset (base))IF stage Same as the IF stage for

Seite 590 - APPENDIX B V

CHAPTER 2 VR4120A94Preliminary User’s Manual S15543EJ1V0UM2.3.5 Interlock and exception handlingSmooth pipeline flow is interrupted when cache mi

Seite 591

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM95Table 2-24. Pipeline InterlockInterlock DescriptionITM Instruction TLB MissICM Instruct

Seite 592

CHAPTER 2 VR4120A96Preliminary User’s Manual S15543EJ1V0UM2.3.5.1 Exception conditionsWhen an exception condition occurs, the relevant instructio

Seite 593

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM972.3.5.2 Stall conditionsStalls are used to stop the pipeline for conditions detected af

Seite 594

CHAPTER 2 VR4120A98Preliminary User’s Manual S15543EJ1V0UM2.3.5.3 Slip conditionsDuring Φ2 of the RF stage and Φ1 of the EX stage, internal logic

Seite 595 - Facsimile

CHAPTER 2 VR4120APreliminary User’s Manual S15543EJ1V0UM99Figure 2-24. MD Busy Interlock1MFLO/MFHIBypassDetect MD busy interlockIF RF EX DC WBIF

Kommentare zu diesen Handbüchern

Keine Kommentare