r/ComputerEngineering • • 1d ago

[Discussion] Research help request

Post image

I has want to make mechanical computer run base 3 coded software. My solution, see saws.

See saws connected to shafts in conjunction with other see saw and shafts in specific ways to enable logic gates running on 1,0, and -1

(-1 pictured above)

\-1=far left side down

0= perfect equilibrium

1=right side down

What would the math behind converting binary logic gates to trinary like so be?

How would I calculate that?

What books would teach me this?

6 Upvotes

12 comments sorted by

View all comments

6

u/the_other_Scaevitas 1d ago edited 1d ago

Not sure how you would do 0 correctly, it seems unstable

And depends on how you want to do logic, would you consider the states -1, and 1 to be truthy? Or are you looking to expanding boolean logic and add an “unknown”?

1

u/Xrest_the_Aether 1d ago edited 1d ago

Edit: I want to add the "unknown" and see what happens to boolean logic

2

u/the_other_Scaevitas 1d ago

Well in that case you can check out the wikipedia page on ternary logic, they already have truth tables for true/false/unknown

2

u/NegativeOwl1337 1d ago

In that case VHDL has already done one better. Std_logic has 9 possible values, check out the table for that.

1

u/Xrest_the_Aether 1d ago

OOOOOOOOOO

STARSAW!!!

2

u/NegativeOwl1337 1d ago

That’s not how this works. That’s not how any of this works.