Apr 22, 2008 #1 R rosaeidi Full Member level 2 Joined Dec 19, 2006 Messages 143 Helped 4 Reputation 8 Reaction score 2 Trophy points 1,298 Activity points 2,129 Hi I write the following code in Hspice to view the drain curren of M1. .print I1(M1) After simulation without error, this current didn't appear in output files. Does anyone know the reason? What should I do to measure the transistor current?
Hi I write the following code in Hspice to view the drain curren of M1. .print I1(M1) After simulation without error, this current didn't appear in output files. Does anyone know the reason? What should I do to measure the transistor current?
Apr 22, 2008 #2 Y yschuang Full Member level 3 Joined Feb 1, 2004 Messages 183 Helped 15 Reputation 30 Reaction score 2 Trophy points 1,298 Activity points 1,002 Add something like .option post
Apr 22, 2008 #3 A ampper Newbie level 6 Joined Oct 8, 2006 Messages 11 Helped 9 Reputation 18 Reaction score 6 Trophy points 1,283 Activity points 1,367 it maybe appear in current 1 of Results Browser, but not in current
Apr 22, 2008 #4 A ashish_chauhan Full Member level 5 Joined Sep 2, 2007 Messages 266 Helped 48 Reputation 96 Reaction score 9 Trophy points 1,298 Activity points 2,674 put I(M1) instead of I1(M1)... this defaults to drain current and of course use ".option post " Added after 4 minutes: and if u are bothered for all device currents and voltages simply put .probe v(*) i(*) this will post all the voltages and currents in heirarchy
put I(M1) instead of I1(M1)... this defaults to drain current and of course use ".option post " Added after 4 minutes: and if u are bothered for all device currents and voltages simply put .probe v(*) i(*) this will post all the voltages and currents in heirarchy
Apr 23, 2008 #5 butterfish Full Member level 2 Joined Oct 26, 2005 Messages 135 Helped 9 Reputation 18 Reaction score 3 Trophy points 1,298 Location china Activity points 2,012 ashish_chauhan said: put I(M1) instead of I1(M1)... this defaults to drain current and of course use ".option post " Added after 4 minutes: and if u are bothered for all device currents and voltages simply put .probe v(*) i(*) this will post all the voltages and currents in heirarchy Click to expand... agree. and make sure the instance name of transistor is same as it in netlist, such as mxn*, mxp*
ashish_chauhan said: put I(M1) instead of I1(M1)... this defaults to drain current and of course use ".option post " Added after 4 minutes: and if u are bothered for all device currents and voltages simply put .probe v(*) i(*) this will post all the voltages and currents in heirarchy Click to expand... agree. and make sure the instance name of transistor is same as it in netlist, such as mxn*, mxp*
Apr 23, 2008 #6 R rosaeidi Full Member level 2 Joined Dec 19, 2006 Messages 143 Helped 4 Reputation 8 Reaction score 2 Trophy points 1,298 Activity points 2,129 Thanks alot!