Explorar o código

projects/rgb_panel: Fix error in fbw_data declaration

This wasn't updated to properly reflect the actual bitdepth

Thanks to @kbob for pointing it out.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut %!s(int64=5) %!d(string=hai) anos
pai
achega
226cf1edb4
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      projects/rgb_panel/rtl/vgen.v
  2. 1 1
      projects/rgb_panel/rtl/vstream.v

+ 1 - 1
projects/rgb_panel/rtl/vgen.v

@@ -59,7 +59,7 @@ module vgen #(
 	input  wire fbw_row_rdy,
 	output wire fbw_row_swap,
 
-	output wire [23:0] fbw_data,
+	output wire [BITDEPTH-1:0] fbw_data,
 	output wire [LOG_N_COLS-1:0] fbw_col_addr,
 	output wire fbw_wren,
 

+ 1 - 1
projects/rgb_panel/rtl/vstream.v

@@ -54,7 +54,7 @@ module vstream #(
 	input  wire fbw_row_rdy,
 	output wire fbw_row_swap,
 
-	output wire [23:0] fbw_data,
+	output wire [BITDEPTH-1:0] fbw_data,
 	output wire [LOG_N_COLS-1:0] fbw_col_addr,
 	output wire fbw_wren,