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
39839c3f
Commit
39839c3f
authored
Feb 27, 2011
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated read_status/write_status to correctly handle the case of seq cex without regs.
parent
4704dbc7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
src/base/abci/abcLog.c
+15
-14
No files found.
src/base/abci/abcLog.c
View file @
39839c3f
...
...
@@ -29,26 +29,27 @@ ABC_NAMESPACE_IMPL_START
////////////////////////////////////////////////////////////////////////
/*
Log file format (Jiang, Mon, 28 Sep 2009)
Log file format (Jiang, Mon, 28 Sep 2009
; updated by Alan in Jan 2011
)
<result> <cyc> <engine_name>
<TRACE> : default is "NULL"
<INIT_STATE> : default is "NULL"
<retult> is the following:
snl_SAT
snl_UNSAT
snl_UNK
snl_ABORT
<cyc> : # of cycles
<result> <bug_free_depth> <engine_name> <0-based_output_num> <0-based_frame>
<INIT_STATE> : default is empty line.
<TRACE> : default is empty line
<result> is one of the following: "snl_SAT", "snl_UNSAT", "snl_UNK", "snl_ABORT".
<bug_free_depth> is the number of timeframes exhaustively explored without counter-examples
<0-based_output_num> only need to be given if the problem is SAT.
<0-based_frame> only need to be given if the problem is SAT and <0-based_frame> is different from <bug_free_depth>.
<INIT_STATE> : initial state
<TRACE> : input vector
<INIT_STATE>and <TRACE> are strings of 0/1/- ( - means don't care). The length is equivalent to #input*#<cyc>.
*/
////////////////////////////////////////////////////////////////////////
/// FUNCTION DEFINITIONS ///
////////////////////////////////////////////////////////////////////////
...
...
@@ -189,7 +190,7 @@ int Abc_NtkReadLogFile( char * pFileName, Abc_Cex_t ** ppCex, int * pnFrames )
if
(
Vec_IntSize
(
vNums
)
)
{
int
iFrameCex
=
(
nFrames2
==
-
1
)
?
nFrames
:
nFrames2
;
if
(
nRegs
==
0
)
if
(
nRegs
<
0
)
{
printf
(
"Cannot read register number.
\n
"
);
return
-
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