PAPAT(3)

NAME

papat - PAT data structure

DESCRIPTION

papat is a data structure used in PAT to represent a pattern. A pattern is a set of values either forced at the same time on the inputs or predicted for the outputs after the simulation step. papat has been designed to be used in a simply chained list.

A papat structure is composed of the following fields.

(char *) LABEL
    the label of the pattern (set to NULL if not present in the description file). This string is supposed been produced by namealloc()

(unsigned short) LINE
    the location (line number) of the pattern in the pattern description file

(char) BLANK
    number of empty lines to be printed after the pattern (up to 15)

(char) ACTFLAG
    a flag representing the action associated with the pattern: I (initialize registers before processing the pattern) and, U (no action)

(char) SIMFLAG
    simulation flag : S (pattern already processed) and, U (pattern not yet processed)

(struct paevt *) PAEVT
    list of events

(struct paini *) PAINI
    list of initialized registers

(struct papat *) NEXT
    next papat

SEE ALSO

libpat(3), pat(5), paevt(3), paini(3)