Parcourir la source

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 il y a 5 ans
Parent
commit
226cf1edb4
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  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,