with 7-stage pipeline, 8 register windows, 4x4 KiB
instruction and 4x4 KiB data caches.
• Double-precision IEEE-754 floating point units
• 2 MiB Level-2 cache
• 64-bit PC100 SDRAM memory interface with ReedSolomon EDAC*
• 8/16-bit PROM/IO interface with EDAC*
• SpaceWire router with eight SpaceWire links
• 2x 10/100/1000 Mbit Ethernet interfaces*
• PCI Initiator/Target interface*
• MIL-STD-1553B interface*
• 2x CAN 2.0 controller interface*
• 2x UART, SPI, Timers and watchdog, 16+22 GPIO*
• CPU and I/O memory management units
• SpaceWire Time Distribution Protocol controller and
support for time synchronisation
• JTAG, Ethernet* and SpaceWire* debug links
* Interfaces have shared pins
Description
The GR740 device is a radiation-hard system-onchip featuring a quad-core fault-tolerant LEON4
SPARC V8 processor, eight port SpaceWire router,
PCI initiator/target interface, MIL-STD-1553B
interface, CAN 2.0 interfaces and 10/100/1000
Mbit Ethernet interfaces.
Specification
• System frequency: 250 MHz
• Main memory interface: PC100 SDRAM
• SpaceWire router with SpaceWire links: 300
Mbit/s
• 33 MHz PCI 2.3 initiator/target
interface
• Ethernet 10/100/1000 Mbit MACs
• CCGA625 / LGA625 package
Applications
The GR740 device is targeted at high-performance general purpose
processing. The architecture is suitable for both symmetric and
asymmetric multiprocessing. Shared resources can be monitored to
support mixed-criticality applications.
GR740-UM-DS, Nov 2017, Version 1.7www.cobham.com/gaisler
1.2Preliminary data sheet limitations ...........................................................................................................8
1.3Updates and feedback.............................................................................................................................. 8
3.2Configuration for flight .........................................................................................................................28
3.4Complete signal list ...............................................................................................................................32
4.9Clock gating unit ................................................................................................................................... 40
4.10Debug AHB bus clocking......................................................................................................................41
4.11Notes on Ethernet interface clock and mode switch .............................................................................41
6.2LEON4 integer unit ...............................................................................................................................50
12.8ASMP support ..................................................................................................................................... 131
13.5Configuration port ............................................................................................................................... 177
14Gigabit Ethernet Media Access Controller (MAC) ............................................................. 204
16.7Clocking and reset ...............................................................................................................................252
17.4Status and monitoring.......................................................................................................................... 264
23.4Loop back mode ..................................................................................................................................325
Specification, SPARC-V8E, Version 1.0, SPARC International Inc.
GR740-UM-DS, Nov 2017, Version 1.79www.cobham.com/gaisler
GR740
1.8Document revision history
Change record information is provided in table 1.
Table 1. Change record
VersionDateNote
1.02015 AprilFirst public release of GR740 document.
1.12015 November Fix typo of CE/NE bit in AHBSTAT section.
1.22016 JanuaryCorrect name of TOV field in DSU Instruction trace buffer control register 1
1.32016 FebruaryCorrect information on LEON4 AMBA access size in section 6.7.4.
1.42016 JuneChange status from advanced to preliminary data sheet
Clarify that Level-2 cache is unified.
Correct L4STAT section 26.1 to state that the unit has sixteen counters.
Correct GRSPWROUTER documentation: Error in the description of the ICODEGEN register. The UA bit is independent of the setting of the AH bit. It is not required for AH to be set
in order for UA to have effect.
Corrected AHBTRACE TIMETAG register APB address offset in table caption.
Corrected MEMSCRUB APB address offsets in table captions for two last range registers.
Corrected SPICTRL MASK register access attributes.
Added missing reset values for L2C Scrub delay register and Access control register.
Document TCTRL register WS and WN fields in timer unit section.
Correct reset value for LEON4 %asr17.DBP, CCTRL.DS and %tbr.
Update pinlist in section 40.3
Updated front page and back page.
Converted to new headers and footers.
Corrected description for EDCL 1 bootstrap signals (GPIO[5:4])
Corrected register table headings and add value for trace buffer FDEPTH field in GRPCI2
section 20.
Add note about pulsed interrupts in interrupt controller section
Update footer
Correct typos in %ASR22-23 description in section 6.10.3
Correct typo on Memory scrubber Error Threshold registers, BECTE field.
Add package drawing in section 40.4.
Correct to PCIMODE_ENABLE=HIGH in table 27, row 1, column 3.
Correct Level-2 cache tag and checkbit register layout in section 9.4
Correct SDCFG2 register reference in section 10.4.6.
Correct reference to description of tick-out connection SpaceWire router register descriptions under section 13.4.8.
Added description in section 4.11 of how to handle Ethernet TXCLK and mode switch to
Gigabit operation.
Clarify in section 29.1 that temperature sensor is disabled on current prototype and engineering model devices.
Update description of GRGPIO IFLAG register in section 22.3.10.
Add note about development board in new section 1.5.
Clarify trace point usage in sections 6.9.1 and 33.4.
Clarify in section 13.5.3 that SpaceWire router RTR.RTCOMB register is only accessible via
RMAP.
Rephrase unified cache description in Level-2 cache section 9.1.
Update Level-2 cache error injection description in sections 9.3.6 and 9.4.5.
Minor updates to supplies in section 39.
GR740-UM-DS, Nov 2017, Version 1.710www.cobham.com/gaisler
GR740
Table 1.
VersionDateNote
1.52016 November Update system frequency and package types on front page.
1.62017 MarchUpdate feature list on front page to mark interfaces subject to pin sharing.
Change record
Add bootstrap signal requirement for flight (section 3.2) and pin driver configuration (3.5)
Add note that it is the top part of the data bus that is used for PROM in 8-bit mode in section
3.3.1.
Restructure pin multiplexing tables 24,25,27 to have consistent naming with table 28.
Correct missing PROMIO_READ signal in table 28
Correct maximum number of SDRAM banks supported (4) in section 10.1, correct register
name in 10.5.4
Rename section 15 to Spacewire Debug Link for clarity.
Revised GRSPWROUTER section 13 for readability.
Add note that GPTIMER TCTRL LD is automatically cleared after load in section 20.3.
Major update to electrical characteristics section 39, update list of parameters, add power-up/
down sequencing, cold sparing, add MDIO diagram, update clock table, reference internal
clocks in diagrams, update thermal information and AC limits.
Add errata in section 43.
Update SpaceWire link speed on front page
Changed title of GRSPW2 (SpaceWire Debug Link) section
Clarify signal names in pin-multiplexing tables 24 and 25.
Add pin driver configuration section 3.5, add reference in section 13.1.
Remove references to PC133 SDRAM operation.
Added placement diagram in section 40.2.
Removed LEON4 section on partial WRPSR (unsupported due to errata)
Update section 1.1 (Scope).
Move description of Debug AHB bus and corresponding controller documentation to be last
bus described in document. This modifies section numbers for section 12 to 36.
Change order of IOMMU and SpaceWire router sections.
Update errata section 43 overview, added LVDS ESD sensitivity erratum.
Correct UART1_RXD signal name in table 24.
Added section 1.6 with reference to technical note on validation and benchmarking.
Updates under section 12 to clarify that bus selection can be made even if IOMMU is disabled.
Describe planned package dimension change in section 40.4.
Note that TESTEN should be connected to ground in section 3.4
Correct PCI_HOSTN signal name typo in table 27.
Correct PCIMODE_ENABLE heading in table 27.
Effect of bootstrap signal GPIO[15] was inverted. LOW enables full PROM/IO interface,
corrected in table 23 and section 3.3.1.
GR740-UM-DS, Nov 2017, Version 1.711www.cobham.com/gaisler
GR740
Table 1. Change record
VersionDateNote
1.72017 November Updated ordering information in section 42.
Updated placement diagram under section 40.
Add new package drawings in section 40.4.
Add information on booting over RMAP, changes in sections 1.7 and 5.3.
Add information about bridges, posted writes and AMBA ERROR response propagation to
sections 2.3, 5.10, 6.2.13, 6.3.5, 6.7.4, 10.5.1, 13.4.4.9, 13.4.5.7.2, 14.3.3, 14.4.4, 15.4.4,
16.4.5, 17.6.6, 19.7.1, 19.7.2, 19.8, 19.9, 35.5.9, 35.6.7, 35.7.2, 35.8.2, 35.9, 37.2.2.
Add information on PROM EDAC handling with multiple external devices in section 1.7
and 19.7.1.
Change errata section 43 to also include design changes between silicon revisions. Update
and add additional errata descriptions. Add silicon revision 1 column in table 602.
Document new L2 cache register fields in section 9.4.
Add partial WRPSR description to LEON4 section 6.2.16.
Extend LEON4 MMU TLB disable description in section 6.10.8.
Describe new IRQMP boot/monitor interface in sections 21.2.10 and 21.3.
Update GRGPIO interrupt flag register description in section 22.3.10.
Added description of AHB status register multiple error logging and filtering in section 27.
Correct number of up-counter bits in section 5.9.2.
Clarify timetag counter behaviour in sections 6.10.4 and 36.1.
Document PCI controller DFA bit in section 15.10.1.
Clarify PCI target supported byte-enables in section 15.5.3.
Update PCI DMA controller description in section 15.6.3.
Update register for bootstrap signals description in section 28.3 for silicon revision 1.
Add reference to GRLIB-AN-0004 in sections 1.7 and 6.11.4.
Indicate AHB and instruction trace buffer sizes in section 2.1.
Add note about using the MMU to mark memory as cacheable in section 6.3.6.
Describe SDRAM bus parking functionality in section 10.6.2.
Update description of SDRAM controller BANKSZ field in section 10.6.1.
Clarifications about internal and external SDRAM banks under section 10.
Update SpaceWire router configuration port memory range in sections 2.3 and 13.5.3.
Document SpaceWire router AMBA port interrupt in section 2.4 and table 193.
Describe SpaceWire TDP functionality added for silicon revision 1 in sections 3.1, 5.9.2, and
31.
Added information on SpaceWire receive rate in section 13.3.1.2. Clarify that t
t
in table 587 are valid assuming use of SpW PLL in nominal mode.
SPW5
Extend section 5.5 ASMP configurations to 5.5 Separation and ASMP configurations.
Add description of LEON4 %ASR16 register in section 6.10.2.
Updated LEON4 %ASR17 description in section 6.10.3.
Corrected range and recommended values of RTR.AMBADMACTRL.INTNUM register in
table 160.
Corrected range of RTR.ICODEGEN.IN register in table 193.
Update temperature sensor controller documentation in section 29.
Corrected field ranges in SPI controller mode register description in table 421.
Updated package references to CCGA/LGA on front page and in sections 40 and 42.
Update processor status monitoring description in 21.2.4.
Clarify that PROC_ERRORN is connected to processor 0 only, in section 6.2.13
Clarify bootstrap signal effects in section 3.1. Clarify that GPIO[7:6] are still used to disable
EDCL 1. Update clock gate unit conditions in section 25.
Add GRLIB-TN-0013 issue in section 43.2.27.
Clarify that WDOGN and ERRORN are open-drain in tables 28 and 597.
Updated Absolute Maximum Ratings and recommended operating conditions, adding overshoot specifications, in section 39.
SPW4
and
GR740-UM-DS, Nov 2017, Version 1.712www.cobham.com/gaisler
GR740
1.9Acronyms
Table 2. Acronyms
AcronymComment
AHBAdvanced High-performance bus, part of [AMBA]
AMBAAdvanced Microcontroller Bus Architecture
AMPSee ASMP
APBAdvanced Peripheral Bus, part of [AMBA]
ASMPAsymmetric Multi-Processing (in the context of this document: different OS instances run-
ning on own processor cores)
BCHBose-Hocquenghem-Chaudhuri, class of error-correcting codes
CANController Area Network, bus standard
CPUCentral Processing Unit, used to refer to one LEON4 processor core.
DCLDebug Communication Link. Provides a bridge between an external interface and on-chip
AHB bus.
DDRDouble Data Rate
DMADirect Memory Access
DSUDebug Support Unit
EDACError Detection and Correction
EDCLEthernet Debug Communication Link
FIFOFirst-In-First-Out, refers to buffer type
FPUFloating Point Unit
Gb
GB
GiB
Gigabit, 10
Gigabyte, 10
Gibibyte, gigabinary byte, 2
9
bits
9
bytes
30
bytes, unit defined in IEEE 1541-200
I/OInput/Output
IP, IPv4Internet Protocol (version 4)
ISRInterrupt Service Routine
JTAGJoint Test Action Group (developer of IEEE Standard 1149.1-1990)
kB
KiB
Kilobyte, 10
Kibibyte, 2
3
bytes
10
bytes, unit defined in IEEE 1541-2002
L2Level-2, used in L2 cache abbreviation
MACMedia Access Controller
Mb, Mbit
MB, Mbyte
MiB
Megabit, 10
Megabyte, 10
Mebibyte, 2
6
bits
6
bytes
20
bytes, unit defined in IEEE 1541-2002
OSOperating System
PCIPeripheral Component Interconnect
PROMProgrammable Read Only Memory. In this document used to signify boot-PROM.
RAMRandom Access Memory
RMAPRemote Memory Access Protocol
SEESingle Event Effects
SEL/SEU/SETSingle Event Latchup/Upset/Transient
GR740-UM-DS, Nov 2017, Version 1.713www.cobham.com/gaisler
GR740
Table 2. Acronyms
1.10Definitions
This section and the following subsections define the typographic and naming conventions used
throughout this document.
1.10.1 Bit numbering
The following conventions are used for bit numbering:
•The most significant bit (MSb) of a data type has the leftmost position
•The least significant bit of a data type has the rightmost position
AcronymComment
SMPSymmetric Multi-Processing
SPARCScalable Processor ARChitecture
TCPTransmission Control Protocol
UARTUniversal Asynchronous Receiver/Transmitter
UDPUser Datagram Protocol
•Unless otherwise indicated, the MSb of a data type has the highest bit number and the LSb the
lowest bit number
1.10.2 Radix
The following conventions is used for writing numbers:
•Binary numbers are indicated by the prefix "0b", e.g. 0b1010.
•Hexadecimal numbers are indicated by the prefix "0x", e.g. 0xF00F
•Unless a radix is explicitly declared, the number should be considered a decimal.
1.10.3 Data types
Byte (BYTE)8 bits of data
Halfword (HWORD)16 bits of data
Word (WORD)32 bits of data
Double word (DWORD)64 bits of data
Quad word (4WORD)128-bits of data
GR740-UM-DS, Nov 2017, Version 1.714www.cobham.com/gaisler
GR740
1.11Register descriptions
An example register, showing the register layout used throughout this document, can be seen
in table 3. The values used for the reset value fields are described in table 4, and the values
used for the field type fields are described in table 5. Fields that are named RESERVED,
RES, or R are read-only fields. These fields can be written with zero or with the value read
from the same register field.
<Reset value for EF3><Reset value for EF2><Reset value for EF1><Reset value for EF0>
<Field type for EF3><Field type for EF2><Field type for EF1><Field type for EF0>
31: 24Example field 3 (EF3) - <Field description>
23: 16Example field 2 (EF2) - <Field description>
15: 8Example field 1 (EF1) - <Field description>
7: 0Example field 0 (EF0) - <Field description>
Table 4. Reset value definitions
ValueDescription
0Reset value 0.
1Reset value 1. Used for single-bit fields.
0xNNHexadecimal representation of reset value. Used for multi-bit fields.
0bNNBinary representation of reset value. Used for multi-bit fields.
NRField not reset
*Special reset condition, described in textual description of the field. Used for example when reset
value is taken from a pin.
-Don’t care / Not applicable
Table 5. Field type definitions
ValueDescription
rRead-only. Writes have no effect.
wWrite-only. Used for a writable field in a register where the field’s read-value has no meaning.
rwReadable and writable.
rw*Readable and writable. Special condition for write, described in textual description of field.
wcWrite-clear. Readable, and cleared when written with a 1
casReadable, and writable through compare-and-swap. Only applies to SpaceWire Plug-and-Play regis-
ters.
GR740-UM-DS, Nov 2017, Version 1.715www.cobham.com/gaisler
GR740
2Architecture
2.1Overview
The system is built around five AMBA AHB buses; one 128-bit Processor AHB bus, one 128-bit
Memory AHB bus, two 32-bit I/O AHB buses and one 32-bit Debug AHB bus. The Processor AHB
bus houses four LEON4FT processor cores connected to a shared L2 cache. The Memory AHB bus is
located between the L2 cache and the main external memory interface (SDRAM) and attaches a memory scrubber.
The two separate I/O AHB buses connect peripherals. Slave interfaces of the PCI master/target and
PROM/IO memory controller are placed on one bus (Slave I/O AHB bus). All master/DMA interfaces
are placed on the other bus (Master I/O AHB bus). The Master I/O AHB bus connects to the Processor
AHB bus via an AHB/AHB bridge that provides access restriction and address translation (IOMMU)
functionality. The IOMMU also has an AHB master interface connected to the Memory AHB bus.
The AHB master interface to use when propagating traffic from a peripheral on the Master I/O AHB
bus is dynamically configurable.
Peripheral unit register interfaces such as timers, interrupt controllers, UARTs, general purpose I/O
port, SPI controller, MIL-STD-1553B interface, Ethernet MACs, CAN controllers, and SpaceWire
router AMBA interfaces are connected via two AHB/APB bridges that are attached to the Processor
AHB bus.
The fifth bus, a dedicated 32-bit Debug AHB bus, connects a debug support unit (DSU), one AHB
trace buffer monitoring the Master I/O AHB bus and several debug communication links. The Debug
AHB bus allows for non-intrusive debugging through the DSU and direct access to the complete system, as the Debug AHB bus is not placed behind an AHB bridge with access restriction functionality.
The chapters in this document have been grouped after the bus topology. The first chapters describe
components connected to the Processor AHB bus, followed by the Memory AHB bus, Master I/O
AHB bus and finally Slave I/O AHB bus, APB buses and Debug AHB bus.
GR740-UM-DS, Nov 2017, Version 1.716www.cobham.com/gaisler
GR740
The GR740 has the following on-chip functions:
•4x LEON4 SPARC V8 processor cores with MMU and GRFPU floating-point unit
•Level-2 cache, 4-ways, BCH protection, supports locking of 1-4 ways
•Debug Support Unit (DSU) with instruction (512 lines) and AHB trace (256 lines) buffers
•Ethernet, JTAG and SpaceWire debug communication links
•96-bit PC100 SDRAM memory controller with Reed-Solomon EDAC
•Hardware memory scrubber
•8/16-bit PROM/IO controller with BCH EDAC
•I/O Memory Management Unit (IOMMU) with support for eight groups of DMA units
•8-port SpaceWire router/switch with four on-chip AMBA ports with RMAP
•SpaceWire TDP controller
•2x 10/100/1000 Mbit Ethernet MAC
•32-bit 33 MHz PCI master/target interface with DMA engine
•MIL-STD-1553B interface controller
•2x CAN 2.0B controllers
•2x UART
•SPI master/slave controller
•Interrupt controller with extended support for asymmetric multiprocessing
•1x Timer unit with five timers, time latch/set functionality and watchdog functionality
•4x Timer unit with four timers and time latch/set functionality
•Separate AHB and PCI trace buffers
•Temperature sensor
•Clock gating unit
•LEON4 statistics unit (performance counters)
•Pad and PLL control unit
•AHB status registers
GR740-UM-DS, Nov 2017, Version 1.717www.cobham.com/gaisler
GR740
2.2Cores
The design is based on the following IP cores from the GRLIB IP Library:
GRETH_GBIT10/100/1000 Ethernet MAC with DCL140x010x01D
GRGPIOGeneral Purpose I/O Port220x010x01A
GRGPRBANKGeneral Purpose Register Bank300x010x08F
GRGPREGGeneral Purpose Register280x010x087
GRIOMMUAHB/AHB bridge with protection (IOMMU)120x010x04F
GRPCI2Fast 32-bit PCI bridge150x010x07C
GRSPW2SpaceWire codec with RMAP350x010x029
GRSPWROUTERSpaceWire router switch130x010x08B
GRSPWTDPSpaceWire - Time Distribution Protocol310x010x097
FTMCTRL8/16/32-bit memory controller with EDAC190x010x054
L2CACHELevel 2 cache90x010x04B
L4STATLEON4 statistical unit260x010x047
LEON4LEON4 SPARC V8 32-bit processor60x010x048
MEMSCRUBMemory scrubber110x010x057
SPICTRLSPI controller240x010x02D
GR740THSENSGR740 Temperature sensor controller290x010x099
sectionVendorDevice
The information in the last two columns is available via plug’n’play information in the system and is
used by software to detect units and to initialize software drivers.
GR740-UM-DS, Nov 2017, Version 1.718www.cobham.com/gaisler
GR740
2.3Memory map
The memory map of the internal AHB and APB buses as seen from the processor cores can be seen
below. Software does not need to be aware that a bridge is positioned between the processor and a
peripheral since the address mapping between buses is one-to-one.
0xFFEFF000 - 0xFFEFFFFFMemory bus plug&play areaMemory
0xFFF00000 - 0xFFFFEFFFUnusedProcessor
0xFFFFF000 - 0xFFFFFFFFProcessor bus plug&play areaProcessor
cessor AHB bus
Slave I/O AHB bus
tiplexed pins.
Processor
Processor
Processor
When connecting to the system via one of the debug communication links (JTAG, Ethernet, USB, or
SpaceWire) connected to the Debug AHB bus, several debug support peripherals will be visible.
Table 8 below lists the address map of these peripherals. Note that peripherals in the address range
0xE0000000 - 0xEFFFFFFF are not accessible from the processors or from any peripherals on the
Master I/O AHB bus. Accesses to this range from any peripheral not located on the Debug AHB bus
will result in an AMBA ERROR response (see also the AMBA ERROR propagation description in
section 5.10.). Apart from the area 0xE0000000 - 0xEFFFFFFF, the AMBA memory space seen via
the debug communication links is identical to the address space seen from other master in the system.
Accesses to unused AMBA AHB address space will result in an AMBA ERROR response, this
applies to the memory areas that are marked as "Unused" in the table above. Accesses to unused areas
located on one of the AHB/APB bridges will not have any effect, note that these unoccupied address
ranges are not
marked as "Unused" in the table above. No AMBA ERROR response will be given for
memory allocated to one of the APB bridges. See also the AMBA ERROR propagation description in
section 5.10.
GR740-UM-DS, Nov 2017, Version 1.720www.cobham.com/gaisler
GR740
Table 8. AMBA address range 0xE0000000 - 0xEFFFFFFF on Debug AHB bus
PeripheralAddress rangeComment
DSU40xE0000000 - 0xE07FFFFF
0xE1000000 - 0xE17FFFFF
0xE2000000 - 0xE27FFFFF
0xE3000000 - 0xE37FFFFF
APBBRIDGED0xE4000400 - 0xE40FFFFF APB bridge on Debug AHB bus
A
GRSPW20xE4000000 - 0xE40000FFSpaceWire RMAP target with AMBA interface
P
L4STAT0xE4000200 - 0xE40003FFLEON4 Statistics unit, secondary port
APBBRIDGED0xE40FFF00 - 0xE40FFFFFDebug APB bus plug&play area
0xE4100000 - 0xEEFFFFFFUnused
AHBTRACE0xEFF00000 - 0xEFF1FFFFAHB trace buffer, tracing master I/O AHB bus
0xEFF20000 - 0xEFFFEFFFUnused
0xEFFFF000 - 0xEFFFFFFFDebug AHB bus plug&play area
Debug Support Unit area for processor 0
Debug Support Unit area for processor 1
Debug Support Unit area for processor 2
Debug Support Unit area for processor 3
GR740-UM-DS, Nov 2017, Version 1.721www.cobham.com/gaisler
GR740
2.4Interrupts
The table below indicates the interrupt assignments. Note that the table below describes interrupt bus
lines, these can be remapped in the interrupt controller.
Table 9. Interrupt assignments
InterruptPeripheralComment
1GPTIMER0GPTIMER unit 0, timer 1
2GPTIMER0GPTIMER unit 0, timer 2
3GPTIMER0GPTIMER unit 0, timer 3
4GPTIMER0GPTIMER unit 0, timer 4
5GPTIMER0GPTIMER unit 0, timer 5
6GPTIMER1Shared interrupt for all timers on GPTIMER unit 1
7GPTIMER2Shared interrupt for all timers on GPTIMER unit 2
8GPTIMER3Shared interrupt for all timers on GPTIMER unit 3
9GPTIMER4Shared interrupt for all timers on GPTIMER unit 4
10IRQ(A)MPExtended interrupt line.
11GRPCI/PCIDMAPCI master/target and PCI DMA
12UnassignedSuitable for use by software for inter-processor and
13Unassigned
14Unassigned
15UnassignedNote: Not maskable by processor
16GRGPIO0 /1 / CANThe GPIO port has configuration registers that deter-
27AHBSTAT/ST65THSENSShared by all AHB Status registers in design and by
28MEMSCRUB/L2CACHEMemory scrubber and L2 cache
29APBUART0UART 0
30APBUART1UART 1
31GRIOMMU / GRSPWTDP /
SPWROUTER
inter-process synchronization.
mine the mapping between general purpose I/O lines
and the four interrupt lines allocated to the GPIO port.
Interrupt lines 16 -18 are shared between the GPIO port
and CAN controllers.
Interrupt line 19 is shared between the GPIO port and
the SPI controller.
temperature sensor.
IOMMU register interface interrupt.
CCSDS TDP controller interrupt
SpaceWire router AMBA configuration port interrupt
(only applies to silicon revision 1)
2.5Plug & play and bus index information
The format of GRLIB AMBA Plug&play information is given in sections 37 and 38. The address
ranges of the plug&play configuration areas are given in the preceding section and is also replicated
GR740-UM-DS, Nov 2017, Version 1.722www.cobham.com/gaisler
GR740
for each unit in the tables below. The plug&play areas are used by software to detect the system-onchip architecture. The values in the tables below are fixed. The tables also include the bus indexes for
all masters and slaves on the system’s AHB and APB buses.
The plug & play memory map and bus indexes for AMBA AHB masters on the Processor AHB bus
are shown in table 10.
Table 10. Plug & play information for masters on Processor AHB bus
The bus index for the AMBA AHB slave on the Master I/O AHB bus is shown in table 19.
Table 19. Bus index information for slaves on Master I/O AHB bus
SlaveIndexFunctionAddress range
GRIOMMU0IOMMU slave interfaceNot applicable
The plug & play memory map and bus indexes for AMBA APB slaves connected via the AHB/APB
bridges on the Slave I/O AHB bus are shown in tables 20 and 21.
Table 20. Plug & play information for APB slaves connected via the first APB bridge on Slave I/O AHB bus
GR740-UM-DS, Nov 2017, Version 1.726www.cobham.com/gaisler
GR740
3Signals
3.1Bootstrap signals
The power-up and initialisation state is affected by several external signals as shown in table 23. The
bootstrap signals taken via GPIO are saved when the on-chip system reset is released. This occurs
after deassertion of the SYS_RESETN input and lock of all active PLLs (see also reset description in
section 4). This means that if a peripheral, such as the Ethernet controller, is clock gated off and then
reset and enabled at a later time, the bootstrap signal value will be taken from the saved value present
in a general purpose register described in section 28. See also section 4.9 for further information on
the conditions for clock gating per peripheral.
Table 23. Bootstrap signals
Bootstrap signalDescription
DSU_ENEnables the Debug Support Unit (DSU) and other members connected to the Debug AHB bus. If
BREAKPuts all processors in debug mode when asserted while DSU_EN is HIGH. When DSU_EN is
PCIMODE_ENABLEEnables PCI mode. If the bootstrap signal MEM_IFWIDTH is HIGH then PCIMODE_EN-
MEM_IFWIDTHSelects the width of SDRAM interface. If this signal is LOW then the external memory interface
MEM_CLKSELThe value of this signal determines the clock source for the SDRAM memory. If this signal is
GPIO[5:0]Sets the least significant address nibble of the IP and MAC address for Ethernet Debug Commu-
DSU_EN is HIGH the DSU and the Debug AHB bus will be clocked. If DSU_EN is LOW the
DSU and all members on the Debug AHB bus will be clock gated off.
A special case exists for the Ethernet controllers. These controller have master interfaces connected to the Debug AHB bus and debug traffic can optionally be routed to this bus. If DSU_EN
is LOW then the Ethernet Debug Communications Link (EDCL) functionality will be disabled
and the Ethernet controllers will be clock gated off after reset. If DSU_EN is HIGH then the
Ethernet controller clocks will be enabled. With DSU_EN HIGH, the EDCL functionality will
be further configured by GPIO[7:0] as described further down in this table.
LOW, BREAK is assigned to the timer enable bit of the watchdog timer and also controls if the
first processor starts executing after reset.
ABLE selects if the top-half of the SDRAM interface should be used for the PCI controller
(HIGH) or Ethernet port 1 (LOW).
uses 64 data bits with up to 32 check bits. If this signal is HIGH then the external memory interface uses 32 data bits with up to 16 check bits and the top half of the SDRAM interface is used
for PCI or Ethernet port 1, as determined by the PCIMODE_ENABLE bootstrap signal.
low then the memory clock and the system clock has the same source, otherwise the source for
the memory clock is the MEM_EXTCLOCK clock input.
nication Link (EDCL) 0 and 1. GPIO [1:0] is also connected to the SpaceWire TDP controller:
For the Ethernet controllers:
GPIO[1:0] sets the least significant bits of the nibble for EDCL 0 and EDCL1
GPIO[3:2] sets the top nibble bits for EDCL 0 and GPIO[5:4] set the top nibble bits for EDCL1.
It is possible to disable the EDCLs at reset with bootstrap signals. As mentioned, when DSU_EN
is LOW then the EDCLs will be disabled. EDCL 0 is also disabled if GPIO[3:0] is set to 0b1111
when Ethernet controller 0 leaves reset. EDCL 1 is disabled when GPIO[7:4] is set to 0b1111
when Ethernet controller 1 leaves reset. Note that this means that the disable condition for EDCL
1 makes use of the bootstrap signals GPIO[7:6] that are used to configure SpaceWire router distributed interrupts.
The connections to the SpaceWire TDP controller are as follows:
GPIO[0] is connected to the set elapsed time input, see section 31.3.11.
GPIO[1] is connected to the increment elapsed time input, see section 31.3.3.
Note: The TDP connections are only available in silicon revision 1.
GR740-UM-DS, Nov 2017, Version 1.727www.cobham.com/gaisler
"00" - Interrupts with acknowledgment mode (32 interrupts with acknowledgments);
"01" - Extended interrupt mode (64 interrupts, no acknowledgments);
"10" - Distributed interrupts disabled, all Dist. Interrupt codes treated as Time-Codes;
"11" - Dist. interrupt disabled, Control code treated as Time-Code if CTRL flags are zero.
GPIO[9:8]Selects if Ethernet Debug Communication Link 0 (GPIO[8]) and Link 1(GPIO[9]) traffic should
be routed over the Debug AHB bus (HIGH) or the Master I/O AHB bus (LOW).
GPIO[10]Selects the PROM width. 0: 8-bit PROM, 1: 16-bit PROM
GPIO[11]Controls the clock gate settings for the SpaceWire router.
GPIO[13:12]Sets the two least significant bits of the SpaceWire router’s instance ID.
GPIO[14]Controls reset value of PROM/IO controller’s PROM EDAC enable (PE) bit. When this input is
’1’ at reset, EDAC checking of the PROM area will be enabled.
GPIO[15]Selects if the PROM/IO interface should be enabled after reset. If this signal is LOW then the
PROM/IO interface is enabled. Otherwise the PROM/IO interface pins are routed to their alternative functions.
PLL_BYPASS[2:0]Bypass PLL and use clock input directly. 2: SpW clock, 1: SDRAM clock, 0: System clock PLL
bypass.
PLL_IGNLOCKThe PLL outputs of the device are gated until the PLL lock outputs have been asserted. Setting
this signal HIGH disables this clock gating for all PLLs, and also removes the lock signals from
the reset generation.
3.2Configuration for flight
To achieve the intended radiation tolerance in flight, certain bootstrap signals must be held at a fixed
configuration:
•DSU_EN must be held low (disabling debug interfaces)
•JTAG_TRST must be held low (disabling the JTAG TAP)
3.3Pin multiplexing
The device shares pin between the following groups of interfaces:
•Part of the PROM/IO interface shares pins with UART 0, UART 1, CAN 0, CAN 1, SpaceWire
debug and MIL-STD-1553B. The pins can also be controlled as general-purpose I/O.
•The top half of the SDRAM interface shares pins with PCI and Ethernet port 1.
The sections below describes multiplexing for the affected interfaces. Section 30 describes the peripheral through which software controls the multiplexing.
3.3.1PROM/IO interface multiplexing
The selection between the PROM/IO interface and the other low-speed interfaces on the same pins is
done at boot time via the bootstrap signal GPIO[15]. When GPIO[15] is LOW during reset, then the
full PROM/IO interface will be available. When GPIO[15] is HIGH after reset, the alternative function is routed to the shared pins.
The multiplexing has been designed so that even if starting with all the multiplexed pins set to their
alternative (peripheral) mode, enough dedicated PROM/IO pins are still available to access an 8-bit,
64 KiB boot PROM for bootstrapping the system. Note that it is the top part of the data bus (PROMIO_DATA[15:8]) that is used for the PROM in 8-bit mode.
GR740-UM-DS, Nov 2017, Version 1.728www.cobham.com/gaisler
GR740
After reset, the setting can be reconfigured on a pin by pin basis by software using a register interface
(see the General Purpose Register Bank section). The register interface can also reconfigure the multiplexed I/O:s to function as general-purpose I/Os.
If only a subset of the alternative functions are desired and a larger PROM or IO interface is desired,
then GPIO[15] should be kept LOW during reset and software can then during boot assign a subset of
the signals to alternative functions. In this case, the effect of address lines tied to peripherals on the
board toggling during the first PROM accesses before they have been re-configured to their correct
function will need to be considered at the system design level.
A few inputs belonging to the SpaceWire debug and UART CTS signals are shared with GPIO bus
pins without any explicit multiplexing, these inputs are simply connected to both functions at the
same time. Note that the UART CTS signals are ignored by default and will therefore not affect
UART operation unless flow control is enabled in the UART’s control register.
Table 24. Multiplexed PROM/IO interface pins with alternative functions and control register bit position
Register
Pin name*
Primary functionAlternative functionGPIO2 function
GR740-UM-DS, Nov 2017, Version 1.729www.cobham.com/gaisler
GR740
Table 25. Shared GPIO interface pins with slow interfaces
Pin name* Primary functionSecond function
SignalDirSignalDir
GPIO[7](as pin name)IOSPWD_RXDI
GPIO[6](as pin name)IOSPWD_RXSI
GPIO[5](as pin name)IOUART0_CTSNI
GPIO[4](as pin name)IOUART1_CTSNI
* See section 40.3 for pin assignments
3.3.2SDRAM interface multiplexing
The top half of the SDRAM interface shares pins with PCI and Ethernet port 1. The selection between
full SDRAM, PCI and Ethernet is made with the bootstrap signals MEM_IFWIDTH and PCIMODE_ENABLE.
This configuration is static and should be kept constant during the runtime
of the device (a change will require a full reset of the device). Some of the data mask (DQM)
bits are used as clock inputs in the alternative modes, and their direction will therefore depend on configuration.
Table 26. Selection between SDRAM, PCI and Ethernet 1
MEM_IFWIDTH PCIMODE_ENABLESDRAM interfaceEthernet port 1PCI
0064 data bits, 32 check bits UnavailableUnavailable
1
1032 data bits, 16 check bits AvailableUnavailable
1UnavailableAvailable
Table 27. Multiplexed SDRAM interface pins with PCI or Ethernet interfaces
Pin name*
MEM_DQ[95](as pin name)IOETH1_TXD[7]OPCI_AD[31]IO
MEM_DQ[94](as pin name)IOETH1_TXD[6]OPCI_AD[30]IO
MEM_DQ[93](as pin name)IOETH1_TXD[5]OPCI_AD[29]IO
MEM_DQ[92](as pin name)IOETH1_TXD[4]OPCI_AD[28]IO
MEM_DQ[91](as pin name)IOETH1_TXD[3]OPCI_AD[27]IO
MEM_DQ[90](as pin name)IOETH1_TXD[2]OPCI_AD[26]IO
MEM_DQ[89](as pin name)IOETH1_TXD[1]OPCI_AD[25]IO
MEM_DQ[88](as pin name)IOETH1_TXD[0]OPCI_AD[24]IO
MEM_DQ[87](as pin name)IOETH1_TXENOPCI_AD[23]IO
MEM_DQ[86](as pin name)IOETH1_TXEROPCI_AD[22]IO
MEM_DQ[85](as pin name)IO(none)IPCI_AD[21]IO
MEM_DQ[84](as pin name)IO(none)IPCI_AD[20]IO
MEM_DQ[83](as pin name)IO(none)IPCI_AD[19]IO
MEM_DQ[82](as pin name)IO(none)IPCI_AD[18]IO
SDRAM function
(MEM_IFWIDTH=LOW)
SignalDirSignalDirSignalDir
ETHERNET1 function
(MEM_IFWIDTH=HIGH,
PCIMODE_ENABLE=LOW)
PCI function
(MEM_IFWIDTH=HIGH,
PCIMODE_ENABLE=HIGH)
GR740-UM-DS, Nov 2017, Version 1.730www.cobham.com/gaisler
Loading...
+ 458 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.