diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2006-03-03 08:01:00 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2006-03-03 08:01:00 -0800 |
commit | 0e57e953062cd2d97573d8428f6f77853ba8535e (patch) | |
tree | 44eb008801aae04cd834aa0c02efd6cdd67a64b5 /src/map | |
parent | 9e6f8406e80c55455c464b01033040a88fd12c40 (diff) | |
download | abc-0e57e953062cd2d97573d8428f6f77853ba8535e.tar.gz abc-0e57e953062cd2d97573d8428f6f77853ba8535e.tar.bz2 abc-0e57e953062cd2d97573d8428f6f77853ba8535e.zip |
Version abc60303
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/fpga/fpga.h | 10 | ||||
-rw-r--r-- | src/map/fpga/fpgaInt.h | 4 | ||||
-rw-r--r-- | src/map/fpga/fpgaTruth.c | 3 | ||||
-rw-r--r-- | src/map/mapper/mapper.h | 11 | ||||
-rw-r--r-- | src/map/mapper/mapperInt.h | 4 | ||||
-rw-r--r-- | src/map/mio/mio.h | 12 | ||||
-rw-r--r-- | src/map/mio/mioInt.h | 4 | ||||
-rw-r--r-- | src/map/pga/pga.h | 12 | ||||
-rw-r--r-- | src/map/pga/pgaInt.h | 4 | ||||
-rw-r--r-- | src/map/super/super.h | 11 | ||||
-rw-r--r-- | src/map/super/superInt.h | 4 |
11 files changed, 61 insertions, 18 deletions
diff --git a/src/map/fpga/fpga.h b/src/map/fpga/fpga.h index 51868188..bbb95984 100644 --- a/src/map/fpga/fpga.h +++ b/src/map/fpga/fpga.h @@ -19,6 +19,10 @@ #ifndef __FPGA_H__ #define __FPGA_H__ +#ifdef __cplusplus +extern "C" { +#endif + //////////////////////////////////////////////////////////////////////// /// INCLUDES /// //////////////////////////////////////////////////////////////////////// @@ -153,8 +157,12 @@ extern int Fpga_ManCheckConsistency( Fpga_Man_t * p ); extern void Fpga_ManCleanData0( Fpga_Man_t * pMan ); extern Fpga_NodeVec_t * Fpga_CollectNodeTfo( Fpga_Man_t * pMan, Fpga_Node_t * pNode ); +#ifdef __cplusplus +} +#endif + +#endif //////////////////////////////////////////////////////////////////////// /// END OF FILE /// //////////////////////////////////////////////////////////////////////// -#endif diff --git a/src/map/fpga/fpgaInt.h b/src/map/fpga/fpgaInt.h index b6ac71d4..3a35d6dc 100644 --- a/src/map/fpga/fpgaInt.h +++ b/src/map/fpga/fpgaInt.h @@ -376,8 +376,8 @@ extern void Fpga_MappingSetChoiceLevels( Fpga_Man_t * pMan ); /*=== CUDD package.c ===============================================================*/ extern unsigned int Cudd_Prime( unsigned int p ); +#endif + //////////////////////////////////////////////////////////////////////// /// END OF FILE /// //////////////////////////////////////////////////////////////////////// - -#endif diff --git a/src/map/fpga/fpgaTruth.c b/src/map/fpga/fpgaTruth.c index 11660731..e3eb487f 100644 --- a/src/map/fpga/fpgaTruth.c +++ b/src/map/fpga/fpgaTruth.c @@ -94,8 +94,7 @@ void * Fpga_TruthsCutBdd( void * dd, Fpga_Cut_t * pCut ) Cudd_RecursiveDeref( dd, (DdNode*)pCut->uSign ); pCut->uSign = 0; } - printf( "%d ", vVisited->nSize ); - +// printf( "%d ", vVisited->nSize ); Fpga_NodeVecFree( vVisited ); Cudd_Deref( bFunc ); return bFunc; diff --git a/src/map/mapper/mapper.h b/src/map/mapper/mapper.h index 9b059fd0..10839382 100644 --- a/src/map/mapper/mapper.h +++ b/src/map/mapper/mapper.h @@ -19,6 +19,10 @@ #ifndef __MAPPER_H__ #define __MAPPER_H__ +#ifdef __cplusplus +extern "C" { +#endif + //////////////////////////////////////////////////////////////////////// /// INCLUDES /// //////////////////////////////////////////////////////////////////////// @@ -180,7 +184,12 @@ extern void Map_ManCleanData( Map_Man_t * p ); extern void Map_MappingSetupTruthTables( unsigned uTruths[][2] ); extern void Map_MappingSetupTruthTablesLarge( unsigned uTruths[][32] ); +#ifdef __cplusplus +} +#endif + +#endif + //////////////////////////////////////////////////////////////////////// /// END OF FILE /// //////////////////////////////////////////////////////////////////////// -#endif diff --git a/src/map/mapper/mapperInt.h b/src/map/mapper/mapperInt.h index fd7ac946..a3a2cf40 100644 --- a/src/map/mapper/mapperInt.h +++ b/src/map/mapper/mapperInt.h @@ -470,8 +470,8 @@ extern void Map_NodeVecWriteEntry( Map_NodeVec_t * p, int i, Map_No extern Map_Node_t * Map_NodeVecReadEntry( Map_NodeVec_t * p, int i ); extern void Map_NodeVecSortByLevel( Map_NodeVec_t * p ); +#endif + //////////////////////////////////////////////////////////////////////// /// END OF FILE /// //////////////////////////////////////////////////////////////////////// - -#endif diff --git a/src/map/mio/mio.h b/src/map/mio/mio.h index 0e2c085d..dabc05dd 100644 --- a/src/map/mio/mio.h +++ b/src/map/mio/mio.h @@ -19,6 +19,10 @@ #ifndef __MIO_H__ #define __MIO_H__ +#ifdef __cplusplus +extern "C" { +#endif + //////////////////////////////////////////////////////////////////////// /// INCLUDES /// //////////////////////////////////////////////////////////////////////// @@ -133,7 +137,13 @@ extern void Mio_DeriveGateDelays( Mio_Gate_t * pGate, float * ptDelaysRes, float * ptPinDelayMax ); extern Mio_Gate_t * Mio_GateCreatePseudo( int nInputs ); +#ifdef __cplusplus +} +#endif + +#endif + //////////////////////////////////////////////////////////////////////// /// END OF FILE /// //////////////////////////////////////////////////////////////////////// -#endif + diff --git a/src/map/mio/mioInt.h b/src/map/mio/mioInt.h index a25ca026..3f90b625 100644 --- a/src/map/mio/mioInt.h +++ b/src/map/mio/mioInt.h @@ -118,8 +118,8 @@ struct Mio_PinStruct_t_ /*=== mioRead.c =============================================================*/ /*=== mioUtils.c =============================================================*/ +#endif + //////////////////////////////////////////////////////////////////////// /// END OF FILE /// //////////////////////////////////////////////////////////////////////// - -#endif diff --git a/src/map/pga/pga.h b/src/map/pga/pga.h index ac129c7f..4b2a9df4 100644 --- a/src/map/pga/pga.h +++ b/src/map/pga/pga.h @@ -21,6 +21,10 @@ #ifndef __PGA_H__ #define __PGA_H__ +#ifdef __cplusplus +extern "C" { +#endif + //////////////////////////////////////////////////////////////////////// /// INCLUDES /// //////////////////////////////////////////////////////////////////////// @@ -64,9 +68,13 @@ extern Vec_Ptr_t * Pga_DoMapping( Pga_Man_t * p ); extern Pga_Man_t * Pga_ManStart( Pga_Params_t * pParams ); extern void Pga_ManStop( Pga_Man_t * p ); +#ifdef __cplusplus +} +#endif + +#endif + //////////////////////////////////////////////////////////////////////// /// END OF FILE /// //////////////////////////////////////////////////////////////////////// -#endif - diff --git a/src/map/pga/pgaInt.h b/src/map/pga/pgaInt.h index 65832c8d..da9aa9a9 100644 --- a/src/map/pga/pgaInt.h +++ b/src/map/pga/pgaInt.h @@ -124,9 +124,9 @@ extern float Pga_MappingSetRefsAndArea( Pga_Man_t * p ); extern float Pga_MappingGetSwitching( Pga_Man_t * p ); extern void Pga_MappingPrintOutputArrivals( Pga_Man_t * p ); +#endif + //////////////////////////////////////////////////////////////////////// /// END OF FILE /// //////////////////////////////////////////////////////////////////////// -#endif - diff --git a/src/map/super/super.h b/src/map/super/super.h index 9d475116..a7169924 100644 --- a/src/map/super/super.h +++ b/src/map/super/super.h @@ -19,6 +19,10 @@ #ifndef __SUPER_H__ #define __SUPER_H__ +#ifdef __cplusplus +extern "C" { +#endif + //////////////////////////////////////////////////////////////////////// /// INCLUDES /// //////////////////////////////////////////////////////////////////////// @@ -44,8 +48,13 @@ //////////////////////////////////////////////////////////////////////// /*=== superCore.c =============================================================*/ + +#ifdef __cplusplus +} +#endif + +#endif //////////////////////////////////////////////////////////////////////// /// END OF FILE /// //////////////////////////////////////////////////////////////////////// -#endif diff --git a/src/map/super/superInt.h b/src/map/super/superInt.h index 97ed4c5a..ec6d0a38 100644 --- a/src/map/super/superInt.h +++ b/src/map/super/superInt.h @@ -55,8 +55,8 @@ extern void Super2_Precompute( int nInputs, int nLevels, int fVerbose ); /*=== superGate.c =============================================================*/ extern void Super_Precompute( Mio_Library_t * pLibGen, int nInputs, int nLevels, float tDelayMax, float tAreaMax, int TimeLimit, bool fSkipInv, bool fWriteOldFormat, int fVerbose ); +#endif + //////////////////////////////////////////////////////////////////////// /// END OF FILE /// //////////////////////////////////////////////////////////////////////// - -#endif |