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
5a8f8b8a
Commit
5a8f8b8a
authored
Dec 13, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unifification of custom extensions.
parent
f0d961c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/aig/gia/giaAiger.c
+3
-3
No files found.
src/aig/gia/giaAiger.c
View file @
5a8f8b8a
...
@@ -531,10 +531,10 @@ Gia_Man_t * Gia_AigerReadFromMemory( char * pContents, int nFileSize, int fSkipS
...
@@ -531,10 +531,10 @@ Gia_Man_t * Gia_AigerReadFromMemory( char * pContents, int nFileSize, int fSkipS
{
{
extern
Gia_Rpr_t
*
Gia_AigerReadEquivClasses
(
unsigned
char
**
ppPos
,
int
nSize
);
extern
Gia_Rpr_t
*
Gia_AigerReadEquivClasses
(
unsigned
char
**
ppPos
,
int
nSize
);
pCur
++
;
pCur
++
;
//
pCurTemp = pCur + Gia_AigerReadInt(pCur) + 4; pCur += 4;
pCurTemp
=
pCur
+
Gia_AigerReadInt
(
pCur
)
+
4
;
pCur
+=
4
;
pNew
->
pReprs
=
Gia_AigerReadEquivClasses
(
&
pCur
,
Gia_ManObjNum
(
pNew
)
);
pNew
->
pReprs
=
Gia_AigerReadEquivClasses
(
&
pCur
,
Gia_ManObjNum
(
pNew
)
);
pNew
->
pNexts
=
Gia_ManDeriveNexts
(
pNew
);
pNew
->
pNexts
=
Gia_ManDeriveNexts
(
pNew
);
//
assert( pCur == pCurTemp );
assert
(
pCur
==
pCurTemp
);
}
}
// read flop classes
// read flop classes
else
if
(
*
pCur
==
'f'
)
else
if
(
*
pCur
==
'f'
)
...
@@ -1049,7 +1049,7 @@ void Gia_AigerWrite( Gia_Man_t * pInit, char * pFileName, int fWriteSymbols, int
...
@@ -1049,7 +1049,7 @@ void Gia_AigerWrite( Gia_Man_t * pInit, char * pFileName, int fWriteSymbols, int
extern
Vec_Str_t
*
Gia_WriteEquivClasses
(
Gia_Man_t
*
p
);
extern
Vec_Str_t
*
Gia_WriteEquivClasses
(
Gia_Man_t
*
p
);
fprintf
(
pFile
,
"e"
);
fprintf
(
pFile
,
"e"
);
vStrExt
=
Gia_WriteEquivClasses
(
p
);
vStrExt
=
Gia_WriteEquivClasses
(
p
);
//
Gia_FileWriteBufferSize( pFile, Vec_StrSize(vStrExt) );
Gia_FileWriteBufferSize
(
pFile
,
Vec_StrSize
(
vStrExt
)
);
fwrite
(
Vec_StrArray
(
vStrExt
),
1
,
Vec_StrSize
(
vStrExt
),
pFile
);
fwrite
(
Vec_StrArray
(
vStrExt
),
1
,
Vec_StrSize
(
vStrExt
),
pFile
);
Vec_StrFree
(
vStrExt
);
Vec_StrFree
(
vStrExt
);
}
}
...
...
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