diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-11-22 08:25:44 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-11-22 08:25:44 -0600 |
| commit | 08d2e52cd0120e5a04656cd7c180fc3f1c1f3117 (patch) | |
| tree | 5d8cc9c10ecd7c9a0e4cd5eb0e5a8f8ae89bafaf /rtl/gfx/gfx_mem.sv | |
| parent | 60e7f0faeacbb471dde4cb6b25743bc29e99bb44 (diff) | |
rtl/gfx: add command registers for dual fb addresses
Diffstat (limited to 'rtl/gfx/gfx_mem.sv')
| -rw-r--r-- | rtl/gfx/gfx_mem.sv | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rtl/gfx/gfx_mem.sv b/rtl/gfx/gfx_mem.sv index 0176858..fbca2fa 100644 --- a/rtl/gfx/gfx_mem.sv +++ b/rtl/gfx/gfx_mem.sv @@ -23,11 +23,11 @@ module gfx_mem input logic rop_write, input vram_word rop_writedata, - input half_coord rop_address, + input vram_addr rop_address, output logic rop_waitrequest, input logic fb_read, - input half_coord fb_address, + input vram_addr fb_address, output logic fb_waitrequest, fb_readdatavalid, output vram_word fb_readdata, @@ -175,7 +175,7 @@ module gfx_mem if (fb_read) begin fb_waitrequest = !in_ready; - trans_in.address = {5'd0, fb_address}; + trans_in.address = fb_address; end else if (batch_read) begin batch_waitrequest = !in_ready; trans_in.address = batch_address; @@ -183,7 +183,7 @@ module gfx_mem rop_waitrequest = !in_ready; trans_in.write = 1; - trans_in.address = {5'd0, rop_address}; + trans_in.address = rop_address; trans_in.writedata = rop_writedata; end else if (fetch_read) begin fetch_waitrequest = !in_ready; |
