Commit 7c04730a by Alan Mishchenko

A minor change and adding ABC file markers.

parent 233680f2
/**CFile****************************************************************
FileName [giaNewBdd.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Scalable AIG package.]
Synopsis [Implementation of transduction method.]
Author [Yukio Miyasaka]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - May 2023.]
Revision [$Id: giaNewBdd.h,v 1.00 2023/05/10 00:00:00 Exp $]
***********************************************************************/
#ifndef ABC__aig__gia__giaNewBdd_h #ifndef ABC__aig__gia__giaNewBdd_h
#define ABC__aig__gia__giaNewBdd_h #define ABC__aig__gia__giaNewBdd_h
......
/**CFile****************************************************************
FileName [giaNewTt.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Scalable AIG package.]
Synopsis [Implementation of transduction method.]
Author [Yukio Miyasaka]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - May 2023.]
Revision [$Id: giaNewTt.h,v 1.00 2023/05/10 00:00:00 Exp $]
***********************************************************************/
#ifndef ABC__aig__gia__giaNewTt_h #ifndef ABC__aig__gia__giaNewTt_h
#define ABC__aig__gia__giaNewTt_h #define ABC__aig__gia__giaNewTt_h
......
/**CFile****************************************************************
FileName [giaTranStoch.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Scalable AIG package.]
Synopsis [Implementation of transduction method.]
Author [Yukio Miyasaka]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - May 2023.]
Revision [$Id: giaTranStoch.c,v 1.00 2023/05/10 00:00:00 Exp $]
***********************************************************************/
#include <base/abc/abc.h> #include <base/abc/abc.h>
#include <aig/aig/aig.h> #include <aig/aig/aig.h>
#include <opt/dar/dar.h> #include <opt/dar/dar.h>
...@@ -147,7 +167,7 @@ Gia_Man_t * Gia_ManTranStochOpt3( Gia_ManTranStochParam * p, Gia_Man_t * pOld ) ...@@ -147,7 +167,7 @@ Gia_Man_t * Gia_ManTranStochOpt3( Gia_ManTranStochParam * p, Gia_Man_t * pOld )
Gia_Man_t * Gia_ManTranStoch( Gia_Man_t * pGia, int nRestarts, int nHops, int nSeedBase, int fCspf, int fMerge, int fResetHop, int fTruth, int fSingle, int fOriginalOnly, int fNewLine, int nVerbose ) { Gia_Man_t * Gia_ManTranStoch( Gia_Man_t * pGia, int nRestarts, int nHops, int nSeedBase, int fCspf, int fMerge, int fResetHop, int fTruth, int fSingle, int fOriginalOnly, int fNewLine, int nVerbose ) {
int i, j = 0; int i, j = 0;
Gia_Man_t * pNew, * pBest, * pStart; Gia_Man_t * pNew, * pBest, * pStart;
Abc_Ntk_t * pNtk, * pNtkRes; Abc_Ntk_t * pNtk, * pNtkRes; Vec_Ptr_t * vpStarts;
Gia_ManTranStochParam Par, *p = &Par; Gia_ManTranStochParam Par, *p = &Par;
p->nRestarts = nRestarts; p->nRestarts = nRestarts;
p->nHops = nHops; p->nHops = nHops;
...@@ -159,7 +179,7 @@ Gia_Man_t * Gia_ManTranStoch( Gia_Man_t * pGia, int nRestarts, int nHops, int nS ...@@ -159,7 +179,7 @@ Gia_Man_t * Gia_ManTranStoch( Gia_Man_t * pGia, int nRestarts, int nHops, int nS
p->fNewLine = fNewLine; p->fNewLine = fNewLine;
p->nVerbose = nVerbose; p->nVerbose = nVerbose;
// setup start points // setup start points
Vec_Ptr_t * vpStarts = Vec_PtrAlloc( 4 ); vpStarts = Vec_PtrAlloc( 4 );
Vec_PtrPush( vpStarts, Gia_ManDup( pGia ) ); Vec_PtrPush( vpStarts, Gia_ManDup( pGia ) );
if ( !fOriginalOnly ) { if ( !fOriginalOnly ) {
{ // &put; collapse; st; &get; { // &put; collapse; st; &get;
......
/**CFile****************************************************************
FileName [giaTransduction.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Scalable AIG package.]
Synopsis [Implementation of transduction method.]
Author [Yukio Miyasaka]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - May 2023.]
Revision [$Id: giaTransduction.c,v 1.00 2023/05/10 00:00:00 Exp $]
***********************************************************************/
#ifndef _WIN32 #ifndef _WIN32
......
/**CFile****************************************************************
FileName [giaTransduction.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Scalable AIG package.]
Synopsis [Implementation of transduction method.]
Author [Yukio Miyasaka]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - May 2023.]
Revision [$Id: giaTransduction.h,v 1.00 2023/05/10 00:00:00 Exp $]
***********************************************************************/
#ifndef ABC__aig__gia__giaTransduction_h #ifndef ABC__aig__gia__giaTransduction_h
#define ABC__aig__gia__giaTransduction_h #define ABC__aig__gia__giaTransduction_h
......
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