Question about reporting of the value of a current

[email protected] Wed, 20 May 2015 20:03:51 -0400
Newsgroups gmane.comp.gnu.gnucap.general
Message-ID <[email protected]>
Hi,

This question is about the reporting of the value of a current.

I have a test-case as follows:

_______________________________________________________________________

MN D G 0 SUB_V NMOS
+   w=40u l=5u nrd=1 nrs=1 ad=205p pd=90u as=205p ps=90u

.MODEL NMOS NMOS
+LEVEL=49 VERSION=3.1 CAPMOD=2 MOBMOD=1
...
...

VDS D 0 3.3
VSUB SUB_V 0 0

VG G 0 3.3

.PRINT OP V(G) V(D) I(IDS.MN) I(VDS)
.OP

.END
_______________________________________________________________________

The result of running this is as follows:

_______________________________________________________________________

#           V(G)       V(D)       I(Ids.MN)  I(VDS)
  27.        3.3        3.3        0.0023209 -0.0023209
_______________________________________________________________________


Why is the result of I(VDS) negative?

Thanks in advance for your help.

Regards.

Brunno