![Aeroflex Gaisler RT-SPW-ROUTER Скачать руководство пользователя страница 51](http://html1.mh-extra.com/html/aeroflex-gaisler/rt-spw-router/rt-spw-router_user-manual_2862505051.webp)
AEROFLEX GAISLER
51
RT-SPW-ROUTER
Copyright Aeroflex Gaisler AB
June 2012, Version 1.2
Table 39. Port control
31
24 23
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
RD
RESERVED
ET NP PS BE DI TR PR TF RS TE RE CE AS LS LD
*
N/A
*
0
0
*
0
*
0
0
0
1
NA
1
1
0
0
31: 24
Run-state clock divisor (RD) - Clock divisor value used for this link when in the run-state. Only avail-
able for SpW ports, reads as 0 otherwise. Reset value taken from signal.
rw
23: 15
RESERVED
r
14
Enable external time (ET) - When 0 an increment (+1)of the internal time-counter is used when sending
a time-code as a result from a tickin. When 1 the time-code value is taken from external pins at the clock
edge the tickin is asserted. Reset value taken from the ri.en_ext_time signal with the index correspond-
ing to the current FIFO port starting with 0 from the lowest index FIFO port. Only available for FIFO
ports.
rw
13
No port force (NP)- When set to 1 the active port between the primary and redundant port is selected
automatically by detecting activity on the incoming signals. When 0 the active port is selected using the
PS bit. Only applicable to SpaceWire ports. Only available when dual port is enabled.
rw
12
Port select (PS) - Selects between the primary and redundant port when NP is 0. It has no effect when
NP is 1. Only applicable to SpaceWire ports.
rw
11
FIFO bridge enable (BE) - Set to 1 to enable bridge mode for the FIFO port which will enable it to be
connected to another GRSPWROUTER FIFO port with automatic transfers. Only available for FIFO
ports. Reset value set from signal.
rw
10
Disable port (DI) - Disable data transfers on this port. When asserted packets sent to this port will be
spilt and the invalid address bit is set in the source port. For group adaptive routing disabled ports will
not be included in the group of possible destinations. For packet distribution they will not be transmitted
to but the other destination ports will still be transmitted to. Port 1 cannot be disabled and this bit is read
only 0 in that case.
rw
9
Timer enable (TR) - Enable timer for packet transfer timeouts for this port. Reset value set from signal.
rw
8
Priority (PR) - Sets the arbitration priority for the path address corresponding to this port. 0=low priority,
1=high priority.
rw
7
Transmitter FIFO reset (TF) - Resets the transmitter FIFO on this port. This means that the FIFO is emp-
tied (counters and pointers set to 0) and lastly an EEP is written to the FIFO to ensure that incomplete
packets are detected by the receiver. If a packet transmission was active (a source port was writing to the
destination port) when the FIFO reset was asserted the remainder of that packet up to and including
EOP/EEP will be spilt.
rw
6
Receiver spill (RS) - Spills the receiver FIFO meaning that the packet currently being received is spilt up
to and including the EOP/EEP. If no packet reception is currently active on this port nothing happens.
The port or ports in the case of packet distribution will have an EEP written to the transmit FIFO to indi-
cate that the packet was ended prematurely. Not available for AMBA ports.
rw
5
Time-code enable (TE) - Enables time-codes to be received and transmitted on this port. When enabled
received time-codes are processed and if valid a tick-out will be generated and the time-code is for-
warded to the other ports. When disabled received time-codes are ignored. Time-codes are only trans-
mitted on this port if this bit is set to 1 and tick-in is ignored otherwise.
rw
4
RESERVED
r
3
Configuration port enable (CE) - Enable accesses to the configuration port. If disabled packets to the
configuration port will be spilt.
rw
2
Autostart (AS) - Enable the Link interface FSM Autostart feature. Only available for SpW ports, reads
as 0 otherwise.
rw
1
Link start (LS) - Start the link interface FSM. Only available for SpW ports, reads as 0 otherwise.
rw
0
Link disabled (LD) - Disable the link interface FSM. Only available for SpW ports, reads as 0 otherwise.
rw