diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-05-21 19:10:52 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-05-24 05:58:42 -0600 |
| commit | da30643fa3f96c20b9a20c3daf638047ad71d6b2 (patch) | |
| tree | f44f628423e2d66107c77ad03513b47eff724e53 /platform/wavelet3d/w3d_top.sv | |
| parent | bd5f7ec56e966855bc3c878fde3819bafe6f6c1e (diff) | |
platform/wavelet3d: add sgdma engine
Diffstat (limited to '')
| -rw-r--r-- | platform/wavelet3d/w3d_top.sv | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/platform/wavelet3d/w3d_top.sv b/platform/wavelet3d/w3d_top.sv index b4d903e..e196b8f 100644 --- a/platform/wavelet3d/w3d_top.sv +++ b/platform/wavelet3d/w3d_top.sv @@ -64,8 +64,8 @@ module w3d_top ); if_tap host_jtag(); - if_axib dram(), host_dbus(), host_ibus(), gfx_vram(); - if_axil mmio(), gfx_ctrl(); + if_axib dram(), gfx_vram(), host_dbus(), host_ibus(), sgdma_mem(); + if_axil mmio(), gfx_ctrl(), sgdma_ctrl(); assign dram_awid = dram.s.awid; assign dram_awlen = dram.s.awlen; @@ -150,6 +150,15 @@ module w3d_top .jtag(host_jtag.s) ); + w3d_sgdma sgdma + ( + .clk, + .srst_n, + .irq(), //TODO + .mem(sgdma_mem.m), + .ctrl(sgdma_ctrl.s) + ); + w3d_interconnect inter ( .clk, @@ -159,6 +168,8 @@ module w3d_top .gfx_vram(gfx_vram.s), .host_dbus(host_dbus.s), .host_ibus(host_ibus.s), + .sgdma_mem(sgdma_mem.s), + .sgdma_ctrl(sgdma_ctrl.m), .external_io(mmio.m) ); |
