BEPOR(3)

NAME

bepor - BEH data structure

DESCRIPTION

bepor is a data structure used in BEH to represent a one-bit port. A bepor list must be ordered in the reverse order of the port declarations in the text file. For an array, each element is represented by a single structure. These are organized in the reverse order of the array's range declaration. bepor has been designed to be used in a simply chained list.

A bepor structure is composed of the following fields.

(char *) NAME
    the port's name. For an array's element, the name is the array's identifier added to the element's index seperated by a ' ' (blank space). This string is supposed been produced by namealloc()

(char) DIRECTION
    port's mode : I (input), O (output), Z (bused output), B (inout) and, T (bused inout)

(char) TYPE
    port's type : B (bit), M (mux_bit) and, W (wor_bit)

(struct bepor *) NEXT
    next port

SEE ALSO

beh(3), beh_addbepor(3), beh_delbepor(3), beh_frebepor(3), beh_rmvbepor(3), namealloc(3)