Close
0%
0%

16-bit CPU built in Logisim

[Redesign]: A 16 bit RISC processor built with a logic simulator

Similar projects worth following
I started this project wanting to better understand how computers work at the logic level. I originally bit off more than I could chew, attempting to implement what I called RISC, which was really more CISC, and a pipeline (the pipeline was the biggest oops). That being said, I am building a simpler design that is still quite functional.

The processor deals with data in 16-bit words. All scalar values are represented in 16 bits.

My instruction word is 16 bits, 4 of which are opcode, the next two define whether or not the operands are immediate values. The final 9 bits are divided into two or three parts. When the operation is unary, the upper 6 bits of the twelve are used as a cache address or immediate value (depending on the opcode), and the other 3 a register address. When the operation is binary, the 9 bits are divided into 3 chunks of 3 bits, the first being operand1, the second operand2, and the third a register address for the result.

Enjoy this project?

Share

Discussions

Reed Foster wrote 09/16/2015 at 04:48 point

Hi @prijazendom,

Because the cpu was built in a graphical user interface, there isn't necessarily any code. Also, since the project isn't actually complete (I've stopped working on it), I don't have any file that you could load into the simulator.

  Are you sure? yes | no

prijazendom wrote 09/15/2015 at 21:18 point

Probabl stupid question - can I get code somewhere ?

  Are you sure? yes | no

jay_zee102188 wrote 12/27/2014 at 21:39 point

Logisim, that is the name of the application.

Here is a download link:

http://download.cnet.com/Logisim/3001-20414_4-75305696.html?hasJs=n&hlndr=1&dlm=0

  Are you sure? yes | no

Hacker404 wrote 12/13/2014 at 22:06 point
What logic simulator are you using?

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates