diff --git a/hw/cheshire_pkg.sv b/hw/cheshire_pkg.sv index e70f5a440..185a06a0b 100644 --- a/hw/cheshire_pkg.sv +++ b/hw/cheshire_pkg.sv @@ -631,10 +631,10 @@ package cheshire_pkg; LlcOutConnect : 1, LlcOutRegionStart : 'h8000_0000, LlcOutRegionEnd : 64'h1_0000_0000, - // VGA: RGB332 - VgaRedWidth : 3, - VgaGreenWidth : 3, - VgaBlueWidth : 2, + // VGA: RGB565 + VgaRedWidth : 5, + VgaGreenWidth : 6, + VgaBlueWidth : 5, VgaHCountWidth : 24, // TODO: Default is 32; is this needed? VgaVCountWidth : 24, // TODO: See above VgaBufferDepth : 16, diff --git a/target/xilinx/src/cheshire_top_xilinx.sv b/target/xilinx/src/cheshire_top_xilinx.sv index 563f2f5f7..b04940522 100644 --- a/target/xilinx/src/cheshire_top_xilinx.sv +++ b/target/xilinx/src/cheshire_top_xilinx.sv @@ -93,9 +93,6 @@ module cheshire_top_xilinx import cheshire_pkg::*; ( cheshire_cfg_t ret = DefaultCfg; ret.RtcFreq = 1000000; ret.SerialLink = 0; - ret.VgaRedWidth = 5; - ret.VgaGreenWidth = 6; - ret.VgaBlueWidth = 5; `ifdef USE_USB ret.Usb = 1; `else