View unanswered posts | View active topics It is currently Thu Mar 28, 2024 3:11 pm



Reply to topic  [ 7 posts ] 
 7 bit Homebrew CPU Designed for Functional Programming 
Author Message

Joined: Sun Oct 18, 2015 6:53 pm
Posts: 7
Two years and still in the making...

FunCPU is a seven bit homebrew processor with unique, unconventional design to natively support functional programming in machine language. It employs a tagged architecture, it does not have registers, of which contents are exposed to the programmer. It has three built-in functions (increment, decrement, if-then-else), and another 32 user-defined functions can be entered. It has 256 bytes of memory, it supports 7 bit numerical integer precision. Despite its simplicity FunCPU can be considered a fully fledged computational device in a sense that it is Turing-complete.

Here is the project log, enjoy:
http://funcpu.blogspot.hu/p/funcpu-7-bi ... ed-to.html


Sun Oct 18, 2015 7:03 pm
Profile

Joined: Wed Jan 09, 2013 6:54 pm
Posts: 1780
I like it! Please could you illustrate with a simple program?

Edit:
Control panel overview: http://funcpu.blogspot.hu/2014/10/funcp ... panel.html
Video: http://funcpu.blogspot.hu/2014/11/funcp ... sions.html
Architecture: http://funcpu.blogspot.hu/2014/05/funcp ... ncept.html
Defining addition: http://funcpu.blogspot.hu/2014/08/funcp ... cates.html
Computing 1+1: http://funcpu.blogspot.hu/2014/09/funcp ... ng-11.html


Sun Oct 18, 2015 8:17 pm
Profile

Joined: Sun Oct 18, 2015 6:53 pm
Posts: 7
The ALU and register modules are still being tested. The micro-sequencer has not yet been completed, not even started, althought it has been designed. Basically, this is the only component, which is missing, no big deal, just a couple of chips. But still as this is a dynamic component as opposed to the static ones, e.g ALU and register modules, I expect to face difficulties to get this done. Not to mention the whole integration, when every module is connected and FunCPO goes live. Once everything is ready I will be giving some video tutorials similar to the one on entering expression. Thank you for your patience.


Mon Oct 19, 2015 4:40 pm
Profile

Joined: Sun Oct 18, 2015 6:53 pm
Posts: 7
FunCPU V2 is working now. Had some issues with version 1.

Some videos:

Simple expressions:
https://www.youtube.com/watch?v=zOeZIx2Vs0c

Simple functions:
https://www.youtube.com/watch?v=Cgq83L2COyc

A little bit more sophisticated functions:
https://www.youtube.com/watch?v=luKIcU1y5lM


Mon Nov 27, 2017 7:37 pm
Profile

Joined: Thu Apr 04, 2019 6:20 pm
Posts: 22
cute design! love to see more info on the hardware implementation!


Tue Apr 09, 2019 11:59 pm
Profile

Joined: Sun Oct 18, 2015 6:53 pm
Posts: 7
Thank you for the kind words.

Here is the front panel as it was originally planned:
Image

Here one can see the modules scattered all around of version 1.
Image

It was my first attempt, and resulted in a rather chaotic design and implementation. It is needless to say that it was not working. It almost worked, but not quite.

I created a new version. Version 2 had to be rebuilt it from scratch, using a little more reliable and disciplined approach. Here is the register module of the second build:
Image

It is constructed from four modules plus the control board, using 74HC components and 4 EPROMs (3 used for micro-sequencer and one for the tokenizer for the tagged architecture) and one 32K SRAM.

The modules are stacked one on another. They are interconnected via 3 buses each with 40 pins.

Here one can see the stacked boards. Please notice that testing can be done just by looking at the 120 exposed pins. These pins more or less describe the full behaviour of the CPU at any moment in time.
Image

Approximately 30 ICs were used for the CPU itself, and another 15 ICs were required to implement the interface. (These 45 components include the ROMs and RAM as well). This is needed to communicate with the CPU, i.e. to enter and read data.


Wed Apr 24, 2019 5:32 pm
Profile

Joined: Thu Apr 04, 2019 6:20 pm
Posts: 22
love the front panel!!!


Wed Apr 24, 2019 8:28 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software