Binary-Coded Ternary

From TernaryWiki
Revision as of 10:27, 17 July 2025 by MrDyne (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Binary-coded Ternary (BCT) is an implementation of ternary logic built on top of normal binary logic. Using two bits or wires per trit as the foundation. Sub-circuits made with normal binary logic gates can emulate the truth tables of ternary logic gates. The rest of a ternary computer can be made out of these BCT sub-circuits.

This implementation is useful with existing binary logic simulators and would most likely function on an FPGA.

Because each trit uses two wires any design based on BCT is going to be more complex in its routing as there will be double the bus wires. This would take up more space in an IC design and would increase costs in a PCB design. More advanced multilayer designs can likely deal with the extra wires with minimal penalties. It is likely the two wires could be treated just like differential pairs, e.g., PCIe high speed differential pairs.

BCT can be built out of CMOS for speed and power efficiency. Native three state logic with transistors is slow and power hungry as the zero state is a small short; effectively a voltage divider.

BCT
N P T
0 0 0
0 1 +
1 0 -
1 1 ?