Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Simple way of connecting cellular automata?

Thread Tools

Simple way of connecting cellular automata?

Posts: n/a
Hi, I'm writing a little test program for an array of 64 cellular automata
for generating random numbers. The CA I've chosen has a connectivity of
{-7,0,11,17} with cyclic boundary conditions, that is, for example, the cell
number 20 has as input the outputs of cells {13,20,31,37}, and cell number
60 {53,60,7,13} (and so on for every cell). I'd rather not connect every
cell by hand, it'll be terribly tedious and easy to make mistakes
(expecially considering that this is just a test, and the real machine will
have 144 CA...)
So, is there an easy and automatic way of doing these connections?
In the test I wrote in C, the code was simply


where "rule50745" is the rule for the next state and "modulo" is just

int modulo(int num){
int out=num;
else if(num>=L){out=num-L;}
return out;}

Any idea? Thx,


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
J2ME - UDP/Datagram - Siemens TC45 cellular engine Jonas Hei Java 1 06-14-2004 09:55 PM
access cellular phone from pc f Java 4 02-19-2004 11:10 PM