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
7ea40494
Commit
7ea40494
authored
Jan 29, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Graph isomorphism checking code.
parent
e511b872
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
3 deletions
+23
-3
abclib.dsp
+8
-0
src/aig/aig/aigIso.c
+0
-0
src/aig/aig/module.make
+1
-0
src/aig/gia/giaAbsVta.c
+12
-2
src/base/abci/abc.c
+2
-1
No files found.
abclib.dsp
View file @
7ea40494
...
...
@@ -3043,6 +3043,10 @@ SOURCE=.\src\aig\aig\aigInter.c
# End Source File
# Begin Source File
SOURCE=.\src\aig\aig\aigIso.c
# End Source File
# Begin Source File
SOURCE=.\src\aig\aig\aigJust.c
# End Source File
# Begin Source File
...
...
@@ -3195,6 +3199,10 @@ SOURCE=.\src\aig\saig\saigConstr2.c
# End Source File
# Begin Source File
SOURCE=.\src\aig\saig\saigDual.c
# End Source File
# Begin Source File
SOURCE=.\src\aig\saig\saigDup.c
# End Source File
# Begin Source File
...
...
src/aig/aig/aigIso.c
0 → 100644
View file @
7ea40494
This diff is collapsed.
Click to expand it.
src/aig/aig/module.make
View file @
7ea40494
...
...
@@ -6,6 +6,7 @@ SRC += src/aig/aig/aigCheck.c \
src/aig/aig/aigFanout.c
\
src/aig/aig/aigFrames.c
\
src/aig/aig/aigInter.c
\
src/aig/aig/aigIso.c
\
src/aig/aig/aigJust.c
\
src/aig/aig/aigMan.c
\
src/aig/aig/aigMem.c
\
...
...
src/aig/gia/giaAbsVta.c
View file @
7ea40494
...
...
@@ -342,7 +342,6 @@ int Vec_IntDoubleWidth( Vec_Int_t * p, int nWords )
/**Function*************************************************************
Synopsis []
...
...
@@ -377,14 +376,25 @@ static inline Vta_Obj_t * Vga_ManFind( Vta_Man_t * p, int iObj, int iFrame )
static
inline
Vta_Obj_t
*
Vga_ManFindOrAdd
(
Vta_Man_t
*
p
,
int
iObj
,
int
iFrame
)
{
Vta_Obj_t
*
pThis
;
int
*
pPlace
;
int
i
,
*
pPlace
;
assert
(
iObj
>=
0
&&
iFrame
>=
-
1
);
if
(
p
->
nObjs
==
p
->
nObjsAlloc
)
{
// resize objects
p
->
pObjs
=
ABC_REALLOC
(
Vta_Obj_t
,
p
->
pObjs
,
2
*
p
->
nObjsAlloc
);
memset
(
p
->
pObjs
+
p
->
nObjsAlloc
,
0
,
p
->
nObjsAlloc
*
sizeof
(
Vta_Obj_t
)
);
p
->
nObjsAlloc
*=
2
;
// rehash entries in the table
ABC_FREE
(
p
->
pBins
);
p
->
nBins
=
Abc_PrimeCudd
(
2
*
p
->
nBins
);
p
->
pBins
=
ABC_CALLOC
(
int
,
p
->
nBins
);
Vta_ManForEachObj
(
p
,
pThis
,
i
)
{
pThis
->
iNext
=
0
;
pPlace
=
Vga_ManLookup
(
p
,
pThis
->
iObj
,
pThis
->
iFrame
);
assert
(
*
pPlace
==
0
);
*
pPlace
=
i
;
}
}
pPlace
=
Vga_ManLookup
(
p
,
iObj
,
iFrame
);
if
(
*
pPlace
)
...
...
src/base/abci/abc.c
View file @
7ea40494
...
...
@@ -8837,6 +8837,7 @@ int Abc_CommandTest( Abc_Frame_t * pAbc, int argc, char ** argv )
extern
void
Aig_ManSupportsTest
(
Aig_Man_t
*
pMan
);
extern
int
Aig_SupportSizeTest
(
Aig_Man_t
*
pMan
);
extern
int
Abc_NtkSuppSizeTest
(
Abc_Ntk_t
*
p
);
extern
void
Iso_ManTest
(
Aig_Man_t
*
pAig
,
int
fVerbose
);
if
(
pNtk
)
{
Aig_Man_t
*
pAig
=
Abc_NtkToDar
(
pNtk
,
0
,
1
);
...
...
@@ -8844,7 +8845,7 @@ int Abc_CommandTest( Abc_Frame_t * pAbc, int argc, char ** argv )
// Aig_ManInterTest( pAig, 1 );
// Aig_ManSupportsTest( pAig );
// Aig_SupportSizeTest( pAig );
Abc_NtkSuppSizeTest
(
pNtk
);
Iso_ManTest
(
pAig
,
fVerbose
);
Aig_ManStop
(
pAig
);
}
}
...
...
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