Commit 0c337bc3 by Alan Mishchenko

Added API Abc_FrameReadGia

parent 58464374
......@@ -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 );
......
......@@ -259,6 +259,22 @@ Abc_Ntk_t * Abc_FrameReadNtk( Abc_Frame_t * p )
SeeAlso []
***********************************************************************/
Gia_Man_t * Abc_FrameReadGia( Abc_Frame_t * p )
{
return p->pGia;
}
/**Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
***********************************************************************/
FILE * Abc_FrameReadOut( Abc_Frame_t * p )
{
return p->Out;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment