15 Commits

Author SHA1 Message Date
ikari
e9a11762d9 FPGA: General update of generated files 2023-02-03 01:37:32 +01:00
ikari
fcc1d78923 FPGA: Change MK3 FPGA clock input from 24MHz to 8MHz
Required to support STM32 clock output (MCO1) which cannot be fed and
prescaled from the CPU clock
2023-02-03 01:37:31 +01:00
ikari
e35792e068 FPGA: Bump Quartus version, update generated files 2021-07-29 23:06:25 +02:00
ikari
57797f341f FPGA: fix ROM address detection to exclude WRAM
(simply use /ROMSEL from SNES instead of manual decoding)
2021-07-28 11:09:49 +02:00
ikari
6b1a4254b1 FPGA: Mask data line toggling before data ready
On some occasions data output can be enabled before data is valid.
This results in needless data line toggling which in turn can cause
coupling into other signals, thereby potentially altering the ROM address
and putting wrong data on the bus, etc.
Use a narrowed output enable signal for SNES read cases to prevent this
effect.
2021-07-20 23:14:36 +02:00
ikari
3ccffb1fda Detect end of cycle based on longest enable pulse
CPU_CLK is substantially shorter than RD# during DMA transfers.
Access cycle end was previously based on falling edge of CPU_CLK.
This resulted in premature yielding of RAM access to the bus and in
consequence incorrect values leaking onto the bus.
2021-07-20 18:19:18 +02:00
ikari
6759ce7277 Update global & FPGA makefiles
avoid redundant rebuilding of FPGA cores
2020-10-20 23:15:54 +02:00
RedGuyyyy
a6588972e3 Merge remote-tracking branch 'origin/develop' into usb
# Conflicts:
#	verilog/sd2snes_base/main.v
#	verilog/sd2snes_mini/sd2snes_mini.xise
2019-07-05 12:57:06 -07:00
ikari
ab41f61374 FPGA: misc cleanup 2019-07-05 14:03:05 +02:00
ikari
df72413dcd FPGA: rearrange code to need less `ifdef blocks 2019-07-05 13:33:46 +02:00
ikari
a2171fd409 FPGA: separate Makefile process, environment, and core specific config 2019-07-05 13:30:06 +02:00
RedGuyyyy
572a83e01b Merge https://github.com/mrehkopf/sd2snes into usb
Fixed combo button based reset.
Added usb support for pro.

# Conflicts:
#	src/config
#	verilog/sd2snes_base/ipcore_dir/dac_buf.xco
#	verilog/sd2snes_base/ipcore_dir/msu_databuf.xco
#	verilog/sd2snes_base/ipcore_dir/snescmd_buf.v
#	verilog/sd2snes_base/ipcore_dir/snescmd_buf.xco
#	verilog/sd2snes_base/ipcore_dir/upd77c25_datram.xco
#	verilog/sd2snes_base/ipcore_dir/upd77c25_datrom.xco
#	verilog/sd2snes_base/ipcore_dir/upd77c25_pgmrom.xco
#	verilog/sd2snes_base/main.v
2019-05-23 19:57:42 -07:00
ikari
bd0f454bd3 Some amendments for consistency among Makefiles 2019-05-21 09:35:29 +02:00
Thomas Geiger
0828bca5cf Add binaries to gitignore for tools, u_int fixes, some Makefile optimizations 2019-05-20 15:42:28 +02:00
ikari
a01fb3d6a1 Revise project structure
Makefile based build for FPGA configurations, firmware, SuperCIC,
release packaging. Probably needs more polishing.
2019-05-20 00:33:28 +02:00