paiol(2)

ORIGIN

This software belongs to the ALLIANCE CAD system from the
CAO-VLSI team at MASI laboratory, Universite P. et M. Curie
4, place Jussieu ; 75252 PARIS Cedex 05 ; FRANCE
Fax: (33-1) 44.27.62.86 ; E-mail: cao-vlsi@masi.ibp.fr

NAME

pat_addpaiol, pat_crtpaiol, pat_frepaiol

SYNOPSIS

struct paiol *pat_addpaiol (lastpaiol, name, format, mode, blank)
struct paiol *lastpaiol;
char *name;
char format;
char mode;
unsigned char blank;

struct paiol *pat_crtpaiol (listpaiol)
struct paiol *listpaiol;
void pat_frepaiol (listpaiol)
struct paiol *listpaiol;

PARAMETERS

lastpaiol
    pointer on the last paiol structure

name
    input-output's name

format
    input-output's format

mode
    input-output's mode

blank
    number of blank columns to be printed after the input-output value

listpaiol
    list of paiol structures to be deleted or put in a table

DESCRIPTION

A paiol is a data structure representing a one-bit input-output.

pat_addpaiol() adds a paiol structure at the top of a list of paiol structures. The name registered in the paiol is produced by namealloc(). The function returns the pointer of the new list. No check is made by this function.

pat_crtpaiol() creates a table of paiol structures. This table is organized in a simply chained list. Then, pat_crtpaiol() copies the content of the old paiol list in the new table. No check is made by this function.

pat_frepaiol() deletes a list of paiol structures. No check is made by this function.

EXAMPLE

#include <pat104.h>
struct paiol *list;
struct paiol *final_list;
list = pat_addpaiol (list, "INA", 'X', 'I', 10);
final_list = pat_crtpaiol (list);
pat_frepaiol (list);

SEE ALSO

libpat(2), paiol(2), namealloc(2)

BUGS

Please e-mail to cao-vlsi@masi.ibp.fr for bug report and suggestions.