From a1135fc271f503bdc85508211c12201a38c646b8 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Fri, 27 Oct 2023 05:02:31 -0600 Subject: rtl/gfx: fix linear combiner --- rtl/gfx/gfx.sv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rtl/gfx/gfx.sv') 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) -- cgit v1.2.3