Z-80 computer with Dartmouth-style BASIC as the terminal's console
SW15 switches the terminal from the PC's serial line to a Z-80 running at 90 MHz from its own clock, with 64 KB of block RAM preloaded with BASIC. - rtl/z80_cpu.v: Z-80 built for speed (one clock per memory access, next byte read during decode), full documented instruction set plus the common undocumented forms; no interrupts. - rtl/z80_system.v: RAM, console/timer/7-segment ports, toggle handshakes to the terminal clock. - basic/: BASIC interpreter in C for SDCC, start-up code, prebuilt image. - tools/z80emu.py, tools/cputest.py, scripts/cpusim.sh: reference emulator and random tests comparing the CPU after every instruction. - SW14 feeds the PC's UART into the Z-80 for pasting programs; BTND resets the Z-80 only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1e4e2101b8
commit
59d5e617f2
20 files changed
+68756
-48
No files matched your search
@@ -57,6 +57,7 @@ set_property -dict { PACKAGE_PIN W4 IOSTANDARD LVCMOS33 } [get_ports {an[3]}]
|
||||
## Buttons
|
||||
set_property -dict { PACKAGE_PIN U18 IOSTANDARD LVCMOS33 } [get_ports btnC]
|
||||
set_property -dict { PACKAGE_PIN T18 IOSTANDARD LVCMOS33 } [get_ports btnU]
|
||||
set_property -dict { PACKAGE_PIN U17 IOSTANDARD LVCMOS33 } [get_ports btnD]
|
||||
|
||||
## VGA
|
||||
set_property -dict { PACKAGE_PIN G19 IOSTANDARD LVCMOS33 } [get_ports {vgaRed[0]}]
|
||||
@@ -83,7 +84,11 @@ set_property -dict { PACKAGE_PIN C17 IOSTANDARD LVCMOS33 PULLUP true } [get_por
|
||||
set_property -dict { PACKAGE_PIN B17 IOSTANDARD LVCMOS33 PULLUP true } [get_ports PS2Data]
|
||||
|
||||
## Asynchronous / human-speed I/O
|
||||
set_false_path -from [get_ports {btnC btnU sw[*] RsRx PS2Clk PS2Data}]
|
||||
set_false_path -from [get_ports {btnC btnU btnD sw[*] RsRx PS2Clk PS2Data}]
|
||||
|
||||
# The Z-80 clock is only crossed through synchronisers and toggle handshakes.
|
||||
set_clock_groups -asynchronous -group [get_clocks sys_clk_pin] \
|
||||
-group [get_clocks -of_objects [get_pins cpu_mmcm/CLKOUT0]]
|
||||
set_false_path -to [get_ports {led[*] seg[*] dp an[*] RsTx}]
|
||||
|
||||
## Configuration
|
||||
|
||||
Reference in new issue
Block a user