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
329831bd
Commit
329831bd
authored
Aug 28, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix: abstraction commands not properly updating status when dumping intermediate abstraction.
parent
8a1d439c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
3 deletions
+6
-3
src/aig/gia/giaAbsGla.c
+1
-0
src/aig/gia/giaAbsGla2.c
+1
-0
src/aig/gia/giaAbsVta.c
+1
-0
src/base/abci/abcLog.c
+1
-1
src/base/main/main.h
+1
-2
src/base/main/mainFrame.c
+1
-0
No files found.
src/aig/gia/giaAbsGla.c
View file @
329831bd
...
...
@@ -2082,6 +2082,7 @@ int Gia_GlaPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars, int fStartVta )
// dump the model into file
if
(
p
->
pPars
->
fDumpVabs
)
{
Abc_FrameSetStatus
(
-
1
);
Abc_FrameSetCex
(
NULL
);
Abc_FrameSetNFrames
(
f
+
1
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
"write_status gla.status"
);
...
...
src/aig/gia/giaAbsGla2.c
View file @
329831bd
...
...
@@ -1639,6 +1639,7 @@ int Ga2_ManPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
// dump the model into file
if
(
p
->
pPars
->
fDumpVabs
||
p
->
pPars
->
fDumpMabs
)
{
Abc_FrameSetStatus
(
-
1
);
Abc_FrameSetCex
(
NULL
);
Abc_FrameSetNFrames
(
f
+
1
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
"write_status gla.status"
);
...
...
src/aig/gia/giaAbsVta.c
View file @
329831bd
...
...
@@ -1683,6 +1683,7 @@ int Gia_VtaPerformInt( Gia_Man_t * pAig, Gia_ParVta_t * pPars )
// dump the model
if
(
p
->
pPars
->
fDumpVabs
&&
(
f
&
1
)
)
{
Abc_FrameSetStatus
(
-
1
);
Abc_FrameSetCex
(
NULL
);
Abc_FrameSetNFrames
(
f
+
1
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
"write_status vta.status"
);
...
...
src/base/abci/abcLog.c
View file @
329831bd
...
...
@@ -90,7 +90,7 @@ void Abc_NtkWriteLogFile( char * pFileName, Abc_Cex_t * pCex, int Status, int nF
fprintf
(
pFile
,
" "
);
// write <engine_name>
fprintf
(
pFile
,
"%s"
,
pCommand
?
pCommand
:
"unknown"
);
if
(
Status
==
0
)
if
(
pCex
&&
Status
==
0
)
fprintf
(
pFile
,
" %d"
,
pCex
->
iPo
);
// write <cyc>
if
(
pCex
&&
pCex
->
iFrame
!=
nFrames
)
...
...
src/base/main/main.h
View file @
329831bd
...
...
@@ -129,8 +129,7 @@ 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
);
extern
ABC_DLL
void
Abc_FrameSetStatus
(
int
Status
);
ABC_NAMESPACE_HEADER_END
...
...
src/base/main/mainFrame.c
View file @
329831bd
...
...
@@ -78,6 +78,7 @@ void Abc_FrameSetLibVer( void * pLib ) { s_GlobalFrame->pL
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
;
}
void
Abc_FrameSetStatus
(
int
Status
)
{
ABC_FREE
(
s_GlobalFrame
->
pCex
);
s_GlobalFrame
->
Status
=
Status
;
}
int
Abc_FrameIsBatchMode
()
{
return
s_GlobalFrame
?
s_GlobalFrame
->
fBatchMode
:
0
;
}
...
...
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