Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Exploit the Three States

A topic by firecerne created Dec 28, 2022 Views: 292 Replies: 1
Viewing posts 1 to 2

With this new version of Digital Logic Sim there are now 3 states in which a wire can be :

- Real False : it is a completly black color. It happens when an output isn't connected to any chip or input and when a Tri-State Buffer isn't powered in any input.

- False : It has a color of  an intermediate between black and the wire's color (or red for output). It happens when a wire isn't powered but is connected to a chip or an input.

- True : Red or whatever the wire color is. It is when the wire or the output is on (and connected to an input or a chip, of course).

So, has anyone found a way to use these three states in a way that would be useful ? For example, a converter that uses the three states in one input and converts it to two binary outputs (for exemple Real False = 01, False = 10 and True = 11)

I think that it would be pretty interesting to use this new dimension of logic to make more complex chips (I don't really know much about electronics or ternary so maybe I'm wrong), so please if you have any idea on how you could exploit this new state please share it.

Also sorry for my english if it was bad, it is not my first language and I'm trying to improve.

Hi @firecerne,

Your "real false" is not a logic state. Disconnected means that there is no path driving the transistor to a logical state. As such, sampling the state (doing logic calculations) leads to unreliable states and output.  

A logic state is a voltage level physically. In binary the two logic states can - for example -be associated to 3.3V and ground (0V) or with a dual power supply for example to  3.3V and -3.3V. 

There is increasing and ongoing research to more than two logic states as theoretically this leads to denser information per unit area. Modern solid state drives (SSD) have been using multi level cells, storing multiple charge levels in a single capacitor and in communication non-binary or multiple-valued logic encoded transmission/receiving is the standard. 

If you are interested 3 state logic (ternary), I build a  visual circuit simulator called Mixed Radix Circuit Synthesizer (MRCS) that is similar to Sebastian's (also build in Unity, open source and using WebGL) which can be found here: 

https://ternaryresearch.com/mixed-radix-circuit-synthesizer/

Paper here https://ieeexplore.ieee.org/document/9937259

With that tool you can design circuits using truth tables based on two states, three or mix of them. I have submitted two physical chips for tapeout using Tinytapeout (Openlane workflow) using binary encoded ternary. You can find the design on my GitHub.

Reach out if you are interested in more info,

cheers Steven