回复 2# xujin2002ji
感谢回复
我是最近刚接触的PCIE,跟着官方的User Guide创建了个工程,接下来不知道怎么控制了。这个不像DDR准备好地址和数据后,给个local_burstbegin信号就开始了。
你说的TLP我也稍微看了眼,这个就类似配置寄存器吧?发送接收过程 就是配置和读取这些寄存器的固定字节位来判断要做的事情吗?
能否再给点更详细的思路
下面是例程给的模块例化,好像没什么控制,主要就是pcie_hard_ip_0_test_in_test_in和pcie_hard_ip_0_test_out_test_out
c4gx_qsys c4gx_qsys (
.pcie_hard_ip_0_pcie_rstn_export (pcie_rstn),
.pcie_hard_ip_0_pipe_ext_pipe_mode (1'b0),
.pcie_hard_ip_0_pipe_ext_pll_powerdown (~pcie_rstn),
.pcie_hard_ip_0_pipe_ext_gxb_powerdown (~pcie_rstn),
.pcie_hard_ip_0_refclk_export (refclk),
.pcie_hard_ip_0_cal_blk_clk_clk (clk50),
.pcie_hard_ip_0_fixedclk_clk (clk125),
.pcie_hard_ip_0_reconfig_gxbclk_clk (clk50),
.pcie_hard_ip_0_reconfig_togxb_data (reconfig_togxb),
.pcie_hard_ip_0_reconfig_fromgxb_0_data (reconfig_fromgxb),
.pcie_hard_ip_0_reconfig_busy_busy_altgxb_reconfig (busy),
.pcie_hard_ip_0_rx_in_rx_datain_0 (rx_in0),
.pcie_hard_ip_0_tx_out_tx_dataout_0 (tx_out0),
.pcie_hard_ip_0_test_in_test_in (test_in),
.pcie_hard_ip_0_test_out_test_out (test_out_icm)
); |