Rubicon Forum
Welcome, Guest. Please login or register.
September 07, 2008, 05:22:15 PM

Login with username, password and session length
Search:     Advanced search
Forum users can use the crate icon (or [level] and [/level] tags) when writing a post, to make a direct link to a level.
3804 Posts in 194 Topics by 2403 Members
Latest Member: jappie001
* Home Help Search Login Register
+  Rubicon Forum
|-+  Playing the Game
| |-+  Open Design Challenges (Moderator: Bucky)
| | |-+  FUGUDIX: Logic gates / NOT gate
« previous next »
Pages: [1] Print
Author Topic: FUGUDIX: Logic gates / NOT gate  (Read 2638 times)
grim
Shelf-stacker
*
Posts: 7


View Profile
FUGUDIX: Logic gates / NOT gate
« on: October 09, 2006, 10:46:09 PM »

Hello all,

Has anyone tried implementing the logic gates AND, OR, NOT, and their ilk?

I have a first attempt at a 'not' gate temporarily held at FUGUDIX, which normalises input to consist only of 0 and 1 crates, and outputs them in notted form. It is, well, um, somewhat Rubian.  Smiley

A replacement for this, and some binary logic gates operating on the same principle, would be lovely to see.

grim.
Logged
krajzega
Operator
**
Posts: 11


View Profile
Re: FUGUDIX: Logic gates / NOT gate
« Reply #1 on: October 09, 2006, 11:33:28 PM »

Well, a NOT gate should be pretty simple - see the one at decareb. Adding random generation and validation would be trivial, so I didn't bother Wink.
« Last Edit: October 15, 2006, 07:54:38 AM by krajzega » Logged
grim
Shelf-stacker
*
Posts: 7


View Profile
Re: FUGUDIX: Logic gates / NOT gate
« Reply #2 on: October 09, 2006, 11:39:37 PM »

Well, a NOT gate should be pretty simple - see the one at decareb. Adding random generation and validation would be trivial, so I didn't bother Wink.
Ah, there we go - good job. I had my inputs back to front somewhere.  Roll Eyes

Binary ones shouldn't be too hard either, though it occurs to me I'm working on a different problem right now: synchronising randomly-spaced inputs from two separate input streams.
Logged
krajzega
Operator
**
Posts: 11


View Profile
Re: FUGUDIX: Logic gates / NOT gate
« Reply #3 on: October 09, 2006, 11:49:51 PM »

cykodyk has a simple full-speed OR gate. And should also be easy, I might do it or might go to sleep Wink.

EDIT: vurulog is improved, the former one worked wrong for long strings of data.
« Last Edit: October 15, 2006, 07:54:19 AM by krajzega » Logged
grim
Shelf-stacker
*
Posts: 7


View Profile
Re: FUGUDIX: Logic gates / NOT gate
« Reply #4 on: October 10, 2006, 12:13:49 AM »

Shaky sort of AND at virofad -- works ok but the timing is a bit delicate.
« Last Edit: October 10, 2006, 12:26:23 AM by grim » Logged
krajzega
Operator
**
Posts: 11


View Profile
Re: FUGUDIX: Logic gates / NOT gate
« Reply #5 on: October 10, 2006, 03:17:39 PM »

Quote
Shaky sort of AND at virofad -- works ok but the timing is a bit delicate.

I've got a somewhat simpler one (timing-wise) at bypupyn. Yours looks way more cool while running though - I couldn't believe at first that all those crates end up in the right places Smiley.
« Last Edit: October 15, 2006, 07:54:01 AM by krajzega » Logged
grim
Shelf-stacker
*
Posts: 7


View Profile
Re: FUGUDIX: Logic gates / NOT gate
« Reply #6 on: October 11, 2006, 12:43:47 PM »

Quote
Shaky sort of AND at virofad -- works ok but the timing is a bit delicate.

I've got a somewhat simpler one (timing-wise) at bypupyn. Yours looks way more cool while running though - I couldn't believe at first that all those crates end up in the right places Smiley.

Likewise, I couldn't believe it when I saw the crates in yours arriving, in perfectly spaced martial sequence Smiley

I thought mine would break with long sequences, but in fact it seems just fine.
Logged
Handi
Designer
***
Posts: 83

jack_rtp009@hotmail.com
View Profile
OR Operator
« Reply #7 on: October 26, 2006, 05:54:35 AM »

Here's a fancy way for an OR Operator  Grin
Click beravet
Logged

The secret to creativity is knowing how to hide your sources
Otto
Shelf-stacker
*
Posts: 9


View Profile
Re: FUGUDIX: Logic gates / NOT gate
« Reply #8 on: October 29, 2006, 12:41:15 PM »

Here's all three gates, in box form. Smiley

porokyt

The upper left one is a NOT gate.
The middle bottom one is an OR gate.
The upper right one is an AND gate.

All three are streaming gates, you put in a stream of numbers, it does its thing. The AND and OR gates act on pairs of numbers, of course, so you only get half of what you put in...

Edit: And just for fun, here's an XOR: genutyl Cheesy

Edit2: Fixed them to handle long streams correctly.
« Last Edit: October 29, 2006, 01:09:27 PM by Otto » Logged
Skid
Shelf-stacker
*
Posts: 1


View Profile
Re: FUGUDIX: Logic gates / NOT gate
« Reply #9 on: November 02, 2006, 11:50:16 PM »

I just made a quick attempt at an AND gate: fefekyl.  It will only take two boxes input right now, but I'm sure there's a way to loop it by using something other than the bulldozer.
Logged
Blargh
Shelf-stacker
*
Posts: 4


View Profile
Re: FUGUDIX: Logic gates / NOT gate
« Reply #10 on: November 03, 2006, 01:43:54 AM »

I just made a quick attempt at an AND gate: fefekyl.  It will only take two boxes input right now, but I'm sure there's a way to loop it by using something other than the bulldozer.
if you place a furnace 1 space above where you currently have a furnace the crate will get copied down once before getting deleted by the furnace, that way you wouldn't need the dozer.
Logged
ddsdiur
Operator
**
Posts: 17


View Profile
Re: FUGUDIX: Logic gates / NOT gate
« Reply #11 on: February 18, 2008, 01:25:43 AM »

xopenel implements NOT, AND, and OR.
Using this, given an infinite playing field, you should be able to construct any logic circuit you want to.
Each gate only takes 2 crates per run, but with a few modifications, they should be able to take any number of crates.
The modifications that I think need to be made but am too lazy to do are:
Duplicated crates
Furnaces that destroy processed input crates
Bulldozer that grabs 2 crates at a time from input stack
----END----
The modifications that would be nice but I'm too lazy to do are:
Use a sequence of adders and subtractors instead of comparators
Make a random 1/0 generator
----END----
This is the correct IO table for the basic logic gates:
Inputs11100100
AND1000
OR1110
NOT(Only accepts input 1)0011
----END----
If my gates have any problems, please let me know so I can fix them.
Logged

Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Rubicon Forum | Powered by SMF 1.0.8.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!