| Electronics > Beginners |
| question regarding bytes |
| (1/2) > >> |
| krappleby:
hi guys, i didn't know what to call this post so i just called it question regarding bytes, as it is something to do with that. OK. i am currently working on the possibility of creating a new for of processor, for an 8 bit system however, instead of being a 8 bit system its a 8 trit system lol.. confused.. let me explain an 8 bit system uses as you know two states on or off, a series of 1 and 0 to give 255 possible options however i am working on a idea that will give you 3 options rather than the 2 in an 8 bit system resulting in over 3200 possible options. this is based on 3 potential states for each bit, they being (using 5v as an example) +5 0 -5 if a computer is created using a 3 state system it would mean that an 8 trit system using a 16 trit address bus could handle 21.5mb of information with ease. do you think this is possible, i know that using electronics we can determine whether a power line is positive or negative so would this be possible, with work of course. your ideas are welcome. cheers keith |
| sleemanj:
That sounds like a balanced ternary computer https://en.wikipedia.org/wiki/Ternary_computer |
| mariush:
In a processor, they're using 0v and something like 0.7v or higher for a digital 1, not 0v and 5v. If they did that, you wouldn't have 8 bit microcontrollers running at 1.8v for example. Yes, you could make 3 state processors... but you could simulate such a processor by simply using 2 bits at a time to store only 3 states. You would need to reinvent a lot of math... as having only two states per bit makes it super easy to do multiplications and divisions for example ... ex /2 is just shifting a bit to the right... multiplying by 2 is shifting bits to left by one. and btw you'd have 6,561 possible values. In binary you have 1 byte = 2^8 = 256 values, in ternary you have 3^8 = 6,561 and 3^16 is 43,046,721 bytes ... unless I'm so tired I'm not doing math well anymore. having 3 states could be useful for some things, like the carry bit, overflow, dealing with negative and unsigned/signed issues etc etc but would really complicate a cpu design. |
| rstofer:
Somewhere in a textbook I was using, there was a discussion of the costs of building computers (mainframes) versus various number systems. The outcome was that, if it were possible, based on prices in the '70s, base 'e' would be optimal. I don't know if it is possible, I would expect it to be very difficult. Then there are analog computers which have signals instead of bits but a single wire could represent an infinite number of values within the voltage range of the computer. What's more, mathematical operations like integration, multiplication, addition and subtraction are trivial. It is difficult to get a lot of precision but real-time response is pretty much a given. |
| epigramx:
--- Quote from: sleemanj on September 28, 2019, 11:14:49 pm ---That sounds like a balanced ternary computer https://en.wikipedia.org/wiki/Ternary_computer --- End quote --- Underrated post, quoting for further exposure. |
| Navigation |
| Message Index |
| Next page |