index.md 2.2 KB

Welcome

FPGC Logo

!!! warning

This Wiki is regularly outdated

Use the navigation menu to find the other Wiki pages.

What is FPGC?

FPGC (FPGA Computer) is my big hobby project. It is a computer where practically every part of it is designed and implemented by me, from the 1's and 0's in the ISA to the operating system, and from the PCB to the 3D printed enclosure.

Version 6

The largest change in the FPGC6 is the complete redesign of the CPU from the FPGC5 with more advanced techniques and performance in mind. The FPGC6 how has a pipelined CPU including hazard detection/forwarding, with a better architecture for running C code including better signed integer support. Eventually it will also have memory cache (L1 data and L1 instruction cache), which should drastically speed up performance because of the SDRAM bottleneck. The new CPU, called B32P, was recreated from scratch. Aside from the CPU, all other parts of the system are almost identical to the FPGC5, and the CPU itself still has all old instructions except for COPY implemented. This way, after updating the Assembler, almost all code will still work.

A lot of inspiration for the CPU is taken from MIPS, because many online resources on more advanced CPU techniques like pipelining and caching use MIPS as example. As for implementation specific inspiration, I looked a lot at mips-cpu by jmahler, since it is a good example of a simple pipelined CPU.

Current state

  • Ready to design and add L1 cache
  • All code but the BCC Assembler work with the new CPU
  • Waiting for upgraded FPGA board to arrive (double SDRAM bandwidth and capacity, huge FPGA upgrade with almost 10x more block RAM!)
  • Need to add some folders from FPGC5 back to FPGC6

Project Links

FPGC6:

FPGC5: