Forums - Open Redstone Engineers
The Minegisim CPU Chi_40 - 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: In Progress (https://forum.openredstone.org/forum-20.html)
+---- Thread: The Minegisim CPU Chi_40 (/thread-1507.html)



The Minegisim CPU Chi_40 - Chibill - 12-07-2013

I am building a CPU in Logisim to see if it will work then in minecraft. The ALU is done in both. i also have the instruction set done. Also the PC is done in both.


RE: The Minegisim CPU Chi_40 - Chibill - 12-11-2013

I have the CPU started in Logisim but not minecraft I am going to build it all in Logisim then Minecraft.


RE: The Minegisim CPU Chi_40 - EDevil - 12-11-2013

Would you be okay to post the instruction set here? Im very interested :3


RE: The Minegisim CPU Chi_40 - Chibill - 12-11-2013

Okay it may be a bit confusing to some because before you can even do a coditional jump you need to load A and B


RE: The Minegisim CPU Chi_40 - Chibill - 12-14-2013

The IS a = address d = data
Code:
0000 0000 0000 Halt
0001 aaaa dddd Store
0010 aaaa 0000 Load A
0011 aaaa 0000 Load B
0100 dd00 0000 Invert Toggle 01 = A 10 = B
0101 0000 aaaa Add
0110 0000 aaaa Subtract
0111 0000 aaaa And
1000 0000 aaaa Or
1001 0000 aaaa Xor
1010 d000 0000 Shift Output 0 = left 1 = right
1011 aaaa d000 Jump 1--- = conditional uses a and b in ALU  the next 3 bits are greater then,equal to,less then.
1100 aaaa 0000 AXU out outputs a Value in Program mem to AXU port
1101 aaaa 0000 AXU in inputs the data from AXU port to program mem
1110 aaaa 0000 AXU out outputs a data value from Ram to the AXU port
1111 aaaa 0000 AXU in inputs a data value from AXU to RAM



RE: The Minegisim CPU Chi_40 - Chibill - 12-16-2013

I have rebuilt the ALU in Logisim to be exactly like the Minecraft version in that way it works.


RE: The Minegisim CPU Chi_40 - Chibill - 12-20-2013

Update i have the GPRs ready in logism and the super program memory storage designed for minecarft.