Forums - Open Redstone Engineers
RC8001, an 8 Bit CPU - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: ORE General (https://forum.openredstone.org/forum-39.html)
+--- Forum: Projects & Inventions (https://forum.openredstone.org/forum-19.html)
+---- Forum: Completed Projects (https://forum.openredstone.org/forum-21.html)
+---- Thread: RC8001, an 8 Bit CPU (/thread-15442.html)



RC8001, an 8 Bit CPU - Redstonecrafter2 - 09-25-2019

Hello,

I built an 8 Bit CPU in Minecraft called RC8001. 
Features:

-14 Function ALU

  -add
  -sub
  -inc
  -dec
  -cmp
  -not
  -xor
  -xnor
  -and
  -nand
  -or
  -nor
  -shl
  -shr


ALU Flags:
-Zero
-Sign
-Negate
-Carry

4 General Purpose Registers (dual-read):
-Accumulator
-BX
-CX
-DX

32 Bytes of RAM with Adressdecoder, can be also used as LIFO-Stack

Jumpable Programcounter. 32 lines, 2 Programs, RAM based programable Program Memory. Single Step instructions.

Call and Return instructions for subroutines.
Interrupt capability.
Clockspeed 0,1Hz, 8 sec per Instruction
Decimal Display with BCD-Converter
Decimal Input Panel
I/O:

I/O-Mapping technology, up to 256 I/O Devices possible. 2 currently used, easily extendible.
I/O Port schematic included, so you can add them very esily if you need more devices, without building anything to the CPU.
Flexible addressing system, there's no need for a decoder, it's an addressing system where you can set the address of the I/O-Port by levers.

Demonstration video:
 


If the Video link here doesn't work: https://www.youtube.com/watch?v=ExhguaLdbN8

The download is included in the Video description. In the Download you get the Worlddownload, the I/O-Port Schematic and a User Manual, so you see how each instruction works and you know how to Program/use the CPU.


RE: RC8001, an 8 Bit CPU - GISED_Link - 09-26-2019

Hi,

I have seen the evolution of the project through minecraftproject.com. It was really nice to see the project moving forward day after day. Something that we usually don't see often. I hope I will find the time to take a look at your project. The first thing I wanna do is to change the binary_to_bcd converter to my sequential one and certainly change the bcd_to_7seg to a more compact one (should be faster as well).

I really dislike the "instant wire" traces... I hope we can remove it by using a better delay management of the CPU. But that's a big thing that maybe is not the most important thing yet.

Is it possible to import you project to this server? So we can easily copy/paste parts and share changes?

I would love to add my "word processor" and replace the ROM by my "eeprom"... With this it will be my dream processor


RE: RC8001, an 8 Bit CPU - Redstonecrafter2 - 09-26-2019

Thanks for that nice comment! Yeah a more compact and faster decoder for the display could be nice, especially if you can time it correctly so all signals reach at the same time, so you don't have any random scrambling of the segments, before it shows the correct number. But stuff like timing is usually my least favorite one, this is why I skip it most of the time. Tongue
Well, I used the instant wires for the clock signals, so those don't slow down the CPU so much, since they're also tied to the Main clock and I've to make sure, that the number get's stored before the next Instruction get's processed.
Well I'm actually not the guy that plays on servers, more the Singleplayer guy, but you can still download it and improve it if you want. Would be nice to see how you improve the design, to get a better result!


RE: RC8001, an 8 Bit CPU - GISED_Link - 09-27-2019

Is it ok for you that I import your project on this server ? It is better for me because I don't need to setup WE and other plugins and can talk with other people when things get complicated.


RE: RC8001, an 8 Bit CPU - Redstonecrafter2 - 09-27-2019

yes no problems with that.