summaryrefslogtreecommitdiff
path: root/rtl/gfx/gfx_sp_file.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-11-21 17:14:58 -0600
committerAlejandro Soto <alejandro@34project.org>2023-11-21 18:03:15 -0600
commitd2df92448a7aaaff9ae72f99bf4bcd00a6e55d8c (patch)
tree7426719821476739dce9092dbc7cb2425c9efa5b /rtl/gfx/gfx_sp_file.sv
parentd076c33ffb6e3c0d96ee6b5dce0fcf48be8d3582 (diff)
rtl/gfx: implement SP issue
Diffstat (limited to '')
-rw-r--r--rtl/gfx/gfx_sp_file.sv2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtl/gfx/gfx_sp_file.sv b/rtl/gfx/gfx_sp_file.sv
index 5dced6e..e98ee18 100644
--- a/rtl/gfx/gfx_sp_file.sv
+++ b/rtl/gfx/gfx_sp_file.sv
@@ -12,7 +12,7 @@ module gfx_sp_file
input vec4 wr_data
);
- vec4 file[1 << $bits(vreg_num)], hold_rd_data, hold_wr_data;
+ vec4 file[`GFX_SP_REG_COUNT], hold_rd_data, hold_wr_data;
logic hold_wr;
vreg_num hold_rd_reg, hold_wr_reg;