diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-02-18 15:14:50 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-02-18 15:14:50 +0100 |
commit | 08efcdf63f78bbf78587b4d6e93d492abd4988f4 (patch) | |
tree | 5d598ba56e62f6f971b8b5676a22ecd11a83d7f0 /basys3/basys3.srcs | |
parent | db386aab71014ffb37fb24e02c4b8a9194a0b4f9 (diff) |
no clock output while reset high in pceg
Diffstat (limited to 'basys3/basys3.srcs')
-rw-r--r-- | basys3/basys3.srcs/ppu_pceg.vhdl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basys3/basys3.srcs/ppu_pceg.vhdl b/basys3/basys3.srcs/ppu_pceg.vhdl index a5b86ae..9675e5b 100644 --- a/basys3/basys3.srcs/ppu_pceg.vhdl +++ b/basys3/basys3.srcs/ppu_pceg.vhdl @@ -17,9 +17,9 @@ architecture Behavioral of ppu_pceg is signal state: states := PL_SPRITE; begin -- output drivers - SPRITE <= CLK when state = PL_SPRITE else '0'; - COMP_PAL <= CLK when state = PL_COMP_PAL else '0'; - DONE <= '1' when state = PL_DONE else '0'; + SPRITE <= CLK when RESET = '0' and state = PL_SPRITE else '0'; + COMP_PAL <= CLK when RESET = '0' and state = PL_COMP_PAL else '0'; + DONE <= '1' when RESET = '0' and state = PL_DONE else '0'; process(CLK, RESET) variable CLK_IDX: natural range 0 to PPU_PL_TOTAL_STAGES+1 := 0; |