1 00:00:00 --> 00:00:06 2 00:00:06 --> 00:00:08 OK. Good morning. 3 00:00:08 --> 00:00:17 4 00:00:17 --> 00:00:23 In the last lecture I did a little demonstration for you 5 00:00:23 --> 00:00:29 where I showed you a pair of inverters. 6 00:00:29 --> 00:00:34 And showed you that the output of the first inverter looked 7 00:00:34 --> 00:00:40 weird, certainly not like anything we have seen thus far. 8 00:00:40 --> 00:00:45 It looked like a slow rising transition like this. 9 00:00:45 --> 00:00:50 And using that motivation we have begun our study of RC 10 00:00:50 --> 00:00:54 circuits. And in particular for today the 11 00:00:54 --> 00:01:00 lecture is titled "Digital Circuit Speed". 12 00:01:00 --> 00:01:04 We are going to look at the fundamentals of digital circuit 13 00:01:04 --> 00:01:07 speed. And it all boils down to an RC 14 00:01:07 --> 00:01:10 delay. By the end of the lecture, 15 00:01:10 --> 00:01:15 I am going to show you two numbers that you can look at a 16 00:01:15 --> 00:01:19 circuit and obtain by observation, multiply them out 17 00:01:19 --> 00:01:24 and you will get a good idea of the speed at which a circuit 18 00:01:24 --> 00:01:26 will run. It is pretty amazing. 19 00:01:26 --> 00:01:33 So as a quick review -- The relevant section for this 20 00:01:33 --> 00:01:37 is Chapter 10.4. As a review, 21 00:01:37 --> 00:01:44 we said to understand things like this we need to develop the 22 00:01:44 --> 00:01:52 foundations for RC circuits. And the example I covered was 23 00:01:52 --> 00:02:00 that of a very simple circuit that looked like this -- 24 00:02:00 --> 00:02:09 An RC circuit of this form. And I also showed you that for 25 00:02:09 --> 00:02:16 an input of the form, input that steps from zero to 26 00:02:16 --> 00:02:26 VI at time T equal to zero. And assuming that the capacitor 27 00:02:26 --> 00:02:33 state at time T equals zero was zero. 28 00:02:33 --> 00:02:38 What this means is that the capacitor starts from rest, 29 00:02:38 --> 00:02:41 so at time T=0, oops, this is VI, 30 00:02:41 --> 00:02:45 I'm sorry. So we assume that the capacitor 31 00:02:45 --> 00:02:50 starts from rest. At time T=0 I apply a VI step, 32 00:02:50 --> 00:02:54 capital VI. And then I want to look at how 33 00:02:54 --> 00:03:00 the voltage across the capacitor behaves. 34 00:03:00 --> 00:03:05 And we did a bunch of analysis. And at the end of the day, 35 00:03:05 --> 00:03:09 in the final demo in the lecture last time I showed you 36 00:03:09 --> 00:03:13 that the capacitor would behave like this. 37 00:03:13 --> 00:03:15 It would start off at, oops. 38 00:03:15 --> 00:03:18 I am sorry. This should be, 39 00:03:18 --> 00:03:21 let's assume that started off at VO. 40 00:03:21 --> 00:03:24 We get a different equation for zero. 41 00:03:24 --> 00:03:28 So let's say the capacitor started off at VO, 42 00:03:28 --> 00:03:34 in which case VC at time T=0 is VO as expected. 43 00:03:34 --> 00:03:43 And we showed that the output would look something like this. 44 00:03:43 --> 00:03:52 After a long period of time this would come up to VI and 45 00:03:52 --> 00:04:00 this rise had a time constant of tau=RC. 46 00:04:00 --> 00:04:03 So we wrote the equation for this waveform. 47 00:04:03 --> 00:04:07 And this is the case when VI is greater than VO. 48 00:04:07 --> 00:04:12 I would like you to stare at the circuit and this result here 49 00:04:12 --> 00:04:16 to get more intuition on what is going on. 50 00:04:16 --> 00:04:20 At time T=0, VC starts off at VO as expected 51 00:04:20 --> 00:04:24 because I am telling you that is the case, that is initial 52 00:04:24 --> 00:04:27 condition. It starts off at VO. 53 00:04:27 --> 00:04:33 Then this one steps to VI. There is no infinite transition 54 00:04:33 --> 00:04:36 anywhere here, and so the capacitor holds its 55 00:04:36 --> 00:04:38 voltage at VO, at time T=0. 56 00:04:38 --> 00:04:41 And then the VI here, which is greater than VO, 57 00:04:41 --> 00:04:45 begins to charge the capacitor up, charge it through this 58 00:04:45 --> 00:04:48 resistor. And so therefore the capacitor 59 00:04:48 --> 00:04:51 charges up. After a long period of time, 60 00:04:51 --> 00:04:55 from the basic foundations of capacitors, we know that the 61 00:04:55 --> 00:05:00 capacitor appears like a long-term open circuit to DC. 62 00:05:00 --> 00:05:03 This is a DC voltage VI. So it appears like an open 63 00:05:03 --> 00:05:06 circuit. So after a long period of time 64 00:05:06 --> 00:05:10 VI appears at the end. And from here to here I have an 65 00:05:10 --> 00:05:14 exponential rise that is typified by an equation of the 66 00:05:14 --> 00:05:17 form -t/RC. This kind of waveform rising 67 00:05:17 --> 00:05:21 from a smaller value to a higher value is typified by this 68 00:05:21 --> 00:05:24 expression. We saw the expression when we 69 00:05:24 --> 00:05:28 developed the equations last time. 70 00:05:28 --> 00:05:32 On the other hand, if the input was such that VI 71 00:05:32 --> 00:05:37 was smaller than VO, so let's say VI was smaller 72 00:05:37 --> 00:05:43 than VO then what will happen is that the capacitor voltage would 73 00:05:43 --> 00:05:48 start off at VO, because I am telling you that 74 00:05:48 --> 00:05:53 is the initial condition, and would then decay in this 75 00:05:53 --> 00:06:00 manner to the final value of VI which is the input. 76 00:06:00 --> 00:06:05 Instead of going up this way it decays down to the final value 77 00:06:05 --> 00:06:11 applied to the circuit. Again, the time constant is RC. 78 00:06:11 --> 00:06:17 But this is typified by a form, this is exponential rise and 79 00:06:17 --> 00:06:20 this guy e^-t/RC is an exponential decay. 80 00:06:20 --> 00:06:26 The key thing to remember is that when you have RC circuits 81 00:06:26 --> 00:06:30 of this form, the waveforms that you get are 82 00:06:30 --> 00:06:36 either each of the e^-t/RC or 1-e^-t/RC. 83 00:06:36 --> 00:06:41 So you can now begin to see how waveforms such as that come 84 00:06:41 --> 00:06:44 about. We will do an example and sit 85 00:06:44 --> 00:06:47 down and compute the inverter delay. 86 00:06:47 --> 00:06:51 And notice that this waveform here is very typical or 87 00:06:51 --> 00:06:55 corresponds to this waveform that we see here. 88 00:06:55 --> 00:07:02 Here I am starting at VO. And assuming this axis starts 89 00:07:02 --> 00:07:09 off at zero, this one starts very close to zero and then 90 00:07:09 --> 00:07:16 rises up to some final value. So far I have reviewed some 91 00:07:16 --> 00:07:22 material for you that I covered the last time. 92 00:07:22 --> 00:07:28 As a second step, I would like to give you a much 93 00:07:28 --> 00:07:35 more intuitive approach -- -- that doesn't involve solving 94 00:07:35 --> 00:07:39 any differential equations. And the reason I do this is 95 00:07:39 --> 00:07:43 that most experienced circuit designers do not sit down and 96 00:07:43 --> 00:07:47 write differential equations each time they see an RC 97 00:07:47 --> 00:07:50 circuit. When you are starting out and 98 00:07:50 --> 00:07:53 you see an RC circuit, you say node method and you 99 00:07:53 --> 00:07:58 write the differential equation, but experienced people don't do 100 00:07:58 --> 00:08:01 that. They look at it and they can 101 00:08:01 --> 00:08:03 sketch the waveform out by inspection. 102 00:08:03 --> 00:08:05 And I will show you how to do that. 103 00:08:05 --> 00:08:09 It is indeed incredibly simple once I give you some intuition. 104 00:08:09 --> 00:08:12 Throughout the rest of this course, I will be showing you 105 00:08:12 --> 00:08:15 many such examples where initially I develop the 106 00:08:15 --> 00:08:18 foundations of stuff and then show you an intuitive approach 107 00:08:18 --> 00:08:22 that very quickly lets you either get the final answer or 108 00:08:22 --> 00:08:25 at least sanity check the answer that you have gotten. 109 00:08:25 --> 00:08:28 And this is how experienced circuit designers deal with 110 00:08:28 --> 00:08:32 stuff. How many people here have seen 111 00:08:32 --> 00:08:35 this movie Bend it Like Beckham? So you know this Beckham 112 00:08:35 --> 00:08:39 character doesn't think about how he is going to curve the 113 00:08:39 --> 00:08:42 ball. He just does it and it happens. 114 00:08:42 --> 00:08:45 He doesn't sit down writing differential equations to find 115 00:08:45 --> 00:08:49 out the projectile trajectory and all of that stuff. 116 00:08:49 --> 00:08:53 You just kind of do it. These series of intuitions I am 117 00:08:53 --> 00:08:57 going to give you is going to be in line with the Bend it Like 118 00:08:57 --> 00:09:02 Beckham kind of intuition. And this one in particular I 119 00:09:02 --> 00:09:08 would like to do in honor of one of your recitation instructions 120 00:09:08 --> 00:09:14 Professor David Perreault. And so this piece of intuition 121 00:09:14 --> 00:09:19 is going to be termed "Practice it Like Perreault". 122 00:09:19 --> 00:09:22 Watch what I do with the other names. 123 00:09:22 --> 00:09:28 Professor David Perreault is really a world expert in 124 00:09:28 --> 00:09:33 designing really incredible power supplies for very, 125 00:09:33 --> 00:09:39 very small chips and so on. He doesn't start writing 126 00:09:39 --> 00:09:43 differential equations to do this stuff. 127 00:09:43 --> 00:09:47 He looks at it and sketches it out. 128 00:09:47 --> 00:09:51 Let me show you how he would do this. 129 00:09:51 --> 00:09:57 Suppose I have my circuit like before, VI, R and C, 130 00:09:57 --> 00:10:02 and I am telling you that VC(0)=VO. 131 00:10:02 --> 00:10:09 And my input VI is a step that looks like this. 132 00:10:09 --> 00:10:16 VI is a step. How would Professor Perreault 133 00:10:16 --> 00:10:22 do this? Let's do it completely by 134 00:10:22 --> 00:10:26 intuition. No math here. 135 00:10:26 --> 00:10:31 All right. We know that I have told you 136 00:10:31 --> 00:10:35 that this guy starts off at VO. I am telling you that. 137 00:10:35 --> 00:10:38 You know it is going to start at VO. 138 00:10:38 --> 00:10:42 And there is no impulse or huge infinite transition, 139 00:10:42 --> 00:10:46 and so the capacitor starts off at VO. 140 00:10:46 --> 00:10:50 We also know from basic capacitor properties that after 141 00:10:50 --> 00:10:54 a long period of time, in the steady state, 142 00:10:54 --> 00:10:58 this is but a DC voltage. If you apply a DC and here is 143 00:10:58 --> 00:11:02 my capacitor. After a long period of time 144 00:11:02 --> 00:11:05 this guy is going to look like an open circuit. 145 00:11:05 --> 00:11:08 It is going to charge up to some value and then is going to 146 00:11:08 --> 00:11:11 look like an open circuit. Because if it didn't, 147 00:11:11 --> 00:11:14 you would keep charging it and its voltage would keep 148 00:11:14 --> 00:11:16 increasing. That doesn't happen, 149 00:11:16 --> 00:11:19 it looks like an open circuit. So it looks like an open 150 00:11:19 --> 00:11:23 circuit in the long run. The voltage across it must be 151 00:11:23 --> 00:11:25 capital VI. If I don't have current flowing 152 00:11:25 --> 00:11:30 in the circuit then the only way that can happen is -- 153 00:11:30 --> 00:11:34 This open circuit. Capital VI appears across the 154 00:11:34 --> 00:11:37 capacitor. Well, after a long period of 155 00:11:37 --> 00:11:41 time I know that the output must look like this. 156 00:11:41 --> 00:11:45 In this case, I have assumed VI is greater 157 00:11:45 --> 00:11:48 than VO. So you have two points of your 158 00:11:48 --> 00:11:52 curve, VO and VI after a long period of time. 159 00:11:52 --> 00:11:57 And, as I told you earlier, with capacitors you get two 160 00:11:57 --> 00:12:01 kinds of curves. Two things. 161 00:12:01 --> 00:12:04 What you do is go zoop. There you go. 162 00:12:04 --> 00:12:08 You're done. And this has an exponential 163 00:12:08 --> 00:12:11 rise. This is with the form 164 00:12:11 --> 00:12:15 1-e^-t/RC. So we can write an equation for 165 00:12:15 --> 00:12:20 that as follows. VC we know has something to do 166 00:12:20 --> 00:12:23 with minus t/RC. This is of that form, 167 00:12:23 --> 00:12:30 so there has to be that term in there somewhere. 168 00:12:30 --> 00:12:34 And I start off with VO. At time T=0 this is one and 169 00:12:34 --> 00:12:38 this is one, so this term becomes a zero. 170 00:12:38 --> 00:12:42 At time T=0 that becomes a zero so I get VO here. 171 00:12:42 --> 00:12:48 I am going to make sure this stuff stays zero at time T=0, 172 00:12:48 --> 00:12:52 so I start off with VO. Now, as time wears on what 173 00:12:52 --> 00:12:55 happens here? This voltage here, 174 00:12:55 --> 00:13:00 VI-VO, if you look at this difference. 175 00:13:00 --> 00:13:04 That is exponentially decaying over time. 176 00:13:04 --> 00:13:09 And so therefore all I have to do here is write VI-VO. 177 00:13:09 --> 00:13:14 There is the answer. I know the form of the curve. 178 00:13:14 --> 00:13:19 I am just fitting an expression that meets this form. 179 00:13:19 --> 00:13:24 This starts off at VO. When time T=0 this second 180 00:13:24 --> 00:13:29 expression is zero and so it is VO. 181 00:13:29 --> 00:13:32 And this difference here decays down to zero. 182 00:13:32 --> 00:13:37 And this difference here, VI-VO is multiplied by this 183 00:13:37 --> 00:13:40 term here and that is what I get. 184 00:13:40 --> 00:13:45 And you can confirm this. At time T=0 this is zero. 185 00:13:45 --> 00:13:50 At time T infinity this goes to zero, this goes to zero leaving 186 00:13:50 --> 00:13:56 a one, and VO and minus VO cancel and I get a VI. 187 00:13:56 --> 00:13:59 Virtually any such simple voltage source, 188 00:13:59 --> 00:14:02 current source, resistor, capacitor, 189 00:14:02 --> 00:14:07 circuit for most inputs like steps and so on can be analyzed 190 00:14:07 --> 00:14:10 in this manner. Initial value, 191 00:14:10 --> 00:14:12 final value, it's simple. 192 00:14:12 --> 00:14:17 And just to show you that this is simple, I am going to label 193 00:14:17 --> 00:14:21 this expression this way. It is of the form 1-e^-t/RC. 194 00:14:21 --> 00:14:25 Just remember that. Now, by the same token, 195 00:14:25 --> 00:14:30 what if VI had been smaller than VO? 196 00:14:30 --> 00:14:32 Then that is simple, too. 197 00:14:32 --> 00:14:35 I would have had my VI being here. 198 00:14:35 --> 00:14:40 VI would have been here. And that is of the form. 199 00:14:40 --> 00:14:44 In this particular situation, here is my VI, 200 00:14:44 --> 00:14:47 my starting value and I do this. 201 00:14:47 --> 00:14:51 And just to label that, let me label that this way. 202 00:14:51 --> 00:14:57 I just told you that for RC circuits you go this way or you 203 00:14:57 --> 00:15:02 go this way. So it is down here. 204 00:15:02 --> 00:15:06 I get some kind of an exponential decay. 205 00:15:06 --> 00:15:10 And, like before, think of this one. 206 00:15:10 --> 00:15:14 This one has VI as a base value here. 207 00:15:14 --> 00:15:20 And the difference between the two is VO minus VI. 208 00:15:20 --> 00:15:25 And that difference decays. So I have a VI out here, 209 00:15:25 --> 00:15:32 and this difference decays so I get VO-VI and that decays in 210 00:15:32 --> 00:15:37 this form. So I get an exponential decay 211 00:15:37 --> 00:15:41 of this difference here. Just stare at it for a while 212 00:15:41 --> 00:15:44 longer. You should be able to just go 213 00:15:44 --> 00:15:49 and knock it off like this, just like Professor Perreault 214 00:15:49 --> 00:15:51 would. No differential equations. 215 00:15:51 --> 00:15:55 Just write it down by looking at the curve. 216 00:15:55 --> 00:16:00 Let's keep these two in mind, OK, these forms? 217 00:16:00 --> 00:16:05 One is the 1-e^-t/RC form and the e^-t/RC. 218 00:16:05 --> 00:16:12 Both have a time constant RC. Let me just make this a dashed 219 00:16:12 --> 00:16:18 line just to be on the safe side here. 220 00:16:18 --> 00:16:30 221 00:16:30 --> 00:16:32 That is our first piece of intuition. 222 00:16:32 --> 00:16:37 And, as I pointed out before, in problems you face in life or 223 00:16:37 --> 00:16:42 in ones that we give you, feel free to use the intuitive 224 00:16:42 --> 00:16:45 method. Or what you can do is apply the 225 00:16:45 --> 00:16:49 mathematical method and then check your answer by using your 226 00:16:49 --> 00:16:52 intuition. What I would like to do next is 227 00:16:52 --> 00:16:57 apply what you have learned so far to figure out what we set 228 00:16:57 --> 00:17:01 out to figure out, which is the delay of my 229 00:17:01 --> 00:17:05 inverter. I had promised you that by the 230 00:17:05 --> 00:17:09 end of this lecture I was going to close the loop on that little 231 00:17:09 --> 00:17:12 demo. I was going to close the loop 232 00:17:12 --> 00:17:15 for you on this little circuit that we had looked at, 233 00:17:15 --> 00:17:18 one inverter driving another inverter. 234 00:17:18 --> 00:17:22 This was A, this was inverter X, and this was my node B. 235 00:17:22 --> 00:17:26 The green curve you see out there, the middle one has a 236 00:17:26 --> 00:17:31 transition shown up there. And what I am going to do next 237 00:17:31 --> 00:17:35 is use the results we have gotten so far to compute a 238 00:17:35 --> 00:17:39 number. We are going to compute a delay 239 00:17:39 --> 00:17:42 number both for a rising transition. 240 00:17:42 --> 00:17:46 We will call that delay DR for rising transition. 241 00:17:46 --> 00:17:51 And we will compute a delay for the falling transition DF. 242 00:17:51 --> 00:17:55 Remember, that this is the input that falls down sharply. 243 00:17:55 --> 00:18:01 The intermediate node B rises much more slowly. 244 00:18:01 --> 00:18:05 And because this rises much more slowly this guy here falls 245 00:18:05 --> 00:18:10 a little after this transition here, and so there is a delay. 246 00:18:10 --> 00:18:14 And I am going to apply what we have learned so far and do an 247 00:18:14 --> 00:18:18 example for you and figure out what that delay is. 248 00:18:18 --> 00:18:22 This is an absolute foundational calculation done in 249 00:18:22 --> 00:18:26 building digital circuits all the time. 250 00:18:26 --> 00:18:29 It is remarkable that something so simple is used in designing 251 00:18:29 --> 00:18:33 even the most complex of circuits to obtain very quick 252 00:18:33 --> 00:18:37 ideas of what my delay will look like when I have some subcircuit 253 00:18:37 --> 00:18:39 driving some other piece of subcircuit. 254 00:18:39 --> 00:18:42 Let me just draw a few equivalent circuits for you. 255 00:18:42 --> 00:18:46 The internal circuit looks like this. 256 00:18:46 --> 00:18:51 257 00:18:51 --> 00:18:57 This is my inverter X, A, my node B. 258 00:18:57 --> 00:19:05 And notice that I have this capacitor CGS. 259 00:19:05 --> 00:19:09 Since I am interested in this node, let me show you that, 260 00:19:09 --> 00:19:13 this capacitor explicitly, it is because of this capacitor 261 00:19:13 --> 00:19:18 here that arises because of this MOSFET here between the gate and 262 00:19:18 --> 00:19:22 the source. And that capacitor gives rise 263 00:19:22 --> 00:19:24 to this RC thing that we are seeing. 264 00:19:24 --> 00:19:28 This is RL, this is RL, VS, VS. 265 00:19:28 --> 00:19:32 And let's say, just as up there, 266 00:19:32 --> 00:19:40 at time T=0 I get a transition like so, a falling transition 267 00:19:40 --> 00:19:46 from say 5 volts to 0 volts at the node A. 268 00:19:46 --> 00:19:51 This is VA here. That is shown up there. 269 00:19:51 --> 00:19:54 And VB -- 270 00:19:54 --> 00:20:03 271 00:20:03 --> 00:20:07 We had expected that VB would look like this. 272 00:20:07 --> 00:20:12 We expected VB to be instantaneous and looking like 273 00:20:12 --> 00:20:18 that, but instead because of the capacitor VB looks like this. 274 00:20:18 --> 00:20:22 And remember, again, this is of the form 275 00:20:22 --> 00:20:25 1-e^-t/RC. And we will write down the 276 00:20:25 --> 00:20:31 answers by inspection. From this let me draw the 277 00:20:31 --> 00:20:39 connection to circuit delay by showing you another little graph 278 00:20:39 --> 00:20:44 here t, VB, zero. And what I am going to show 279 00:20:44 --> 00:20:50 you, this is 5 volts. And so the output goes like 280 00:20:50 --> 00:20:54 this from close to zero to 5 volts. 281 00:20:54 --> 00:20:59 It is close to zero. Because, at least with the 282 00:20:59 --> 00:21:03 inverters we have been seeing in lab and so on, 283 00:21:03 --> 00:21:06 the RON for the inverter is very, very small compared RL. 284 00:21:06 --> 00:21:09 So it is virtually zero down here. 285 00:21:09 --> 00:21:12 And so what is the delay? I mentioned there are two 286 00:21:12 --> 00:21:15 delays of interest. One is the rising delay. 287 00:21:15 --> 00:21:19 That is the logical value at the end, if I wait a long enough 288 00:21:19 --> 00:21:23 period of time, is a logical one. 289 00:21:23 --> 00:21:28 Delay is simply defined as starting from here how long does 290 00:21:28 --> 00:21:32 this output take to get to a valid one? 291 00:21:32 --> 00:21:38 At what voltage here can I say that this transition corresponds 292 00:21:38 --> 00:21:42 to a logical one? At what voltage here can I say 293 00:21:42 --> 00:21:45 that that represents a valid one? 294 00:21:45 --> 00:21:47 Any ideas? Yes. 295 00:21:47 --> 00:21:50 It depends on the discipline, bingo. 296 00:21:50 --> 00:21:53 So it depends on the discipline. 297 00:21:53 --> 00:22:00 Now let's get more specific. Since it depends on the 298 00:22:00 --> 00:22:06 discipline, at what value based on something in the discipline 299 00:22:06 --> 00:22:10 can I say this thing is a logical one? 300 00:22:10 --> 00:22:15 This is an output remember. VOH, bingo. 301 00:22:15 --> 00:22:20 There is some VOH somewhere. And it takes some amount of 302 00:22:20 --> 00:22:27 time to get to a valid logical one output, ergo there is your 303 00:22:27 --> 00:22:29 delay. This is tR. 304 00:22:29 --> 00:22:36 And I call this the rising delay of the inverter X. 305 00:22:36 --> 00:22:40 It is interesting that the rising delay of inverter X, 306 00:22:40 --> 00:22:45 based on our model, depends on the parameters of 307 00:22:45 --> 00:22:50 this inverter and the parameters of whatever it is driving. 308 00:22:50 --> 00:22:55 So remember that the delay is not necessarily just the 309 00:22:55 --> 00:23:02 property of the inverter itself, but it depends on the context. 310 00:23:02 --> 00:23:05 If I stick my inverter before another inverter like this, 311 00:23:05 --> 00:23:09 it is the capacitance on that inverter by our model that tells 312 00:23:09 --> 00:23:13 me what the delay is going to look like, of course in addition 313 00:23:13 --> 00:23:15 to RL. And we will do the math in a 314 00:23:15 --> 00:23:17 few seconds. By the same token, 315 00:23:17 --> 00:23:21 if I had this wire connecting not to one inverter but going to 316 00:23:21 --> 00:23:24 ten other inverters, I expect to have a capacitance 317 00:23:24 --> 00:23:27 equal to ten times CGS. And so therefore this thing 318 00:23:27 --> 00:23:31 should rise even more slowly, correct? 319 00:23:31 --> 00:23:35 The more capacitance on here the slower it rises up. 320 00:23:35 --> 00:23:37 Simple. If I put more and more load on 321 00:23:37 --> 00:23:42 this line by putting more and more MOSFETs on that line, 322 00:23:42 --> 00:23:45 more and more inverters this will rise slower. 323 00:23:45 --> 00:23:50 In our example I just have one, so let's go ahead and compute 324 00:23:50 --> 00:23:53 the delay. This is called the rising delay 325 00:23:53 --> 00:23:56 of X. That says that for this node 326 00:23:56 --> 00:23:59 here to go from its output value to a valid one, 327 00:23:59 --> 00:24:04 which is VOH how long does it take? 328 00:24:04 --> 00:24:09 Notice that if this capacitor was zero then you would have 329 00:24:09 --> 00:24:11 seen an instantaneous transition. 330 00:24:11 --> 00:24:17 If you have an instantaneous transition then notice that the 331 00:24:17 --> 00:24:21 rising delay was zero. That was the model we had 332 00:24:21 --> 00:24:25 looked at up until learning about capacitors. 333 00:24:25 --> 00:24:30 So let's go ahead and compute the number. 334 00:24:30 --> 00:24:34 I can draw an equivalent circuit for computing a rising 335 00:24:34 --> 00:24:37 delay. The equivalent circuit for the 336 00:24:37 --> 00:24:40 rising delay looks like the following. 337 00:24:40 --> 00:24:44 The VS voltage source, with a resistor RL and a 338 00:24:44 --> 00:24:48 capacitor CGS, because when I turn this guy 339 00:24:48 --> 00:24:53 off, this guy has gone off, and so as far as the rise time 340 00:24:53 --> 00:24:57 of this node is concerned I can look at this circuit, 341 00:24:57 --> 00:25:04 ground through CGS through RL through VS back to ground. 342 00:25:04 --> 00:25:07 And just for simplicity, let me draw this in a form that 343 00:25:07 --> 00:25:09 we understand. 344 00:25:09 --> 00:25:13 345 00:25:13 --> 00:25:16 CGS. Let me use this as my ground 346 00:25:16 --> 00:25:20 node. And this is the voltage VB. 347 00:25:20 --> 00:25:25 And this is RL. And V is simply VS once that 348 00:25:25 --> 00:25:31 transition happens. My other equations here, 349 00:25:31 --> 00:25:33 VI=VS. And what is VB(0)? 350 00:25:33 --> 00:25:38 VB(0) is at what value does this node start out? 351 00:25:38 --> 00:25:44 Notice that for simplicity here if this RON is much, 352 00:25:44 --> 00:25:49 much smaller than RL, then this node would be very 353 00:25:49 --> 00:25:54 close to ground. So I will just go ahead and say 354 00:25:54 --> 00:25:59 that VB at T=0 is approximately zero. 355 00:25:59 --> 00:26:04 And then what I want to find out is what does the value look 356 00:26:04 --> 00:26:09 like for time starting from zero and then going forward? 357 00:26:09 --> 00:26:13 Well, we have become experts at this now. 358 00:26:13 --> 00:26:18 359 00:26:18 --> 00:26:21 Let's do the intuition here. Start off with zero. 360 00:26:21 --> 00:26:24 That's good. Because my initial value is 361 00:26:24 --> 00:26:29 zero, I start off here. What is the final value? 362 00:26:29 --> 00:26:34 After a long time, since this is a DC voltage, 363 00:26:34 --> 00:26:40 what would be the value at VB after a long time? 364 00:26:40 --> 00:26:42 Pardon? VS. 365 00:26:42 --> 00:26:48 If I wait long enough then it is going to be at VS. 366 00:26:48 --> 00:26:53 This is greater than the initial value, 367 00:26:53 --> 00:27:00 so we're done. That is my 1-e^-t/RC form. 368 00:27:00 --> 00:27:05 It took me three seconds there. It's pretty cool. 369 00:27:05 --> 00:27:10 We could add the expression for this. 370 00:27:10 --> 00:27:16 And the expression was I take my starting value, 371 00:27:16 --> 00:27:20 which is zero, and I add to that this 372 00:27:20 --> 00:27:26 difference VS and I multiply that by this form. 373 00:27:26 --> 00:27:31 There we go. And remember I get this from 374 00:27:31 --> 00:27:35 that rising form up here. V0=0, this is zero, 375 00:27:35 --> 00:27:39 so it is simply VI times that, and VI=VS. 376 00:27:39 --> 00:27:43 I really would like you to get this intuition. 377 00:27:43 --> 00:27:48 If I had two choices, one is that you understand the 378 00:27:48 --> 00:27:54 intuition and are able to sketch that versus in your sleep be 379 00:27:54 --> 00:28:01 able to solve the differential equation and get to the answer. 380 00:28:01 --> 00:28:07 I would much rather you get the intuition, if it is one or the 381 00:28:07 --> 00:28:10 other. It is very simple. 382 00:28:10 --> 00:28:14 Start off at zero, I go chuck, and boom, 383 00:28:14 --> 00:28:18 I get to VS and this is my 1-e^-t/RC form. 384 00:28:18 --> 00:28:23 I need to compute tR. And tR is the time that this 385 00:28:23 --> 00:28:27 takes to get to VOH. 386 00:28:27 --> 00:28:36 387 00:28:36 --> 00:28:53 For what value of time, for what T, does VB reach VOH? 388 00:28:53 --> 00:29:01 I want to find tR. What's tR? 389 00:29:01 --> 00:29:05 From that equation, that simply tells me the 390 00:29:05 --> 00:29:10 trajectory of VB as a function of time. 391 00:29:10 --> 00:29:16 And so I need to find out what is T for which VB is VOH? 392 00:29:16 --> 00:29:22 I write VOH=VS (1-e^-t/RC). So after a rise time my output 393 00:29:22 --> 00:29:28 is going to be VOH. And so let me go ahead and find 394 00:29:28 --> 00:29:31 tR. Let's see. 395 00:29:31 --> 00:29:37 I bring this to this left-hand side and divide VOH by VS, 396 00:29:37 --> 00:29:43 and then I move things around and what I end up getting is 397 00:29:43 --> 00:29:49 -tR/RC and on the other side I get ln(1-VOH/VS). 398 00:29:49 --> 00:29:52 Divide VOH by VS, that is this, 399 00:29:52 --> 00:30:00 move this to the other side, and move e^-t/RC to this side. 400 00:30:00 --> 00:30:05 And take logarithms on both sides. 401 00:30:05 --> 00:30:11 This is what I get. tR is therefore -RLCGS 402 00:30:11 --> 00:30:16 ln(1-VOH/VS). That is my rise time. 403 00:30:16 --> 00:30:21 You can just do this by inspection. 404 00:30:21 --> 00:30:30 It is just so awfully simple. Just to give to some intuition 405 00:30:30 --> 00:30:38 with numbers and so on. Let's say that RL=1K, 406 00:30:38 --> 00:30:41 VS=5 volts, VOH=4 volts, CGS=0.1 pF. 407 00:30:41 --> 00:30:47 This happens so often that we often time call it "puff". 408 00:30:47 --> 00:30:51 0.1 puff. It is pF, it's called puff. 409 00:30:51 --> 00:30:55 If it is nF, I don't know why they didn't 410 00:30:55 --> 00:31:01 call it "nuff". They just call it nanofarads. 411 00:31:01 --> 00:31:08 TR for these numbers gets to be one times ten to the three times 412 00:31:08 --> 00:31:14 point one times ten to the minus twelve for pico-farads 413 00:31:14 --> 00:31:19 ln(1-4/5). And if you do the math you get 414 00:31:19 --> 00:31:26 this down to 0.16 nanoseconds. This means that if I had an 415 00:31:26 --> 00:31:33 inverter like that droving another inverter then my output 416 00:31:33 --> 00:31:40 transition would be delayed by 0.16 nanoseconds. 417 00:31:40 --> 00:31:45 Trust me, when Intel builds microprocessors or when Broadcom 418 00:31:45 --> 00:31:50 builds its cable modem chips, they have to do this one way or 419 00:31:50 --> 00:31:56 the other using a computer tool or by hand for virtually every 420 00:31:56 --> 00:32:03 little subcircuit in their chip. That is how you get the delays 421 00:32:03 --> 00:32:09 or some approximation thereof. What I want you also to do is, 422 00:32:09 --> 00:32:15 for no particular reason, I will just compute for you the 423 00:32:15 --> 00:32:20 following quantity RLCGS. The time constant of that 424 00:32:20 --> 00:32:26 circuit for no reason at all. I am just going to compute it 425 00:32:26 --> 00:32:31 and stick it here. And RLCGS 1 K times 1 pF is 426 00:32:31 --> 00:32:37 simply 0.1 nanoseconds. I am just writing it and 427 00:32:37 --> 00:32:42 sticking it there for no particular reason. 428 00:32:42 --> 00:32:46 The next step let's do the falling delay, 429 00:32:46 --> 00:32:49 DF. That is the rising delay. 430 00:32:49 --> 00:32:54 And, although I didn't show this to you in the demo, 431 00:32:54 --> 00:33:01 there is a corresponding delay of the fall time. 432 00:33:01 --> 00:33:05 It doesn't fall instantly, but rather it falls rather 433 00:33:05 --> 00:33:08 slowly. Let's draw the equivalent 434 00:33:08 --> 00:33:11 circuit for when the node X falls. 435 00:33:11 --> 00:33:16 Notice that in my inverters here, this node starts off being 436 00:33:16 --> 00:33:17 at VS. This is high. 437 00:33:17 --> 00:33:21 And this is going to fall because when I turn this 438 00:33:21 --> 00:33:26 transistor on it is going to pull this node to ground or it 439 00:33:26 --> 00:33:32 is going to fall down. And what is the equivalent 440 00:33:32 --> 00:33:35 circuit? The equivalent circuit is that 441 00:33:35 --> 00:33:38 ground through capacitor to this node. 442 00:33:38 --> 00:33:42 At this node I have RON connecting to ground and I have 443 00:33:42 --> 00:33:45 RL connecting to ground through VS. 444 00:33:45 --> 00:33:48 Let me draw that little circuit for you. 445 00:33:48 --> 00:33:52 Remember life begins and ends on storage elements, 446 00:33:52 --> 00:33:56 so I will draw them first. My storage element CGS. 447 00:33:56 --> 00:34:01 That is VB. And, as I said, 448 00:34:01 --> 00:34:07 this is node X, it goes from RON to ground, 449 00:34:07 --> 00:34:15 and it also goes through RL through VS to ground. 450 00:34:15 --> 00:34:23 And in this particular situation VB of zero for the 451 00:34:23 --> 00:34:29 following delay, VB starts off at VS so VB of 452 00:34:29 --> 00:34:35 zero is VS. And the final output I am not 453 00:34:35 --> 00:34:39 sure yet. What is the final value of the 454 00:34:39 --> 00:34:44 voltage at this node? I don't know that yet. 455 00:34:44 --> 00:34:49 I need to compute that. So what I will do is whenever 456 00:34:49 --> 00:34:54 you see something like this, a capacitor connecting to 457 00:34:54 --> 00:34:58 linear stuff, or a nonlinear element 458 00:34:58 --> 00:35:03 connecting to linear stuff. For no apparent reason you 459 00:35:03 --> 00:35:05 should at least think about what? 460 00:35:05 --> 00:35:07 Think Thevenin, exactly. 461 00:35:07 --> 00:35:11 And then see if you can use the Thevenin method to simplify your 462 00:35:11 --> 00:35:13 life. Capacitor, a bunch of stuff 463 00:35:13 --> 00:35:16 here, I need to find out the initial value. 464 00:35:16 --> 00:35:18 Oh, I know that. That is VS. 465 00:35:18 --> 00:35:20 Done. I need to find the final value 466 00:35:20 --> 00:35:23 using my intuitive method. For the final value, 467 00:35:23 --> 00:35:27 I could do it just by looking at this, but I wanted to throw 468 00:35:27 --> 00:35:32 in Thevenin. Hey, let me try to the Thevenin 469 00:35:32 --> 00:35:37 equivalent and see if that makes my life any easier. 470 00:35:37 --> 00:35:40 VTH. The Thevenin method says that 471 00:35:40 --> 00:35:45 you can replace this circuit here with a Thevenin equivalent 472 00:35:45 --> 00:35:50 of the sort for the purpose of determining what happens at this 473 00:35:50 --> 00:35:54 node given that that is linear. 474 00:35:54 --> 00:36:02 475 00:36:02 --> 00:36:08 So I need to find out that for the purpose of determining what 476 00:36:08 --> 00:36:14 happens at the node X. I have to replace this with its 477 00:36:14 --> 00:36:19 Thevenin equivalent. And I now need to find out RTH 478 00:36:19 --> 00:36:23 and VTH. So I get RTH by looking in 479 00:36:23 --> 00:36:30 here, shorting this guy and looking at the resistance. 480 00:36:30 --> 00:36:33 So I look in like this, then I short this guy here and 481 00:36:33 --> 00:36:37 I get RL in parallel with RON because this one shorts to 482 00:36:37 --> 00:36:40 ground. So RTH is simply RL in parallel 483 00:36:40 --> 00:36:43 with RON. This is a convenient notation 484 00:36:43 --> 00:36:45 for RL being in parallel with RON. 485 00:36:45 --> 00:36:48 And you all know the value of that. 486 00:36:48 --> 00:36:52 It is another one of our very simple patterns like voltage 487 00:36:52 --> 00:36:55 divider and so on. Resistances in parallel can be 488 00:36:55 --> 00:37:00 computed as RL RON divided by RL plus RON. 489 00:37:00 --> 00:37:05 What is VTH? VTH is the open circuit voltage 490 00:37:05 --> 00:37:10 here. If I take out this capacitor, 491 00:37:10 --> 00:37:15 I want to find out what the voltage here is. 492 00:37:15 --> 00:37:22 Ah-ha, voltage divider. VS, the voltage divider here, 493 00:37:22 --> 00:37:28 RL and RON. I could write this down as VS 494 00:37:28 --> 00:37:34 times RON/(RL+RON). Remember you will see again and 495 00:37:34 --> 00:37:37 again and again and again in 6.002 or any circuit stuff that 496 00:37:37 --> 00:37:40 you do, you will see them all over Thevenin. 497 00:37:40 --> 00:37:42 Voltage dividers, current dividers, 498 00:37:42 --> 00:37:45 resistances in series, resistances in parallel, 499 00:37:45 --> 00:37:49 RC thing-a-ma-jigs like this. So if you just remember those 500 00:37:49 --> 00:37:53 10 to 15 intuitive patterns then you are pretty much set for 501 00:37:53 --> 00:37:55 life. It just comes on again and 502 00:37:55 --> 00:37:57 again and again. Parallel resistors. 503 00:37:57 --> 00:38:03 Voltage dividers. You should be able to write 504 00:38:03 --> 00:38:07 down a voltage divider in your sleep. 505 00:38:07 --> 00:38:12 So this is what I have. Let me now write down 506 00:38:12 --> 00:38:19 intuitively what I expect the node X to do just by inspection. 507 00:38:19 --> 00:38:24 Let's see. What is the initial value of 508 00:38:24 --> 00:38:31 the voltage across the capacitor, intuitive method? 509 00:38:31 --> 00:38:34 This is how Professor Perreault would do it, remember? 510 00:38:34 --> 00:38:38 He would start off by saying ah-ha, initial value is VS 511 00:38:38 --> 00:38:42 because I am told it is VS. I start off with VS. 512 00:38:42 --> 00:38:46 And so I start off here. What is the value after a long, 513 00:38:46 --> 00:38:48 long time based on this circuit here? 514 00:38:48 --> 00:38:51 V Thevenin. After a long time this is a DC 515 00:38:51 --> 00:38:54 voltage because that is a DC voltage. 516 00:38:54 --> 00:39:00 The capacitor looks like an open circuit after a long time. 517 00:39:00 --> 00:39:05 And VTH appears there so it is simply V Thevenin. 518 00:39:05 --> 00:39:11 519 00:39:11 --> 00:39:15 And then when you see those two, boy, I love doing this, 520 00:39:15 --> 00:39:18 you go like this. That is the coolest part. 521 00:39:18 --> 00:39:21 And then I am done. It is so simple. 522 00:39:21 --> 00:39:25 Three seconds or less, I am able to tell you what the 523 00:39:25 --> 00:39:28 delay of an inverter is purely by intuition, 524 00:39:28 --> 00:39:33 completely intuitively. I mean I haven't done any 525 00:39:33 --> 00:39:36 solving. It is just by observation. 526 00:39:36 --> 00:39:39 Took this circuit, made my life easy, 527 00:39:39 --> 00:39:44 Thevenin, looked at RTH, VTH and then sketched it by 528 00:39:44 --> 00:39:47 inspection. Again, if you find that things 529 00:39:47 --> 00:39:51 are really, really, really simple don't be 530 00:39:51 --> 00:39:54 surprised. Once you get some conceptual 531 00:39:54 --> 00:40:00 understanding things are indeed very simple. 532 00:40:00 --> 00:40:05 You can eliminate a lot of math just by staring at things 533 00:40:05 --> 00:40:08 attempting to build up the intuition. 534 00:40:08 --> 00:40:14 As a next step what I can do is write down the expression for 535 00:40:14 --> 00:40:17 VB. And I write down the expression 536 00:40:17 --> 00:40:21 from a falling transition. How do I do it? 537 00:40:21 --> 00:40:23 What was it? What is the method? 538 00:40:23 --> 00:40:27 I take the lowest value of interest here. 539 00:40:27 --> 00:40:32 That is VTH. And then I add to that this 540 00:40:32 --> 00:40:35 difference decaying exponentially. 541 00:40:35 --> 00:40:39 And that difference is simply VS-VTH. 542 00:40:39 --> 00:40:45 And that decays exponentially. This form is the e^-t/RC form. 543 00:40:45 --> 00:40:49 And, boom, I am done. Many of you are wondering, 544 00:40:49 --> 00:40:53 Professor Agarwal, if life was so simple, 545 00:40:53 --> 00:40:58 why on earth did you have us mess around with those 546 00:40:58 --> 00:41:03 differential equations to get here? 547 00:41:03 --> 00:41:06 You show us differential equations and then you don't use 548 00:41:06 --> 00:41:09 them anymore. Well, that is a good question. 549 00:41:09 --> 00:41:12 The answer to that is that you need to understand the 550 00:41:12 --> 00:41:14 foundations. Once you understand the 551 00:41:14 --> 00:41:18 foundations you can find simplifying techniques to get to 552 00:41:18 --> 00:41:21 where you need to be, but you need to understand the 553 00:41:21 --> 00:41:24 foundations. You need to at least see why 554 00:41:24 --> 00:41:28 things are the way they are at least once. 555 00:41:28 --> 00:41:34 Understand the foundations and then find intuitive ways of 556 00:41:34 --> 00:41:39 getting your answers. So now my falling delay here 557 00:41:39 --> 00:41:45 is, I start off with VOS and I need to get all the way down to 558 00:41:45 --> 00:41:50 what value to compute. At some point here, 559 00:41:50 --> 00:41:55 this is a valid one, at some point VB becomes a 560 00:41:55 --> 00:42:02 valid zero for the output. And that is when I stop my tF 561 00:42:02 --> 00:42:06 block. What is the value here for this 562 00:42:06 --> 00:42:11 to be a valid zero? Don't all yell at once. 563 00:42:11 --> 00:42:16 VOL. I simply had to figure out what 564 00:42:16 --> 00:42:20 is the value of time, this is Page 7, 565 00:42:20 --> 00:42:27 for which this expression decays down to VOL. 566 00:42:27 --> 00:42:38 So it is VTH+(VS-VTH) e^-tF/RC. Then I simplify this. 567 00:42:38 --> 00:42:44 How do I do that? VOL-VTH. 568 00:42:44 --> 00:42:53 Then I divide that by VS-VTH. So VOL-VTH. 569 00:42:53 --> 00:43:05 Divide that by VS-VTH. Take logarithms on both sides 570 00:43:05 --> 00:43:14 and then multiply by RC. So I get tF is -RC log of that. 571 00:43:14 --> 00:43:20 This is R Thevenin and this is CGS. 572 00:43:20 --> 00:43:30 How did I get this? VOL-VTH divided by VS-VTH. 573 00:43:30 --> 00:43:37 Take logs on both sides. And then multiply throughout by 574 00:43:37 --> 00:43:41 -1/-RC and I get my tF. Done. 575 00:43:41 --> 00:43:50 Let's do it for the same set numbers, just that we add an RON 576 00:43:50 --> 00:43:55 of 10 ohms. I will do this for RON of 10 577 00:43:55 --> 00:44:02 ohms and compute the value for you. 578 00:44:02 --> 00:44:06 tF=-RTH. RTH is RON parallel RL. 579 00:44:06 --> 00:44:11 This is 10 ohms. That is 1K. 580 00:44:11 --> 00:44:20 So 10 ohms in parallel with 1K is approximately 10 ohms. 581 00:44:20 --> 00:44:26 So let me just use approximately 10 ohms. 582 00:44:26 --> 00:44:33 1 pF, that is RC times ln of VOL. 583 00:44:33 --> 00:44:39 Oh, I need to give you a VOL. Let's say my discipline has VOL 584 00:44:39 --> 00:44:43 being 1 volt. And so therefore I end up 585 00:44:43 --> 00:44:47 getting a VOL-VTH divided by VS-VTH. 586 00:44:47 --> 00:44:51 Since RON is much, much, much smaller than RL, 587 00:44:51 --> 00:44:57 since RON is 10 ohms and this is 1K, most of VS will drop 588 00:44:57 --> 00:45:02 across RL. This is a hundred times 589 00:45:02 --> 00:45:05 smaller. Compared to VOL, 590 00:45:05 --> 00:45:07 which is 1 volt, VTH is very, 591 00:45:07 --> 00:45:12 very small. VTH will be on the order of 592 00:45:12 --> 00:45:18 0.05, and so therefore I simply write down VOL here and say VTH 593 00:45:18 --> 00:45:22 is approximately zero, and I get VS-VTH. 594 00:45:22 --> 00:45:28 This is approximately 5. So let me just say this is 595 00:45:28 --> 00:45:34 approximately. And if you do it you will get 596 00:45:34 --> 00:45:38 1.6 pico-seconds. Again, just for fun, 597 00:45:38 --> 00:45:45 let me write the corresponding RC time constant for the 598 00:45:45 --> 00:45:52 circuit, which is RTHCGS. So RTH is approximately 10 ohms 599 00:45:52 --> 00:45:58 and CGS is 1 pF, so this is 1 picosecond. 600 00:45:58 --> 00:46:04 601 00:46:04 --> 00:46:08 Now you will understand why I have been writing this time 602 00:46:08 --> 00:46:10 constant down. It turns out that the time 603 00:46:10 --> 00:46:13 constant is a very, very important number. 604 00:46:13 --> 00:46:17 So you see an RC circuit, and you compute its time 605 00:46:17 --> 00:46:21 constant for an RLC connection like this, it is the series 606 00:46:21 --> 00:46:25 resistance times the capacitor. The time constant is a very 607 00:46:25 --> 00:46:29 important number. And usually the circuit delays 608 00:46:29 --> 00:46:34 are in the neighborhood of the time constant value. 609 00:46:34 --> 00:46:37 In this case this is 1 pS. That is 1.6 pS. 610 00:46:37 --> 00:46:40 And in this case we had 0.1 nS and 0.16 nS. 611 00:46:40 --> 00:46:44 So the time constant itself is a good indicator of what your 612 00:46:44 --> 00:46:48 delays are going to be like. If you have no time, 613 00:46:48 --> 00:46:53 you are sloshing your cereal down in the morning and you need 614 00:46:53 --> 00:46:57 to know how long the delay of the inverter very quickly, 615 00:46:57 --> 00:47:02 you have three seconds. Just do the RC and that is a 616 00:47:02 --> 00:47:06 good first approximation. What I would like to do next in 617 00:47:06 --> 00:47:11 the last three or four minutes is set up a little demo for you 618 00:47:11 --> 00:47:15 for your recitation, and then your recitation will 619 00:47:15 --> 00:47:17 cover it. 620 00:47:17 --> 00:47:23 621 00:47:23 --> 00:47:26 This is a true story. This really, 622 00:47:26 --> 00:47:29 really happened. In this West Coast school, 623 00:47:29 --> 00:47:33 which shall remain nameless, they had a chip, 624 00:47:33 --> 00:47:37 they built a chip. And the chip had a bunch of 625 00:47:37 --> 00:47:40 pins, as you might imagine. And the pin, 626 00:47:40 --> 00:47:44 as you have a trace on a board, a wire on a board there are 627 00:47:44 --> 00:47:47 some capacitance attached to wires, between the wire and 628 00:47:47 --> 00:47:49 ground. And that is a capacitor. 629 00:47:49 --> 00:47:52 And they just called it a load capacitance. 630 00:47:52 --> 00:47:56 It could have been 0.1 pF or 0.01 pF or something like that. 631 00:47:56 --> 00:48:00 What they found when they built this chip -- 632 00:48:00 --> 00:48:03 What they found was that the voltage here they expected to 633 00:48:03 --> 00:48:06 look like this, this computer science 634 00:48:06 --> 00:48:09 abstraction and so on, zero to one transition, 635 00:48:09 --> 00:48:13 boom, it should look like this. But for the reasons we saw 636 00:48:13 --> 00:48:17 today the observed transition was much slower and looked like 637 00:48:17 --> 00:48:20 this. So the students said ah-ha, 638 00:48:20 --> 00:48:23 let's speed up this chip. We can speed up the chip by 639 00:48:23 --> 00:48:27 looking at the RL and RON of my driving inverters. 640 00:48:27 --> 00:48:32 And if I make RL small -- Notice if I make RL small my 641 00:48:32 --> 00:48:36 delay is small. If I make RON small my falling 642 00:48:36 --> 00:48:39 delay is small. So let's make really small RLs 643 00:48:39 --> 00:48:43 and RONs and let's all have fun. Unfortunately, 644 00:48:43 --> 00:48:48 what they observed was that by making RL and RON both small, 645 00:48:48 --> 00:48:53 the RC time constant small they expected to see a much sharper 646 00:48:53 --> 00:48:56 rise time. And this was the original. 647 00:48:56 --> 00:49:01 But what really happened was -- They expected this to get 648 00:49:01 --> 00:49:05 faster and kind of look like this, but what happened was 649 00:49:05 --> 00:49:08 disaster struck. What they observed was 650 00:49:08 --> 00:49:11 something like that. This is a real-life story. 651 00:49:11 --> 00:49:15 And so instead of getting something like this they go 652 00:49:15 --> 00:49:18 something like this. And why is that a problem? 653 00:49:18 --> 00:49:22 That is a problem because notice when I expect to be at a 654 00:49:22 --> 00:49:26 zero, I got some spikes that went higher than VIL into the 655 00:49:26 --> 00:49:30 forbidden region and did bad things to me. 656 00:49:30 --> 00:49:33 So let me show you a little demo and show you that that's 657 00:49:33 --> 00:49:36 exactly how the circuit is behaving. 658 00:49:36 --> 00:49:43 659 00:49:43 --> 00:49:48 Notice that this is what I expect but this is what I see. 660 00:49:48 --> 00:49:54 Look at the purple curve here. Notice these spikes that are 661 00:49:54 --> 00:49:57 showing up there. This is true. 662 00:49:57 --> 00:50:01 They saw it happen. And why is this happening? 663 00:50:01 --> 00:50:06 It turns out that what was happening was that the two pins 664 00:50:06 --> 00:50:10 were next to each other. And I will show you a little 665 00:50:10 --> 00:50:13 demonstration here. Let's see if you can figure out 666 00:50:13 --> 00:50:17 why this was happening. Think of these as two pins and 667 00:50:17 --> 00:50:22 the pins are close together. I am just modeling the two pins 668 00:50:22 --> 00:50:27 with a role of wire. And what I am going to do is -- 669 00:50:27 --> 00:50:33 670 00:50:33 --> 00:50:36 I am going to separate the wires and keep them far apart. 671 00:50:36 --> 00:50:39 It is like keeping my pins far apart. 672 00:50:39 --> 00:50:42 Hey, guess what happened? Those nasty spikes went away. 673 00:50:42 --> 00:50:46 But then I cannot keep my pins 1 meter apart on a chip. 674 00:50:46 --> 00:50:48 Your laptops are going to look 20 yards long. 675 00:50:48 --> 00:50:52 You want the pins to be very close to each other so that you 676 00:50:52 --> 00:50:56 can have many pins on chips and therefore have very small 677 00:50:56 --> 00:50:57 systems. But then look, 678 00:50:57 --> 00:51:02 I get the spikes. Any idea why that is happening? 679 00:51:02 --> 00:51:06 Why is that when the pins are close together I get those 680 00:51:06 --> 00:51:08 spikes? Any ideas? 681 00:51:08 --> 00:51:10 Somewhat? We just learned about 682 00:51:10 --> 00:51:14 capacitors, so this must have to do with capacitors. 683 00:51:14 --> 00:51:18 There is this parasitic capacitor between the pins, 684 00:51:18 --> 00:51:20 exactly. Here is what is happening. 685 00:51:20 --> 00:51:25 Here is what I expect. I expect a nice square wave at 686 00:51:25 --> 00:51:28 the output. But instead I have a pin next 687 00:51:28 --> 00:51:31 to me. And I have a faster wave form 688 00:51:31 --> 00:51:33 driving it. And so therefore there is a 689 00:51:33 --> 00:51:36 parasitic capacitor here. And because of that I get 690 00:51:36 --> 00:51:40 something called "crosstalk". And the model for crosstalk is 691 00:51:40 --> 00:51:43 some resultant resistance with the parasitic capacitor and I 692 00:51:43 --> 00:51:45 get those spikes. And the 6.002 experts saw the 693 00:51:45 --> 00:51:48 solution. They said how do we fix this 694 00:51:48 --> 00:51:50 problem? 6.002 experts said the way we 695 00:51:50 --> 00:51:52 fix this problem if it is slow it may be better. 696 00:51:52 --> 00:51:56 Instead of having sharp transitions let me drive it with 697 00:51:56 --> 00:52:00 slower transitions. Let's switch to the demo again. 698 00:52:00 --> 00:52:03 You will see this in recitation, but I will show you 699 00:52:03 --> 00:52:06 the demo very quickly. I have a sharp transition of 700 00:52:06 --> 00:52:08 the input, which is that yellow thing out there. 701 00:52:08 --> 00:52:11 I am going to make the transition slower. 702 00:52:11 --> 00:52:14 Switch to a triangular wave. And you will notice the spikes 703 00:52:14 --> 00:52:15 go away. Oh, no. 704 00:52:15 --> 00:52:18 That is the wrong one. The other one. 705 00:52:18 --> 00:52:20 There you go. The moment I switch to a slower 706 00:52:20 --> 00:52:22 transition boom, the spikes go away. 707 00:52:22 --> 00:52:24 You want to switch back to square? 708 00:52:24 --> 00:52:27 There you go. The 6.002 experts saw the 709 00:52:27 --> 00:52:30 solution. Slower transitions. 710 00:52:30 --> 00:52:33 And you will do this example in detail in Section tomorrow. 711 00:52:33 --> 52:36 Thank you.