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_savpaseq - save pattern structures in a pattern description file

Synopsys

int pat_savpaseq (name, ptseq, labelsiz)

char
*name ;
struct paseq *ptseq
; unsigned int labelsiz;

Parameters

name
pattern file's name
ptseq
pointer on a list of patterns' sequence

labelsiz length of the longest pattern's label

Description

pat_savpaseq produces a pattern file named name from a paseq structure.

For the first call, pat_savpaseq opens a file (according to MBK_WORK_LIB and VH_PATSFX environment variables) named name. Then, the input-output declarations is produced followed by the pattern description. When calling pat_savpaseq the input-output list (list of PAIOL) is supposed to be organized as an array. If the input-output list is not an array (flag PAT_SEQ__IOLARRAY not set) the functions makes an array from the inputoutput list and releases the list.

For subsequent calls, the file is completed with the newly processed patterns. The file remains openned util the last subsequence is written into the file.

Return Values

pat_lodpaseq returns a non-zero value if an error has been occured.

Example

#include <pat106.h>
#include <ppt106.h>

struct paseq *paseq_pnt = NULL;

while ((paseq_pnt != NULL) && (paseq_pnt->ENDFLG != `Y')) {
paseq_pnt = pat_lodpaseq ("my_sequence", paseq_pnt, 1000); ......
pat_savpaseq ("result", paseq_pnt, 10); }

See Also

libpat(3) , paseq(3) , pat_addpaseq(3) , pat_lodpaseq(3) , mbkfopen(3) , mbkenv(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.


Table of Contents

 



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