RTD Embedded Technologies, Inc.
|
www.rtd.com
31
DM35425HR User’s Manual
6.1
BAR0
–
General Board Control
The BAR0 region is a Memory Mapped register space which contains some global registers. It also contains a table describing the different
Function Blocks of the board, and the offsets into BAR2 of the registers for that Function Block. For maximum flexibility, the user must read the
table in BAR0 to calculate the offset to each Function Block in BAR2.
Table 15: BAR0 Registers
Offset
0x03
0x02
0x01
0x00
0x00
GBC_BRD_RST
GBC_EOI
GBC_REV
GBC_FMT
0x04
GBC_PDP
0x08
GBC_BUILD
0x0C
Reserved
GBC_SYS_CLK_FREQ
0x10
GBC_IRQ_STATUS
0x14
0x18
GBC_DIRQ_STATUS
0x1C
0x20
FB0_ID
0x24
FB0_OFFSET
0x28
FB0_OFFSET_DMA
0x2C
Reserved
0x30
FB1_ID
0x34
FB1_OFFSET
0x38
FB1_OFFSET_DMA
0x3C
Reserved
…
0x20+0x10*n
FBn_ID
0x24+0x10*n
FBn_OFFSET
0x28+0x10*n
FBn_OFFSET_DMA
0x2C+0x10*n
Reserved
…
0xA0
FB8_ID
0xA4
FB8_OFFSET
0xA8
FB8_OFFSET_DMA
0xAC
Reserved
6.1.1
GBC_BRD_RST
(R
EAD
/W
RITE
)
This register is used to send a reset command to the board. Write 0xAA to this register to reset the board.
6.1.2
GBC_EOI
(R
EAD
/C
LEAR
)
This register is used to acknowledge an interrupt. It is used to safeguard against missing an interrupt. At the end of the Interrupt Service
Routines (ISR), write a 0x01 to this register. If there is another interrupt pending in the status registers, the interrupt line is toggled (Legacy
Mode), or another interrupt is sent (MSI Mode).
6.1.3
GBC_REV
(R
EAD
-O
NLY
)
This register contains the FPGA revision for this board. A=1, B=2, etc.
6.1.4
GBC_FMT
(R
EAD
-O
NLY
)
This register contains the format ID that is used in this board. The current value is 0x01.
6.1.5
GBC_PDP
(R
EAD
-O
NLY
)
This register contains the PDP number for this board.
6.1.6
GBC_BUILD
(R
EAD
-O
NLY
)
This register contains a unique 32-bit build number for the FPGA code.