Permalink
Browse files

Add README.

  • Loading branch information...
1 parent 7153de2 commit e2c7231d7c410540d520feba1d7d549d106f665f @sybreon committed Apr 10, 2012
Showing with 46 additions and 0 deletions.
  1. +46 −0 README.md
View
@@ -0,0 +1,46 @@
+DCPU-16 Microprocessor
+======================
+
+Copyright (C) 2012 Shawn Tan <shawn.tan@sybreon.com>.
+All Rights Reserved.
+
+Released under LGPL3.
+
+Introduction
+------------
+
+This project is a hardware implementation of the DCPU-16
+microprocessor designed by Marcus Persson (@notch) for his new game
+0x10c.
+
+The core is written entirely in synthesisable Verilog RTL.
+
+Pipeline
+--------
+
+It has an 8-stage integer pipeline, split into two parts, each with
+4-stages. Each stage can run within a single clock cycle. Therefore,
+the maximum effective rate for executing an instruction is 4-clock
+cycles.
+
+* Fetch (FE) - fetches instructions from memory.
+* Decode (DE) - decodes the instruction.
+* Calc A (EA) - calculates the effective address for A.
+* Calc B (EB) - calculates it for B.
+* Load A (LA) - loads operand A.
+* Load B (LB) - loads operand B.
+* Execute (EX) - executes the instruction.
+* Store A (SA) - stores operand A.
+
+
+Synthesis
+---------
+
+Currently synthesises on a Spartan 6 to about:
+
+* 500 Slices @ 149 MHz
+
+Status
+------
+
+It is *not* FPGA proven, yet.

0 comments on commit e2c7231

Please sign in to comment.