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
0ed81b34
Commit
0ed81b34
authored
Aug 30, 2022
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compiler warnings.
parent
138c381f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/aig/gia/giaSimBase.c
+2
-2
src/base/abci/abc.c
+2
-0
No files found.
src/aig/gia/giaSimBase.c
View file @
0ed81b34
...
@@ -3199,7 +3199,7 @@ Vec_Int_t * Gia_ManRelDeriveSimple( Gia_Man_t * p, Vec_Wrd_t * vSims, Vec_Int_t
...
@@ -3199,7 +3199,7 @@ Vec_Int_t * Gia_ManRelDeriveSimple( Gia_Man_t * p, Vec_Wrd_t * vSims, Vec_Int_t
void
Gia_ManRelSolve
(
Gia_Man_t
*
p
,
Vec_Wrd_t
*
vSims
,
Vec_Int_t
*
vIns
,
Vec_Int_t
*
vOuts
,
Vec_Int_t
*
vRel
,
Vec_Int_t
*
vDivs
)
void
Gia_ManRelSolve
(
Gia_Man_t
*
p
,
Vec_Wrd_t
*
vSims
,
Vec_Int_t
*
vIns
,
Vec_Int_t
*
vOuts
,
Vec_Int_t
*
vRel
,
Vec_Int_t
*
vDivs
)
{
{
extern
Mini_Aig_t
*
Exa4_ManGenTest
(
Vec_Wrd_t
*
vSimsIn
,
Vec_Wrd_t
*
vSimsOut
,
int
nIns
,
int
nDivs
,
int
nOuts
,
int
nNodes
,
int
TimeOut
,
int
fOnlyAnd
,
int
fFancy
,
int
fOrderNodes
,
int
fVerbose
);
extern
Mini_Aig_t
*
Exa4_ManGenTest
(
Vec_Wrd_t
*
vSimsIn
,
Vec_Wrd_t
*
vSimsOut
,
int
nIns
,
int
nDivs
,
int
nOuts
,
int
nNodes
,
int
TimeOut
,
int
fOnlyAnd
,
int
fFancy
,
int
fOrderNodes
,
int
f
UniqFans
,
int
f
Verbose
);
int
i
,
m
,
iObj
,
Entry
,
iMint
=
0
,
nMints
=
Vec_IntSize
(
vRel
)
-
Vec_IntCountEntry
(
vRel
,
-
1
);
int
i
,
m
,
iObj
,
Entry
,
iMint
=
0
,
nMints
=
Vec_IntSize
(
vRel
)
-
Vec_IntCountEntry
(
vRel
,
-
1
);
Vec_Wrd_t
*
vSimsIn
=
Vec_WrdStart
(
nMints
);
Vec_Wrd_t
*
vSimsIn
=
Vec_WrdStart
(
nMints
);
...
@@ -3232,7 +3232,7 @@ void Gia_ManRelSolve( Gia_Man_t * p, Vec_Wrd_t * vSims, Vec_Int_t * vIns, Vec_In
...
@@ -3232,7 +3232,7 @@ void Gia_ManRelSolve( Gia_Man_t * p, Vec_Wrd_t * vSims, Vec_Int_t * vIns, Vec_In
}
}
assert
(
iMint
==
nMints
);
assert
(
iMint
==
nMints
);
printf
(
"Created %d minterms.
\n
"
,
iMint
);
printf
(
"Created %d minterms.
\n
"
,
iMint
);
Exa4_ManGenTest
(
vSimsIn
,
vSimsOut
,
Vec_IntSize
(
vIns
),
Vec_IntSize
(
vDivs
),
Vec_IntSize
(
vOuts
),
10
,
0
,
0
,
0
,
0
,
1
);
Exa4_ManGenTest
(
vSimsIn
,
vSimsOut
,
Vec_IntSize
(
vIns
),
Vec_IntSize
(
vDivs
),
Vec_IntSize
(
vOuts
),
10
,
0
,
0
,
0
,
0
,
0
,
1
);
Vec_WrdFree
(
vSimsIn
);
Vec_WrdFree
(
vSimsIn
);
Vec_WrdFree
(
vSimsOut
);
Vec_WrdFree
(
vSimsOut
);
}
}
...
...
src/base/abci/abc.c
View file @
0ed81b34
...
@@ -14098,6 +14098,7 @@ int Abc_CommandTest( Abc_Frame_t * pAbc, int argc, char ** argv )
...
@@ -14098,6 +14098,7 @@ int Abc_CommandTest( Abc_Frame_t * pAbc, int argc, char ** argv )
//Mnist_ExperimentWithScaling( nDecMax );
//Mnist_ExperimentWithScaling( nDecMax );
//Gyx_ProblemSolveTest();
//Gyx_ProblemSolveTest();
{
{
extern
Abc_Ntk_t
*
Abc_NtkFromArray
();
Abc_Ntk_t
*
pNtkRes
=
Abc_NtkFromArray
();
Abc_Ntk_t
*
pNtkRes
=
Abc_NtkFromArray
();
Abc_FrameReplaceCurrentNetwork
(
pAbc
,
pNtkRes
);
Abc_FrameReplaceCurrentNetwork
(
pAbc
,
pNtkRes
);
}
}
...
@@ -50205,6 +50206,7 @@ usage:
...
@@ -50205,6 +50206,7 @@ usage:
***********************************************************************/
***********************************************************************/
int
Abc_CommandAbc9Test
(
Abc_Frame_t
*
pAbc
,
int
argc
,
char
**
argv
)
int
Abc_CommandAbc9Test
(
Abc_Frame_t
*
pAbc
,
int
argc
,
char
**
argv
)
{
{
extern
void
Gia_ManPrintArray
(
Gia_Man_t
*
p
);
extern
Gia_Man_t
*
Gia_ManPerformNewResub
(
Gia_Man_t
*
p
,
int
nWinCount
,
int
nCutSize
,
int
nProcs
,
int
fVerbose
);
extern
Gia_Man_t
*
Gia_ManPerformNewResub
(
Gia_Man_t
*
p
,
int
nWinCount
,
int
nCutSize
,
int
nProcs
,
int
fVerbose
);
extern
void
Gia_RsbEnumerateWindows
(
Gia_Man_t
*
p
,
int
nInputsMax
,
int
nLevelsMax
);
extern
void
Gia_RsbEnumerateWindows
(
Gia_Man_t
*
p
,
int
nInputsMax
,
int
nLevelsMax
);
extern
int
Gia_ManSumTotalOfSupportSizes
(
Gia_Man_t
*
p
);
extern
int
Gia_ManSumTotalOfSupportSizes
(
Gia_Man_t
*
p
);
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