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 | |
parent | db386aab71014ffb37fb24e02c4b8a9194a0b4f9 (diff) |
no clock output while reset high in pceg
Diffstat (limited to 'basys3')
-rw-r--r-- | basys3/basys3.srcs/ppu_pceg.vhdl | 6 | ||||
-rw-r--r-- | basys3/basys3.xpr | 2 |
2 files changed, 4 insertions, 4 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; diff --git a/basys3/basys3.xpr b/basys3/basys3.xpr index a08109b..1a6d509 100644 --- a/basys3/basys3.xpr +++ b/basys3/basys3.xpr @@ -59,7 +59,7 @@ <Option Name="IPStaticSourceDir" Val="$PIPUSERFILESDIR/ipstatic"/> <Option Name="EnableBDX" Val="FALSE"/> <Option Name="DSABoardId" Val="basys3"/> - <Option Name="WTXSimLaunchSim" Val="2"/> + <Option Name="WTXSimLaunchSim" Val="4"/> <Option Name="WTModelSimLaunchSim" Val="0"/> <Option Name="WTQuestaLaunchSim" Val="0"/> <Option Name="WTIesLaunchSim" Val="0"/> |