[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 | |
---|
| 75 | EXTERN st_table * MapPrimaryInputsByName(Ntk_Network_t *network1, Ntk_Network_t *network2); |
---|
| 76 | EXTERN st_table * MapCombInputsByName(Ntk_Network_t *network1, Ntk_Network_t *network2); |
---|
| 77 | EXTERN st_table * MapPrimaryOutputsByName(Ntk_Network_t *network1, Ntk_Network_t *network2); |
---|
| 78 | EXTERN st_table * MapCombOutputsByName(Ntk_Network_t *network1, Ntk_Network_t *network2); |
---|
| 79 | EXTERN OFT FindOrderingMethod(void); |
---|
| 80 | EXTERN boolean TestRootsAndLeavesAreValid(Ntk_Network_t *network1, Ntk_Network_t *network2, st_table *inputMap, st_table *outputMap); |
---|
| 81 | EXTERN st_table * MapNamesToNodes(Ntk_Network_t *network1, Ntk_Network_t *network2, st_table *names); |
---|
| 82 | EXTERN int ReadRootLeafMap(FILE *inputFile, st_table *rootsTable, st_table *leavesTable); |
---|
| 83 | EXTERN void DefaultCommonOrder(Ntk_Network_t *network1, Ntk_Network_t *network2, st_table *inputMap); |
---|
| 84 | EXTERN boolean TestLeavesAreValid(Ntk_Network_t *network1, Ntk_Network_t *network2, st_table *leavesTable); |
---|
| 85 | EXTERN boolean TestRootsAreValid(Ntk_Network_t *network1, Ntk_Network_t *network2, st_table *rootsTable); |
---|
| 86 | EXTERN 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 | |
---|