Banana Pi: Specification For PCIE-DVR: Root Complex Architecture Specification
Banana Pi: Specification For PCIE-DVR: Root Complex Architecture Specification
Banana Pi: Specification For PCIE-DVR: Root Complex Architecture Specification
Date: 2014-12-12
P i
a
Warning
This document is not a DVD Standard. It is distributed for review and comment. It is subject to
n
change without notice and may not be referred to as a DVD Standard. Recipients of this
document are invited to submit, with their comments, notification of any relevant patent rights of
which they are aware and to provide supporting documentation. Distribution does not constitute
a
publication.
a n
B
DVD R2 Architecture Specification 1
1.1 PCI-Express Root Complex Register
i
Name From Addr To Addr Size Description
PCI CFG Register 0x9803_B000 0x9803_B03C 64B PCI compatible register
PCIe Dev Register 0x9803_B040 0x9803_B0FC 192B PCI-Express device specific register
P
PCIe Ext Register 0x9803_B100 0x9803_B9FC 2816B PCI-Express Extend Configuration
DVR Register 0x9803_BC00 0x9803_BFC- DVR space register
Table 2 PCI-Express 2.0 Root Complex Register Mapping Table
a
The offset of L1SUB_CAP register is wrong in DW MAC data book, please reference
table 16.
n
Register Offset Description
L1SUB_CAP_HEADER_REG 0x170 Description: L1 Substates Extended Capability
Header. For a description of this standard...
a
L1SUB_CAPABILITY_REG 0x174 ription: L1 Substates Capability Register. For a
description of this standard PCIe...
L1SUB_CONTROL1_REG 0x178 Description: L1 Substates Control 1 Register. For a
n
description of this standard PCIe...
L1SUB_CONTROL2_REG 0x17c Description: L1 Substates Control 2 Register. For a
description of this standard PCIe...
a
Table 3: Registers for Address Block: PF0_L1SUB_CAP
B
DVD R2 Architecture Specification 2
0xFFF
U nused
0xD 00
P C I e - D V R A p p lic a t io n R e g is t e r
0xC 00
P o r t L o g ic R e g is t e r s
0x700
P C I - E x p r e s s E x t e n d e d C a p a b ilit y
S tru c tu re
i
0x100
P C I a n d P C I e C a p a b ilit y S t r u c t u r e
P
0x040
PC I H eader
0x000
n a
a
Module::pcie Register::SYS_CTR Set::1 ATTR::ctrl Type::SR ADDR::0x9804_EC00
11
n
Name Bits R/W Default Comments
Rvd 31..23 - - -
„b0
a
clk_reqkeep 22 R/W 1: stop request pipe clk from PCIE
PHY
0: request pipe clk from PCIE PHY
B
this register is clk_sys domain to
avoid dead lock
clk_req_mux 21 R/W ‟b0 switch PCIE PHY clk_req_n control
from Mac to regif. When set,
clk_req_n of PHY control by
clk_reqkeep, otherwise by PCIE
Mac
this register is clk_sys domain to
avoid dead lock
tran_en 20 R/W „b0 enable pcie translation address
mm_io_type 19 R/W ‟b0 PCIE address trans enable in MM
mode or IO mode
1 : MM mode
0: IO mode
phy_mdio_oe 18 R/W „b0 PCIe MDIO output polarity (FPGA)
phy_mdio_rstN 17 R/W ‟b0 PCIe PHY register reset (FPGA)
app_init_rst 16 R/W ‟b0 One Pulse trigger
Rvd 15:12 - - -
dis_ck_gate 11 R/W „b0 Disable clock gating
i
Module::pcie Register::INT_CTR Set::1 ATTR::ctrl Type::SR ADDR::0x9804_EC04
11
P
Name Bits R/W Default Comments
Rvd 31..14 - - -
link_up_intp_en 13 R/W „b0 -
pcie_legacy_msi_en 12 R/W „b0 -
pme_msi_intp_en 11 R/W „b0 -
aer_rc_err_msi_intp_en 10 R/W „b0 -
a
cfg_sys_err_rc_intp_en 9 R/W „b0 -
pm_to_ack_intp_en 8 R/W „b0 -
vendor_msg_intp_en 7 R/W „b0 -
n
rtgt_error_intp_en 6 R/W „b0 -
rtgt_timeout_intp_en 5 R/W „b0 -
a
rcpl_error_intp_en 4 R/W „b0 -
rcpl_timeout_intp_en 3 R/W „b0 -
dir_error_intp_en 2 R/W „b0 -
n
indir_cfg_intp_en 1 R/W „b0 -
indir_mio_intp_en 0 R/W „b0 -
a
Module::pcie Register::GNR_INT Set::1 ATTR::nor Type::SR ADDR::0x9804_EC08
11
B
Name Bits R/W Default Comments
Rvd 31..16 - - -
link_up_int 15 R „b0 -
pcie_legacy_msi_int 14 R „b0 -
pm_to_ack_int 13 R „b0 -
cfg_sys_err_rc_int 12 R „b0 -
pcie_legacy_int 11 R „b0 Disable through cfg_reg
cfg_radm_vendor_msg_int 10 R „b0 -
cfg_pme_msi 9 R „b0 -
cfg_pme_int 8 R „b0 -
cfg_aer_rc_err_msi 7 R „b0 -
cfg_aer_rc_err_int 6 R „b0 -
intp_rtgt 5 R „b0 Slave receiver interrupt
intp_rcpl 4 R „b0 Master receiver interrupt
intp_dir_cfg 3 R „b0 Direct CFG interrupt status
intp_dir_mio 2 R „b0 Direct MIO interrupt status
intp_cfg 1 R „b0 Indirect CFG interrupt status
intp_mio 0 R „b0 Indirect MIO interrupt status
i
Name Bits R/W Default Comments
Rvd 31..10 - - -
dbi_io_access 9 R/W „b0 DBI access is an I/O access
P
dbi_rom_access 8 R/W „b0 DBI access ROM expansion
dbi_bar_num 7..5 R/W „b0 BAR number of current DBI
dbi_func_num 4..2 R/W „b0 Function number of current DBI
dbi_cs2_access 1 R/W „b0 1‟b1: read/write CDM mask register
dbi_cmd_access 0 R/W „b0 1‟b1: ELBI bus, 1‟b0: CMD
Rvd
Name Bits
31..14
R/W
-
Set::1
n a
ATTR::ctrl
Default
-
Type::SR
-
ADDR::0x9804_EC14
Comments
a
req_info_align 13 R/W „b0 Indirect auto alignament enable
req_info_attr 12..11 R/W „b0 -
„b0
n
req_info_ep 10 R/W -
req_info_tc 9..7 R/W „b0 -
req_info_type 6..2 R/W „b0 -
a
req_info_fmt 1..0 R/W „b0 -
B
Module::pcie Register:: DIR_CTR Set::1 ATTR::ctrl Type::SR ADDR::0x9804_EC18
11
Name Bits R/W Default Comments
Rvd 31..14 - - -
req_info_align 13 R/W „b0 direct auto alignament enable
req_info_attr 12..11 R/W „b0 -
req_info_ep 10 R/W „b0 -
req_info_tc 9..7 R/W „b0 -
req_info_type 6..2 R/W „b0 -
req_info_fmt 1..0 R/W „b0 -
i
Name Bits R/W Default Comments
rtrans_base_addr 31..0 R/W „b0 -
P
Module::pcie Register::PCIE_BASE1 Set::1 ATTR::ctrl Type::SR ADDR::0x9804_EC24
11
Name Bits R/W Default Comments
rtrans_base_addr 31..0 R/W „b0 -
a
Module::pcie Register::PCIE_MASK0 Set::1 ATTR::ctrl Type::SR ADDR::0x9804_EC28
n
11
Name Bits R/W Default Comments
rtrans_mask 31..0 R/W „d0 Read only, max 256MB for BA
Module::pcie Register::PCIE_MASK1
11
Name Bits
n a
R/W
Set::1 ATTR::ctrl
Default
„d0
Type::SR ADDR::0x9804_EC2C
Comments
a
rtrans_mask 31..0 R/W Read only, max 256MB for BA
B
Module::pcie Register::PCIE_TRAN0 Set::1 ATTR::ctrl Type::SR ADDR::0x9804_EC30
11
Name Bits R/W Default Comments
rtrans_addr_in 31..0 R/W „b0 This address replace the address of
inbound request header for 31 to 0
bit
i
error_en 2 R/W „b0 Enable error timeout timer
byte_en 1 R/W „b0 Byte enables default signal
“0”: 1111, enable all
P
“1”: Byte_cnt_7to4_0c
wrrd_en 0 R/W „b0 “0”: read op, “1”: write op
a
11
Name Bits R/W Default Comments
Rvd 31..2 - - -
n
error_st 1 R/W „b0 Write 1 to clear
done_st 0 R/W „b0 Write 1 to clear
a
Module::pcie Register::CFG_ADDR Set::1 ATTR::ctrl Type::SR ADDR::0x9804_EC44
n
11
Name Bits R/W Default Comments
space_addr 31..0 R/W „d0- PCI CFG format, spec: 3.2.2.3.2
11
Name
space_wdata
B a
Module::pcie Register::CFG_WDATA
Bits
31..0
Module::pcie Register::CFG_RDATA
11
R/W
R/W
Set::1
Set::1
ATTR::ctrl
Default
„d0
ATTR::nor_up
Type::SR
Type::SR
ADDR::0x9804_EC48
Comments
PCI CFG data to be write
ADDR::0x9804_EC4C
i
byte_en 1 R/W „b0 Byte enable default signal
“0”: 1111, enable all
“1”: byte_cnt_11to8_20
P
wrrd_en 0 R/W „b0 “0”: read, “1” write
a
Name Bits R/W Default Comments
pcie_addr 31..0 R/W „d0 PCI M and IO address
n
Module::pcie Register::MIO_WDATA Set::1 ATTR::ctrl Type::SR ADDR::0x9804_EC60
11
Name Bits R/W Default Comments
a
pcie_wdata 31..0 R/W „d0 PCI MM and IO data to be write
n
11
Name Bits R/W Default Comments
a
pcie_rdata 31..0 R/W „d0 PCI MM and IO data read back
B
11
Name Bits R/W Default Comments
Rvd 31..5 - - -
RX50_LINK 4 R/W „b1 PHY 50ohm power save
0 = saved, by can‟t link training
1 = off
POW_PCIEX 3 R/W „b0 Power rstN for pcie phy analog
0 = reset on
1 = reset off
REG_PLLDVR 2..0 R/W „b0 Enable PLL to give device 100MHz
clk.
000 = off, received clock (device)
001 = on, drive clock (host)
i
probed via cp_dbg_out1
dbg_sel0 6..1 R/W „b0 Select debug signal sets to be
probed via cp_dbg_out0
P
dbg_en 0 R/W „b0 Debug enable
When set, selected signals can be
probed via debug ports. When clear,
both cp_dbg_out0 and cp_dbg_out1
are static 16‟h0.
a
Module::pcie Register::DIR_ST Set::1 ATTR::nor_up Type::SR ADDR::0x9804_EC74
n
11
Name Bits R/W Default Comments
Rvd 31..2 - - -
a
cfg_rerror_st 1 R/W „b0 Write 1 to clear
mio_rerror_st 0 R/W „b0 Write 1 to clear
n
Module::pcie Register::DIR_EN Set::1 ATTR::ctrl Type::SR ADDR::0x9804_EC78
11
a
Name Bits R/W Default Comments
timeout_cnt_value 31..8 R/W ‟d0 -
Rvd 7..1 - - -
B
timeout_en 0 R/W „b0 Rack to sb2 when read error
i
Rvd 11:8 R/W „d0 -
timeout_tag 7..0 R/W „d0 -
P
Module::pcie Register::RTGT_ST Set::1 ATTR::nor_up Type::SR ADDR::0x9804_EC8C
11
Name Bits R/W Default Comments
Rvd 31..5 - - -
rcpl_compl_st 4 R/W „d0 Write 1 to clear
a
tlp_abort_st 3 R/W „d0 Write 1 to clear
dllp_abort_st 2 R/W „d0 Write 1 to clear
„d0
n
ecrc_error_st 1 R/W Write 1 to clear
rcpl_timeout_st 0 R/W „d0 Write 1 to clear
a
Module::pcie Register::RTGT_ADR Set::1 ATTR::nor_up Type::SR ADDR::0x9804_EC90
11
n
Name Bits R/W Default Comments
nor_error_addr 31..0 R/W „d0 -
a
Module::pcie Register::RTGT_TOUT0 Set::1 ATTR::nor_up Type::SR ADDR::0x9804_EC94
11
B
Name Bits R/W Default Comments
to_error_addr 31..0 R/W „d0 -
i
11
Name Bits R/W Default Comments
Rvd 31..1 - - -
P
radm_pm_to_ack 0 R/W „b0 Write 1 to clear
a
Name Bits R/W Default Comments
Rvd 31..6 - - -
cfg_cap_int_msg_num 5..1 R/W „b0 -
n
cfg_pme_msi 0 R/W „b0 Write 1 to clear
a
Module::pcie Register::VEN_MSG0 Set::1 ATTR::nor_up Type::SR ADDR::0x9804_ECAC
11
Name Bits R/W Default Comments
n
radm_msg_req_id 31..16 R/W „b0 -
Rvd 15..1 - - -
a
radm_vendor_msg 0 R/W „b0 Write 1 to clear
B
Module::pcie Register::VEN_MSG1 Set::1 ATTR::nor_up Type::SR ADDR::0x9804_ECB0
11
Name Bits R/W Default Comments
radm_msg_payload 31..0 R/W „b0 -
i
reg1 31..16 R/W „hffff Dummy register with value 1
reg0 15..0 R/W „d0 Dummy register with value 0
P
Module::pcie Register::LOOP_DATA Set::4 ATTR::nor_up Type::SR ADDR::0x9804_ECC0
11
Name Bits R/W Default Comments
rw_data 31..0 R/W „d0 -
a
Module::pcie Register::MSI_TRAN Set::1 ATTR::ctrl Type::SR ADDR::0x9804_ECD
11 0
Name Bits R/W Default Comments
n
msi_check_addr 31..2 R/W „d0 -
Rvd 1..0 - - -
a
Module::pcie Register::MSI_DATA Set::1 ATTR::nor_up Type::SR ADDR::0x9804_ECD
11 4
n
Name Bits R/W Default Comments
Rvd 31..17 - - -
msi_data_st 16 R/W „b0 Write 1 to clear
a
msi_data 15..0 R/W „d0 -
B
11
Name Bits R/W Default Comments
test_reg 31..0 R/W „d0 Dummy test register
i
drf_bist1_mode_en 1 R/W „b0 enable group1 sram drf bist mode
bist1_mode_en 0 R/W „b0 enable group1 sram bist mode
P
Module::pcie Register::bist_status Set::1 ATTR::nor Type::SR ADDR::0x9804_ECF0
11
Name Bits R/W Default Comments
Rvd 31..24 - -
bist4_drf_start_pause 23 R „b0 group 4 status
a
drf_bist4_done 22 R „b0 group 4 status
bist4_done 21 R „b0 group 4 status
bist3_drf_start_pause 20 R „b0 group 3 status
n
drf_bist3_done 19 R „b0 group 3 status
bist3_done 18 R „b0 group 3 status
drf_bist3_fail_1 17 R „b0 group 3 fail status
a
bist3_fail_1 16 R „b0 group 3 fail status
drf_bist3_fail_0 15 R „b0 group 3 fail status
n
bist3_fail_0 14 R „b0 group 3 fail status
bist2_drf_start_pause 13 R „b0 group 2 status
drf_bist2_done 12 R „b0 group 2 status
a
bist2_done 11 R „b0 group 2 status
drf_bist2_fail_1 10 R „b0 group 2 fail status
bist2_fail_1 9 R „b0 group 2 fail status
B
drf_bist2_fail_0 8 R „b0 group 2 fail status
bist2_fail_0 7 R „b0 group 2 fail status
bist1_drf_start_pause 6 R „b0 group 1 status
drf_bist1_done 5 R „b0 group 1 status
bist1_done 4 R „b0 group 1 status
drf_bist4_fail_0 3 R „b0 group 1 fail status
bist4_fail_0 2 R „b0 group 1 fail status
drf_bist1_fail_0 1 R „b0 group 1 fail status
bist1_fail_0 0 R „b0 group 1 fail status
i
Module::pcie Register::VEN_MSG2 Set::1 ATTR::nor_up Type::SR ADDR::0x9804_ECF8
11
P
Name Bits R/W Default Comments
radm_msg_payload_hbyte 31..0 R/W „b0 -
a
Name bits Read/Write Reset State Comments
addr 31..0 R/W „b0 The base address for compare SB2
access PCIE R-bus address used.
n
Module::pcie Register::pci_mask Set::1 ATTR::ctrl Type::SR ADDR::0x9804_ED00
11
a
Name bits Read/Write Reset State Comments
addr 31..0 R/W „b0 The mask bit for mask SB2
access PCIE R-bus address used.
Module::pcie
11
Name
addr
Register::pci_trans
a
bits
31..0
n Set::1
Read/Write
R/W
ATTR::ctrl
Reset State
„b0
Type::SR ADDR::0x9804_ED04
Comments
The translate address for SB2
B
access PCIE R-bus address used.
i
clk_reqkeep 22 R/W „b0 1: stop request pipe clk from PCIE
PHY
0: request pipe clk from PCIE PHY
P
this register is clk_sys domain to
avoid dead lock
clk_req_mux 21 R/W ‟b0 switch PCIE PHY clk_req_n control
from Mac to regif. When set,
clk_req_n of PHY control by
a
clk_reqkeep, otherwise by PCIE Mac
this register is clk_sys domain to
avoid dead lock
n
tran_en 20 R/W „b0 enable pcie translation address
mm_io_type 19 R/W ‟b0 PCIE address trans enable in MM
mode or IO mode
a
1 : MM mode
0: IO mode
„b0
n
phy_mdio_oe 18 R/W PCIe MDIO output polarity (FPGA)
phy_mdio_rstN 17 R/W ‟b0 PCIe PHY register reset (FPGA)
app_init_rst 16 R/W ‟b0 One Pulse trigger
a
Rvd 15:12 - - -
dis_ck_gate 11 R/W „b0 Disable clock gating
dis_rw_flow 10 R/W „b0 Disable dbus W/R flow control
B
loopback_en 9 R/W „b0 Enable loopback
dir_req_info_en 8 R/W ‟b0 Enable to use field 1801_EC18
Rvd 7..6 - - -
indir_cfg_en 5 R/W ‟b0 Enable cfg command using indirect
dir_cfg_en 4 R/W ‟b0 Enable cfg command using direct
rcv_addr0_en 3 R/W ‟b0 Receiver address translation enable
rcv_addr1_en 2 R/W ‟b0 Receiver address translation enable
app_ltssm_en 1 R/W ‟b0 Application ready enable to initial
raining
rcv_trans_en 0 R/W ‟b0 Receiver translation mechanism
enable
i
Name Bits R/W Default Comments
Rvd 31..16 - - -
„b0
P
link_up_int 15 R -
pcie_legacy_msi_int 14 R „b0 -
pm_to_ack_int 13 R „b0 -
cfg_sys_err_rc_int 12 R „b0 -
pcie_legacy_int 11 R „b0 Disable through cfg_reg
cfg_radm_vendor_msg_int 10 R „b0 -
a
cfg_pme_msi 9 R „b0 -
cfg_pme_int 8 R „b0 -
„b0
n
cfg_aer_rc_err_msi 7 R -
cfg_aer_rc_err_int 6 R „b0 -
intp_rtgt 5 R „b0 Slave receiver interrupt
a
intp_rcpl 4 R „b0 Master receiver interrupt
intp_dir_cfg 3 R „b0 Direct CFG interrupt status
intp_dir_mio 2 R „b0 Direct MIO interrupt status
n
intp_cfg 1 R „b0 Indirect CFG interrupt status
intp_mio 0 R „b0 Indirect MIO interrupt status
Rvd
intp_intd
intp_intc
intp_intb
intp_inta
Name
B a
Module::pcie20 Register::PCIE_INT
Bits
31..4
3
2
1
0
Set::1
R/W
R
R
R
R
-
ATTR::nor
Default
-
„b0
„b0
„b0
„b0
Type::SR
-
ADDR::0x9803_BC0C
Comments
i
Rvd 31..14 - - -
req_info_align 13 R/W „b0 direct auto alignament enable
req_info_attr 12..11 R/W „b0 -
P
req_info_ep 10 R/W „b0 -
req_info_tc 9..7 R/W „b0 -
req_info_type 6..2 R/W „b0 -
req_info_fmt 1..0 R/W „b0 -
a
Module::pcie20 Register::MDIO_CTR Set::1 ATTR::ctrl Type::SR ADDR::0x9803_BC1C
Name Bits R/W Default Comments
n
data 31..16 R/W „h0 Write data or read data.
phy_addr 15..13 R/W „d0 MDIO PHY addressing value.
phy_reg_addr 12..8 R/W „d0 MDIO Register addressing value
a
mdio_busy 7 R/W „d0 -
mdio_st 6..5 R/W „d0 MDIO host controller state Monitor
„d0
n
mdio_rdy 4 R/W MDIO Pre-amble signal Monitor
mclk_rate 3..2 R/W „d0 MDIO clock rate selection:
2‟b00: clk_sys/32
a
2‟b01: clk_sys/16
2‟b10: clk_sys/8
2‟b11: clk_sys/4
B
mdio_srst 1 R/W „d0 Assert 1‟b1 to do soft reset
mdio_rdwr 0 R/W „d0 1‟b0: read , 1‟b1: write
i
Module::pcie20 Register::PCIE_TRAN1 Set::1 ATTR::ctrl Type::SR ADDR::0x9803_BC34
Name Bits R/W Default Comments
rtrans_addr_in 31..0 R/W „b0 This address replace the address of
P
inbound request header for 31 to 0
bit
a
Rvd 31..1 - - -
go_ct 0 R/W „b0 Start DMA transfer, clear after done
Module::pcie20 Register::CFG_EN
Rvd
Name Bits
31..24
a
Set::1
R/W
R/W
n
ATTR::ctrl
Default
-
„d0
Type::SR
-
ADDR::0x9803_BC3C
Comments
n
bus_num 23..16 R/W -
dev_num 15..11 R/W „d0 -
fun_num 10..8 R/W „d0 -
a
byte_cnt 7..4 R/W „d0 Store byte enable bits
Rvd 3 - - -
error_en 2 R/W „b0 Enable error timeout timer
B
byte_en 1 R/W „b0 Byte enables default signal
“0”: 1111, enable all
“1”: Byte_cnt_7to4_0c
wrrd_en 0 R/W „b0 “0”: read op, “1”: write op
i
go_ct 0 R/W „b0 Start DMA transfer, clear after done
P
Name Bits R/W Default Comments
Rvd 31..2 - - -
error_st 1 R/W „b0 Write 1 to clear
done_st 0 R/W „b0 Write 1 to clear
a
Module::pcie20 Register::MIO_EN Set::1 ATTR::ctrl Type::SR ADDR::0x9803_BC58
Name Bits R/W Default Comments
n
timeout_cnt_value 31..8 R/W „d0 Timeout counter expired value
byte_cnt 7.4 R/W „d0 Store byte enable bits
Rvd 3 - - -
a
error_en 2 R/W „b0 Enable error timeout counter
byte_en 1 R/W „b0 Byte enable default signal
“0”: 1111, enable all
n
“1”: byte_cnt_11to8_20
wrrd_en 0 R/W „b0 “0”: read, “1” write
pcie_addr
pcie_wdata
Name
B a
Module::pcie20 Register::MIO_ADDR
Bits
31..0
Module::pcie20 Register::MIO_WDATA
Name Bits
31..0
R/W
R/W
R/W
R/W
Set::1
Default
„d0
ATTR::ctrl
Default
„d0
Type::SR ADDR::0x9803_BC5C
Comments
PCI M and IO address
i
app_pmxmt_turnoff 6 R/W -
app_clk_req_n 5 R/W „b0 -
app_clk_pm_en 4 R/W „b0 -
P
sys_aux_pwr_det 3 R/W „b0 -
app_ready_enter_123 2 R/W „b0 -
app_req_exit_11 1 R/W „b0 -
app_req_enter_11 0 R/W „b0 -
a
Module::pcie20 Register::PCIE_DBG Set::1 ATTR::ctrl Type::SR ADDR::0x9803_BC70
Name Bits R/W Default Comments
n
Rvd 31..13 - - -
dbg_sel1 12..7 R/W „b0 Select debug signal sets to be
probed via cp_dbg_out1
a
dbg_sel0 6..1 R/W „b0 Select debug signal sets to be
probed via cp_dbg_out0
„b0
n
dbg_en 0 R/W Debug enable
When set, selected signals can be
probed via debug ports. When clear,
a
both cp_dbg_out0 and cp_dbg_out1
are static 16‟h0.
B
Module::pcie20 Register::DIR_ST Set::1 ATTR::nor_up Type::SR ADDR::0x9803_BC74
Name Bits R/W Default Comments
Rvd 31..2 - - -
cfg_rerror_st 1 R/W „b0 Write 1 to clear
mio_rerror_st 0 R/W „b0 Write 1 to clear
i
to_error_addr 31..0 R/W „d0 -
P
SR
Name Bits R/W Default Comments
timeout_num 31:29 R/W „d0 -
timeout_tc 28:26 R/W „d0 -
timeout_attr 25:24 R/W „d0 -
„d0
a
timeout_len 23:12 R/W -
Rvd 11:8 R/W „d0 -
timeout_tag 7..0 R/W „d0 -
n
Module::pcie20 Register::RTGT_ST Set::1 ATTR::nor_up Type::SR ADDR::0x9803_BC8C
Name Bits R/W Default Comments
a
Rvd 31..5 - - -
rcpl_compl_st 4 R/W „d0 Write 1 to clear
„d0
n
tlp_abort_st 3 R/W Write 1 to clear
dllp_abort_st 2 R/W „d0 Write 1 to clear
ecrc_error_st 1 R/W „d0 Write 1 to clear
a
rcpl_timeout_st 0 R/W „d0 Write 1 to clear
B
Module::pcie20 Register::RTGT_ADR Set::1 ATTR::nor_up Type: ADDR::0x9803_BC90
:SR
Name Bits R/W Default Comments
nor_error_addr 31..0 R/W „d0 -
i
Rvd 31..6 - - -
cfg_aer_int_msg_num 5..1 R/W „b0 -
cfg_aer_rc_err_msi 0 R/W „b0 Write 1 to clear
Module::pcie20 Register::PME_ST
Rvd
Name Bits
31..1
Set::1
R/W
-
ATTR::nor_up
Default
-
„b0
Type::SR
-
P
ADDR::0x9803_BCA4
Comments
a
radm_pm_to_ack 0 R/W Write 1 to clear
n
Module::pcie20 Register::PMMSI_ST Set::1 ATTR::nor_up Type: ADDR::0x9803_BCA8
:SR
Name Bits R/W Default Comments
a
Rvd 31..6 - - -
cfg_cap_int_msg_num 5..1 R/W „b0 -
cfg_pme_msi 0 R/W „b0 Write 1 to clear
Module::pcie20
Name
a
Register::VEN_MSG0
Bits
n Set::1
R/W
ATTR::nor_up
Default
Type:
:SR
ADDR::0x9803_BCAC
Comments
B
radm_msg_req_id 31..16 R/W „b0 -
Rvd 15..1 - - -
radm_vendor_msg 0 R/W „b0 Write 1 to clear
i
Module::pcie20 Register::SCTCH Set::1 ATTR::ctrl Type::SR ADDR::0x9803_BCBC
Name Bits R/W Default Comments
P
reg1 31..16 R/W „hffff Dummy register with value 1
reg0 15..0 R/W „d0 Dummy register with value 0
a
Name Bits R/W Default Comments
rw_data 31..0 R/W „d0 -
n
Module::pcie20 Register::MSI_TRAN Set::1 ATTR::ctrl Type::SR ADDR::0x9803_BCD0
Name Bits R/W Default Comments
msi_check_addr 31..2 R/W „d0 -
a
Rvd 1..0 - - -
n
Module::pcie20 Register::MSI_DATA Set::1 ATTR::nor_up Type: ADDR::0x9803_BCD4
:SR
Name Bits R/W Default Comments
a
Rvd 31..17 - - -
msi_data_st 16 R/W „b0 Write 1 to clear
msi_data 15..0 R/W „d0 -
B
Module::pcie20 Register::TMP_REG Set::4 ATTR::ctrl Type::SR ADDR::0x9803_BCD8
Name Bits R/W Default Comments
test_reg 31..0 R/W „d0 Dummy test register
i
drf_bist1_mode_en 1 R/W „b0 enable group1 sram drf bist mode
bist1_mode_en 0 R/W „b0 enable group1 sram bist mode
P
Module::pcie20 Register::bist_status Set::1 ATTR::nor Type::SR ADDR::0x9803_BCF0
Name Bits R/W Default Comments
Rvd 31..24 - -
bist4_drf_start_pause 23 R „b0 group 4 status
drf_bist4_done 22 R „b0 group 4 status
a
bist4_done 21 R „b0 group 4 status
bist3_drf_start_pause 20 R „b0 group 3 status
drf_bist3_done 19 R „b0 group 3 status
n
bist3_done 18 R „b0 group 3 status
drf_bist3_fail_1 17 R „b0 group 3 fail status
bist3_fail_1 16 R „b0 group 3 fail status
a
drf_bist3_fail_0 15 R „b0 group 3 fail status
bist3_fail_0 14 R „b0 group 3 fail status
n
bist2_drf_start_pause 13 R „b0 group 2 status
drf_bist2_done 12 R „b0 group 2 status
bist2_done 11 R „b0 group 2 status
a
drf_bist2_fail_1 10 R „b0 group 2 fail status
bist2_fail_1 9 R „b0 group 2 fail status
drf_bist2_fail_0 8 R „b0 group 2 fail status
B
bist2_fail_0 7 R „b0 group 2 fail status
bist1_drf_start_pause 6 R „b0 group 1 status
drf_bist1_done 5 R „b0 group 1 status
bist1_done 4 R „b0 group 1 status
drf_bist4_fail_0 3 R „b0 group 1 fail status
bist4_fail_0 2 R „b0 group 1 fail status
drf_bist1_fail_0 1 R „b0 group 1 fail status
bist1_fail_0 0 R „b0 group 1 fail status
i
:SR
Name Bits R/W Default Comments
radm_msg_payload_hbyte 31..0 R/W „b0 -
P
Module::pcie20 Register::pci_base Set::1 ATTR::ctrl Type::SR ADDR::0x9803_BCFC
Name bits Read/Write Reset State Comments
addr 31..0 R/W „b0 The base address for compare SB2
access PCIE R-bus address used.
a
Module::pcie20 Register::pci_mask Set::1 ATTR::ctrl Type::SR ADDR::0x9803_BD00
Name bits Read/Write Reset State Comments
n
addr 31..0 R/W „b0 The mask bit for mask SB2
access PCIE R-bus address used.
a
Module::pcie20 Register::pci_trans Set::1 ATTR::ctrl Type::SR ADDR::0x9803_BD04
Name bits Read/Write Reset State Comments
„b0
n
addr 31..0 R/W The translate address for SB2
access PCIE R-bus address used.
a
Module::pcie20 Register::pci_ltr Set::1 ATTR:: nor Type::SR ADDR::0x9803_BD08
Name bits Read/Write Reset State Comments
app_ltr_lat 31..0 R „b0
B
Latency Tolerance
ency Reporting(LTR) message
information
31 16 15 0
Device ID Vendor ID 00h
Status Command 04h
Class Code Revision ID 08h
BIST Header Type Latency Timer Cacheline Size 0Ch
Base Address Register #1 10h
Base Address Register #2 14h
Secondary Latency Subordinate Bus Secondary Bus Primary Bus 18h
Timer Number Number Number
i
Address Name Description Value R/W
00h-01h Vendor ID Manufacture of the Device Read-only
P
02h-03h Device ID Particular Device ID Read-only
08h Revision ID Vendor defined extension on the Device ID 0x0 Read-only
09h-0Bh Class Code Identify the generic function of the device Read-only
0Eh Header Type Identify the layout of second part of predefine 0x0 Read-only
header
a
0Fh BIST Used for control and status of BIST Read-only
n
-The command register (04h): The command register is a 16-bit register used to provide
coarse control over a device's ability to generate and respond to PCI cycles.
a
Bit# Name Description Implemented
0 I/O Space “0”: Disable the device response to I/O commands Yes
“1”: Device responds to I/O spaces accessed
n
State after Reset# is “0”.
1 Memory Space “0”: Disable the device response to memory access Yes
a
“1”: Device responds to Memory accessed
State after Reset# is “0”
2 Bus Master “0”: Disable the device from generating PCI accesses Yes
B
“1”: Device behaves as Master
State after Reset# is “0”
3 Special Cycle “0”: Ignore all special cycle operations No
“1”: allow the device to monitor special cycles
State after Reset# is “0”
4 Memory Write and “0”: Memory write is used Yes
Invalidate Enable “1”: Device can generate MWIV command
State after Reset# is “0” and used for master device
5 VGA Palette Snoop “0”: Palette snooping is disable No
“1”: Palette snooping is enable
State after Reset# is “0”
6 Parity Error Response “0”: Palette Yes
“1”:
After Reset# is “0”
7 Reserved Hardwire to “0” No
8 SERR# Enable “0”: disable SERR# driver Yes
“1”: enable SERR# driver
After Reset# is “0”
9 Fast Back-to-Back “0”: master can‟t do fast back-to-back Yes
-The status register (06h): The status register is a 16-bit register used to record status
information for PCI bus related events. Reads to this register behave normally. Writes are
slightly different in that bits can be reset, but not set.
i
0-2 Reserved This bit is reserved No Reserved
3 Interrupt Status Yes Read-only
4 Capabilities List Device implements the new capabilities linked Yes Read-only
P
list at offset 34h.
“0”: implemented, “1” no implemented
5 66 MHz capable Indicate if the device is capable of running at No Read-only
66MHz.
“0”: no capable, “1”: yes, capable
6 Reserved This bit is reserved No Read-only
a
7 Fast Back-to-Back If the target accept back-to-back transaction No Read-only
Capable from not the sane agent.
“0”: no support, “1”: yes, support
n
8 Master Data Parity The master implements this bit. It is set when Yes Read/Write
Error 3 conditions are met.
a
1) The bus agent asserted PERR#
2) The agent setting the bit acted as the bus
master for the operation in which the
n
error occurred.
3) The parity Error Response bit is set
9-10 DEVSEL Timing Encode the timing of DEVSEL. Yes Read-only
a
“00”: fast, by default
“10”: medium
“10”: slow
B
11 Signal Target Abort Signal is enable when the target terminate Yes Read/Write
with signal abort
“0”: no target-abort, “1”: yes, target-abort
12 Received Slave Abort This bit must set by the master devise Yes Read/Write
whenever it terminates a transaction with
target-abort.
“0”: no terminate by target, “1”: terminate by
target
13 Received Master Set the bit when the transaction is terminated Yes Read/Write
Abort with master abort.
“0”: no master-abort, “1”: yes, master-abort
14 Signaled System Set the bit when the device assert SERR# Yes Read/Write
Error “0”: no SERR# assert, “1”: yes, SERR# assert
15 Detected Parity Error Set the bit when detects a parity error Yes Read/Write
“0”: no parity error, “1”: parity error
P i
n a
n a
B a
2.1 PCIE1.1
SRAM list
SRAM name Process Type Size
PCIE_SFDKV1024X34X1M4F140 TSMC28 Single port 1024x34 bits
PCIE_TF1CKKV64X104X1M2F140 TSMC28 Two port 1Clk 64x104 bits
PCIE_TF1CKKV256X38X1M2F140 TSMC28 Two port 1Clk 256 x 38 bits
PCIE_TFDG2KV72X64X1M1F330 TSMC28 Two port 72 x 64 bits
i
PCIE_TFDG2KV72X64X1M1F330 TSMC28 Two port 72 x 64 bits
PCIE_TFDG2KV72X64X1M1F330 TSMC28 Two port 72 x 64 bits
P
PCIE_TF1CKKV256X10X1M4F140 TSMC28 Two port 1Clk 256 x 10 bits
a
Limits System clock frequency (clk_sys) pipe clk
Upper bound syn: 257 MHz / real: 243 MHz syn: 138.8 MHz / real: 125 MHz
n
Lower bound No constraint No constraint
a
Reset spec
Reset signal Description
n
crt_pcie_rstn Asynchronous reset.
crt_pcie_phy_rstn Asynchronous reset.
a
crt_pcie_phy_mdio_rstn Asynchronous reset.
crt_pcie_stitch_rstn Asynchronous reset.
B
crt_pcie_nonstitch_rstn Asynchronous reset.
crt_pcie_power_rstn Asynchronous reset.
crt_pcie_core_rstn Asynchronous reset.
Module area
Type Size
Logic area 47524.693736 um2
SRAM area 28994.539672 um2
ATPG coverage
ATPG type Coverage
Test coverage 98.45 %
Fault coverage 97.95 %
P i
n a
n a
B a
SRAM list
SRAM name Process Type Size
PCIE_SFDKV1024X34X1M4F140 TSMC28 Single port 1024x34 bits
PCIE_TF1CKKV64X104X1M2F140 TSMC28 Two port 1Clk 64x104 bits
PCIE_TF1CKKV256X38X1M2F140 TSMC28 Two port 1Clk 256 x 38 bits
PCIE_TFDG2KV72X64X1M1F330 TSMC28 Two port 72 x 64 bits
PCIE_TFDG2KV72X64X1M1F330 TSMC28 Two port 72 x 64 bits
PCIE_TFDG2KV72X64X1M1F330 TSMC28 Two port 72 x 64 bits
i
PCIE_TF1CKKV256X10X1M4F140 TSMC28 Two port 1Clk 256 x 10 bits
P
Clock and timing spec
Limits System clock frequency (clk_sys) pipe clk
Upper bound syn: 257 MHz / real: 243 MHz syn: 138.8 MHz / real: 125 MHz
Lower bound No constraint No constraint
Reset spec
Reset signal
n a
Description
a
crt_pcie_rstn Asynchronous reset.
crt_pcie_phy_rstn Asynchronous reset.
crt_pcie_phy_mdio_rstn Asynchronous reset.
n
crt_pcie_stitch_rstn Asynchronous reset.
crt_pcie_nonstitch_rstn Asynchronous reset.
a
crt_pcie_power_rstn Asynchronous reset.
crt_pcie_core_rstn Asynchronous reset.
B
Module area
Type Size
Logic area 49786.015755 um2
SRAM area 28994.539672 um2
ATPG coverage
ATPG type Coverage
Test coverage 98.35 %
Fault coverage 97.83 %
P i
n a
n a
B a