summaryrefslogtreecommitdiff
path: root/rtl/gfx/fp_inv.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-11-02 22:19:26 -0600
committerAlejandro Soto <alejandro@34project.org>2023-11-10 01:43:02 -0600
commitd5de20fade70a0d454e3aa0087313ca715ff8759 (patch)
tree55751c829e989500972c56f05a7b0cb5e4e07621 /rtl/gfx/fp_inv.sv
parent09fcdbe01553385658fe437dcb1777008c0ceb39 (diff)
rtl/gfx: rename modules
Diffstat (limited to 'rtl/gfx/fp_inv.sv')
-rw-r--r--rtl/gfx/fp_inv.sv36
1 files changed, 0 insertions, 36 deletions
diff --git a/rtl/gfx/fp_inv.sv b/rtl/gfx/fp_inv.sv
deleted file mode 100644
index d2bebdc..0000000
--- a/rtl/gfx/fp_inv.sv
+++ /dev/null
@@ -1,36 +0,0 @@
-`include "gfx/gfx_defs.sv"
-
-module fp_inv
-(
- input logic clk,
-
- input fp a,
- input logic stall,
-
- output fp q
-);
-
-`ifndef VERILATOR
- ip_fp_inv ip_inv
- (
- .en(!stall),
- .areset(0),
- .*
- );
-`else
- fp pipeline[`FP_INV_STAGES - 1];
-
- integer i;
-
- always_ff @(posedge clk)
- if (!stall) begin
- pipeline[0] <= a;
-
- for (i = 1; i < `FP_INV_STAGES - 1; ++i)
- pipeline[i] <= pipeline[i - 1];
-
- q <= $c("taller::fp_inv(", pipeline[`FP_INV_STAGES - 2], ")");
- end
-`endif
-
-endmodule