|
|
|
|
|
|||||||
| View Poll Results: So Please Choose: | |||
| I want to read ygolo's brain dump on Computer Architecture (and perhaps do some dumping of my own) |
|
10 | 52.63% |
| I explicitly don't want a thread like this. |
|
4 | 21.05% |
| I want to click on something. |
|
5 | 26.32% |
| Voters: 19. You may not vote on this poll | |||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#31 (permalink) |
|
Senior Member
Join Date: May 2008
Type: IRON
Location: A bed in a room in a tower.
Posts: 148
![]() |
What I want to know is what is meant by drain, what is meant by source, and so on.
__________________
Spaghetti Time |
|
|
|
|
|
#32 (permalink) |
|
My termites win
Join Date: Aug 2007
Type: INTP
Location: North of somewhere (so not the south pole)
Posts: 2,629
![]() |
Oh. A lot of the names come about for historical reasons.
The enhancement MOSFET was not the first field effect transistor(FET), nor was a FET the first transistor. Bipolar Junction Transistors (BJTs) were first. Before that there were vacuum-tubes. BJTs useful terminals were the emitter, collector and base (which made some sense based on the physical flow of charge carriers, but I wouldn't be surprised if they were left over from the vacuum-tube days). I think source and drain were to make them sound like emitter and collector. In an enhancement MOSFET, source and drain are physically the same due to the symmetry of the structure. You may be able to think of it like the charge carriers starting from the source and "draining" into the drain, but that is not really accurate. The gate you can think of as "gating" the transistor operation. Open the "gate" to have the current flow? The "bulk" may be an allusion to the fact that we have "bulk" silicon before any of the processing is done to make it an integrated circuit. I'm speculating. I've gotten so used to calling them what they are conventionally called, I am not sure I can give accurate answers. With this stuff, (and probably a lot of EE/CS related things) the naming tends to be highly arbitrary and based on the history of development. IMO, it is better to learn the meaning of terms through their use and context, since they often have little intrinsic value to their name. The names are often just labels. That's my opinion. But I haven't really been tripped up by not knowing the etymology of technical terms. Why is the mouse called a "mouse" (perhaps it resembles one)? Why are errors in design or construction called "bugs?" (a hold-over from the vacuum-tube days?). There probably are reasons for the names, but many times they are lost to history.
__________________
CTO of IPTN (see Maverick's Sig.) and member of Maverick's Biker Club. Accept the past. Live for the present. Look forward to the future. My Blog I linked some of your blogs; if you feel that is inappropriate, please let me know. |
|
|
|
|
|
#33 (permalink) | |||||||
|
True Neutral
Join Date: Jul 2007
Type:
Location: a place of settlement, activity, or residence
Posts: 3,707
![]() |
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Aha. That explains some of the limitations of circuit design, and why speeding up the "clock" is the easiest way to speed up a processor, but also causes it to generate more heat/friction.
__________________
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." --Hegel's philosophy of Mind |
|||||||
|
|
|
|
|
#34 (permalink) | ||||
|
My termites win
Join Date: Aug 2007
Type: INTP
Location: North of somewhere (so not the south pole)
Posts: 2,629
![]() |
Quote:
Gate leakage is a different issue. As process technology has made the gate Oxide (the "O" in MOS) thinner, leading to more tunneling (you know, the quantum kind--actually 2 kinds, but I digress) producing current through the oxide (which is located under the gate). Quote:
Quote:
![]() What happens is when CLK is high, CL# (my notation for CL with the bar over it) is low, and in-turn CL is high (note the use of inverters). The opposite happens when CLK is low. Ignoring the small time delays, CLK is always the same level as CL which is always the opposite level of CL#. A transmission gate (all the boxes here are transmission gates) is set-up so that when the signal connected to the top is high (and to the bottom low), the left and right sides are connected. I'll let you try and puzzle it out from there since you seem really close. Quote:
I won't really be going into the heat generation, since that is quite off-tangent, and it is proportional to the power consumption anyway, which is fairly readily understood in terms of current (and our voltage supply).
__________________
CTO of IPTN (see Maverick's Sig.) and member of Maverick's Biker Club. Accept the past. Live for the present. Look forward to the future. My Blog I linked some of your blogs; if you feel that is inappropriate, please let me know. |
||||
|
|
|
|
|
#35 (permalink) | |
|
Senior Member
Join Date: May 2008
Type: IRON
Location: A bed in a room in a tower.
Posts: 148
![]() |
Quote:
![]() I feel I'm close to having a strong grip on the inverter and NAND gate circuits, and I'm getting there on the flip-flop. If I do some drawings, I'm sure it'll all come to me relatively quickly.
__________________
Spaghetti Time |
|
|
|
|
|
|
#36 (permalink) | |||||
|
True Neutral
Join Date: Jul 2007
Type:
Location: a place of settlement, activity, or residence
Posts: 3,707
![]() |
Quote:
Quote:
Quote:
Quote:
Quote:
__________________
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." --Hegel's philosophy of Mind |
|||||
|
|
|
|
|
#37 (permalink) | ||||
|
My termites win
Join Date: Aug 2007
Type: INTP
Location: North of somewhere (so not the south pole)
Posts: 2,629
![]() |
Quote:
You know, in retrospect, the reason I gave you for the use of two types of transistors was misleading. You could replace all the PMOS transistors in a basic CMOS circuit with a single resistor (though it would no longer be a CMOS, but an NMOS circuit). Basically the resistor would pull the output node-up whenever the NMOS circuit didn't pull it down (the NMOS circuit would have to be stronger than the resistor, since the resistor is always pulling up). CMOS has MUCH lower power dissipation because once the output switches, no more current is needed till the next time the output changes. You could alternatively use NMOS where the PMOS were and feed the PMOS-replacement NMOS transistors with inverted signals. But here, the voltage would never get pulled all the way up to Vdd, and the PMOS-replacement NMOS's would have to keep sinking current even after the switch from ground to Vdd-Vth (where Vth is the threshold voltage). This is a more complicated story (if you don't understand it, then just ignore it). But explaining "why" we design things in certain ways is always complicated because there are many alternatives, and reasons for not using them. Quote:
Quote:
Besides, integrated circuits can integrate a LOT. If you have a design which has its area limited by the number of pins that connect the processor to other circuits instead of the size of the circuits themselves, you are wasting die-area (which is directly related to cost). Quote:
__________________
CTO of IPTN (see Maverick's Sig.) and member of Maverick's Biker Club. Accept the past. Live for the present. Look forward to the future. My Blog I linked some of your blogs; if you feel that is inappropriate, please let me know. |
||||
|
|
|
|
|
#39 (permalink) |
|
My termites win
Join Date: Aug 2007
Type: INTP
Location: North of somewhere (so not the south pole)
Posts: 2,629
![]() |
So I decided I am going to do smaller chunks than initially thought because there is a lot of writing I am doing.
More “Basic” Circuits Puzzling out circuits earlier was not just for the purposes of understanding those circuits, but because I am about to hit you with A LOT of circuits, and they should be relatively easy to follow now. So there are other logic gates that are often used besides the 2-input NAND and the inverter. There are multiple input NAND gates which use the same symbol as the 2 input NAND gate but more inputs feeding the gate. The logical function outputs a logic 1 in all cases except when all the inputs are a logic 1 (and in this case the output is a logic 0). Here is an 8-input NAND gate: ![]() If you remove the bubble from the NAND symbol, you get an AND gate. The logical function of AND gates are to output a logic 0 in all cases except when the inputs are all logical1s (in this case the output is a logical 1). Here is the symbol for an 8-input AND gate. ![]() An AND gate is constructed by adding an inverter to the output of a NAND gate. Another common function is a NOR gate. The function of a NOR gate is to output a logic 0 if ANY of the inputs is a logic 1, and only output a logic 1 if all the inputs are logic 0. A two input NOR Gate is constructed in the following manner. ![]() The symbol for a 2 in put NOR is: ![]() Multiple input NOR gates have similar symbols: An 8-input NOR gate: ![]() Invert the output of a NOR gate and you get an OR gate. The output of an OR gate is a logic 1 if and only if at least on of its inputs is a logic 1. Otherwise, if all the inputs are logic 0, then the output is a logic 0. Here is an 8-input OR gate: ![]() Multiple Input NAND Gates and NOR gates Earlier, we saw how to implement 2 input NAND abd NOR gates directly from transistors. You can make higher inputs NAND and NOr gates in a similar fashion. Simply add more NMOS in series and more PMOS in parallel for NAND gates or NMOS in parallel and PMOS is series for NOR gates. Hopefully, you can see how this works logically. However, the gates cannot get very large because of the increase in output node capacitance (from the PMOS drains, even if many are shared), and pull-down resistance (each NMOS has a small resistance that adds up). But there is another logical trick to be used to make higher input NAND and NOR gates from lower input ones. In the NAND case, you simply take the output of a NAND with x inputs send it through an inverter to one of the inputs of a 2-input NAND gate, then take the remaining in put and send it to the other input of a 2-input NAND. Now you have a NAND gate with x+1 inputs. This is a logically correct construction because the first input to the 2-input NAND is only a logic 1 if all the inputs to the NAND with x inputs is a logic 1 (and 0 other wise). Also, the output of the 2-input NAND is only a logic 0 if both its inputs are logic 1. So we can see that the only way this configuration will output a logic 0 is if all the inputs are a logic 1. Otherwise, one of the two inputs to the 2-input NAND gate will be 0, and therefore the output will be a logic 1. A similar construction works for larger NOR gates. Simply feed the output of a smaller NOR through an inverter to a 2-input NOR that gets the last input. Various Ways to Describe/Specify General Logic Functions Hopefully, in the constructions given above it was intuitive to see how the particular functions were built up, and what they were specified to do. However, in many cases, a more rigorous and organized approach is needed. Truth Tables One very brute force, but rather effective way to specify a logical function is through what is known as a truth table. This is simply an enumeration of all possible input combination with a specification of what the output should be. The truth table for a 3-intput NAND is: A B C|Out 0 0 0|1 0 0 1|1 0 1 0|1 0 1 1|1 1 0 0|1 1 0 1|1 1 1 0|1 1 1 1|0 Boolean Equations Generally more compactly we can specify a function through a Boolean Equation. They will look something like: Y=A#*B+C. Where A# means the inverted version, otherwise known as the “compliment” of A. The “*” indicates and AND of what is on the left and the right. While a + indicates an OR of what is on the left and the right. Generally, the order of operations is to do all # first, then all *, then all +. Parentheses can change the order. Y=A#*B+C is the same as saying Y=(A#*B)+C. However, Y=A#*(B+C) is different. The “=” can be used in subtly different ways. It can be that a particular signal is defined a particular way. Or it can mean that what is on both sides are logically equivalent. Manipulating the boolean equations should be rather straight forward once you understand what they are. Seeing a direct implementation using logic gates should be just as easy. See if you can see that the following are true (use truth-tables if needed), and at the same time see if you can see the circuits each side of the equation would yield directly: A*0=0 A+1=1 A#+A=1 A#*A=0 A##=A A*B=B*A A+B=B+A A*A=A A+A=A A*(B*C)=(A*B)*C A+(B+C)=(A+B)+C A*(B+C)=A*B+A*C A+B*C=(A+B)(A+C) (A+B)#=A#*B# (A*B)#=A#+B#
__________________
CTO of IPTN (see Maverick's Sig.) and member of Maverick's Biker Club. Accept the past. Live for the present. Look forward to the future. My Blog I linked some of your blogs; if you feel that is inappropriate, please let me know. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How long have you been studying/interested in MBTI or Personality Theory? | dnivera | MBTI (tm), Enneagram, and other personality matrices | 15 | 08-18-2008 01:09 PM |
| New and interested | adophius | Welcomes and Introductions | 7 | 07-26-2008 08:22 AM |
| CompuTer quesTion!!! | whatever | Science, Technology, and Future Tech | 9 | 04-27-2008 02:25 PM |
| ENTP interested in increasing his J "competencies" | MrRost | The NT Rationale | 11 | 03-27-2008 07:05 PM |
| Is the brain a computer? | dissonance | Philosophy and Spirituality | 104 | 02-13-2008 07:12 AM |