Discuss Scratch

Scratchthatguys
Scratcher
59 posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

Does anyone else use Logisim? It's like Redstone logic gates, but not at all redstone I have an idea of how to make a simple AI that figures out how to perform math. But I'm not entirely a pro at Logisim, so I'd like it if other people could give advice, and maybe help?

What I have now is 2 demultiplexors, for Input 1 and Input 2. They each have 4 outputs, called Pass, OR, XOR, and AND. The inputs can also be inverted individually. The output can also be run into a NOT gate or Passed.

Eventually the output of whatever function is used could be sent back through and changed, with the instructions on what it did and how to repeat it saved in RAM. It'll work to be more efficient; I guess a counter would be triggered every time it runs something back through, and would save a successful problem with less functions. You give it two inputs, the addend or augend if you want it to try to do addition, and a goal to change those numbers to.

Last edited by Scratchthatguys (Aug. 9, 2013 03:25:44)

Scratchthatguys
Scratcher
59 posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

Bump.
LeDerpy123
Scratcher
1000+ posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

Wow. That's complex. I don't really know how to respond.
nathanprocks
Scratcher
1000+ posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

So you are trying to make some kind of Turing machine in Logisim? I want to do electronics but there aren't any electronics stores in my town anymore and simulation programs don't work the same as IRL.
Scratchthatguys
Scratcher
59 posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

This is logic gates, not electricity. It's basically a boolean algebra simulator, represented as logic gates.

Basically it's a recursive program. It can modify itself.

Last edited by Scratchthatguys (July 31, 2013 20:40:11)

Scratchthatguys
Scratcher
59 posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

Bump. Making a little progress.
Harakou
Scratcher
1000+ posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

Sounds like an ambitious project to take on! From what I understand, you are running data through a series of logic gates until the desired result is obtained?
Scratchthatguys
Scratcher
59 posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

Yes. It then stores the instructions on how to perform that in memory, and uses that for other problems marked as “addition”. Speaking of, there are two parts: The Teacher part, and the Calculator part. The teacher part is what I mentioned above, while the calculator part is where the user tells it to add 2 and 2. You can monitor its progress that way.

I believe this has potential, I'm working on it with someone right now.
Scratchthatguys
Scratcher
59 posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

Bump.
Scratchthatguys
Scratcher
59 posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

Bump. Please don't be afraid to add to the discussion! Logisim is basically simpler redstone that (almost) anyone can understand.
Scratchthatguys
Scratcher
59 posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

Bump. Anyone use Logisim or redstone? (Anyone even understand basic logic gates like AND, OR, XOR, NOT, etc.?)
williambl
Scratcher
17 posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

I use redstone and can get my head around NOT, XOR, NOR, OR, NAND and AND ( , and AND)

EDIT: Forgot, T-Flip-Flops too.

Last edited by williambl (Aug. 13, 2013 19:06:33)

berberberber
Scratcher
100+ posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

williambl wrote:

I use redstone and can get my head around NOT, XOR, NOR, OR, NAND and AND ( , and AND)

EDIT: Forgot, T-Flip-Flops too.
Well, that's easy. The hard part is compacting it all down.
Harakou
Scratcher
1000+ posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

Potential, yes, though I'm intrigued to see how you intend to filter out the “noise.” There are a number of operations that could end up with the result 2 + 2 = 4, for example, but many of those operations will be erroneous and won't compute other addition operations correctly. Do you have any plans to deal with that?
Scratchthatguys
Scratcher
59 posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

Yes, it's basically just trial-and-error. If it doesn't work it will improvise or just start over… yeah, trial and error.
TheGeek56
Scratcher
100+ posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

EASY
Scratchthatguys
Scratcher
59 posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

Heh, if it's easy then you try making it.
I have to automate it. But Logisim only supports simulating one circuit at a time. Not even subcircuits can run at the same time as the main!
computerawesomeness
Scratcher
100+ posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)

If you say it's easy, I'll look it up. I'll see how to use it and stuff.
Random306
Scratcher
100+ posts

Logisim (And AI) (PLEASE don't get scared off by the AI part, it's really simple)


I do scratch, if I were you, which I am not, then I would just build and artificial intelligence and go on github (only for clever people)

Powered by DjangoBB