You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/fpga/core/rtl/chip/SA1/SA1.vhd
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -575,8 +575,8 @@ begin
575
575
endcase;
576
576
endprocess;
577
577
578
-
SA1_BWRAM_WE <='1';--CBWE(7) when (P65_A(17 downto 8) and not BWRAM_WP_MASK) = "0000000000" and P65_A(23 downto 20) = x"4" else '1';--?? Kirby's Dream Land 3 enables write protection for SA-1, but does write to protected area
579
-
SNES_BWRAM_WE <= SBWE(7) when (SNES_A(17downto8) andnot BWRAM_WP_MASK) ="0000000000"and SNES_A(23downto20) =x"4"else'1';
578
+
SA1_BWRAM_WE <=SBWE(7) orCBWE(7) when (P65_A(17downto8) andnot BWRAM_WP_MASK) ="0000000000"and P65_A(23downto20) =x"4"else'1';
579
+
SNES_BWRAM_WE <= SBWE(7) or CBWE(7) when (SNES_A(17downto8) andnot BWRAM_WP_MASK) ="0000000000"and SNES_A(23downto20) =x"4"else'1';
580
580
BWRAM_A <= CC1_BWRAM_RD_ADDR when CCDMA_SRC_BWRAM_SEL ='1'else
581
581
SNES_BWRAM_MAP_A when SNES_BWRAM_SEL ='1'else
582
582
SDA(17downto0) when DMA_SRC_BWRAM_SEL ='1'and DMA_BWRAM_WAIT ='0'else
0 commit comments