Skip to content

Commit

Permalink
Small Adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Feuerwerk committed Aug 22, 2017
1 parent 9e46873 commit 076db3f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ nes.map
*.hex
nes_description.txt
output_file.map
nes.qws
4 changes: 2 additions & 2 deletions nes.qsf
Original file line number Diff line number Diff line change
Expand Up @@ -677,5 +677,5 @@ set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to GPIO[21]
set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top
set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top
set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top
set_global_assignment -name SLD_FILE db/stp_auto_stripped.stp
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
set_global_assignment -name SLD_FILE db/stp_auto_stripped.stp
10 changes: 5 additions & 5 deletions ppu.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ architecture behavioral of ppu is
constant NULL_SPRITE : sprite_t := (x => x"00", tile_low => x"00", tile_high => x"00", priority => '0', palette => "00", pixel => "00");
constant SKIP_DOT_CYCLE : integer := 339;
constant ENABLE_NMI_WRITE_CYCLE : integer := 0;
constant PPUSTATUS_READ_CYCLE : integer := 0;
constant VBLANK_SET_CYCLE : integer := 1;
constant VBLANK_CLEAR_CYCLE : integer := 1;
constant SPR0HIT_CLEAR_CYCLE : integer := 0;
constant SPROVFW_CLEAR_CYCLE : integer := 0;
constant PPUSTATUS_READ_CYCLE : integer := 1; -- 0
constant VBLANK_SET_CYCLE : integer := 0; -- 1
constant VBLANK_CLEAR_CYCLE : integer := 0; -- 1
constant SPR0HIT_CLEAR_CYCLE : integer := 0; -- 0
constant SPROVFW_CLEAR_CYCLE : integer := 0; -- 0
constant MAX_DECAY : integer := 3192000;

type decay_array_t is array (0 to 7) of integer range 0 to MAX_DECAY;
Expand Down

0 comments on commit 076db3f

Please sign in to comment.