Geoffrey.Coram wrote: > edaorg@v-ms.com wrote: > >>> analog begin >>> I(a,b) <+ 0; >>> if(P) >>> V(a,b) <+ 5; >>> end >>> >> Why would you do that? >> The comment referred to the whole paragraph, i.e. that snippet was the concatentation of the bits above (you didn't quote), so the question was really: "why would you do the concatentation?" Sorry about the lack of clarity. Kev. > I(a,b) <+ 0 is the "default" state of a branch. > One could then have the V() contrib based on some > condition. > > For example, I had a designer here suggest an > approach for modeling power-up of a part with a > current source that feeds 0A at first, then feeds > 500mA until the voltage reaches the target 5V, > and then acts like a voltage source for the > remainder of the simulation. > > -Geoffrey > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Wed Jan 3 15:00:43 2007
This archive was generated by hypermail 2.1.8 : Wed Jan 03 2007 - 15:00:49 PST