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
d7ecb23e
Commit
d7ecb23e
authored
Mar 04, 2022
by
Miodrag Milanovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gcc 4.8 fix
parent
f36724e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/base/io/io.c
+3
-3
No files found.
src/base/io/io.c
View file @
d7ecb23e
...
...
@@ -703,6 +703,7 @@ int Abc_NtkReadCexFile( char * pFileName, Abc_Ntk_t * pNtk, Abc_Cex_t ** ppCex,
int
iPo
=
0
;
nFrames
=
-
1
;
int
status
=
0
;
int
i
;
while
(
fgets
(
Buffer
,
1000
,
pFile
)
!=
NULL
)
{
if
(
Buffer
[
0
]
==
'#'
)
...
...
@@ -750,7 +751,7 @@ int Abc_NtkReadCexFile( char * pFileName, Abc_Ntk_t * pNtk, Abc_Cex_t ** ppCex,
state
=
2
;
break
;
case
2
:
for
(
i
nt
i
=
0
;
i
<
strlen
(
Buffer
);
i
++
)
{
for
(
i
=
0
;
i
<
strlen
(
Buffer
);
i
++
)
{
char
c
=
Buffer
[
i
];
if
(
c
==
'0'
||
c
==
'1'
)
Vec_IntPush
(
vNums
,
c
-
'0'
);
...
...
@@ -765,7 +766,7 @@ int Abc_NtkReadCexFile( char * pFileName, Abc_Ntk_t * pNtk, Abc_Cex_t ** ppCex,
state
=
3
;
break
;
default:
for
(
i
nt
i
=
0
;
i
<
strlen
(
Buffer
);
i
++
)
{
for
(
i
=
0
;
i
<
strlen
(
Buffer
);
i
++
)
{
char
c
=
Buffer
[
i
];
if
(
c
==
'0'
||
c
==
'1'
)
Vec_IntPush
(
vNums
,
c
-
'0'
);
...
...
@@ -782,7 +783,6 @@ int Abc_NtkReadCexFile( char * pFileName, Abc_Ntk_t * pNtk, Abc_Cex_t ** ppCex,
if
(
usedX
)
printf
(
"Warning: Using 0 instead of x in latches or primary inputs
\n
"
);
int
i
;
Abc_Obj_t
*
pObj
;
int
iFrameCex
=
nFrames
;
int
nRegsNtk
=
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