08-22-2013, 11:18 PM
(This post was last modified: 08-22-2013, 11:21 PM by WrytXander.)
It seems that I have finished my first CPU on ORE. In fact I have finished it quite some time ago, but debugging ad optimizing took "some" time. So here are the specs:
CPU Instruction Cycle Rate: 10 ticks or 1 second (aka 1Hz)
*8 tick works just fine, but after some time pistons start dropping blocks)
Accumulator: Yes
Bus bitwidth: 8 Bits
RAM: 4 bytes (4 addressable cells)
ROM approximetly 21 bytes
Instruction Set Architecture: RISC
Instruction Set Size: 11 bits
Operations: Add, Subtract, AND, NOR, OR, bitwise Left/Right shift/Accumulate/Halt
UI: Terrible :(
Now you might think: Hey Wryt, what the actual f***! This is not really a powerful computer. And boy you are right. This computer was designed to push the clock cycle speeds to its limits! And just like any computer it can perform operations, and handle memory. And runs at a flickering 10 ticks (8, if we lived in a hypotethical world where there was ne server lag).
What makes this so fast is that it uses what its called a "Software pipeline"! What this means is that I am going thru stages of execution in a pipeline that is not fixed in hardware, but handled by software which allows me to overclock the CPU!
And I am ending this thread by a quote from all might Benny!: "Clock speed != speed of the CPU" I will let you guys think that one thru, and tell me if my CPU is fast or not!
CPU Instruction Cycle Rate: 10 ticks or 1 second (aka 1Hz)
*8 tick works just fine, but after some time pistons start dropping blocks)
Accumulator: Yes
Bus bitwidth: 8 Bits
RAM: 4 bytes (4 addressable cells)
ROM approximetly 21 bytes
Instruction Set Architecture: RISC
Instruction Set Size: 11 bits
Operations: Add, Subtract, AND, NOR, OR, bitwise Left/Right shift/Accumulate/Halt
UI: Terrible :(
Now you might think: Hey Wryt, what the actual f***! This is not really a powerful computer. And boy you are right. This computer was designed to push the clock cycle speeds to its limits! And just like any computer it can perform operations, and handle memory. And runs at a flickering 10 ticks (8, if we lived in a hypotethical world where there was ne server lag).
What makes this so fast is that it uses what its called a "Software pipeline"! What this means is that I am going thru stages of execution in a pipeline that is not fixed in hardware, but handled by software which allows me to overclock the CPU!
And I am ending this thread by a quote from all might Benny!: "Clock speed != speed of the CPU" I will let you guys think that one thru, and tell me if my CPU is fast or not!