From d2498ac42ea257eb2d17eb48516c528ab539e96c Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Mon, 13 Nov 2023 16:03:28 -0600 Subject: rtl/gfx: add typedefs for memory addresses --- rtl/gfx/gfx_scanout.sv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rtl/gfx/gfx_scanout.sv') diff --git a/rtl/gfx/gfx_scanout.sv b/rtl/gfx/gfx_scanout.sv index 18b700d..b315e44 100644 --- a/rtl/gfx/gfx_scanout.sv +++ b/rtl/gfx/gfx_scanout.sv @@ -13,7 +13,7 @@ module gfx_scanout input logic fb_waitrequest, fb_readdatavalid, - input logic[15:0] fb_readdata, + input mem_word fb_readdata, output logic fb_read, output half_coord fb_address, @@ -35,8 +35,8 @@ module gfx_scanout queued_dec, queued_inc, read_half, read_valid, request_flush; rgb24 fb_pipes[`GFX_SCAN_STAGES + 1], scan_pixel; + mem_word half; half_coord commit_pos, next_pos, read_pos, request_pos[`GFX_MASK_STAGES - 1:0]; - logic[15:0] half; linear_coord scan_pos, last_pos; assign last_pos = `GFX_LINEAR_RES - 1; -- cgit v1.2.3