Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

1-Bit ALU with 4 functions! 15x11x5!


  • Please log in to reply
10 replies to this topic

#1

wblabla4

Posted 05 April 2012 - 08:00 PM

This is a small&fast ALU i came up within 15 minutes. It can be constructed MUCH MUCH smaller. It has 4 functions:

NAND
NOR
OR
AND

Its speed is around 2-4 ticks(i didn't measure it, just guessing).

Video:


Download(.rar):
Le ALU
Join this Hamachi server! ID: aweshiz's server PASS: 9999 IP: 5.163.103.189 Awesome staff, friendly community, no lag! | I'M 12. GET OVER IT.

Register or log in to remove.

#2

super_tnt

Posted 05 April 2012 - 11:01 PM

Nice ALU, are you planing to expand on it?
Edit: doesn't it have add?

#3

brathus
    brathus

    Iron Miner

  • Members
  • 299 posts

Posted 06 April 2012 - 09:58 AM

Post a save of this real quick :o, i always wondered how parts work on the small scale, so i want to take this apart and learn from it, if you dont mind ^.^

#4

wblabla4

Posted 06 April 2012 - 02:51 PM

View Postbrathus, on 06 April 2012 - 09:58 AM, said:

Post a save of this real quick Posted Image, i always wondered how parts work on the small scale, so i want to take this apart and learn from it, if you dont mind ^.^

Posting one right now. Just need to extract it from my "main redstone world".


View Postsuper_tnt, on 05 April 2012 - 11:01 PM, said:

Nice ALU, are you planing to expand on it?
Edit: doesn't it have add?

Thanks. I thought of adding add, but than it would be like 1.5 times bigger and the output would need to be 2 bits which i don't like(lol). These basic functions are enough for a small-scale computer/dedicated machine.
Join this Hamachi server! ID: aweshiz's server PASS: 9999 IP: 5.163.103.189 Awesome staff, friendly community, no lag! | I'M 12. GET OVER IT.

#5

wblabla4

Posted 06 April 2012 - 03:15 PM

OK, just posted a download.
Join this Hamachi server! ID: aweshiz's server PASS: 9999 IP: 5.163.103.189 Awesome staff, friendly community, no lag! | I'M 12. GET OVER IT.

#6

Greyz_DJ21

Posted 06 April 2012 - 04:52 PM

Sick I have a automatic stair in my house :o
Posted Image

#7

wblabla4

Posted 06 April 2012 - 05:11 PM

View PostGreyz_DJ21, on 06 April 2012 - 04:52 PM, said:

Sick I have a automatic stair in my house Posted Image

The new "i built a dirt house today"? Whatever, thanks for response!
Join this Hamachi server! ID: aweshiz's server PASS: 9999 IP: 5.163.103.189 Awesome staff, friendly community, no lag! | I'M 12. GET OVER IT.

#8

myskillsisfromhell

Posted 10 April 2012 - 06:40 PM

what the?!?! i could make an 1 bit alu that supports all the same functions plus a-b b-a a+b and expandable

#9

Hans Lemurson
  • Minecraft: Hans_Lemurson

Posted 10 April 2012 - 11:32 PM

This would just be an "LU" or "Logic Unit" since it doesn't do any Arithmetic.

I assume that you are using XOR gates to do conditional inversion on the inputs and outputs, yes?

I would strongly advise you to try making a multi-bit version of this, since it is very useful to see the large-scale interaction of control-lines with data, and you can observe more interesting data manipulations with larger bit-sizes.  Would you be able to scale this up to say, 4 bits?  That's a good size for a logic unit, since it lets you show all 4 combinations of inputs.
Hans Lemurson's Thread of Links: http://www.minecraft...hread-of-links/
Look here to find links to my inventions, creations, and my Youtube channel featuring Amazing Creations of Mine (Redstone engineering FTW!!!) and charming Music-Videos about clones.  I also made "Minecraft in Minecraft" (2D platformer/building game).  I'm currently trying to make a computer.

#10

wblabla4

Posted 11 April 2012 - 02:22 PM

View PostHans Lemurson, on 10 April 2012 - 11:32 PM, said:

This would just be an "LU" or "Logic Unit" since it doesn't do any Arithmetic.

I assume that you are using XOR gates to do conditional inversion on the inputs and outputs, yes?

I would strongly advise you to try making a multi-bit version of this, since it is very useful to see the large-scale interaction of control-lines with data, and you can observe more interesting data manipulations with larger bit-sizes.  Would you be able to scale this up to say, 4 bits?  That's a good size for a logic unit, since it lets you show all 4 combinations of inputs.

I agree about the LU part Posted Image But i don't use a XOR gate. If you download the map i can explain what i did there. I just went for the size.
What it does is there is an OR and an AND gate. Just their inputs are changed. Also about the invert part i also made 2 lines. One inverted and one normal. I'm just switching between them.

I may try to make a 4-bit version. Actually, i'm starting Minecraft right now!

EDIT: I just realized i becomed a Mathematical Dessert!
Join this Hamachi server! ID: aweshiz's server PASS: 9999 IP: 5.163.103.189 Awesome staff, friendly community, no lag! | I'M 12. GET OVER IT.

#11

Hans Lemurson
  • Minecraft: Hans_Lemurson

Posted 11 April 2012 - 11:19 PM

View Postwblabla4, on 11 April 2012 - 02:22 PM, said:

I agree about the LU part Posted Image But i don't use a XOR gate. If you download the map i can explain what i did there. I just went for the size.
What it does is there is an OR and an AND gate. Just their inputs are changed. Also about the invert part i also made 2 lines. One inverted and one normal. I'm just switching between them.

I may try to make a 4-bit version. Actually, i'm starting Minecraft right now!

EDIT: I just realized i becomed a Mathematical Dessert!

You might not THINK that you used XOR gates, but if you make a Truth-Table for "Switching Between Normal or Inverted Output" you'll be in for a funny surprise.  XOR/XNOR gates are very commonly used as "Conditional Inverters".  ALUs are, by weight, mostly XOR gates, and that's not just because of their Adders.

Let A be the input signal, and let C control whether it gets inverted or passed through straight.  C=1 is inversion.

A C | O
0 0 | 0  (0 -> 0)
1 0 | 1  (1 -> 1)
0 1 | 1  (0 -> 1)
1 1 | 0 (1 -> 0)
Hans Lemurson's Thread of Links: http://www.minecraft...hread-of-links/
Look here to find links to my inventions, creations, and my Youtube channel featuring Amazing Creations of Mine (Redstone engineering FTW!!!) and charming Music-Videos about clones.  I also made "Minecraft in Minecraft" (2D platformer/building game).  I'm currently trying to make a computer.