summaryrefslogtreecommitdiff
path: root/rtl/gfx/gfx_scanout.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-11-13 16:03:28 -0600
committerAlejandro Soto <alejandro@34project.org>2023-11-14 07:48:53 -0600
commitd2498ac42ea257eb2d17eb48516c528ab539e96c (patch)
tree5f196cb45f62d5876e523c465df2fd771af0b4e8 /rtl/gfx/gfx_scanout.sv
parentc8c488d4ef05300a2f8dfd6618fe9176a82a78ff (diff)
rtl/gfx: add typedefs for memory addresses
Diffstat (limited to 'rtl/gfx/gfx_scanout.sv')
-rw-r--r--rtl/gfx/gfx_scanout.sv4
1 files changed, 2 insertions, 2 deletions
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;