aboutsummaryrefslogtreecommitdiff
path: root/basys3/basys3.srcs/ppu_consts.vhd
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-03-12 19:46:49 +0100
committerlonkaars <loek@pipeframe.xyz>2023-03-12 19:46:49 +0100
commitb247b52429f2fc6aecd29539ec5afa0d47218147 (patch)
tree7b17a37202f595f6c7c718fd30846200fc606e19 /basys3/basys3.srcs/ppu_consts.vhd
parent57da22cb15825b975d9fac499138413550903b25 (diff)
upscaler test with coe initialized rom
Diffstat (limited to 'basys3/basys3.srcs/ppu_consts.vhd')
-rw-r--r--basys3/basys3.srcs/ppu_consts.vhd10
1 files changed, 5 insertions, 5 deletions
diff --git a/basys3/basys3.srcs/ppu_consts.vhd b/basys3/basys3.srcs/ppu_consts.vhd
index 8e9b494..4784950 100644
--- a/basys3/basys3.srcs/ppu_consts.vhd
+++ b/basys3/basys3.srcs/ppu_consts.vhd
@@ -52,15 +52,15 @@ package ppu_consts is
constant PPU_PL_TOTAL_STAGES : natural := 14;
-- VGA signal timings (https://tomverbeure.github.io/video_timings_calculator)
constant PPU_VGA_H_ACTIVE : natural := PPU_NATIVE_SCREEN_WIDTH;
- constant PPU_VGA_H_PORCH_FRONT : natural := 8;
- constant PPU_VGA_H_SYNC : natural := 96;
- constant PPU_VGA_H_PORCH_BACK : natural := 40;
+ constant PPU_VGA_H_PORCH_FRONT : natural := 96;
+ constant PPU_VGA_H_SYNC : natural := 16;
+ constant PPU_VGA_H_PORCH_BACK : natural := 48;
constant PPU_VGA_H_BLANK : natural := PPU_VGA_H_PORCH_FRONT + PPU_VGA_H_SYNC + PPU_VGA_H_PORCH_BACK;
constant PPU_VGA_H_TOTAL : natural := PPU_VGA_H_BLANK + PPU_VGA_H_ACTIVE;
constant PPU_VGA_V_ACTIVE : natural := PPU_NATIVE_SCREEN_HEIGHT;
- constant PPU_VGA_V_PORCH_FRONT : natural := 2;
+ constant PPU_VGA_V_PORCH_FRONT : natural := 10;
constant PPU_VGA_V_SYNC : natural := 2;
- constant PPU_VGA_V_PORCH_BACK : natural := 25;
+ constant PPU_VGA_V_PORCH_BACK : natural := 29;
constant PPU_VGA_V_BLANK : natural := PPU_VGA_V_PORCH_FRONT + PPU_VGA_V_SYNC + PPU_VGA_V_PORCH_BACK;
constant PPU_VGA_V_TOTAL : natural := PPU_VGA_V_BLANK + PPU_VGA_V_ACTIVE;
constant PPU_VGA_SIGNAL_PIXEL_IDX_MAX : natural := PPU_VGA_V_TOTAL * PPU_VGA_H_TOTAL; -- horizontal and vertical pixel clock index