Download User Manual - ESA Microelectronics Section

Transcript
Ref.:
SpaceWire CODEC IP
User Manual
I
UoD-Link-User
2.4
Issue: 27 March 2009
Date: Page: 3 / 69
CONTENTS
I
CONTENTS ..................................................................................................................................... 3
II
LIST OF FIGURES .......................................................................................................................... 6
III
LIST OF TABLES ............................................................................................................................ 8
1
SCOPE ............................................................................................................................................ 9
2
APPLICABLE DOCUMENTS ........................................................................................................ 10
3
DEFINITIONS ................................................................................................................................ 11
4
3.1
TERMS AND DEFINITIONS ........................................................................................................... 11
3.2
VHDL CODE TERMS AND DEFINITIONS....................................................................................... 11
3.3
DOCUMENT TERMS AND DEFINITIONS ......................................................................................... 12
CONFIGURATION MANAGEMENT ............................................................................................. 13
4.1
5
6
DIRECTORY STRUCTURE ........................................................................................................... 13
4.1.1
CODEC RTL files ............................................................................................................ 14
4.1.2
VHDL File Hierachy ......................................................................................................... 15
FUNCTIONAL OVERVIEW ........................................................................................................... 16
5.1
SYSTEM OVERVIEW................................................................................................................... 16
5.2
FUNCTIONS............................................................................................................................... 16
5.2.1
Configuration Overview ................................................................................................... 17
5.2.2
Initialisation State Machine .............................................................................................. 17
5.2.3
Receiver .......................................................................................................................... 17
5.2.4
Receiver Credit Counter .................................................................................................. 18
5.2.5
Receiver Error Recovery ................................................................................................. 18
5.2.6
Transmitter ...................................................................................................................... 18
5.2.7
Transmitter Clock Generator ........................................................................................... 18
5.2.8
Transmitter Credit Counter .............................................................................................. 18
5.2.9
Transmitter Error Recovery ............................................................................................. 18
TOP LEVEL CLOCK AND CONFIGURATION INTERFACE ....................................................... 20
6.1
CFG_RXBUF_ADDRLEN ....................................................................................................... 20
6.2
CFG_RATE_NUMBITS .......................................................................................................... 20
6.3
SYSTEM RESET......................................................................................................................... 20
6.4
SYSTEM CLOCK ......................................................................................................................... 21
6.5
TRANSMIT BIT CLOCK................................................................................................................. 21
6.5.1
Transmit clock configuration SYS_DEFAULT ................................................................. 23
Page 3 of 69