AEROFLEX GAISLER
2
RT-SPW-ROUTER
Copyright Aeroflex Gaisler AB
June 2012, Version 1.2
Table of contents
1
Introduction.............................................................................................................................. 5
1.1
Overview ................................................................................................................................................. 5
1.2
Standard configurations ........................................................................................................................... 5
1.3
Signal overview ....................................................................................................................................... 6
2
Architecture.............................................................................................................................. 7
2.1
Cores........................................................................................................................................................ 7
2.2
Interrupts ................................................................................................................................................. 7
2.3
Memory map ........................................................................................................................................... 8
2.4
Plug & play information.......................................................................................................................... 8
2.5
Specifications........................................................................................................................................... 9
2.6
Signals ................................................................................................................................................... 10
3
SpaceWire router.................................................................................................................... 12
3.1
Overview ............................................................................................................................................... 12
3.2
Operation ............................................................................................................................................... 12
3.2.1
Port numbering........................................................................................................................ 12
3.2.2
Routing table ........................................................................................................................... 12
3.2.3
Output port arbitration ............................................................................................................ 13
3.2.4
Group adaptive routing ........................................................................................................... 13
3.2.5
Packet distribution................................................................................................................... 14
3.2.6
Port disable.............................................................................................................................. 14
3.2.7
Timers ..................................................................................................................................... 14
3.2.8
On-chip memories................................................................................................................... 16
3.2.9
System time-distribution ......................................................................................................... 17
3.2.10
Invalid address error................................................................................................................ 17
3.2.11
Global configuration features.................................................................................................. 17
3.3
SpaceWire ports..................................................................................................................................... 18
3.4
FIFO ports ............................................................................................................................................. 18
3.4.1
Transmitter .............................................................................................................................. 18
3.4.2
Receiver................................................................................................................................... 19
3.4.3
Time-code transmit ................................................................................................................. 19
3.4.4
Time-code receive ................................................................................................................... 20
3.4.5
Bridge mode............................................................................................................................ 20
3.5
AMBA ports .......................................................................................................................................... 21
3.5.1
Overview ................................................................................................................................. 21
3.5.2
Operation................................................................................................................................. 21
3.5.3
Receiver DMA channels ......................................................................................................... 23
3.5.4
Transmitter DMA channels..................................................................................................... 29
3.5.5
RMAP target ........................................................................................................................... 32
3.5.6
AMBA interface...................................................................................................................... 34
3.5.7
Registers.................................................................................................................................. 37
3.6
Configuration port ................................................................................................................................. 43
3.6.1
AMBA AHB slave interface ................................................................................................... 43
3.6.2
Write commands ..................................................................................................................... 44
3.6.3
Read commands ...................................................................................................................... 44
3.6.4
RMW commands .................................................................................................................... 44
3.7
Registers ................................................................................................................................................ 48
3.7.1
Reset value definitions ............................................................................................................ 48
3.7.2
Register type definitions.......................................................................................................... 48