PAEVT(3)

NAME

paevt - PAT data structure

DESCRIPTION

paevt is a data structure used in PAT to represent an event on a one-bit input-output.

For an input, a modification of the value forced on the port between two consecutive patterns is considered as an event.

For an output, a modification of the value predicted for the output by the user between two consecutive patterns is considered as an event. In addition, whatever the last value of the output would be, it is considered as an event, when no value has been predicted by the user (see pat(5)).

paevt has been designed to be used in a simply chained list.

A paevt structure is composed of the following fields.

(unsigned short) INDEX
    the offset of the input-output in the paiol table

(char) USERVAL
    value to be forced on the input or predicted for the output

(char) SIMVAL
    value resulted from the simulation

(struct paevt *) NEXT
    next paevt

SEE ALSO

libpat(3), pat(5)