Engineer application - san_guan

Minecraft name:
SAN_guan
What’s a thing you have made which demonstrates sufficient engineering knowledge?:
me made a cpu

brief introduction:
this is a cpu with 4 stage pipeline and the four stage is fetch , decode , execute and writeback
have 16 regesters for alu to use (its 32 regsters but a and b regsters use the same write address )
use 16 bit command to run (4bit is opcode , 4bit is writeback address ,other 8bit is imm and read address)
have 8 i/o part (use 4bit addr so can extend more than 8 )
up to 127 command for prom (7bit address)
the ram have 64 spaces for cpu to use

some features it have:
can do (add sub ani adi and xor or ) some easy math and logic operation
it have the forwarding so can solve the data hazard problem
have 4 bit branch flag (lsb , msb , zero , cin) for command to use
can use pointer to jump
What engineering work went into designing this device?:
it was a bold attempt to break away from some of my previous cpu designs
when me start build it me want :
1 this cpu need use four stage pipeline to work
2 the cpu clock need less than 30 ticks
3 need have the i/o part and can use command to control
4 use 16bit length for instruction
5 have forwarding feature
this cpu have more fast clock cycle (my designed the cpu earlier need very long clock cycle because they are single-cycle cpu)
I consulted a lot of books about how a pipeline cpu works, asked my school computer technology teacher for more useful knowledge, and my friends from ORE also recommended me some very well-designed cpus for me to learn how it work
in fact this cpu is the second version for me build
when i finish the first one and try to run some program it crush because my program have data hazard
so me add 2 mux for alu 2 input and use the write address and read address to decide next data will from where

my instruction just have 16 bit so cant use instruction direct to control the ram because ram have 7 bit address and opcode have 4 bits the remaining 5bit maybe not enough to support some of my operations , so i use 2 regesters help me indirect use the ram , one register give ram write/read address and one register give ram data or store data from ram output

the biggest challenge for me is to solve the data hazard and ram problem so i think this 2 are the biggest engineering and challenges in this cpu

Image/s and/or video/s of the device:

2 Likes

!!!!!

1 Like

it say me just can send 1 picture in my post because im new here

no u xdxd

2 Likes

and this

Correct me if I’m wrong, but you aren’t a builder yet, so you have to apply there first. (sorry if I’m wrong, I’m basing this off the fact that you haven’t posted yet lol)

but h3 h4:b: gr3n c1rc1

Can we know what the clock speed of this cpu is? And can you tell us what programs this cpu has run? That’d be really appriciated, thanks!

some questions:

  1. Do you have an ISA you can show for this cpu? either one online or a screenshot of an ISA built ingame? even a warp to the ISA would be nice
  2. what is the clock speed? you said you planned for it to be 30 ticks so i’m just assuming it is for now
  3. Do you have any programs you’ve wrote for this cpu? any sorting algorithms, any kind of program actually.

im so sorry for taking so long to reply you. these time im busy with my new cpu because me think this 1 is not the best i can make. i will post a new applycation under this post.
and answer ur question
1 this cpu (old one) clock speed is 25tick
2 it can run the bouncing_ball and some easy program

sorry! its my problem to take so long time to reply you. im busy with my new cpu these time because me think now this 1 is not the best. i will send a new applycation under this post.
answer your question
1 the cpu clock speed is 25tick
2 the ISA is here (i forget upload ISA)
isa 2

3 up to now this cpu just can run bouncing_ball and other easy program(thats why me want build a new better cpu)

here is a link about me new cpu:

this video have lot of important information about me new cpu.
and if know other thing about it can send post under post
me use longtime make video and put the cpu introduce and work video here

The ISA looks decent. Given that you are stating the clockspeed is 25 ticks, I assume the CPU does not have an instruction pipeline.
About the new CPU: I don’t speak chinese and neither do most members afaik.
As you claim 1 Hz, does that new CPU have a 10 (Redstone-) Tick clock?
Does it use pipelining?
Is the ISA the same, or did you add features like
-Branch prediction of some sort
-A way of calling functions (via callstack, or jumping to a location specified in accessible memory)

If it does have a pipeline, how many stages is it and what does each stage do?

that old cpu have 4 stage pipeline but me not assign each unit work well so it use long clock cycle time ,im not very happy with this cpu so come build a new cpu who happy with it.

answer your question about the new cpu :
1 yes it have 10t clock.
2 yes it use the pipeline with 3 stage.
3 isa is not same me add more instruction like (bsh,lpc,brc…) in new cpu isa.
4 3 pipeline stage is (fetch,decode,execute/writeback) execute and writeback run in the same clock stage.

1 Like

generally, most don’t really consider writeback to be a stage as it is mostly a write with a delay. Not that it matters much.

Also, in response to trecar, you have to be mindful about how your branch interacts with your cpu. As a general note, hardware solutions give you more points than software solutions. Don’t be afraid to ask. most think too hard about a solution that is already common among most builders.

me make 2 new program with use the call instruction
here is the picture


and here me cant send video so me change the mp4 to gif file
递归斐波那契算法
递归快速排序算法

3 Likes

If you are ready, can you give a warp to your cpu? I generally inspect things first before accepting.

now me move the cpu to ore ready. can do /warp guanpu to tp me cpu.
hope you will accept

me make a program about mandelbrot set render

4 Likes

wtf are you smoking, they are a builder lol

1 Like