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
c681506b
Commit
c681506b
authored
Nov 26, 2017
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvements to AIG-based quantification.
parent
7bcfe643
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
1 deletions
+14
-1
abclib.dsp
+4
-0
src/aig/gia/gia.h
+8
-1
src/aig/gia/giaDup.c
+0
-0
src/aig/gia/giaExist.c
+0
-0
src/aig/gia/giaMan.c
+1
-0
src/aig/gia/module.make
+1
-0
No files found.
abclib.dsp
View file @
c681506b
...
@@ -4727,6 +4727,10 @@ SOURCE=.\src\aig\gia\giaEsop.c
...
@@ -4727,6 +4727,10 @@ SOURCE=.\src\aig\gia\giaEsop.c
# End Source File
# End Source File
# Begin Source File
# Begin Source File
SOURCE=.\src\aig\gia\giaExist.c
# End Source File
# Begin Source File
SOURCE=.\src\aig\gia\giaFalse.c
SOURCE=.\src\aig\gia\giaFalse.c
# End Source File
# End Source File
# Begin Source File
# Begin Source File
...
...
src/aig/gia/gia.h
View file @
c681506b
...
@@ -222,6 +222,7 @@ struct Gia_Man_t_
...
@@ -222,6 +222,7 @@ struct Gia_Man_t_
int
nSuppWords
;
// the number of support words
int
nSuppWords
;
// the number of support words
Vec_Wrd_t
*
vSuppWords
;
// support information
Vec_Wrd_t
*
vSuppWords
;
// support information
Vec_Int_t
vCopiesTwo
;
// intermediate copies
Vec_Int_t
vCopiesTwo
;
// intermediate copies
Vec_Int_t
vSuppVars
;
// used variables
};
};
...
@@ -1263,11 +1264,11 @@ extern Gia_Man_t * Gia_ManDupMux( int iVar, Gia_Man_t * pCof1, Gia_Man_t
...
@@ -1263,11 +1264,11 @@ extern Gia_Man_t * Gia_ManDupMux( int iVar, Gia_Man_t * pCof1, Gia_Man_t
extern
Gia_Man_t
*
Gia_ManDupBlock
(
Gia_Man_t
*
p
,
int
nBlock
);
extern
Gia_Man_t
*
Gia_ManDupBlock
(
Gia_Man_t
*
p
,
int
nBlock
);
extern
Gia_Man_t
*
Gia_ManDupExist
(
Gia_Man_t
*
p
,
int
iVar
);
extern
Gia_Man_t
*
Gia_ManDupExist
(
Gia_Man_t
*
p
,
int
iVar
);
extern
Gia_Man_t
*
Gia_ManDupUniv
(
Gia_Man_t
*
p
,
int
iVar
);
extern
Gia_Man_t
*
Gia_ManDupUniv
(
Gia_Man_t
*
p
,
int
iVar
);
extern
int
Gia_ManQuantExist
(
Gia_Man_t
*
p
,
int
iLit
,
int
(
*
pFuncCiToKeep
)(
void
*
,
int
),
void
*
pData
);
extern
Gia_Man_t
*
Gia_ManDupDfsSkip
(
Gia_Man_t
*
p
);
extern
Gia_Man_t
*
Gia_ManDupDfsSkip
(
Gia_Man_t
*
p
);
extern
Gia_Man_t
*
Gia_ManDupDfsCone
(
Gia_Man_t
*
p
,
Gia_Obj_t
*
pObj
);
extern
Gia_Man_t
*
Gia_ManDupDfsCone
(
Gia_Man_t
*
p
,
Gia_Obj_t
*
pObj
);
extern
Gia_Man_t
*
Gia_ManDupConeSupp
(
Gia_Man_t
*
p
,
int
iLit
,
Vec_Int_t
*
vCiIds
);
extern
Gia_Man_t
*
Gia_ManDupConeSupp
(
Gia_Man_t
*
p
,
int
iLit
,
Vec_Int_t
*
vCiIds
);
extern
int
Gia_ManDupConeBack
(
Gia_Man_t
*
p
,
Gia_Man_t
*
pNew
,
Vec_Int_t
*
vCiIds
);
extern
int
Gia_ManDupConeBack
(
Gia_Man_t
*
p
,
Gia_Man_t
*
pNew
,
Vec_Int_t
*
vCiIds
);
extern
int
Gia_ManDupConeBackObjs
(
Gia_Man_t
*
p
,
Gia_Man_t
*
pNew
,
Vec_Int_t
*
vObjs
);
extern
Gia_Man_t
*
Gia_ManDupDfsNode
(
Gia_Man_t
*
p
,
Gia_Obj_t
*
pObj
);
extern
Gia_Man_t
*
Gia_ManDupDfsNode
(
Gia_Man_t
*
p
,
Gia_Obj_t
*
pObj
);
extern
Gia_Man_t
*
Gia_ManDupDfsLitArray
(
Gia_Man_t
*
p
,
Vec_Int_t
*
vLits
);
extern
Gia_Man_t
*
Gia_ManDupDfsLitArray
(
Gia_Man_t
*
p
,
Vec_Int_t
*
vLits
);
extern
Gia_Man_t
*
Gia_ManDupTrimmed
(
Gia_Man_t
*
p
,
int
fTrimCis
,
int
fTrimCos
,
int
fDualOut
,
int
OutValue
);
extern
Gia_Man_t
*
Gia_ManDupTrimmed
(
Gia_Man_t
*
p
,
int
fTrimCis
,
int
fTrimCos
,
int
fDualOut
,
int
OutValue
);
...
@@ -1343,6 +1344,12 @@ extern int Gia_ManCountChoices( Gia_Man_t * p );
...
@@ -1343,6 +1344,12 @@ extern int Gia_ManCountChoices( Gia_Man_t * p );
extern
int
Gia_ManFilterEquivsForSpeculation
(
Gia_Man_t
*
pGia
,
char
*
pName1
,
char
*
pName2
,
int
fLatchA
,
int
fLatchB
);
extern
int
Gia_ManFilterEquivsForSpeculation
(
Gia_Man_t
*
pGia
,
char
*
pName1
,
char
*
pName2
,
int
fLatchA
,
int
fLatchB
);
extern
int
Gia_ManFilterEquivsUsingParts
(
Gia_Man_t
*
pGia
,
char
*
pName1
,
char
*
pName2
);
extern
int
Gia_ManFilterEquivsUsingParts
(
Gia_Man_t
*
pGia
,
char
*
pName1
,
char
*
pName2
);
extern
void
Gia_ManFilterEquivsUsingLatches
(
Gia_Man_t
*
pGia
,
int
fFlopsOnly
,
int
fFlopsWith
,
int
fUseRiDrivers
);
extern
void
Gia_ManFilterEquivsUsingLatches
(
Gia_Man_t
*
pGia
,
int
fFlopsOnly
,
int
fFlopsWith
,
int
fUseRiDrivers
);
/*=== giaExist.c =========================================================*/
extern
void
Gia_ManQuantSetSuppStart
(
Gia_Man_t
*
p
);
extern
void
Gia_ManQuantSetSuppZero
(
Gia_Man_t
*
p
);
extern
void
Gia_ManQuantSetSuppCi
(
Gia_Man_t
*
p
,
Gia_Obj_t
*
pObj
);
extern
void
Gia_ManQuantUpdateCiSupp
(
Gia_Man_t
*
p
,
int
iObj
);
extern
int
Gia_ManQuantExist
(
Gia_Man_t
*
p
,
int
iLit
,
int
(
*
pFuncCiToKeep
)(
void
*
,
int
),
void
*
pData
);
/*=== giaFanout.c =========================================================*/
/*=== giaFanout.c =========================================================*/
extern
void
Gia_ObjAddFanout
(
Gia_Man_t
*
p
,
Gia_Obj_t
*
pObj
,
Gia_Obj_t
*
pFanout
);
extern
void
Gia_ObjAddFanout
(
Gia_Man_t
*
p
,
Gia_Obj_t
*
pObj
,
Gia_Obj_t
*
pFanout
);
extern
void
Gia_ObjRemoveFanout
(
Gia_Man_t
*
p
,
Gia_Obj_t
*
pObj
,
Gia_Obj_t
*
pFanout
);
extern
void
Gia_ObjRemoveFanout
(
Gia_Man_t
*
p
,
Gia_Obj_t
*
pObj
,
Gia_Obj_t
*
pFanout
);
...
...
src/aig/gia/giaDup.c
View file @
c681506b
This diff is collapsed.
Click to expand it.
src/aig/gia/giaExist.c
0 → 100644
View file @
c681506b
This diff is collapsed.
Click to expand it.
src/aig/gia/giaMan.c
View file @
c681506b
...
@@ -119,6 +119,7 @@ void Gia_ManStop( Gia_Man_t * p )
...
@@ -119,6 +119,7 @@ void Gia_ManStop( Gia_Man_t * p )
Vec_IntErase
(
&
p
->
vCopies
);
Vec_IntErase
(
&
p
->
vCopies
);
Vec_IntErase
(
&
p
->
vCopies2
);
Vec_IntErase
(
&
p
->
vCopies2
);
Vec_IntErase
(
&
p
->
vCopiesTwo
);
Vec_IntErase
(
&
p
->
vCopiesTwo
);
Vec_IntErase
(
&
p
->
vSuppVars
);
Vec_WrdFreeP
(
&
p
->
vSuppWords
);
Vec_WrdFreeP
(
&
p
->
vSuppWords
);
Vec_IntFreeP
(
&
p
->
vTtNums
);
Vec_IntFreeP
(
&
p
->
vTtNums
);
Vec_IntFreeP
(
&
p
->
vTtNodes
);
Vec_IntFreeP
(
&
p
->
vTtNodes
);
...
...
src/aig/gia/module.make
View file @
c681506b
...
@@ -24,6 +24,7 @@ SRC += src/aig/gia/giaAig.c \
...
@@ -24,6 +24,7 @@ SRC += src/aig/gia/giaAig.c \
src/aig/gia/giaEra.c
\
src/aig/gia/giaEra.c
\
src/aig/gia/giaEra2.c
\
src/aig/gia/giaEra2.c
\
src/aig/gia/giaEsop.c
\
src/aig/gia/giaEsop.c
\
src/aig/gia/giaExist.c
\
src/aig/gia/giaFalse.c
\
src/aig/gia/giaFalse.c
\
src/aig/gia/giaFanout.c
\
src/aig/gia/giaFanout.c
\
src/aig/gia/giaForce.c
\
src/aig/gia/giaForce.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