The digital 'nand' gate is an n-input, single-output 'nand' gate which produces an active "0" value if, and only if, all of its inputs are also "1" values. If any of the inputs is a "0"; the output will also he a "1"; if neither of these conditions holds, the output will be unknown. The delays associated with an output rise and those associated with an output fall may be specified independently. The model also posts an input load value (in farads) based on the parameter input_load. The output of this model does NOT, however, respond to the total loading it sees on its output; it will always drive the output strongly with the specified delays.

Port Table

Description Direction Default Type Allowed Types Vector Vector Bounds Null Allowed
Input IN d d YES 2 / - NO
Output OUT d d NO   NO

Parameter Table

Name Description Data Type Default Value Limits Vector Vector Bounds Null Allowed
rise_delay rise delay Real 1.0e-9 1.0e-12 / - NO   YES
fall_delay fall delay Real 1.0e-9 1.0e-12 / - NO   YES
input_load input load value (F) Real 1.0e-12   NO   YES


a6 [1 2 3] 8 nand1
.model nand1 d_nand(rise_delay = 0.5e-9 fall_delay = 0.3e-9 input.load = 0.5e-12)

See also

XSPICE Devices
XSPICE Code Models