rejunity / z80-open-silicon
- среда, 1 мая 2024 г. в 00:00:07
Z80 open-source silicon. Goal is to become a silicon proven, pin compatible, open-source replacement for classic Z80.
On April 15 of 2024 Zilog has announced End-of-Life for Z80, one of the most famous 8-bit CPUs of all time.
It is a time for open-source and hardware preservation community to step in with a Free and Open Source Silicon (FOSS) replacement for Zilog Z80.
GOAL: To develop a drop-in Z80 replacement in 8-bit home computers such as ZX Spectrum.
The first fabrication of FOSS Z80 is scheduled for June of 2024!
On the path to become a silicon proven, pin compatible, open-source replacement for classic Zilog Z80.
FOSS Z80 leverages OpenROAD flow and FOSS 130 nm Skywater PDK to synthesize production ready silicon. Tiny Tapeout infrastructure is used to test and pool design with many others to reduce the cost of physical chip fabrication at Skywater Foundries.
The first iteration is developed with Tiny Tapeout 07 using 130 nm process and fits on a 0.064 mm2 die area. The first fabrication is scheduled for June of 2024 as a part of CI 2406 Shuttle.
Check status here: https://app.tinytapeout.com/projects/668
The implementation is based around Guy Hutchison's TV80 Verilog core.
Below is the image of GDSII integrated circuit layout for FOSS Z80. It is the result of automatic place-and-route flow in OpenROAD using 130 nm "gates" logic elements.
Generated layout artifacts are in gds folder. You can use KLayout viewer to inspect them:
Follow the instructions from Tiny Tapeout's Testing Your Design Guide and install required packages.
sudo apt install iverilog verilator
pip3 install cocotb pytest
Next, run the testbench.
cd src
make
If you are succesfull, you should see the tests passing:
,-------.___.-------.
<-- A11 |1 40| A10 -->
<-- A12 |2 39| A9 -->
<-- A13 |3 Z80 CPU 38| A8 -->
<-- A14 |4 37| A7 -->
<-- A15 |5 36| A6 -->
--> CLK |6 35| A5 -->
<-> D4 |7 34| A4 -->
<-> D3 |8 33| A3 -->
<-> D5 |9 32| A2 -->
<-> D6 |10 31| A1 -->
VCC |11 30| A0 -->
<-> D2 |12 29| GND
<-> D7 |13 28| /RFSH -->
<-> D0 |14 27| /M1 -->
<-> D1 |15 26| /RESET <--
--> /INT |16 25| /BUSRQ <--
--> /NMI |17 24| /WAIT <--
<-- /HALT |18 23| /BUSAK -->
<-- /MREQ |19 22| /WR -->
<-- /IORQ |20 21| /RD -->
`-------------------'
Oral History Panel on the Founding of the Company and the Development of the Z80 Microprocessor
M. Shima on Demystifying Microprocessor Design
Tiny Tapeout is an educational project that aims to make it easier and cheaper than ever to get your digital designs manufactured on a real chip.
To learn more and get started, visit https://tinytapeout.com.