summaryrefslogtreecommitdiff
path: root/rtl/gfx/gfx_fp_fix.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2024-05-05 17:34:22 -0600
committerAlejandro Soto <alejandro@34project.org>2024-05-05 17:38:27 -0600
commit081a8a3ba8bfe036f31da53f9c041a2caa30fce2 (patch)
tree7d712b67d3dc1ad3d37041562774ba3c4e5a7f49 /rtl/gfx/gfx_fp_fix.sv
parente5b64ea353678baabd16d245fcfaa3384e1acf8f (diff)
rtl/legacy_gfx: rename gfx -> legacy_gfx
Diffstat (limited to 'rtl/gfx/gfx_fp_fix.sv')
-rw-r--r--rtl/gfx/gfx_fp_fix.sv34
1 files changed, 0 insertions, 34 deletions
diff --git a/rtl/gfx/gfx_fp_fix.sv b/rtl/gfx/gfx_fp_fix.sv
deleted file mode 100644
index b38e0e3..0000000
--- a/rtl/gfx/gfx_fp_fix.sv
+++ /dev/null
@@ -1,34 +0,0 @@
-`include "gfx/gfx_defs.sv"
-
-module gfx_fp_fix
-(
- input logic clk,
-
- input fp in,
- input logic stall,
-
- output fixed out
-);
-
-`ifndef VERILATOR
- ip_fp_fix ip_fix
- (
- .a(in),
- .q(out),
- .en(!stall),
- .areset(0),
- .*
- );
-`else
- fp pop;
-
- assign out = $c("taller::fp_fix(", pop, ")");
-
- gfx_pipes #(.WIDTH($bits(in)), .DEPTH(`FP_FIX_STAGES)) pipes
- (
- .out(pop),
- .*
- );
-`endif
-
-endmodule