diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-11-21 01:47:23 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-11-21 18:02:52 -0600 |
| commit | 3821d219fa63837f847027022e1d585688ec66a9 (patch) | |
| tree | 3fb653c5d212e8ecf7b78ac47495f733a5b36369 /rtl/gfx/gfx_sp_shuffler.sv | |
| parent | 7f20f4493ef1938f0ea8e86dc16f5c058fe7e4f3 (diff) | |
rtl/gfx: implement SP combiner
Diffstat (limited to 'rtl/gfx/gfx_sp_shuffler.sv')
| -rw-r--r-- | rtl/gfx/gfx_sp_shuffler.sv | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rtl/gfx/gfx_sp_shuffler.sv b/rtl/gfx/gfx_sp_shuffler.sv index e4c119d..627bf8a 100644 --- a/rtl/gfx/gfx_sp_shuffler.sv +++ b/rtl/gfx/gfx_sp_shuffler.sv @@ -37,7 +37,7 @@ module gfx_sp_shuffler genvar gen_i; generate - for (gen_i = 0; gen_i < `VECS_PER_MAT; ++gen_i) begin: lanes + for (gen_i = 0; gen_i < `GFX_SP_LANES; ++gen_i) begin: lanes gfx_sp_select select ( .a(a[gen_i]), @@ -63,7 +63,7 @@ module gfx_sp_shuffler is_swizzle <= deco.shuffler.is_swizzle; wb_out.dst <= hold_dst; - for (integer i = 0; i < `VECS_PER_MAT; ++i) + for (integer i = 0; i < `GFX_SP_LANES; ++i) wb_out.data[i] <= is_swizzle ? swizzle_out[i] : select_out[i]; end |
