diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-10-27 05:02:31 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-10-27 05:55:04 -0600 |
| commit | a1135fc271f503bdc85508211c12201a38c646b8 (patch) | |
| tree | 241114055a5012b0053cf8ffe0c9b371c1db0ab0 /rtl/gfx/gfx.sv | |
| parent | ebd3ef9b8ebe6c19d0965c3d5ee741c725180f85 (diff) | |
rtl/gfx: fix linear combiner
Diffstat (limited to 'rtl/gfx/gfx.sv')
| -rw-r--r-- | rtl/gfx/gfx.sv | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rtl/gfx/gfx.sv b/rtl/gfx/gfx.sv index 1974991..0d16552 100644 --- a/rtl/gfx/gfx.sv +++ b/rtl/gfx/gfx.sv @@ -44,9 +44,9 @@ module gfx always_ff @(posedge clk) begin if (cmd_write) begin if (cmd_address[4]) - a[cmd_address[3:2]][cmd_address[1:0]] <= writedata; - else b[cmd_address[3:2]][cmd_address[1:0]] <= writedata; + else + a[cmd_address[3:2]][cmd_address[1:0]] <= writedata; end if (done) |
