Nec Network Controller uPD98502 User Manual

Browse online or download User Manual for Hardware Nec Network Controller uPD98502. NEC Network Controller uPD98502 User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 595
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
Preliminary User’s Manual
µ
µµ
µ
PD98502
Network Controller
Document No. S15543EJ1V0UM00 (1st edition)
Date Published December 2001 NS CP(K)
2001
Printed in Japan
Page view 0
1 2 3 4 5 6 ... 594 595

Summary of Contents

Page 1 - Preliminary User’s Manual

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

Page 2

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

Page 3

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

Page 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

Page 5 - M5D 98. 12

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

Page 6

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

Page 7

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

Page 8

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

Page 9

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

Page 10

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

Page 11

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

Page 12

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

Page 13

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

Page 14

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

Page 15

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 24 - 1.3 System Configuration

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

Page 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

Page 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

Page 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

Page 28

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

Page 29

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

Page 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 (

Page 31 - USB CONTROLLER

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

Page 32

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

Page 33 - Index Mark

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

Page 34 - Pin Name

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

Page 35

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

Page 36

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

Page 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

Page 38

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

Page 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

Page 40

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

Page 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

Page 42

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

Page 43 - 1.7.7 ATM interface

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

Page 44

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

Page 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

Page 46 - 1.7.9 USB interface

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

Page 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

Page 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

Page 49 - Register

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

Page 50

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

Page 51

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

Page 52

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

Page 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

Page 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

Page 55

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

Page 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

Page 57 - 4120A Core

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

Page 58

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

Page 59

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

Page 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

Page 61

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

Page 62

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

Page 63

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

Page 64

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

Page 65

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

Page 66

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

Page 67

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

Page 68

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

Page 69

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

Page 70

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

Page 71

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

Page 72

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

Page 73

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

Page 74

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

Page 75

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

Page 76

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

Page 77

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

Page 78

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

Page 79

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

Page 80

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

Page 81

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

Page 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

Page 83

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

Page 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

Page 85

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

Page 86

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

Page 87

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

Page 88

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

Page 89

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

Page 90 - If they are

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

Page 91

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

Page 92 - . The result

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

Page 93

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

Page 94

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

Page 95

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

Page 96

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

Page 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

Page 98

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

Page 99

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

Page 100

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

Page 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...

Page 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

Page 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

Page 104

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

Page 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

Page 106

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

Page 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

Page 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

Page 109

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

Page 110

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

Page 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

Page 112

Preliminary User’s Manual S15543EJ1V0UM2[MEMO]

Page 113

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

Page 114

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

Page 115

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

Page 116

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

Page 117

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

Page 118 - (b) 64-bit mode

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

Page 119

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

Page 120

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

Page 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

Page 122

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

Page 123

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

Page 124

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

Page 125

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

Page 126

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

Page 127

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

Page 128

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

Page 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

Page 130

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

Page 131

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

Page 132

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

Page 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

Page 134

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

Page 135 - 11111112

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

Page 136

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

Page 137

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

Page 138

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

Page 139 - WatchLo Register

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

Page 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

Page 141

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

Page 142 - Cold Reset

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

Page 143

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

Page 144

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

Page 145

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

Page 146

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

Page 147

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

Page 148

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

Page 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

Page 150

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

Page 151

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

Page 152

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

Page 153

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

Page 154

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

Page 155

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

Page 156

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

Page 157

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

Page 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

Page 159

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

Page 160

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

Page 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

Page 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

Page 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

Page 164

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

Page 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

Page 166

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

Page 167

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

Page 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

Page 169

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

Page 170

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

Page 171

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

Page 172

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

Page 173

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

Page 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

Page 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

Page 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

Page 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

Page 178

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

Page 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

Page 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

Page 181

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

Page 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

Page 183

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

Page 184

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

Page 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

Page 186

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

Page 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

Page 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

Page 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

Page 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

Page 191

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

Page 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

Page 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

Page 194

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

Page 195

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

Page 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

Page 197

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

Page 198

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

Page 199

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

Page 200

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

Page 201 - 3.3 CPU Interface

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

Page 202 - Remark VR

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

Page 203

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

Page 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

Page 205

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

Page 206

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

Page 207

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

Page 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

Page 209

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

Page 210

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

Page 211

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

Page 212

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

Page 213

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

Page 214

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

Page 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

Page 216

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

Page 217

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

Page 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

Page 219

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

Page 220

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

Page 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

Page 222

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

Page 223

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

Page 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

Page 225

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

Page 226

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

Page 227 - Little-Endian

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

Page 228

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

Page 229 - 4.1 Overview

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

Page 230 - ATM Cell Processor

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

Page 231

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

Page 232 - 4120A RISC Processor

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

Page 233

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

Page 234

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

Page 235

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

Page 236 - SDRAM Space

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

Page 237 - 4.3 Interruption

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

Page 238

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

Page 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

Page 240

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

Page 241

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

Page 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

Page 243

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

Page 244

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

Page 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

Page 246

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

Page 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

Page 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

Page 249

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

Page 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

Page 251

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

Page 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

Page 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

Page 254

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

Page 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

Page 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

Page 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)

Page 258

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

Page 259

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

Page 260

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

Page 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

Page 262 - 4.8 Operations

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

Page 263 - Work RAM (10 Kbytes)

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

Page 264

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

Page 265 - PACKET DESCRIPTOR STORAGE

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

Page 266

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

Page 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)

Page 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

Page 269

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

Page 270

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

Page 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

Page 272

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

Page 273

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

Page 274

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

Page 275

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

Page 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

Page 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

Page 278 - Ethernet Controller Block

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

Page 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

Page 280

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

Page 281

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

Page 282

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

Page 283

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

Page 284

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

Page 285

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

Page 286

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

Page 287

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

Page 288

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

Page 289

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

Page 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

Page 291

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

Page 292

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

Page 293

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

Page 294

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

Page 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

Page 296

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

Page 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

Page 298

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

Page 299

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

Page 300 - 5.3 Operation

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

Page 301

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

Page 302

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

Page 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

Page 304

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

Page 305

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

Page 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

Page 307

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

Page 308

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

Page 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

Page 310

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

Page 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

Page 312

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

Page 313

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

Page 314

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

Page 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

Page 316

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

Page 317

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

Page 318

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

Page 319

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

Page 320

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

Page 321

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

Page 322

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

Page 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

Page 324

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

Page 325

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

Page 326

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

Page 327

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

Page 328

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

Page 329

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

Page 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

Page 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

Page 332

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

Page 333

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

Page 334 - Data Segment

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

Page 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

Page 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

Page 337

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

Page 338 - Figure 6-7. V

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

Page 339

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

Page 340

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

Page 341

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

Page 342

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

Page 343

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

Page 344

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

Page 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

Page 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

Page 347

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

Page 348

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

Page 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

Page 350

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

Page 351

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

Page 352

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

Page 353

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

Page 354

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

Page 355

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

Page 356

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

Page 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

Page 358

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

Page 359

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

Page 360

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

Page 361

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

Page 362

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

Page 363

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

Page 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

Page 365

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

Page 366

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

Page 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

Page 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

Page 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

Page 370 - 7.1 Overview

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

Page 371 - 7.2 Bus Bridge Functions

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

Page 372

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

Page 373

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

Page 374

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

Page 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

Page 376

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

Page 377

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

Page 378

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

Page 379

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

Page 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

Page 381

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

Page 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

Page 383

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

Page 384 - Internal

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

Page 385

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

Page 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

Page 387

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

Page 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

Page 389

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

Page 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/

Page 391

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

Page 392

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

Page 393

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

Page 394

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

Page 395

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

Page 396

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

Page 397

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

Page 398

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

Page 399

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

Page 400

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

Page 401

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

Page 402 - Register Name Size

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

Page 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

Page 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

Page 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

Page 406

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

Page 407

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

Page 408

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

Page 409

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

Page 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

Page 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

Page 412

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

Page 413

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

Page 414 - NS16550D

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

Page 415 - 8.3 Registers

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

Page 416

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

Page 417

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

Page 418

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

Page 419

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

Page 420

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

Page 421

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

Page 422

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

Page 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,

Page 424 - 9.2 Block Diagram

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

Page 425 - 9.3 Registers

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

Page 426

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

Page 427 - 10.1 Overview

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

Page 428 - 10.2 Operations

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

Page 429 - 10.3 Registers

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

Page 430

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

Page 431

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

Page 432

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

Page 433

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

Page 434

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

Page 435 - A.5 CPU Instruction

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

Page 436

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

Page 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

Page 438 - Add Immediate Unsi

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

Page 439 - 6 5555 6

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

Page 440

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

Page 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

Page 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

Page 443

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

Page 444

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

Page 445 - Branch On Coprocessor 0 True

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

Page 446

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

Page 447 - Opcode Table:

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

Page 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

Page 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

Page 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

Page 451

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

Page 452

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

Page 453

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

Page 454

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

Page 455

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

Page 456

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

Page 457

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

Page 458

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

Page 459

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

Page 460

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

Page 461

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 467 - Cache (3/4)

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

Page 468 - Cache (4/4)

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

Page 469

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

Page 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

Page 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

Page 472

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

Page 473 - 655 10 6

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

Page 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

Page 475

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

Page 476 - Divide Unsigned

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

Page 477

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

Page 478

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

Page 479

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

Page 480

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

Page 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

Page 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

Page 483

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

Page 484

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

Page 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

Page 486

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

Page 487

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

Page 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

Page 489

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

Page 490

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

Page 491

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

Page 492

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

Page 493

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

Page 494

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

Page 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

Page 496 - HIBERNATE

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 503 - 1 0 0 1 0 0

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

Page 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

Page 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

Page 506 - Load Doubleword Left (2/3)

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

Page 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

Page 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

Page 509 - Load Doubleword Right (2/3)

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 527

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

Page 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

Page 529

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

Page 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

Page 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

Page 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

Page 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

Page 534

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

Page 535

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

Page 536

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

Page 537 - Or Immediate

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 547 - Shift Left Logical

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

Page 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.

Page 549

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

Page 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

Page 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

Page 552

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

Page 553

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

Page 554

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

Page 555

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

Page 556

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

Page 557

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

Page 558

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

Page 559

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

Page 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

Page 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

Page 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

Page 563 - Store Word Left (2/3)

Preliminary User’s Manual S15543EJ1V0UM7CONTENTSCHAPTER 1 INTRODUCTION ...

Page 564 - Store Word Left (3/3)

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

Page 565 - Store Word Right (1/3)

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

Page 566 - Store Word Right (2/3)

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

Page 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

Page 568 - 32, 64 T: SyncOperation ( )

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

Page 569 - System Call

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

Page 570 - Trap If Equal

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

Page 571 - Trap If Equal Immediate

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

Page 572

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

Page 573

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

Page 574

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

Page 575

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

Page 576 - Probe TLB For Matching Entry

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

Page 577 - Read Indexed TLB Entry

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

Page 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

Page 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

Page 580

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

Page 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

Page 582

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

Page 583

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

Page 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

Page 585 - Trap If Not Equal Immediate

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

Page 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

Page 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

Page 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

Page 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

Page 590 - APPENDIX B V

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

Page 591

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

Page 592

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

Page 593

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

Page 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

Page 595 - Facsimile

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

Comments to this Manuals

No comments