DPGEN_NBUSE(3)

DPGEN_NBUSE3

Tristate macro-generator

Usage

#include <genlib.h>

void GENLIB_MACRO (DPGEN_NBUSE, char *modelname, long flags, long N);

Overview

Generate a N bits two inputs tristate with a complemented output named modelname.

Terminal names

1.

cmd : select (1 bit).

2.

i0 : input (N bits).

3.

nq : output (N bits).

4.

vdd : power.

5.

vss : ground.

Behavior

nts:BLOCK(cmd = '1') BEGIN
    nq <= GUARDED not(i0);
END

Examples

GENLIB_MACRO(DPGEN_NBUSE, "model_nbuse_32"
                        , F_BEHAV|F_PLACE
                        , 32
                        );
GENLIB_LOINS( "model_nbuse_32"
            , "instance1_nbuse_32"
            , "cmd"
            , "i0[31:0]"
            , "nq[31:0]"
            , "vdd", "vss", NULL
            );

Releases

Unchanged in 4 releases since Debian 7 (Wheezy).

  1. 7–10

From alliance 5.1.1-3 in Debian 10 (Buster). Parsed by carta from the page's man source.