Skip to content

Gracana/vz80core

 
 

Repository files navigation

vz80core, a formally-verified Z80 core written in Verilog.

"The rules of magic were about as regular as the instruction set on a Z80."
-- Wizard's Bane, Rick Cook, 1997

Not much documentation here, since it's still a work in progress and will likely change radically from time to time. Still, there's some information in each file, and especially in z80fi_tests.md.

You will need:

  • yosys
  • Symbiyosys
  • yices2
  • boolector

Follow the instructions to install. It is highly recommended to follow those, especially for yosys since the git repo has many more fixes than the official release.

Generally tests are run as:

sudo sby -f sby-file

Changing the z80fi (Z80 Formal Interface) requires running z80fi_generate.py to generate lots of macros for bunches of signals.

Adding a new z80fi_insn_spec*.sv file also requires running the generator, since it creates the corresponding .sby file and adds the new instruction to the coverage test.

Some useful books:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SystemVerilog 95.9%
  • Python 3.8%
  • Verilog 0.3%