CPU proof of concept

liq3
Hello World
Hello World
Posts: 5

CPU proof of concept

Post#1 » 30 Aug 2018, 20:03

Basic proof of concept of a CPU. Could be expanded to actually do something useful. If you have any questions feel free to ask.
Gladiabots_2018-08-31_03-49-18.png
Gladiabots_2018-08-31_03-49-18.png (904.41 KiB) Viewed 689 times

Overview
Gladiabots_2018-08-31_03-51-52.png
Gladiabots_2018-08-31_03-51-52.png (592.73 KiB) Viewed 689 times

The top part is the ROM + Program counter (only 2-bit atm). Bottom right with the ally base is a program control. A is to add, B to write.

The ROM has a program that adds fibonacci up to 21 using a loop. It doesn't stop.
Gladiabots_2018-08-31_03-56-08.png
Gladiabots_2018-08-31_03-56-08.png (654.01 KiB) Viewed 689 times

A closer view of the 5 bit adder.
Gladiabots_2018-08-31_03-56-41.png
Gladiabots_2018-08-31_03-56-41.png (633.29 KiB) Viewed 689 times

This copies the output of the adder to one of the 'registers' (ally MG or ally sniper) if the write bit is set.
Gladiabots_2018-08-31_03-57-19.png
Gladiabots_2018-08-31_03-57-19.png (397.75 KiB) Viewed 689 times

Clears a bunch of data that needs to be reset at the end of a cycle.

ElvenMonk
Neural Network
Neural Network
Posts: 238

Re: CPU proof of concept

Post#2 » 30 Aug 2018, 20:24

Call the Viy (DjSapsan)

User avatar
DjSapsan
Script
Script
Posts: 48

Re: CPU proof of concept

Post#3 » 10 Sep 2018, 09:02

How I missed this? Great work!
We can combine our power to make something powerful. What do you think?

User avatar
Revenge
Neural Network
Neural Network
Posts: 403
Contact:

Re: CPU proof of concept

Post#4 » 10 Sep 2018, 21:11

What exactly could this do...?

Return to “General Discussions”

Who is online

Users browsing this forum: No registered users and 1 guest