Added API Abc_FrameReadGia

This commit is contained in:
Alan Mishchenko 2010-11-29 01:15:16 -08:00
parent 584643747c
commit 0c337bc344
2 changed files with 18 additions and 0 deletions

View File

@ -33,6 +33,7 @@
// core packages
#include "abc.h"
#include "gia.h"
ABC_NAMESPACE_HEADER_START
// the framework containing all data
@ -74,6 +75,7 @@ extern ABC_DLL void Abc_Stop();
/*=== mainFrame.c ===========================================================*/
extern ABC_DLL Abc_Ntk_t * Abc_FrameReadNtk( Abc_Frame_t * p );
extern ABC_DLL Gia_Man_t * Abc_FrameReadGia( Abc_Frame_t * p );
extern ABC_DLL FILE * Abc_FrameReadOut( Abc_Frame_t * p );
extern ABC_DLL FILE * Abc_FrameReadErr( Abc_Frame_t * p );
extern ABC_DLL int Abc_FrameReadMode( Abc_Frame_t * p );

View File

@ -248,6 +248,22 @@ Abc_Ntk_t * Abc_FrameReadNtk( Abc_Frame_t * p )
return p->pNtkCur;
}
/**Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
***********************************************************************/
Gia_Man_t * Abc_FrameReadGia( Abc_Frame_t * p )
{
return p->pGia;
}
/**Function*************************************************************
Synopsis []