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_fp_add.sv | |
| parent | e5b64ea353678baabd16d245fcfaa3384e1acf8f (diff) | |
rtl/legacy_gfx: rename gfx -> legacy_gfx
Diffstat (limited to 'rtl/gfx/gfx_fp_add.sv')
| -rw-r--r-- | rtl/gfx/gfx_fp_add.sv | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/rtl/gfx/gfx_fp_add.sv b/rtl/gfx/gfx_fp_add.sv deleted file mode 100644 index 0b3058a..0000000 --- a/rtl/gfx/gfx_fp_add.sv +++ /dev/null @@ -1,41 +0,0 @@ -`include "gfx/gfx_defs.sv" - -module gfx_fp_add -( - input logic clk, - - input fp a, - b, - input logic stall, - - output fp q -); - -`ifndef VERILATOR - ip_fp_add ip_add - ( - .en(!stall), - .areset(0), - .* - ); -`else - fp a_pop, b_pop; - - assign q = $c("taller::fp_add(", a_pop, ", ", b_pop, ")"); - - gfx_pipes #(.WIDTH($bits(a)), .DEPTH(`FP_ADD_STAGES)) a_pipes - ( - .in(a), - .out(a_pop), - .* - ); - - gfx_pipes #(.WIDTH($bits(b)), .DEPTH(`FP_ADD_STAGES)) b_pipes - ( - .in(b), - .out(b_pop), - .* - ); -`endif - -endmodule |
