Browse 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 5 years ago
parent
commit
226cf1edb4
2 changed files with 2 additions and 2 deletions
  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,