![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Daniel Nilsson
Subject: Re: Let's be logical about this... (~130 KB)
Date: 25 Mar 2003 16:36:05
Message: <3e80cbc5@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Each block is a 1-bit adder (right output is sum, left output is carry)
The whole thing will be a 4-bit adder adding the numbers 5 and 4 giving the
result 9.
Daniel Nilsson
"Andrew Coppin" <orp### [at] btinternet com> wrote in message
news:3e80c1d9@news.povray.org...
> Sorry about the pun...
>
> Yes, I *know* it's not finished. (Just to clarify - does anyone actually
> know what it's supposed to be???)
>
> Comments, opinions, flames...
> Andrew.
>
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> Yes, I *know* it's not finished. (Just to clarify - does anyone
actually
> know what it's supposed to be???)
Hey! That's a model of the new AMD 64 right? Can't wait to see the final
image! ;)
-Peter
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Andrew Coppin wrote:
>Sorry about the pun...
>
>Yes, I *know* it's not finished. (Just to clarify - does anyone actually
>know what it's supposed to be???)
It's a better mousetrap! Better widen your front gate...
RG - the world will beat a pathway through your freshly planted geraniums
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Tue, 25 Mar 2003 20:51:32 -0000, Andrew Coppin wrote:
> Sorry about the pun...
>
> Yes, I *know* it's not finished. (Just to clarify - does anyone actually
> know what it's supposed to be???)
>
> Comments, opinions, flames...
> Andrew.
A logic circut showing different results from different input?
--
light_source#macro G(E)sphere{z+E*y*5e-3.04rotate-z*E*6pigment{rgbt#end{
20*y-10#local n=162;1}#while(n)#local n=n-.3;G(n)x}}G(-n).7}}#end//GregE
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
The halves of the lower AND in each adder seem to be coloured wrongly.
--
merge{#local i=-11;#while(i<11)#local
i=i+.1;sphere{<i*(i*i*(.05-i*i*(4e-7*i*i+3e-4))-3)10*sin(i)30>.5}#end
pigment{rgbt 1}interior{media{emission x}}hollow}// Mark Weyer
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mark Weyer wrote:
>
> The halves of the lower AND in each adder seem to be coloured wrongly.
Not if you use my logic :)
--
Ken Tyler
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Andrew Coppin
Subject: Re: Let's be logical about this... (~130 KB)
Date: 26 Mar 2003 15:59:59
Message: <3e8214cf@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thanks people.
Yes, it's a binary adder.
I repeat: it is NOT finished yet - there are still some connections missing
from the picture (but influencing the logic anyway). That's why it doesn't
make a lotta sense yet.
This thing involves *miles* of code... I've manually placed tonnes of
cylinders and spheres (for the joints), not to mention the gates themselves.
I think I really need to rethink the way I'm coding this or I'll be here
till Christmas!
But anyway, at least people recognise it as a set of logic gates. That's
something!
Thanks.
Andrew.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Andrew Coppin
Subject: Re: Let's be logical about this... (~130 KB)
Date: 26 Mar 2003 16:12:04
Message: <3e8217a4@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> Each block is a 1-bit adder (right output is sum, left output is carry)
> The whole thing will be a 4-bit adder adding the numbers 5 and 4 giving
the
> result 9.
Congratulations - we have a winner! :-)
Andrew.
PS. Couldn't be bothered with 64-bit arithmatic...
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Sir Charles W Shults III
Subject: Re: Let's be logical about this... (~130 KB)
Date: 26 Mar 2003 19:33:45
Message: <3e8246e9$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
My solution would have been to make the 1 bit adder as a macro, then use the
input states to determine the color map. This gives you the ability to actually
animate the process of addition and carry in realtime, not worry about the
colors yourself, and get rid of most of the "wiring".
I can see some macros coming on- stop me, somebody!
Cheers!
Chip Shults
My robotics, space and CGI web page - http://home.cfl.rr.com/aichip
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Individual gates are already macros. (Which is why the logic states
propogate despite the fact that I haven't drawn the wires yet ;-) I've
re-coded this scene a zillion times in the last week, and I just can't find
an uncomplicated way of doing it :'-(
I guess I'm just a sub-standard coder.
Andrew.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |