Skip to content

Commit f3e5f58

Browse files
authored
hw: Default on VGA with RGB565 (#151)
1 parent 74174cf commit f3e5f58

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

hw/cheshire_pkg.sv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -631,10 +631,10 @@ package cheshire_pkg;
631631
LlcOutConnect : 1,
632632
LlcOutRegionStart : 'h8000_0000,
633633
LlcOutRegionEnd : 64'h1_0000_0000,
634-
// VGA: RGB332
635-
VgaRedWidth : 3,
636-
VgaGreenWidth : 3,
637-
VgaBlueWidth : 2,
634+
// VGA: RGB565
635+
VgaRedWidth : 5,
636+
VgaGreenWidth : 6,
637+
VgaBlueWidth : 5,
638638
VgaHCountWidth : 24, // TODO: Default is 32; is this needed?
639639
VgaVCountWidth : 24, // TODO: See above
640640
VgaBufferDepth : 16,

target/xilinx/src/cheshire_top_xilinx.sv

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ module cheshire_top_xilinx import cheshire_pkg::*; (
9393
cheshire_cfg_t ret = DefaultCfg;
9494
ret.RtcFreq = 1000000;
9595
ret.SerialLink = 0;
96-
ret.VgaRedWidth = 5;
97-
ret.VgaGreenWidth = 6;
98-
ret.VgaBlueWidth = 5;
9996
`ifdef USE_USB
10097
ret.Usb = 1;
10198
`else

0 commit comments

Comments
 (0)