GR740-UM-DS, Nov 2017, Version 1.7
187
www.cobham.com/gaisler
GR740
Table 180.
0x00000884-0x000008B0 - RTR.PSTS - Port status, ports 1-12 (SpaceWire ports and AMBA ports)
31 30 29 28 27 26 25
23 22 21 20 19 18 17 16 15 14
12 11
7
6
5
4
3
2
1
0
PT
PL TT RS SR RESERVED LR SP AC R TS ME TF RE
LS
IP
PR PB IA CE ER DE PE
*
0
0
0
0
0x0
0
0
0
0
0
0
0
1
000
00000
0
0
0
0
0
0
0
r
wc wc wc wc
r
r
r
r
r
wc wc
r
r
r
r
r
r
wc wc wc wc wc
31: 30
Port type (PT) - The type of this port. Constant value of “00” for the SpaceWire ports, and constant value of “01”
for the AMBA ports.
29
Packet length truncation (PL) - Set to 1 when a packet for which this port was the input port has been spilled due
to the packet length truncation feature. See section 13.2.16 for details.
28
Time-code / distributed interrupt code truncation (TT) - Set to 1 when a packet for which this port was the input
port has been spilled due to the time-code / distributed interrupt code truncation feature. See section 13.2.21 for
details.
27
RMAP / SpaceWire Plug-and-Play spill (RS) - Set to 1 when an RMAP / SpaceWire Plug-and-Play command
received on this port was spilled by the configuration port.
26
Spill-if-not-ready spill (SR) - Set to 1 when a packet received on this port was spilled due to the spill-if-not-
ready feature. See section 13.2.10.
25: 23
RESERVED
22
Link-start-on-request status (LR) - Set to 1 when this port either was started, or currently is trying to start, due to
the link-start-on-request feature, described in section 13.2.13. This bit is only available for the SpaceWire ports.
21
Spill status (SP) - This bit is 1 when a packet that is incoming on this port currently is being spilled. Otherwise,
this bit is 0.
20
Active status (AC) - Set to 1 when a packet arrives at this port and the port has been given access to the routing
table. Cleared when the packet has been transmitted or spilled.
19
RESERVED
18
Timeout spill (TS) - Set to 1 when a packet for which this port was the input port was spilled due to a packet tim-
eout. See section 13.2.15 for details.
17
Memory error (ME) - Set to one when a memory error occur while accessing the on-chip memory in the ports.
16
Transmit FIFO full (TF) - Set to 1 when the transmit FIFO on this port is full.
15
Receive FIFO empty (RE) - Set to 1 when the receive FIFO on this port is empty. This bit is only available for
the SpaceWire ports.
14: 12
Link state (LS) - Current link state. 000 = Error reset. 001 = Error wait, 010 = Ready, 011 = Started, 100 = Con-
necting, 101 = Run state. This field is only available for the SpaceWire ports.
11: 7
Input port (IP) - This field shows the number of the input port for either the currently ongoing packet transfer on
this port (if RTR.PSTS.PB = 1), or for the last packet transfer on this port (if RTR.PSTS.PB = 0).
6
Port receive busy (PR) - Set to 1 when this port is the input port of an ongoing packet transfer.
5
Port transmit busy (PB) - Set to 1 when this port is the output port of an ongoing packet transfer.
4
Invalid address (IA) - Set to 1 when an invalid address error occurred on this port. See section 13.2.12 for
details.
3
Credit error (CE) - Set to 1 when a credit error has occurred. This bit is only available for the SpaceWire ports.
2
Escape error (ER) - Set to 1 when an escape error has occurred. This bit is only available for the SpaceWire
ports.
1
Disconnect error (DE) - Set to 1 when a disconnect error has occurred. This bit is only available for the Space-
Wire ports.
0
Parity error (PE) - Set to 1 when a parity error has occurred on. This bit is only available for the SpaceWire
ports.