aboutsummaryrefslogtreecommitdiff
path: root/basys3/basys3.srcs/ppu_pceg_consts.vhd
blob: 3a9775a90726073d49ef595d8bfc54e72b1add5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
library ieee;
use ieee.std_logic_1164.all;
use work.ppu_consts.all;

package ppu_pceg_consts is
	constant PPU_PCEG_TOTAL_STAGES : natural := 16;
	type ppu_sprite_bg_pl_state is (
		PL_BG_IDLE,
		PL_BG_BAM_ADDR,
		PL_BG_BAM_DATA,
		PL_BG_TMM_ADDR,
		PL_BG_TMM_DATA);
	type ppu_sprite_fg_pl_state is (
		PL_FG_IDLE,
		PL_FG_TMM_ADDR,
		PL_FG_TMM_DATA);
	type ppu_sprite_fg_hit_pl_state is (
		PL_HIT_INACCURATE,
		PL_HIT_ACCURATE);
end package ppu_pceg_consts;