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
5f5dda90
Commit
5f5dda90
authored
Apr 27, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating the counter of finished frames when dumping intermediate abstraction in &vta.
parent
92da248e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
src/aig/gia/giaAbsVta.c
+3
-0
src/base/main/main.h
+1
-0
src/base/main/mainFrame.c
+5
-4
No files found.
src/aig/gia/giaAbsVta.c
View file @
5f5dda90
...
...
@@ -1607,7 +1607,10 @@ int Gia_VtaPerformInt( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
}
// dump the model
if
(
p
->
pPars
->
fDumpVabs
&&
(
f
&
1
)
)
{
Abc_FrameSetNFrames
(
f
);
Gia_VtaDumpAbsracted
(
p
,
pPars
->
fVerbose
);
}
// check if the number of objects is below limit
if
(
p
->
nSeenGla
>=
Gia_ManCandNum
(
pAig
)
*
(
100
-
pPars
->
nRatioMin
)
/
100
)
{
...
...
src/base/main/main.h
View file @
5f5dda90
...
...
@@ -127,6 +127,7 @@ extern ABC_DLL void Abc_FrameSetLibSuper( void * pLib );
extern
ABC_DLL
void
Abc_FrameSetLibVer
(
void
*
pLib
);
extern
ABC_DLL
void
Abc_FrameSetFlag
(
char
*
pFlag
,
char
*
pValue
);
extern
ABC_DLL
void
Abc_FrameSetCex
(
Abc_Cex_t
*
pCex
);
extern
ABC_DLL
void
Abc_FrameSetNFrames
(
int
nFrames
);
...
...
src/base/main/mainFrame.c
View file @
5f5dda90
...
...
@@ -75,11 +75,12 @@ void Abc_FrameSetLibGen( void * pLib ) { s_GlobalFrame->pL
void
Abc_FrameSetLibGen2
(
void
*
pLib
)
{
s_GlobalFrame
->
pLibGen2
=
pLib
;
}
void
Abc_FrameSetLibSuper
(
void
*
pLib
)
{
s_GlobalFrame
->
pLibSuper
=
pLib
;
}
void
Abc_FrameSetLibVer
(
void
*
pLib
)
{
s_GlobalFrame
->
pLibVer
=
pLib
;
}
void
Abc_FrameSetFlag
(
char
*
pFlag
,
char
*
pValue
)
{
Cmd_FlagUpdateValue
(
s_GlobalFrame
,
pFlag
,
pValue
);
}
void
Abc_FrameSetCex
(
Abc_Cex_t
*
pCex
)
{
ABC_FREE
(
s_GlobalFrame
->
pCex
);
s_GlobalFrame
->
pCex
=
pCex
;
}
void
Abc_FrameSetFlag
(
char
*
pFlag
,
char
*
pValue
)
{
Cmd_FlagUpdateValue
(
s_GlobalFrame
,
pFlag
,
pValue
);
}
void
Abc_FrameSetCex
(
Abc_Cex_t
*
pCex
)
{
ABC_FREE
(
s_GlobalFrame
->
pCex
);
s_GlobalFrame
->
pCex
=
pCex
;
}
void
Abc_FrameSetNFrames
(
int
nFrames
)
{
ABC_FREE
(
s_GlobalFrame
->
pCex
);
s_GlobalFrame
->
nFrames
=
nFrames
;
}
int
Abc_FrameIsBridgeMode
()
{
return
s_GlobalFrame
?
s_GlobalFrame
->
fBridgeMode
:
0
;
}
void
Abc_FrameSetBridgeMode
()
{
if
(
s_GlobalFrame
)
s_GlobalFrame
->
fBridgeMode
=
1
;
}
int
Abc_FrameIsBridgeMode
()
{
return
s_GlobalFrame
?
s_GlobalFrame
->
fBridgeMode
:
0
;
}
void
Abc_FrameSetBridgeMode
()
{
if
(
s_GlobalFrame
)
s_GlobalFrame
->
fBridgeMode
=
1
;
}
/**Function*************************************************************
...
...
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