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
7808ee8e
Commit
7808ee8e
authored
Apr 17, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding parameter structure for rarity simulation.
parent
95d9aae3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
4 deletions
+27
-4
src/base/abci/abc.c
+0
-0
src/base/abci/abcDar.c
+2
-2
src/proof/ssw/ssw.h
+25
-2
src/proof/ssw/sswRarity.c
+0
-0
No files found.
src/base/abci/abc.c
View file @
7808ee8e
This diff is collapsed.
Click to expand it.
src/base/abci/abcDar.c
View file @
7808ee8e
...
...
@@ -3299,7 +3299,7 @@ int Abc_NtkDarSeqSim( Abc_Ntk_t * pNtk, int nFrames, int nWords, int TimeOut, in
SeeAlso []
***********************************************************************/
int
Abc_NtkDarSeqSim3
(
Abc_Ntk_t
*
pNtk
,
int
nFrames
,
int
nWords
,
int
nBinSize
,
int
nRounds
,
int
nRestart
,
int
nRandSeed
,
int
TimeOut
,
int
TimeOutGap
,
int
fSolveAll
,
int
fSetLastState
,
int
fVerbose
,
int
fNotVerbose
)
int
Abc_NtkDarSeqSim3
(
Abc_Ntk_t
*
pNtk
,
Ssw_RarPars_t
*
pPars
)
{
Aig_Man_t
*
pMan
;
int
status
,
RetValue
=
-
1
;
...
...
@@ -3310,7 +3310,7 @@ int Abc_NtkDarSeqSim3( Abc_Ntk_t * pNtk, int nFrames, int nWords, int nBinSize,
Abc_AigCleanup
((
Abc_Aig_t
*
)
pNtk
->
pManFunc
);
}
pMan
=
Abc_NtkToDar
(
pNtk
,
0
,
1
);
if
(
Ssw_RarSimulate
(
pMan
,
nFrames
,
nWords
,
nBinSize
,
nRounds
,
nRestart
,
nRandSeed
,
TimeOut
,
TimeOutGap
,
fSolveAll
,
fSetLastState
,
fVerbose
,
fNotVerbose
)
==
0
)
if
(
Ssw_RarSimulate
(
pMan
,
pPars
)
==
0
)
{
if
(
pMan
->
pSeqModel
)
{
...
...
src/proof/ssw/ssw.h
View file @
7808ee8e
...
...
@@ -86,6 +86,28 @@ struct Ssw_Pars_t_
void
*
pFunc
;
};
typedef
struct
Ssw_RarPars_t_
Ssw_RarPars_t
;
struct
Ssw_RarPars_t_
{
int
nFrames
;
int
nWords
;
int
nBinSize
;
int
nRounds
;
int
nRestart
;
int
nRandSeed
;
int
TimeOut
;
int
TimeOutGap
;
int
fSolveAll
;
int
fSetLastState
;
int
fVerbose
;
int
fNotVerbose
;
int
fDropSatOuts
;
int
fMiter
;
int
fUseCex
;
int
fLatchOnly
;
Abc_Cex_t
*
pCex
;
};
typedef
struct
Ssw_Sml_t_
Ssw_Sml_t
;
// sequential simulation manager
////////////////////////////////////////////////////////////////////////
...
...
@@ -117,8 +139,9 @@ extern int Ssw_SecWithPairs( Aig_Man_t * pAig1, Aig_Man_t * pAig2, Vec
extern
int
Ssw_SecGeneral
(
Aig_Man_t
*
pAig1
,
Aig_Man_t
*
pAig2
,
Ssw_Pars_t
*
pPars
);
extern
int
Ssw_SecGeneralMiter
(
Aig_Man_t
*
pMiter
,
Ssw_Pars_t
*
pPars
);
/*=== sswRarity.c ===================================================*/
extern
int
Ssw_RarSignalFilter
(
Aig_Man_t
*
pAig
,
int
nFrames
,
int
nWords
,
int
nBinSize
,
int
nRounds
,
int
nRestart
,
int
nRandSeed
,
int
TimeOut
,
int
fMiter
,
Abc_Cex_t
*
pCex
,
int
fLatchOnly
,
int
fVerbose
);
extern
int
Ssw_RarSimulate
(
Aig_Man_t
*
pAig
,
int
nFrames
,
int
nWords
,
int
nBinSize
,
int
nRounds
,
int
nRestart
,
int
nRandSeed
,
int
TimeOut
,
int
TimeOutGap
,
int
fSolveAll
,
int
fSetLastState
,
int
fVerbose
,
int
fNotVerbose
);
extern
void
Ssw_RarSetDefaultParams
(
Ssw_RarPars_t
*
p
);
extern
int
Ssw_RarSignalFilter
(
Aig_Man_t
*
pAig
,
Ssw_RarPars_t
*
pPars
);
extern
int
Ssw_RarSimulate
(
Aig_Man_t
*
pAig
,
Ssw_RarPars_t
*
pPars
);
/*=== sswSim.c ===================================================*/
extern
Ssw_Sml_t
*
Ssw_SmlSimulateComb
(
Aig_Man_t
*
pAig
,
int
nWords
);
extern
Ssw_Sml_t
*
Ssw_SmlSimulateSeq
(
Aig_Man_t
*
pAig
,
int
nPref
,
int
nFrames
,
int
nWords
);
...
...
src/proof/ssw/sswRarity.c
View file @
7808ee8e
This diff is collapsed.
Click to expand it.
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