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
4c90af0f
Commit
4c90af0f
authored
Jun 25, 2021
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Potential upgrade to 'dsec'.
parent
28ba2c52
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
src/proof/fra/fraSec.c
+24
-0
No files found.
src/proof/fra/fraSec.c
View file @
4c90af0f
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#include "fra.h"
#include "fra.h"
#include "aig/ioa/ioa.h"
#include "aig/ioa/ioa.h"
#include "aig/gia/giaAig.h"
#include "proof/int/int.h"
#include "proof/int/int.h"
#include "proof/ssw/ssw.h"
#include "proof/ssw/ssw.h"
#include "aig/saig/saig.h"
#include "aig/saig/saig.h"
...
@@ -92,6 +93,28 @@ void Fra_SecSetDefaultParams( Fra_Sec_t * p )
...
@@ -92,6 +93,28 @@ void Fra_SecSetDefaultParams( Fra_Sec_t * p )
SeeAlso []
SeeAlso []
***********************************************************************/
***********************************************************************/
Aig_Man_t
*
Fra_FraigEquivence2
(
Aig_Man_t
*
pAig
,
int
nConfs
,
int
fVerbose
)
{
extern
Gia_Man_t
*
Cec4_ManSimulateTest3
(
Gia_Man_t
*
p
,
int
nBTLimit
,
int
fVerbose
);
Gia_Man_t
*
pGia
=
Gia_ManFromAig
(
pAig
);
Gia_Man_t
*
pGiaNew
=
Cec4_ManSimulateTest3
(
pGia
,
nConfs
,
0
);
Aig_Man_t
*
pAigNew
=
Gia_ManToAig
(
pGiaNew
,
0
);
Gia_ManStop
(
pGiaNew
);
Gia_ManStop
(
pGia
);
return
pAigNew
;
}
/**Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
***********************************************************************/
int
Fra_FraigSec
(
Aig_Man_t
*
p
,
Fra_Sec_t
*
pParSec
,
Aig_Man_t
**
ppResult
)
int
Fra_FraigSec
(
Aig_Man_t
*
p
,
Fra_Sec_t
*
pParSec
,
Aig_Man_t
**
ppResult
)
{
{
Ssw_Pars_t
Pars2
,
*
pPars2
=
&
Pars2
;
Ssw_Pars_t
Pars2
,
*
pPars2
=
&
Pars2
;
...
@@ -267,6 +290,7 @@ ABC_PRT( "Time", Abc_Clock() - clk );
...
@@ -267,6 +290,7 @@ ABC_PRT( "Time", Abc_Clock() - clk );
{
{
clk
=
Abc_Clock
();
clk
=
Abc_Clock
();
pNew
=
Fra_FraigEquivence
(
pTemp
=
pNew
,
100
,
0
);
pNew
=
Fra_FraigEquivence
(
pTemp
=
pNew
,
100
,
0
);
//pNew = Fra_FraigEquivence2( pTemp = pNew, 100, 0 );
Aig_ManStop
(
pTemp
);
Aig_ManStop
(
pTemp
);
if
(
pParSec
->
fVerbose
)
if
(
pParSec
->
fVerbose
)
{
{
...
...
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