Add basic read dma functionality and test
This commit is contained in:
@@ -48,14 +48,15 @@ logic phy_rdy_out;
|
||||
taxi_axis_if #(.DATA_W(256), .USER_EN(1), .USER_W(33), .KEEP_W(8)) s_axis_cc();
|
||||
taxi_axis_if #(.DATA_W(256), .USER_EN(1), .USER_W(88), .KEEP_W(8)) m_axis_cq();
|
||||
|
||||
taxi_axis_if #(.DATA_W(256), .USER_EN(1), .USER_W(85), .KEEP_W(8)) s_axis_rq();
|
||||
taxi_axis_if #(.DATA_W(256), .USER_EN(1), .USER_W(62), .KEEP_W(8)) s_axis_rq();
|
||||
taxi_axis_if #(.DATA_W(256), .USER_EN(1), .USER_W(75), .KEEP_W(8)) m_axis_rc();
|
||||
|
||||
taxi_axil_if m_axil_rd();
|
||||
taxi_axil_if m_axil_wr();
|
||||
|
||||
taxi_apb_if m_apb();
|
||||
taxi_apb_if #(.ADDR_W(5)) m_apb();
|
||||
|
||||
`ifndef SIM
|
||||
IBUFDS_GTE4 m_ibufds (
|
||||
.CEB('0),
|
||||
.I(pcie_mgt_refclk_p),
|
||||
@@ -63,6 +64,7 @@ IBUFDS_GTE4 m_ibufds (
|
||||
.O(clk_pcie_gt),
|
||||
.ODIV2(clk_pcie)
|
||||
);
|
||||
`endif
|
||||
|
||||
assign Led_o[0] = user_lnk_up;
|
||||
assign Led_o[1] = phy_rdy_out;
|
||||
@@ -85,8 +87,8 @@ taxi_pcie_us_axil_master u_taxi_pcie_us_axil_master (
|
||||
);
|
||||
|
||||
taxi_axil_apb_adapter u_taxi_axil_apb_adapter (
|
||||
.clk (clk),
|
||||
.rst (rst),
|
||||
.clk (clk_250),
|
||||
.rst (rst_250),
|
||||
|
||||
.s_axil_wr (m_axil_wr),
|
||||
.s_axil_rd (m_axil_rd),
|
||||
@@ -104,6 +106,7 @@ pcie_dma_wrapper u_pcie_dma_wrapper (
|
||||
.s_apb (m_apb)
|
||||
);
|
||||
|
||||
`ifndef SIM
|
||||
pcie4_uscale_plus_0 u_pcie4_uscale_plus_0 (
|
||||
.pci_exp_txn(pci_exp_txn),
|
||||
.pci_exp_txp(pci_exp_txp),
|
||||
@@ -167,5 +170,6 @@ pcie4_uscale_plus_0 u_pcie4_uscale_plus_0 (
|
||||
.sys_reset(pcie_reset_n),
|
||||
.phy_rdy_out(phy_rdy_out)
|
||||
);
|
||||
`endif
|
||||
|
||||
endmodule
|
||||
|
||||
Reference in New Issue
Block a user