source: vis_dev/vis-2.3/src/rst/rst.h @ 23

Last change on this file since 23 was 14, checked in by cecile, 13 years ago

vis2.3

File size: 4.3 KB
Line 
1/**CHeaderFile*****************************************************************
2
3  FileName    [rst.h]
4
5  PackageName [rst]
6
7  Synopsis    [Restructuring package for restructuring the hierarchy]
8
9  Description [This package provides the capability to restructure the user's
10               hierarchy. Currently only collapsing adjacent nodes is
11               provided. Parititioning FSMs is expected to be provided in the
12               future]
13
14  Author      [Desmond A. Kirkpatrick and Sriram Rajamani (with many thanks to Yuji Kukimoto)]
15
16  Copyright   [Copyright (c) 1994-1996 The Regents of the Univ. of California.
17  All rights reserved.
18
19  Permission is hereby granted, without written agreement and without license
20  or royalty fees, to use, copy, modify, and distribute this software and its
21  documentation for any purpose, provided that the above copyright notice and
22  the following two paragraphs appear in all copies of this software.
23
24  IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
25  DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
26  OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
27  CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29  THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
30  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
31  FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS ON AN
32  "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO PROVIDE
33  MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.]
34
35
36******************************************************************************/
37
38#ifndef _RST
39#define _RST
40
41/*---------------------------------------------------------------------------*/
42/* Nested includes                                                           */
43/*---------------------------------------------------------------------------*/
44#include "hrc.h"
45/*---------------------------------------------------------------------------*/
46/* Constant declarations                                                     */
47/*---------------------------------------------------------------------------*/
48
49
50/*---------------------------------------------------------------------------*/
51/* Structure declarations                                                    */
52/*---------------------------------------------------------------------------*/
53
54
55/*---------------------------------------------------------------------------*/
56/* Type declarations                                                         */
57/*---------------------------------------------------------------------------*/
58
59
60/*---------------------------------------------------------------------------*/
61/* Variable declarations                                                     */
62/*---------------------------------------------------------------------------*/
63
64
65/*---------------------------------------------------------------------------*/
66/* Macro declarations                                                        */
67/*---------------------------------------------------------------------------*/
68
69
70/**AutomaticStart*************************************************************/
71
72/*---------------------------------------------------------------------------*/
73/* Function prototypes                                                       */
74/*---------------------------------------------------------------------------*/
75
76EXTERN void Rst_Init(void);
77EXTERN void Rst_End(void);
78EXTERN array_t* Rst_VartoVarLookup(array_t* VarArray, st_table* VartoVarOne, st_table* VartoVarTwo);
79EXTERN array_t* Rst_GetNamesUntilNextOption(array_t* nameArray, int argc, char **argv);
80EXTERN array_t* Rst_LoadNameArrayFromFile(array_t* nameArray, FILE* fp);
81EXTERN Hrc_Model_t* Rst_GroupRestructureModel(Hrc_Manager_t* Hmgr, Hrc_Model_t* ParentModel, array_t* GroupArray);
82EXTERN Hrc_Node_t* Rst_GroupRestructureNode(Hrc_Manager_t* Hmgr, Hrc_Node_t* CurNode, array_t* GroupArray);
83EXTERN Hrc_Model_t* Rst_GroupGroupCombLogic(Hrc_Manager_t* Hmgr, Hrc_Model_t* CurModel);
84EXTERN Hrc_Model_t* Rst_GroupGroupLatches(Hrc_Manager_t* Hmgr, Hrc_Model_t* CurModel);
85EXTERN int Rst_CommandGroupComponents(Hrc_Manager_t** Hmgr, int argc, char ** argv);
86
87/**AutomaticEnd***************************************************************/
88
89#endif /* _RST */
Note: See TracBrowser for help on using the repository browser.