aboutsummaryrefslogtreecommitdiff
path: root/basys3/basys3.srcs/ppu_pceg_consts.vhd
blob: 395c3867354c30b33746d9da41a7e7b93777ebc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
library ieee;
use ieee.std_logic_1164.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;