Table of Contents

Origin

This software belongs to the ALLIANCE CAD system from the CAO-VLSI team at ASIM/LIP6/UPMC laboratory.
LIP6/ASIM
University P. et M. Curie 4, place Jussieu 75252 PARIS Cedex 05 FRANCE
Fax : {33/0} 1.44.27.62.86
E-mail support : alliance-support@asim.lip6.fr

Name

pat_addpapat, pat_frepapat

Synopsys

struct papat *pat_addpapat (lastpapat, label, line) struct papat *lastpapat;
char *label;
unsigned short line;

void pat_frepapat (listpapat)
struct papat *listpapat;

Parameters

lastpapat pointer on the last papat structure

label
pattern's label
line
pattern's line number

listpapat list of papat structures to be deleted

Description

A papat is a data structure representing a complete pattern including the actions associated with the 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).

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

pat_frepapat() deletes a list of papat structures and all objects (paini and paevt) referenced by each papat structure in the list. If the list to be deleted is an empty list (NULL pointer), no action is produced. No check is made by this function.

Example

#include <pat106.h>

struct papat *list;

list = pat_addpapat (list, ram_test", 123); pat_frepapat (list);

See Also

libpat(3) , papat(3) , namealloc(3)

Bug Report

This tool is under development at the ASIM/LIP6/UPMC laboratory, cao-vlsi research team.
We need your feedbak to improve documentation and tools. If you find bugs, please fill-in the form at http://asim.lip6.fr/alliance/support/bug-report/ Thanks for doing this.

Bug Report

This tool is under development at the ASIM/LIP6/UPMC laboratory, cao-vlsi research team.
We need your feedbak to improve documentation and tools. If you find bugs, please fill-in the form at http://asim.lip6.fr/alliance/support/bug-report/ Thanks for doing this.


Table of Contents

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 26 May 2000.