dpgen_buse(3) - Linux man page

Name

DPGEN_BUSE - tristate Macro-Generator

Synopsis

#include <genlib.h>

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

Description

Generate a N bits two inputs tristate with named modelname.

Terminal Names

  1. ..
  2. cmd : select (1 bit)..
  3. i0 : input (N bits)..
  4. q : output (N bits)..
  5. vdd : power.
  6. vss : ground.

Behavior

ts:BLOCK(cmd = '1') BEGIN
    q <= GUARDED i0;
END

Example

GENLIB_MACRO(DPGEN_BUSE, "model_buse_32"
                       , F_BEHAV|F_PLACE
                       , 32
                       );
GENLIB_LOINS( "model_buse_32"
            , "instance1_buse_32"
            , "cmd"
            , "i0[31:0]"
            ,  "q[31:0]"
            , "vdd", "vss", NULL
            );

See Also

genlib_macro(3), genlib(1)