diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-05-05 17:38:55 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-05-05 18:12:08 -0600 |
| commit | ca02833f22b08ceeeff501107371aa6667426115 (patch) | |
| tree | f864c5fc238a292082d2096ce546270badce9f1d /rtl/gfx/gfx_wb.sv | |
| parent | 081a8a3ba8bfe036f31da53f9c041a2caa30fce2 (diff) | |
rtl/gfx: rename platform/wavelet3d -> rtl/gfx
Diffstat (limited to 'rtl/gfx/gfx_wb.sv')
| -rw-r--r-- | rtl/gfx/gfx_wb.sv | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/rtl/gfx/gfx_wb.sv b/rtl/gfx/gfx_wb.sv new file mode 100644 index 0000000..20c7c64 --- /dev/null +++ b/rtl/gfx/gfx_wb.sv @@ -0,0 +1,51 @@ +interface gfx_wb; + + import gfx::*; + + word lanes[SHADER_LANES]; + logic mask_update, pc_inc, pc_update, ready, scalar, valid, writeback; + group_id group; + xgpr_num dest; + lane_mask mask; + pc_offset pc_add; + + modport tx + ( + input ready, + + output dest, + group, + lanes, + valid, + scalar, + writeback, + + mask, + mask_update, + + pc_add, + pc_inc, + pc_update + ); + + modport rx + ( + input dest, + group, + lanes, + valid, + scalar, + writeback, + + mask, + mask_update, + + pc_add, + pc_inc, + pc_update, + + output ready + ); + + +endinterface |
