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
02f7ede7
Commit
02f7ede7
authored
Mar 29, 2011
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added test package (new files).
parent
2b336851
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
85 additions
and
1 deletions
+85
-1
abclib.dsp
+8
-0
src/base/abci/abc.c
+1
-1
src/base/test/module.make
+1
-0
src/base/test/test.c
+70
-0
src/sat/bsat/satSolver.c
+5
-0
No files found.
abclib.dsp
View file @
02f7ede7
...
...
@@ -674,6 +674,14 @@ SOURCE=.\src\base\ver\verParse.c
SOURCE=.\src\base\ver\verStream.c
# End Source File
# End Group
# Begin Group "test"
# PROP Default_Filter ""
# Begin Source File
SOURCE=.\src\base\test\test.c
# End Source File
# End Group
# End Group
# Begin Group "bdd"
...
...
src/base/abci/abc.c
View file @
02f7ede7
...
...
@@ -8706,9 +8706,9 @@ int Abc_CommandTest( Abc_Frame_t * pAbc, int argc, char ** argv )
}
// replace the current network
Abc_FrameReplaceCurrentNetwork( pAbc, pNtkRes );
*/
{
// extern void Au_Sat3DeriveImpls();
// Au_Sat3DeriveImpls();
...
...
src/base/test/module.make
0 → 100644
View file @
02f7ede7
SRC
+=
src/base/test/test.c
src/base/test/test.c
0 → 100644
View file @
02f7ede7
/**CFile****************************************************************
FileName [test.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Template package.]
Synopsis []
Author []
Affiliation []
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [$Id: test.c,v 1.00 2005/06/20 00:00:00 alanmi Exp $]
***********************************************************************/
#include "main.h"
ABC_NAMESPACE_IMPL_START
////////////////////////////////////////////////////////////////////////
/// DECLARATIONS ///
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
/// FUNCTION DEFINITIONS ///
////////////////////////////////////////////////////////////////////////
/**Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
***********************************************************************/
void
Test_Init
(
Abc_Frame_t
*
pAbc
)
{
}
/**Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
***********************************************************************/
void
Test_End
(
Abc_Frame_t
*
pAbc
)
{
}
////////////////////////////////////////////////////////////////////////
/// END OF FILE ///
////////////////////////////////////////////////////////////////////////
ABC_NAMESPACE_IMPL_END
src/sat/bsat/satSolver.c
View file @
02f7ede7
...
...
@@ -1482,6 +1482,7 @@ int sat_solver_solve(sat_solver* s, lit* begin, lit* end, ABC_INT64_T nConfLimit
}
while
(
status
==
l_Undef
){
// int nConfs = 0;
double
Ratio
=
(
s
->
stats
.
learnts
==
0
)
?
0
.
0
:
s
->
stats
.
learnts_literals
/
(
double
)
s
->
stats
.
learnts
;
...
...
@@ -1500,7 +1501,11 @@ int sat_solver_solve(sat_solver* s, lit* begin, lit* end, ABC_INT64_T nConfLimit
}
nof_conflicts
=
(
ABC_INT64_T
)(
100
*
luby
(
2
,
restart_iter
++
)
);
//printf( "%d ", (int)nof_conflicts );
// nConfs = s->stats.conflicts;
status
=
sat_solver_search
(
s
,
nof_conflicts
,
nof_learnts
);
// if ( status == l_True )
// printf( "%d ", s->stats.conflicts - nConfs );
// nof_conflicts = nof_conflicts * 3 / 2; //*= 1.5;
nof_learnts
=
nof_learnts
*
11
/
10
;
//*= 1.1;
...
...
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