• 1,689 views, 2 today
  • 72 downloads, 0 today
  • 5
  • 3
  • 6
thesneezingpanda's Avatar thesneezingpanda
Level 38 : Artisan Engineer
29
The is the 16 Bit ALU me and peri_rawesome have been working on.

So the functions it contains are:

ADD
SUBTRACT
OR
AND
XOR
EQUALS
GREATER THAN

To Add

- NOT
- LESS THAN
- BITSHIFT

The ALU is reasonably compact and is hopefully going to part of our 16bit computer
Progress80% complete
Tags

Create an account or sign in to comment.

1
10/16/2012 2:31 am
Level 18 : Journeyman Miner
Phrozenbit
Phrozenbit's Avatar
Looks good ! Really compact indeed.
1
10/06/2012 5:52 pm
Level 20 : Expert Cowboy
NoseJob for a Cowboy
NoseJob for a Cowboy's Avatar
Nice work!

Very compact, though it seems you sacrificed a lot of speed for the size. How long does the function on the top layer take? About 15 ticks?
1
10/06/2012 5:54 pm
Level 38 : Artisan Engineer
thesneezingpanda
thesneezingpanda's Avatar
Yep, it's relatively slow, the poor performance really comes from getting the signal to the top, when trying to work with a vertical ALU it's surprisingly difficult to get the signal upwards, at the moment the best way we've found is using a redstone torch tower, however some improvements might include finding a way to use a glowstone tower up to save time.
1
10/06/2012 6:08 pm
Level 20 : Expert Cowboy
NoseJob for a Cowboy
NoseJob for a Cowboy's Avatar
Glowstone or half slabs would probably be your best bet. I'm pretty sure
you'll have to repeat the signal before you get to the top, but that's
not a big deal. Having all of the delay from using torches for vertical
transmission would kill your clock speed once it was implemented in a
full CPU. Definitely something you want to avoid.

Also, are you using the same adder for addition and subtraction in each bit? I can't see much from looking at the picture.

And
I don't know if you thought about this already, but putting the NOT
gate toward the back end of the ALU comes in handy. Use it as an
alternate, inverted, output. That way you can use it to turn AND into
NAND, OR into NOR, etc. with the same inverter. It will also reduce the
size of your instruction set, making it easier for when you start
programming your CPU.
1
10/06/2012 6:17 pm
Level 38 : Artisan Engineer
thesneezingpanda
thesneezingpanda's Avatar
Yep, it's just trying to get the wires up without them mixing in a uniform repeatable pattern. Something to work on in the future.

There is one adder per bit, subtraction is does standard using by inverting input A and inverting the output.

Finally, yep, this was the intended setup, hence it not being implemented yet
1
10/06/2012 9:06 pm
Level 53 : Grandmaster Pirate
RevolutionalRedStone
RevolutionalRedStone's Avatar
My j400s ALU used torch-towers for the control lines; it was a little-slower then expected but it depends on how fast the computer is really going to need to go ( a 16-bit CPU will likely be 50 ticks+ anyway so it might be perfectly fine )

Also this thing is QUITE compact for a 16-bit ALU !

Ill definitely be keeping an eye out for your next CPU !
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome