diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-11-19 00:16:34 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-11-19 00:16:34 -0600 |
| commit | e7193272ff90a62f58b13725eee10b0796192949 (patch) | |
| tree | 21f935d6d53aa34002de4f019cd5f1680cb408e7 /rtl/gfx/gfx_scanout.sv | |
| parent | b85aafbc7b3523862c78dd7b3d6deac8d639e61a (diff) | |
rtl/gfx: fix mem_address units to bytes instead of words
Diffstat (limited to 'rtl/gfx/gfx_scanout.sv')
| -rw-r--r-- | rtl/gfx/gfx_scanout.sv | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rtl/gfx/gfx_scanout.sv b/rtl/gfx/gfx_scanout.sv index a7aa71a..1d738c4 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 mem_word fb_readdata, + input vram_word fb_readdata, output logic fb_read, output half_coord fb_address, @@ -30,7 +30,7 @@ module gfx_scanout fb_ready, mask_fifo_ready, fb_fifo_valid, mask_fifo_valid, pop, put, put_mask, next_vsync, start_vsync, wait_vsync; - mem_word fb_fifo_out; + vram_word fb_fifo_out; half_coord commit_addr, mask_in_addr, mask_out_addr, mask_hold_addr, max_addr; assign mask_addr = mask_in_addr[$bits(mask_in_addr) - 1:$bits(mask_in_addr) - $bits(mask_addr)]; @@ -78,7 +78,7 @@ module gfx_scanout ); // 2x para evitar potencial overflow cuando fb_read=1 pero mask_fifo está llena - gfx_fifo #(.WIDTH($bits(mem_word)), .DEPTH(2 * `GFX_SCANOUT_FIFO_DEPTH)) fb_fifo + gfx_fifo #(.WIDTH($bits(vram_word)), .DEPTH(2 * `GFX_SCANOUT_FIFO_DEPTH)) fb_fifo ( .in(fb_readdata), .out(fb_fifo_out), |
