DPGEN_INV3
Inverter macro-generator
Usage
#include <genlib.h>
void GENLIB_MACRO (DPGEN_INV, char *modelname, long flags, long N, long drive);
Overview
Generate a N bits inverter with an output power of drive named modelname.
Valid drive are : 1, 2, 3 or 4.
Terminal names
1.
|
i0 : input. |
|---|---|
2.
|
nq : output. |
3.
|
vdd : power. |
4.
|
vss : ground. |
Behavior
nq <= not(i0)
Examples
GENLIB_MACRO(DPGEN_INV, "model_inv_32"
, F_BEHAV|F_PLACE
, 32
, 1
);
GENLIB_LOINS( "model_inv_32"
, "instance1_inv_32"
, "i0[31:0]"
, "nq[31:0]"
, "vdd", "vss", NULL
);
Releases
Unchanged in 4 releases since Debian 7 (Wheezy).