source: vis_dev/vis-2.3/src/eqv/eqvInt.h @ 50

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

vis2.3

File size: 4.2 KB
RevLine 
[14]1/**CHeaderFile*****************************************************************
2
3  FileName    [eqvInt.h]
4
5  PackageName [eqv]
6
7  Synopsis    []
8
9  Description []
10
11  SeeAlso     []
12
13  Author      [Shaz Qadeer]
14
15  Copyright   [Copyright (c) 1994-1996 The Regents of the Univ. of California.
16  All rights reserved.
17
18  Permission is hereby granted, without written agreement and without license
19  or royalty fees, to use, copy, modify, and distribute this software and its
20  documentation for any purpose, provided that the above copyright notice and
21  the following two paragraphs appear in all copies of this software.
22
23  IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
24  DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
25  OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
26  CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
28  THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
29  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
30  FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS ON AN
31  "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO PROVIDE
32  MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.]
33
34  Revision    [$Id: eqvInt.h,v 1.3 2002/09/08 23:29:32 fabio Exp $]
35
36******************************************************************************/
37
38#ifndef _EQVINT
39#define _EQVINT
40
41#include "eqv.h"
42#include <string.h>
43
44/*---------------------------------------------------------------------------*/
45/* Constant declarations                                                     */
46/*---------------------------------------------------------------------------*/
47
48
49/*---------------------------------------------------------------------------*/
50/* Type declarations                                                         */
51/*---------------------------------------------------------------------------*/
52
53
54/*---------------------------------------------------------------------------*/
55/* Structure declarations                                                    */
56/*---------------------------------------------------------------------------*/
57
58
59/*---------------------------------------------------------------------------*/
60/* Variable declarations                                                     */
61/*---------------------------------------------------------------------------*/
62
63
64/*---------------------------------------------------------------------------*/
65/* Macro declarations                                                        */
66/*---------------------------------------------------------------------------*/
67
68
69/**AutomaticStart*************************************************************/
70
71/*---------------------------------------------------------------------------*/
72/* Function prototypes                                                       */
73/*---------------------------------------------------------------------------*/
74
75EXTERN st_table * MapPrimaryInputsByName(Ntk_Network_t *network1, Ntk_Network_t *network2);
76EXTERN st_table * MapCombInputsByName(Ntk_Network_t *network1, Ntk_Network_t *network2);
77EXTERN st_table * MapPrimaryOutputsByName(Ntk_Network_t *network1, Ntk_Network_t *network2);
78EXTERN st_table * MapCombOutputsByName(Ntk_Network_t *network1, Ntk_Network_t *network2);
79EXTERN OFT FindOrderingMethod(void);
80EXTERN boolean TestRootsAndLeavesAreValid(Ntk_Network_t *network1, Ntk_Network_t *network2, st_table *inputMap, st_table *outputMap);
81EXTERN st_table * MapNamesToNodes(Ntk_Network_t *network1, Ntk_Network_t *network2, st_table *names);
82EXTERN int ReadRootLeafMap(FILE *inputFile, st_table *rootsTable, st_table *leavesTable);
83EXTERN void DefaultCommonOrder(Ntk_Network_t *network1, Ntk_Network_t *network2, st_table *inputMap);
84EXTERN boolean TestLeavesAreValid(Ntk_Network_t *network1, Ntk_Network_t *network2, st_table *leavesTable);
85EXTERN boolean TestRootsAreValid(Ntk_Network_t *network1, Ntk_Network_t *network2, st_table *rootsTable);
86EXTERN boolean TestPartitionIsValid(Ntk_Network_t *network, st_table *roots, st_table *leaves);
87
88/**AutomaticEnd***************************************************************/
89
90#endif /* _EQVINT */
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
Note: See TracBrowser for help on using the repository browser.