From 081a8a3ba8bfe036f31da53f9c041a2caa30fce2 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sun, 5 May 2024 17:34:22 -0600 Subject: rtl/legacy_gfx: rename gfx -> legacy_gfx --- rtl/gfx/gfx_persp_vertex.sv | 52 --------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 rtl/gfx/gfx_persp_vertex.sv (limited to 'rtl/gfx/gfx_persp_vertex.sv') diff --git a/rtl/gfx/gfx_persp_vertex.sv b/rtl/gfx/gfx_persp_vertex.sv deleted file mode 100644 index f7434f0..0000000 --- a/rtl/gfx/gfx_persp_vertex.sv +++ /dev/null @@ -1,52 +0,0 @@ -`include "gfx/gfx_defs.sv" - -module gfx_persp_vertex -( - input logic clk, - - input raster_xyzw in_vertex, - input logic stall, - - output raster_xyzw out_vertex -); - - raster_xyzw skid_vertex; - - gfx_fixed_div x_div - ( - .z(in_vertex.xy.x), - .d(in_vertex.zw.w), - .q(skid_vertex.xy.x), - .* - ); - - gfx_fixed_div y_div - ( - .z(in_vertex.xy.y), - .d(in_vertex.zw.w), - .q(skid_vertex.xy.y), - .* - ); - - gfx_pipes #(.WIDTH($bits(fixed)), .DEPTH(`FIXED_DIV_STAGES)) z_pipes - ( - .in(in_vertex.zw.z), - .out(skid_vertex.zw.z), - .* - ); - - gfx_pipes #(.WIDTH($bits(fixed)), .DEPTH(`FIXED_DIV_STAGES)) w_pipes - ( - .in(in_vertex.zw.w), - .out(skid_vertex.zw.w), - .* - ); - - gfx_skid_buf #(.WIDTH($bits(out_vertex))) vertex_skid - ( - .in(skid_vertex), - .out(out_vertex), - .* - ); - -endmodule -- cgit v1.2.3