PAIOL(3)

NAME

paiol - PAT data structure

DESCRIPTION

paiol is a data structure used in PAT to represent a one-bit input-output. pagrp has been designed to be used in a simply chained list. For more efficient accessibility a paiol list must be organized as a table (to allow indexed addressing).

A paiol structure is composed of the following fields.

(char *) NAME
    the input-output's name. For an actual 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) FORMAT
    the read-write format: X (hexa.), O (octal) and, B (binary scalar)

(char) BLANK
    number of blank column to be printed after the value

(char) VALUE
    not used

(char) MODE
    the input-output's mode. This flag is first, setup by the compiler:

    I   input-output declared as in

    O   input-output declared as out

    T   input-output declared as inout

    S   input-output declared as signal

    R   input-output declared as register

    then modified by the linker (Asimut simulation tool) :

    I   I - port of mode in

    B   O - simple port of mode inout

    O   O - simple port of mode out

    Z   O - bused port of mode out

    T   T - bused port of mode inout

    S   S - simple behavioural signal

    W   S - simple structural signal

    X   S - bused structural signal

    U   S - bused behavioural signal

    R   R - behavioural signal of kind register

(struct paiol *) NEXT
    next paiol

SEE ALSO

libpat(3), pat(5), namealloc(3)