summaryrefslogtreecommitdiff
path: root/rtl/gfx/gfx_perspective_flow.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-11-20 18:47:55 -0600
committerAlejandro Soto <alejandro@34project.org>2023-11-20 21:29:11 -0600
commitc2ddefda2ed6badddac5c229f59fcb25860759a4 (patch)
treee1c221fe732dbaa3de75e824f66f5ea730bb01d6 /rtl/gfx/gfx_perspective_flow.sv
parent314a2a21260a8b61a5679dfc1f7df9b18c785535 (diff)
rtl/gfx: remove gfx_{perspective{,_flow}, fp_inv}
Diffstat (limited to '')
-rw-r--r--rtl/gfx/gfx_perspective_flow.sv50
1 files changed, 0 insertions, 50 deletions
diff --git a/rtl/gfx/gfx_perspective_flow.sv b/rtl/gfx/gfx_perspective_flow.sv
deleted file mode 100644
index e94f584..0000000
--- a/rtl/gfx/gfx_perspective_flow.sv
+++ /dev/null
@@ -1,50 +0,0 @@
-`include "gfx/gfx_defs.sv"
-
-module gfx_perspective_flow
-(
- input logic clk,
- rst_n,
-
- input logic vertex_start,
- output logic stall,
- in_start,
- out_start,
-
- input logic in_valid,
- out_ready,
-
- output logic in_ready,
- out_valid
- stall
-);
-
- localparam STAGES = `FP_INV_STAGES + `FP_MUL_STAGES;
-
- logic[STAGES - 1:0] start_pipes;
-
- assign in_start = start_pipes[`FP_INV_STAGES - 1];
- assign out_start = start_pipes[STAGES - 1];
-
- gfx_pipeline_flow #(.STAGES(STAGES)) flow
- (
- .*
- );
-
- always_ff @(posedge clk or negedge rst_n)
- if (!rst_n)
- start_pipes[0] <= 0;
- else if (!stall)
- start_pipes[0] <= in_valid && vertex_start;
-
- genvar i;
- generate
- for (i = 1; i < STAGES; ++i) begin: pipeline
- always_ff @(posedge clk or negedge rst_n)
- if (!rst_n)
- start_pipes[i] <= 0;
- else if (!stall)
- start_pipes[i] <= start_pipes[i - 1];
- end
- endgenerate
-
-endmodule