diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-05-05 17:34:22 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-05-05 17:38:27 -0600 |
| commit | 081a8a3ba8bfe036f31da53f9c041a2caa30fce2 (patch) | |
| tree | 7d712b67d3dc1ad3d37041562774ba3c4e5a7f49 /rtl/gfx/gfx_sp_select.sv | |
| parent | e5b64ea353678baabd16d245fcfaa3384e1acf8f (diff) | |
rtl/legacy_gfx: rename gfx -> legacy_gfx
Diffstat (limited to 'rtl/gfx/gfx_sp_select.sv')
| -rw-r--r-- | rtl/gfx/gfx_sp_select.sv | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/rtl/gfx/gfx_sp_select.sv b/rtl/gfx/gfx_sp_select.sv deleted file mode 100644 index 46b23c9..0000000 --- a/rtl/gfx/gfx_sp_select.sv +++ /dev/null @@ -1,25 +0,0 @@ -`include "gfx/gfx_defs.sv" - -module gfx_sp_select -( - input logic clk, - - input vec4 a, - b, - input shuffler_deco deco, - input logic stall, - - output vec4 out -); - - always_ff @(posedge clk) - if (!stall) - for (integer i = 0; i < `FLOATS_PER_VEC; ++i) - if (deco.is_broadcast) - out[i] <= deco.imm; - else if (deco.select_mask[i]) - out[i] <= b[i]; - else - out[i] <= a[i]; - -endmodule |
