Computer Architecture : is 0 really 0 ?
-
Depends on the chip. Some read -5V as 0 and +5V as 1. Some are tri-state using -5V, 0, and +5V. It's actually voltage and not current that it is using. At least the chips I worked with years ago were that way. [Edit] And yes, some chips used 0V as 0 and +5 as 1. [/Edit]
There are only 10 types of people in the world, those who understand binary and those who don't.
That was some pretty good info. Thanks :-)
Regards, Nish
Check out 7 reasons C++ devs will love the VS 14 CTP by Nish Sivakumar Blog: voidnish.wordpress.com
-
There is a problem with ternary logic. "Bit" is short for "binary digit". What would you shorten "ternary digit" to? The problem is equally terminological as technical! PS. In the UK, I am aware that a tit is a kind of bird.
Quote:
PS. In the UK, I am aware that a tit is a kind of bird.
Amongst other things yes. ;)
-
Rob Philpott wrote:
-5v? I can't see how you can have tristate binary. What sort of logic was this?
Quantum computers use tri-state binary.
Jeremy Falcon
I thought it was just a complex superposition of 2 states, which ends up giving you 3 dimensions to work in so you can get things like 30 degrees away from true. :-D
Curvature of the Mind now with 3D
-
Bergholt Stuttley Johnson wrote:
[edit] to put correct bus number before I was corrected[/edit]
I try to avoid buses as they're always full of 'them', so have no ideas about numbers. That said, bearing in mind all you have to do is follow the Euston Road to make such a journey it surprises me that you take The Mall in on the way. Either way, I'm reasonably sure that they don't use -5v.
Regards, Rob Philpott.
24v 64hp London Omnibus
You cant outrun the world, but there is no harm in getting a head start Real stupidity beats artificial intelligence every time.
-
There is a problem with ternary logic. "Bit" is short for "binary digit". What would you shorten "ternary digit" to? The problem is equally terminological as technical! PS. In the UK, I am aware that a tit is a kind of bird.
Vivic wrote:
tit is a kind of bird
Nah, it's what birds have two of.
You'll never get very far if all you do is follow instructions.
-
Usually the logical levels are represented by voltages, not currents. You may have either active-higth or active-low signals, see Logic Level at Wikipedia[^].
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?! -- C++ FQA Lite
CPallini wrote:
voltages, not currents
Yes, but can you have one without the other?
You'll never get very far if all you do is follow instructions.
-
CPallini wrote:
voltages, not currents
Yes, but can you have one without the other?
You'll never get very far if all you do is follow instructions.
Current Flows, Voltage is Pressure to use the water metaphor...
-
Current Flows, Voltage is Pressure to use the water metaphor...
Yes, I know that, but it doesn't answer the question.
You'll never get very far if all you do is follow instructions.
-
CPallini wrote:
voltages, not currents
Yes, but can you have one without the other?
You'll never get very far if all you do is follow instructions.
That is not the point. Logical levels are bound to voltages because electrical potential difference is the measured physical quantity. For instance a car battery providing 8A to the vehicle lamps would have no higher logical level than four CR2032 cells providing 20 mA to a red LED (and its series resistor).
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?! -- C++ FQA Lite
-
That is not the point. Logical levels are bound to voltages because electrical potential difference is the measured physical quantity. For instance a car battery providing 8A to the vehicle lamps would have no higher logical level than four CR2032 cells providing 20 mA to a red LED (and its series resistor).
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?! -- C++ FQA Lite
I know that, but it doesn't answer the question.
You'll never get very far if all you do is follow instructions.
-
Yes, I know that, but it doesn't answer the question.
You'll never get very far if all you do is follow instructions.
Well Voltage 'dropped' across a component, it appears one side, a different value on the other side giving a difference in voltage that can be read with a meter in parallel. Current is the 'thing' (for want of a better word) moving through the circuit to measure it you have to break the path and insert the meter (there are other methods like coils etc. but...). So you can measure a voltage across something with out the being current flow (such as wires before plugging in). Bad explanation but the best I can manage at this time-O-day have a look at howstuffworks.com I seem to remember they had a very basic explanation. I'm off home! :)
-
I know that, but it doesn't answer the question.
You'll never get very far if all you do is follow instructions.
are you really sure?
-
are you really sure?
Yes, othrewise I wouldn't ask the question.
You'll never get very far if all you do is follow instructions.
-
CPallini wrote:
voltages, not currents
Yes, but can you have one without the other?
You'll never get very far if all you do is follow instructions.
To answer your exact question: no.
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?! -- C++ FQA Lite
-
I know that, but it doesn't answer the question.
You'll never get very far if all you do is follow instructions.
To answer your exact question: no.
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?! -- C++ FQA Lite
-
To answer your exact question: no.
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?! -- C++ FQA Lite
:thumbsup: Exactly.
You'll never get very far if all you do is follow instructions.
-
in computers' circuits is the bit 0 really represented by no currency or it is a small signal that the computer is made to treat as 0 ? thank a lot !
Bits can be stored in many many forms . They can be in the polarisation of light , in magnetic state , by the presence or absence of a stored charge . But in electronics the information is usually transmitted as the presence or absence of a voltage . There is usually a very small current associated with that , we don't want a big current . The values of the voltages used and the corresponding currents are somewhat arbitrary . Some systems represent a 1 as the presence of a specific positive voltage ( typically 3 or 5) and some use 0 volts to represent a boolean 0 . This is not mandatory . It is equally possible to represent a 1 as 0 volts and a 0 as (say) 12volts . And if your system is noisy then some systems will use a positive voltage to represent 1 and a negative voltage to represent 0 . There is no hard and fast rule . Although in most systems +5v => 1 and 0v =>0 . There can never be an exact 5v or an exact 0v , you will always have noise induced in the circuit from a wide variety of sources . But the entire reason why binary systems are used is that they are able to handle the noise very well . When the noise voltages are in the millivolt range then it is going to take a lot of noise/bad luck for the noise to be so large that we cannot recognise a 1 and a 0 when using 5v systems . BUT it can and does happen, and it gets worse as the data frequency increases . We do get noise and some technologies are more prone than others . In this case we typicaly add extra bits on the side in order to help . These can be simple parity bits or more complex systems where not only can we detect 1 or 2 bit errors but correct them too. There is nothing stopping you having a system where we use 3 , 4 more voltage levels . And in that way we could have a single line carrying more than one bit of information . But such a system would be more susceptible to noise . In order to reduce the effect of noise you would probably have to slow the data rate . But you do not have to use simple voltage to transmit information you can do all sorts of fancy manipulation of the frequency and phase of a signal , and these are used in broadband . These can have many possible states , but are also less susceptible to noise , enabling the continued growth in the broad band speeds . The whole area is fascinating , if you enjoy electronics. But if you don't enjoy electronics and then its probably easier to think that yes 1 is 5v and 0 is 0v and live in blissful ignorance of what is actually happening several billion times a second in y
-
Bits can be stored in many many forms . They can be in the polarisation of light , in magnetic state , by the presence or absence of a stored charge . But in electronics the information is usually transmitted as the presence or absence of a voltage . There is usually a very small current associated with that , we don't want a big current . The values of the voltages used and the corresponding currents are somewhat arbitrary . Some systems represent a 1 as the presence of a specific positive voltage ( typically 3 or 5) and some use 0 volts to represent a boolean 0 . This is not mandatory . It is equally possible to represent a 1 as 0 volts and a 0 as (say) 12volts . And if your system is noisy then some systems will use a positive voltage to represent 1 and a negative voltage to represent 0 . There is no hard and fast rule . Although in most systems +5v => 1 and 0v =>0 . There can never be an exact 5v or an exact 0v , you will always have noise induced in the circuit from a wide variety of sources . But the entire reason why binary systems are used is that they are able to handle the noise very well . When the noise voltages are in the millivolt range then it is going to take a lot of noise/bad luck for the noise to be so large that we cannot recognise a 1 and a 0 when using 5v systems . BUT it can and does happen, and it gets worse as the data frequency increases . We do get noise and some technologies are more prone than others . In this case we typicaly add extra bits on the side in order to help . These can be simple parity bits or more complex systems where not only can we detect 1 or 2 bit errors but correct them too. There is nothing stopping you having a system where we use 3 , 4 more voltage levels . And in that way we could have a single line carrying more than one bit of information . But such a system would be more susceptible to noise . In order to reduce the effect of noise you would probably have to slow the data rate . But you do not have to use simple voltage to transmit information you can do all sorts of fancy manipulation of the frequency and phase of a signal , and these are used in broadband . These can have many possible states , but are also less susceptible to noise , enabling the continued growth in the broad band speeds . The whole area is fascinating , if you enjoy electronics. But if you don't enjoy electronics and then its probably easier to think that yes 1 is 5v and 0 is 0v and live in blissful ignorance of what is actually happening several billion times a second in y
Quote:
The whole area is fascinating , if you enjoy electronics. But if you don't enjoy electronics and then its probably easier to think that yes 1 is 5v and 0 is 0v and live in blissful ignorance of what is actually happening several billion times a second in your humble pc or phone.
Good explanation, I have a feeling that will not be the end though! It fried my brain to think of a one as -5v and a 0 as +5v when I started many moons ago!
-
I know that, but it doesn't answer the question.
You'll never get very far if all you do is follow instructions.
right quick explanation if you read Andrew Torrence explation http://www.codeproject.com/Messages/4868169/Re-Computer-Architecture-is-really.aspx[^] that gives some of it. The rest you can get from howstuffworks.com or as Andrew says don't worry too much about the details.
-
CPallini wrote:
voltages, not currents
Yes, but can you have one without the other?
You'll never get very far if all you do is follow instructions.
The closest that you could get is a battery hooked up to a capacitor. A capacitor is just a gap in the circuit with a large surface area. Electrons pile up on one side and the force they exert on the other side repels the electrons on that side. Of course there is always leakage current in real life, and things get a little more complicated with A/C. http://en.wikipedia.org/wiki/Capacitor[^]
Curvature of the Mind now with 3D