Channels ▼

Jack Woehr

Dr. Dobb's Bloggers

SEAForth 40C18 Architecture

November 25, 2008

SEAForth 40C18 block diagram - intellasys.net - used w/ permission

This diagram comes from the Bay Area, not from the Qabbala. It is the block diagram of the SEAForth 40C18 . (View Image.)

SEA is for Scalable Embedded Array multicore processors and Forth is for Forth because you program these in a tiny Forth that fits the memory model of array processing.

It's called the 40C18 because it's forty C18 cores (an earlier Chuck Moore architecture was the C16) running asynchronously in a 4x10 matrix with N-S-E-W interprocessor communication automatically synchronized.Each core is an 18-bit dual-stack Forth machine with 32 opcodes, 64 words of local RAM, 64 words of local ROM, 18-bit registers and a 10-bit address bus.

Certain edge nodes can do various types of external I/O, which is how the chip can talk to the outside work beyond the data and address buses. No node internal to the matrix can do external I/O, hence programs are whispered down the lane from node to node. The interprocessor read address can be the program word fetch.

The stacks are 8 entries circular with a TOS and S (second-on-stack) regiser for the Data stack (making 10 total data stack positions) and R for the Return stack (making 9 total return stack positions). Circular means if you keep pushing you overwrite. As the 40C18 data sheet sublimely reads,

The concept of stacks being full or empty represents an assumption in software ... There is no hardware detection of stack overflow or underflow conditions.

A node can pass a program load to an adjacent (up, down, right, left) node including an load address and address which the receiving node should start execution. At any time, if the nodes agree to do so, a given node A can pass an instruction word to an adjacent node B which jumps to the port address for an instruction fetch. When A writes such a word, A sleeps until B reads and accepts; if B goes to read, B sleeps until A writes such a word.

Some previous posts about the SEAForth chips:

Posted:2008-11-11 19:00:00
The only one-word description that fits Chuck Moore's m...
Posted:2008-11-09 19:00:00
SEAforth 24 conceived of by Chuck Moore inventor of Forth almo...
Posted:2008-10-27 20:00:00
I have powered it up and have read the manual (which is a s...

Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 


Video