summaryrefslogtreecommitdiff
path: root/rtl/gfx/gfx_rop.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_rop.sv
parentc8c488d4ef05300a2f8dfd6618fe9176a82a78ff (diff)
rtl/gfx: add typedefs for memory addresses
Diffstat (limited to '')
-rw-r--r--rtl/gfx/gfx_rop.sv4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtl/gfx/gfx_rop.sv b/rtl/gfx/gfx_rop.sv
index e055278..c0e3bf1 100644
--- a/rtl/gfx/gfx_rop.sv
+++ b/rtl/gfx/gfx_rop.sv
@@ -11,7 +11,7 @@ module gfx_rop
input logic rop_waitrequest,
output logic rop_write,
- output logic[15:0] rop_writedata,
+ output mem_word rop_writedata,
output half_coord rop_address,
output linear_coord mask_addr,
@@ -26,8 +26,8 @@ module gfx_rop
} state;
logic hi;
+ mem_word color_hi, color_lo;
frag_paint hold;
- logic[15:0] color_hi, color_lo;
assign {color_hi, color_lo} = hold.color;