ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
ivyShow.c File Reference
#include "ivy.h"
Include dependency graph for ivyShow.c:

Go to the source code of this file.

Functions

void Ivy_ManShow (Ivy_Man_t *pMan, int fHaig, Vec_Ptr_t *vBold)
 FUNCTION DEFINITIONS ///.
 

Function Documentation

◆ Ivy_ManShow()

void Ivy_ManShow ( Ivy_Man_t * pMan,
int fHaig,
Vec_Ptr_t * vBold )

FUNCTION DEFINITIONS ///.

Function*************************************************************

Synopsis []

Description []

SideEffects []

SeeAlso []

Definition at line 47 of file ivyShow.c.

48{
49 extern void Abc_ShowFile( char * FileNameDot, int fKeepDot );
50 static int Counter = 0;
51 char FileNameDot[200];
52 FILE * pFile;
53 // create the file name
54// Ivy_ShowGetFileName( pMan->pName, FileNameDot );
55 sprintf( FileNameDot, "temp%02d.dot", Counter++ );
56 // check that the file can be opened
57 if ( (pFile = fopen( FileNameDot, "w" )) == NULL )
58 {
59 fprintf( stdout, "Cannot open the intermediate file \"%s\".\n", FileNameDot );
60 return;
61 }
62 fclose( pFile );
63 // generate the file
64 Ivy_WriteDotAig( pMan, FileNameDot, fHaig, vBold );
65 // visualize the file
66 Abc_ShowFile( FileNameDot, 0 );
67}
ABC_NAMESPACE_IMPL_START void Abc_ShowFile(char *FileNameDot, int fKeepDot)
DECLARATIONS ///.
Definition abcShow.c:326
char * sprintf()
Here is the call graph for this function: