From 405c0287c80c34b0e9dfb9d9326b86d12433b4c4 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 2 May 2024 21:03:05 -0600 Subject: platform/wavelet3d: implement shader cores This commit contains over a month of intermittent work (I don't have enough free time to do this the right way) --- platform/wavelet3d/gfx_beats.sv | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 platform/wavelet3d/gfx_beats.sv (limited to 'platform/wavelet3d/gfx_beats.sv') diff --git a/platform/wavelet3d/gfx_beats.sv b/platform/wavelet3d/gfx_beats.sv new file mode 100644 index 0000000..fcbb091 --- /dev/null +++ b/platform/wavelet3d/gfx_beats.sv @@ -0,0 +1,29 @@ +interface gfx_beats +#(int WIDTH = $bits(gfx::word)); + + logic[WIDTH - 1:0] data; + logic ready; + logic valid; + + modport tx + ( + input ready, + output data, + valid + ); + + modport rx + ( + input data, + valid, + output ready + ); + + modport peek + ( + input data, + ready, + valid + ); + +endinterface -- cgit v1.2.3