在看sprugs6c:PCIe User‘s Guide文档时,看到2.7.3节有一段话,“When a TLP is to be routed by its address, the address range in the BAR will decide whether the TLP is rejected or accepted. In the case of an EP, if the address is in the range configured in the BAR, the EP will accept the TLP and pass it to the internal bus side.”
1.这段话的大概意思是说PCIe接收数据包是有条件的,只有数据包中的PCIe地址在BAR配置的地址范围内时,PCIe模块才接收这个数据包,是吧?
2.其中说的BAR配置的地址范围是什么意思,BAR寄存器中只能设置基地址:BASE_ADDR,这个地址范围从哪里来?
望解答。