summaryrefslogtreecommitdiff
path: root/rtl/gfx/gfx_sp.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-11-21 14:39:05 -0600
committerAlejandro Soto <alejandro@34project.org>2023-11-21 18:03:15 -0600
commitd076c33ffb6e3c0d96ee6b5dce0fcf48be8d3582 (patch)
treebb64c042501c6f6feffb918ae25ff2223a445367 /rtl/gfx/gfx_sp.sv
parent09b1358028ba1d88f7bfd02389c9078eba7afe8b (diff)
rtl/gfx: implement SP register files
Diffstat (limited to '')
-rw-r--r--rtl/gfx/gfx_sp.sv16
1 files changed, 11 insertions, 5 deletions
diff --git a/rtl/gfx/gfx_sp.sv b/rtl/gfx/gfx_sp.sv
index 7add2db..4adac7e 100644
--- a/rtl/gfx/gfx_sp.sv
+++ b/rtl/gfx/gfx_sp.sv
@@ -65,8 +65,6 @@ module gfx_sp
gfx_sp_shuffler shuffler
(
- .a(),
- .b(),
.wb(shuffler_wb),
.deco(),
.in_ready(),
@@ -81,8 +79,6 @@ module gfx_sp
gfx_sp_combiner combiner
(
- .a(),
- .b(),
.wb(combiner_wb),
.deco(),
.in_ready(),
@@ -97,7 +93,6 @@ module gfx_sp
gfx_sp_stream stream
(
- .a(),
.wb(stream_wb),
.deco(),
.in_ready(),
@@ -116,6 +111,17 @@ module gfx_sp
.*
);
+ mat4 a, b;
+
+ gfx_sp_regs regs
+ (
+ .rd_a_reg(),
+ .rd_b_reg(),
+ .rd_a_data(a),
+ .rd_b_data(b),
+ .*
+ );
+
logic batch_end, deco_ready;
assign deco_ready = 1;