From f13369fb883d0a231b8dd01856dc18f7ee22d5c9 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Mon, 6 May 2024 20:43:24 -0600 Subject: platform/wavelet3d: add platform interconnect --- platform/wavelet3d/w3d_top.sv | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) (limited to 'platform/wavelet3d/w3d_top.sv') diff --git a/platform/wavelet3d/w3d_top.sv b/platform/wavelet3d/w3d_top.sv index e20b10b..818491f 100644 --- a/platform/wavelet3d/w3d_top.sv +++ b/platform/wavelet3d/w3d_top.sv @@ -42,11 +42,13 @@ import gfx::*; ); gfx_wb fpint_wb(); - if_axib host_dbus(), host_ibus(); - if_axil host_ctrl(); + if_axib dram(), host_dbus(), host_ibus(); + if_axil external_io(), gfx_ctrl(); if_pkts coverage(), geometry(); gfx_regfile_io fpint_io(); + logic srst_n; + assign q = fpint_wb.rx.lanes; assign out_valid = fpint_wb.rx.valid; @@ -85,6 +87,13 @@ import gfx::*; assign fpint_io.regs.a = a; assign fpint_io.regs.b = b; + if_rst_sync rst_sync + ( + .clk, + .rst_n, + .srst_n + ); + gfx_shader_fpint fpint ( .clk, @@ -109,7 +118,8 @@ import gfx::*; ( .clk, .rst_n, - .host_ctrl(host_ctrl.s) + .srst_n, + .host_ctrl(gfx_ctrl.s) ); w3d_host host @@ -120,4 +130,15 @@ import gfx::*; .ibus(host_ibus.m) ); + w3d_interconnect inter + ( + .clk, + .srst_n, + .dram(dram.m), + .gfx_ctrl(gfx_ctrl.m), + .host_dbus(host_dbus.s), + .host_ibus(host_ibus.s), + .external_io(external_io.m) + ); + endmodule -- cgit v1.2.3