mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-07 03:05:36 +02:00
initial commit of public abc
This commit is contained in:
@@ -18,8 +18,12 @@
|
||||
|
||||
***********************************************************************/
|
||||
|
||||
#include "abc.h"
|
||||
#include "mainInt.h"
|
||||
|
||||
ABC_NAMESPACE_IMPL_START
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
/// DECLARATIONS ///
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
@@ -38,8 +42,10 @@ extern void Mio_Init( Abc_Frame_t * pAbc );
|
||||
extern void Mio_End ( Abc_Frame_t * pAbc );
|
||||
extern void Super_Init( Abc_Frame_t * pAbc );
|
||||
extern void Super_End ( Abc_Frame_t * pAbc );
|
||||
extern void Libs_Init(Abc_Frame_t * pAbc);
|
||||
extern void Libs_End(Abc_Frame_t * pAbc);
|
||||
extern void Libs_Init( Abc_Frame_t * pAbc );
|
||||
extern void Libs_End( Abc_Frame_t * pAbc );
|
||||
extern void Load_Init( Abc_Frame_t * pAbc );
|
||||
extern void Load_End( Abc_Frame_t * pAbc );
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
/// FUNCTION DEFINITIONS ///
|
||||
@@ -59,6 +65,7 @@ extern void Libs_End(Abc_Frame_t * pAbc);
|
||||
void Abc_FrameInit( Abc_Frame_t * pAbc )
|
||||
{
|
||||
Cmd_Init( pAbc );
|
||||
Cmd_CommandExecute( pAbc, "set checkread" );
|
||||
Io_Init( pAbc );
|
||||
Abc_Init( pAbc );
|
||||
Fpga_Init( pAbc );
|
||||
@@ -66,6 +73,8 @@ void Abc_FrameInit( Abc_Frame_t * pAbc )
|
||||
Mio_Init( pAbc );
|
||||
Super_Init( pAbc );
|
||||
Libs_Init( pAbc );
|
||||
Load_Init( pAbc );
|
||||
EXT_ABC_INIT(pAbc) // plugin for external functionality
|
||||
}
|
||||
|
||||
|
||||
@@ -90,6 +99,8 @@ void Abc_FrameEnd( Abc_Frame_t * pAbc )
|
||||
Mio_End( pAbc );
|
||||
Super_End( pAbc );
|
||||
Libs_End( pAbc );
|
||||
Load_End( pAbc );
|
||||
EXT_ABC_END(pAbc) // plugin for external functionality
|
||||
}
|
||||
|
||||
|
||||
@@ -98,3 +109,5 @@ void Abc_FrameEnd( Abc_Frame_t * pAbc )
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
ABC_NAMESPACE_IMPL_END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user