Header

6502 processor core in VHDL

[Front page] [BBC Mecca] [Links] [PIC micros] [FPGA workshop] [The dump] [Email]

On this page


What is it?

The Free-6502 core is a 6502 compatible CPU core.Its basic features are: It is based on version 0.7 of the Free-6502 with a little additional work to implement BCD mode arithmetic,plus a slightly repackaged version of the VHDL ready to use with the Xilinx Foundation M1.5 software.

Installing

For use with the Xilinx Foundation M1.5 software download the soft6502 project.This should be unzipped into the C:\fndtn\active\projects\ per usual.It contains a simple schematic using the core and the testrom and some i/o buffers.This can be used as a basis for other designs or at the very least as a quick way to evaluate the core: it's literally "take it out of the box and use it".

For use with other tools start with the pure VHDL original.

One of the slightly amusing parts of the design is the use of an Excel spreadsheet to describe the microcode,which is then exported and recycled into the VHDL required for the CPU core.


Statistics

With no special care taken towards optimising for area or speed,the default settings in the Xilinx Foundation M1.5 software produced a design with the characteristics as follows.

Implemented at 12.5MHz (using only a clk period constraint)

  1. Free6502 core only
    Used 563 CLBs (from 784 in a 4020XL-PQ160-2),71% full
  2. Free6502 core with my test ROM also
    Used 607 CLBs (from 784 in a 4020XL-PQ160-2),77% full

©2003 SPROW [Created 11-Oct-2003] | home
Valid HTML 4.01