BEGEN(3)

NAME

begen - BEH data structure

DESCRIPTION

begen is a data structure used in BEH to represent a one-bit global constant relative to the circuit. A begen list must be ordered in the reverse order of the constant 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. begen has been designed to be used in a simply chained list.

A begen structure is composed of the following fields.

(char *) NAME
    the constant'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 *) TYPE
    constant's type. This string is supposed been produced by namealloc() Up to now only natural type is legal.

(void *) VALUE
    constant's value

(struct begen *) NEXT
    next begen

It is to be noticed that begen list can be accessed in a befig through the USER field.

SEE ALSO

beh(3), befig(3), beh_addbegen(3), beh_delbegen(3), beh_frebegen(3), beh_rmvbegen(3), namealloc(3)