Skip to content

Commit

Permalink
hw: Default on VGA with RGB565 (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsc96 authored Oct 2, 2024
1 parent 74174cf commit f3e5f58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 4 additions & 4 deletions hw/cheshire_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 0 additions & 3 deletions target/xilinx/src/cheshire_top_xilinx.sv
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3e5f58

Please sign in to comment.