Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
0145b0ca
Commit
0145b0ca
authored
Oct 16, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moving BDD-based threshold function detection to the BDD part of the code.
parent
d944384d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
8 deletions
+18
-8
abclib.dsp
+4
-4
src/base/abci/abc.c
+2
-1
src/bdd/extrab/extraBddThresh.c
+2
-2
src/bdd/extrab/module.make
+1
-0
src/map/if/if.h
+1
-0
src/map/if/ifDsd.c
+8
-0
src/misc/extra/module.make
+0
-1
No files found.
abclib.dsp
View file @
0145b0ca
...
...
@@ -987,6 +987,10 @@ SOURCE=.\src\bdd\extrab\extraBddSymm.c
# End Source File
# Begin Source File
SOURCE=.\src\bdd\extrab\extraBddThresh.c
# End Source File
# Begin Source File
SOURCE=.\src\bdd\extrab\extraBddTime.c
# End Source File
# Begin Source File
...
...
@@ -3119,10 +3123,6 @@ SOURCE=.\src\misc\extra\extraUtilSupp.c
# End Source File
# Begin Source File
SOURCE=.\src\misc\extra\extraUtilThresh.c
# End Source File
# Begin Source File
SOURCE=.\src\misc\extra\extraUtilTruth.c
# End Source File
# Begin Source File
...
...
src/base/abci/abc.c
View file @
0145b0ca
...
...
@@ -16941,7 +16941,6 @@ usage:
***********************************************************************/
int
Abc_CommandDsdFilter
(
Abc_Frame_t
*
pAbc
,
int
argc
,
char
**
argv
)
{
extern
void
Id_DsdManTuneThresh
(
If_DsdMan_t
*
p
,
int
fUnate
,
int
fThresh
,
int
fThreshHeuristic
,
int
fVerbose
);
If_DsdMan_t
*
pDsd
=
(
If_DsdMan_t
*
)
Abc_FrameReadManDsd
();
int
c
,
nLimit
=
0
,
nLutSize
=
-
1
,
fCleanOccur
=
0
,
fCleanMarks
=
0
,
fInvMarks
=
0
,
fUnate
=
0
,
fThresh
=
0
,
fThreshHeuristic
=
0
,
fVerbose
=
0
;
Extra_UtilGetoptReset
();
...
...
@@ -17009,8 +17008,10 @@ int Abc_CommandDsdFilter( Abc_Frame_t * pAbc, int argc, char ** argv )
If_DsdManCleanMarks
(
pDsd
,
fVerbose
);
if
(
fInvMarks
)
If_DsdManInvertMarks
(
pDsd
,
fVerbose
);
#ifdef ABC_USE_CUDD
else
Id_DsdManTuneThresh
(
pDsd
,
fUnate
,
fThresh
,
fThreshHeuristic
,
fVerbose
);
#endif
return
0
;
usage:
src/
misc/extra/extraUtil
Thresh.c
→
src/
bdd/extrab/extraBdd
Thresh.c
View file @
0145b0ca
/**CFile****************************************************************
FileName [extra
Util
Thresh.c]
FileName [extra
Bdd
Thresh.c]
SystemName [ABC: Logic synthesis and verification system.]
...
...
@@ -14,7 +14,7 @@
Date [Ver. 1.0. Started - October 7, 2014.]
Revision [$Id: extra
Util
Thresh.c,v 1.0 2014/10/07 00:00:00 alanmi Exp $]
Revision [$Id: extra
Bdd
Thresh.c,v 1.0 2014/10/07 00:00:00 alanmi Exp $]
***********************************************************************/
...
...
src/bdd/extrab/module.make
View file @
0145b0ca
...
...
@@ -4,5 +4,6 @@ SRC += src/bdd/extrab/extraBddAuto.c \
src/bdd/extrab/extraBddKmap.c
\
src/bdd/extrab/extraBddMisc.c
\
src/bdd/extrab/extraBddSymm.c
\
src/misc/extra/extraBddThresh.c
\
src/bdd/extrab/extraBddTime.c
\
src/bdd/extrab/extraBddUnate.c
src/map/if/if.h
View file @
0145b0ca
...
...
@@ -576,6 +576,7 @@ extern char * If_DsdManGetCellStr( If_DsdMan_t * p );
extern
unsigned
If_DsdManCheckXY
(
If_DsdMan_t
*
p
,
int
iDsd
,
int
LutSize
,
int
fDerive
,
unsigned
uMaskNot
,
int
fHighEffort
,
int
fVerbose
);
extern
int
If_CutDsdBalanceEval
(
If_Man_t
*
p
,
If_Cut_t
*
pCut
,
Vec_Int_t
*
vAig
);
extern
int
If_CutDsdBalancePinDelays
(
If_Man_t
*
p
,
If_Cut_t
*
pCut
,
char
*
pPerm
);
extern
void
Id_DsdManTuneThresh
(
If_DsdMan_t
*
p
,
int
fUnate
,
int
fThresh
,
int
fThreshHeuristic
,
int
fVerbose
);
/*=== ifLib.c =============================================================*/
extern
If_LibLut_t
*
If_LibLutRead
(
char
*
FileName
);
extern
If_LibLut_t
*
If_LibLutDup
(
If_LibLut_t
*
p
);
...
...
src/map/if/ifDsd.c
View file @
0145b0ca
...
...
@@ -26,6 +26,10 @@
#include "aig/gia/gia.h"
#include "bool/kit/kit.h"
#ifdef ABC_USE_CUDD
#include "bdd/extrab/extraBdd.h"
#endif
#ifdef ABC_USE_PTHREADS
#ifdef _WIN32
...
...
@@ -2761,6 +2765,8 @@ void Id_DsdManTuneStr( If_DsdMan_t * p, char * pStruct, int nConfls, int nProcs,
SeeAlso []
***********************************************************************/
#ifdef ABC_USE_CUDD
void
Id_DsdManTuneThresh
(
If_DsdMan_t
*
p
,
int
fUnate
,
int
fThresh
,
int
fThreshHeuristic
,
int
fVerbose
)
{
extern
int
Extra_ThreshCheck
(
word
*
t
,
int
nVars
,
int
*
pW
);
...
...
@@ -2821,6 +2827,8 @@ void Id_DsdManTuneThresh( If_DsdMan_t * p, int fUnate, int fThresh, int fThreshH
If_DsdManPrintDistrib
(
p
);
}
#endif // ABC_USE_CUDD are used
////////////////////////////////////////////////////////////////////////
/// END OF FILE ///
////////////////////////////////////////////////////////////////////////
...
...
src/misc/extra/module.make
View file @
0145b0ca
...
...
@@ -10,6 +10,5 @@ SRC += src/misc/extra/extraUtilBitMatrix.c \
src/misc/extra/extraUtilProgress.c
\
src/misc/extra/extraUtilReader.c
\
src/misc/extra/extraUtilSupp.c
\
src/misc/extra/extraUtilThresh.c
\
src/misc/extra/extraUtilTruth.c
\
src/misc/extra/extraUtilUtil.c
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment