diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2010-11-01 01:35:04 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2010-11-01 01:35:04 -0700 |
commit | 6130e39b18b5f53902e4eab14f6d5cdde5219563 (patch) | |
tree | 0db0628479a1b750e9af1f66cb8379ebd0913d31 /src/map/fpga/fpga.c | |
parent | f0e77f6797c0504b0da25a56152b707d3357f386 (diff) | |
download | abc-6130e39b18b5f53902e4eab14f6d5cdde5219563.tar.gz abc-6130e39b18b5f53902e4eab14f6d5cdde5219563.tar.bz2 abc-6130e39b18b5f53902e4eab14f6d5cdde5219563.zip |
initial commit of public abc
Diffstat (limited to 'src/map/fpga/fpga.c')
-rw-r--r-- | src/map/fpga/fpga.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/map/fpga/fpga.c b/src/map/fpga/fpga.c index fa2a138c..08adb52e 100644 --- a/src/map/fpga/fpga.c +++ b/src/map/fpga/fpga.c @@ -19,6 +19,9 @@ #include "fpgaInt.h" #include "main.h" +ABC_NAMESPACE_IMPL_START + + //////////////////////////////////////////////////////////////////////// /// DECLARATIONS /// //////////////////////////////////////////////////////////////////////// @@ -78,9 +81,9 @@ void Fpga_Init( Abc_Frame_t * pAbc ) SeeAlso [] ***********************************************************************/ -void Fpga_End() +void Fpga_End( Abc_Frame_t * pAbc ) { - Fpga_LutLibFree( Abc_FrameReadLibLut() ); + Fpga_LutLibFree( (Fpga_LutLib_t *)Abc_FrameReadLibLut() ); } @@ -153,7 +156,7 @@ int Fpga_CommandReadLibrary( Abc_Frame_t * pAbc, int argc, char **argv ) goto usage; } // replace the current library - Fpga_LutLibFree( Abc_FrameReadLibLut() ); + Fpga_LutLibFree( (Fpga_LutLib_t *)Abc_FrameReadLibLut() ); Abc_FrameSetLibLut( pLib ); return 0; @@ -224,7 +227,7 @@ int Fpga_CommandPrintLibrary( Abc_Frame_t * pAbc, int argc, char **argv ) } // set the new network - Fpga_LutLibPrint( Abc_FrameReadLibLut() ); + Fpga_LutLibPrint( (Fpga_LutLib_t *)Abc_FrameReadLibLut() ); return 0; usage: @@ -272,7 +275,7 @@ void Fpga_SetSimpleLutLib( int nLutSize ) } if ( pLutLib == NULL ) return; - Fpga_LutLibFree( Abc_FrameReadLibLut() ); + Fpga_LutLibFree( (Fpga_LutLib_t *)Abc_FrameReadLibLut() ); Abc_FrameSetLibLut( Fpga_LutLibDup(pLutLib) ); } @@ -281,3 +284,5 @@ void Fpga_SetSimpleLutLib( int nLutSize ) //////////////////////////////////////////////////////////////////////// +ABC_NAMESPACE_IMPL_END + |