Recall that he uses a high level language called SFL (the idea is higher productivity, and he wrote the 6502 core in a week.) Overtone supplies the SFL tools. For my purposes, a free 30-day non-profit license is enough...
The high-level sources - in SFL - are about 1100 lines, which compares favourably with Arlet's 1200 lines of verilog and retromaster's 2100 lines of VHDL. This high-level description is translated to about 2000 lines of low-level synthesisable verilog.
The synthesis results compare against those other two cores like this:
Code: Select all
flops slices LUTs RAM16 HDL Notes
A2601 138 467 840 0 vhdl by retromaster
m65 119 452 873 0 sfl by Naohiko Shimizu (O2 mode)
m65 122 549 1058 0 sfl by Naohiko Shimizu (default mode)
cpu.v 155 276 474 8 verilog by Arlet Ottens (not today's version!)
Code: Select all
Macro Statistics
# Registers : 36
1-bit register : 25
3-bit register : 1
8-bit register : 10
Macro Statistics
# Registers : 108
Flip-Flops : 108
Cheers
Ed
ps. Naohiko has presented various retro FPGA projects: PDP/11, Space Invaders, Apple 1, using his high level languages. See slides from ICCD 2009 and from ASEAN 2003