1
0
mirror of https://github.com/Gehstock/Mist_FPGA.git synced 2026-02-10 10:09:53 +00:00

Back to 2 pll Design for midway8080, menu looks better

This commit is contained in:
Marcel
2019-08-11 00:07:10 +02:00
parent 9553c9fd65
commit 82d956482c
121 changed files with 420885 additions and 1510725 deletions

View File

@@ -14,7 +14,9 @@ module APF_TV_Fun_MiST
input SPI_DI,
input SPI_SS2,
input SPI_SS3,
input CONF_DATA0
input CONF_DATA0,
input UART_RXD,
output UART_TXD
);
`include "rtl\build_id.v"
@@ -86,6 +88,7 @@ always @(*) begin
endcase
end
wire ltest;
ay38500NTSC ay38500NTSC(
.clk(clk_2),
.reset(~(buttons[1] | status[0] | status[9])),
@@ -110,14 +113,14 @@ ay38500NTSC ay38500NTSC(
.pinSquash(gameSquash),
.pinPractice(gamePractice),
.pinShotIn(1'b1),// todo
.pinHitIn(1'b0),// todo
.pinRifle1_DWN(Rifle1),// ?
.pinTennis_DWN(Rifle2),// ?
.pinRPin_DWN(RPin),
.pinLPin_DWN(LPin),
.pinRPin(m_right),// todo
.pinLPin(m_left)// todo
.pinShotIn(1),// todo
.pinHitIn(0),// todo
// .pinRifle1_DWN(Rifle1),// ?
// .pinTennis_DWN(Rifle2),// ?
// .pinRPin_DWN(1'b1),
.pinLPin_DWN(ltest),
.pinRPin(1'b1),// todo
.pinLPin(ltest ? UART_RXD : 1'b1)// todo
);
dac #(

View File

@@ -849,4 +849,4 @@ module ay38500NTSC(
//MC: Some changes to this line
wire mux1_100 = (!or81 & counter1_2005) | (!or80 & counter1_2001) | (!or79 & counter1_2003) | counter1_2002 | counter1_2004;//constants had to be added manually
wire mux2_100 = (!or81 & counter1_2005) | (!or85 & counter1_2001) | (!or83 & counter1_2003) | (!or84 & counter1_2002) | (!or82 & counter1_2004);
endmodule
endmodule