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
f6a3c28e
Commit
f6a3c28e
authored
Jul 08, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temp change in the AIG reader and minor tuning.
parent
fd5b7e8b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletions
+8
-1
src/aig/gia/giaAiger.c
+2
-1
src/aig/gia/giaIf.c
+2
-0
src/base/abci/abc.c
+4
-0
No files found.
src/aig/gia/giaAiger.c
View file @
f6a3c28e
...
...
@@ -663,7 +663,8 @@ Gia_Man_t * Gia_AigerReadFromMemory( char * pContents, int nFileSize, int fSkipS
int
i
,
nRegs
;
pCur
++
;
pCurTemp
=
pCur
+
Gia_AigerReadInt
(
pCur
)
+
4
;
pCur
+=
4
;
nRegs
=
Gia_AigerReadInt
(
pCur
);
pCur
+=
4
;
//nRegs = Gia_AigerReadInt(pCur); pCur += 4;
nRegs
=
(
pCurTemp
-
pCur
)
/
4
;
pNew
->
vRegClasses
=
Vec_IntAlloc
(
nRegs
);
for
(
i
=
0
;
i
<
nRegs
;
i
++
)
Vec_IntPush
(
pNew
->
vRegClasses
,
Gia_AigerReadInt
(
pCur
)
),
pCur
+=
4
;
...
...
src/aig/gia/giaIf.c
View file @
f6a3c28e
...
...
@@ -2074,6 +2074,8 @@ Gia_Man_t * Gia_ManPerformMappingInt( Gia_Man_t * p, If_Par_t * pPars )
If_Man_t
*
pIfMan
;
assert
(
pPars
->
pTimesArr
==
NULL
);
assert
(
pPars
->
pTimesReq
==
NULL
);
ABC_FREE
(
p
->
pCellStr
);
Vec_IntFreeP
(
&
p
->
vConfigs
);
// disable cut minimization when GIA strucure is needed
if
(
!
pPars
->
fDelayOpt
&&
!
pPars
->
fDelayOptLut
&&
!
pPars
->
fDsdBalance
&&
!
pPars
->
fUserRecLib
&&
!
pPars
->
fDeriveLuts
&&
!
pPars
->
fUseDsd
&&
!
pPars
->
fUseTtPerm
)
pPars
->
fCutMin
=
0
;
...
...
src/base/abci/abc.c
View file @
f6a3c28e
...
...
@@ -26961,7 +26961,11 @@ int Abc_CommandAbc9Strash( Abc_Frame_t * pAbc, int argc, char ** argv )
// printf( "Rehashed the current AIG.\n" );
}
if
(
!
(
fCollapse
&&
pAbc
->
pGia
->
pAigExtra
)
)
{
Gia_ManTransferTiming
(
pTemp
,
pAbc
->
pGia
);
pAbc
->
pGia
->
vConfigs
=
pTemp
->
vConfigs
;
pTemp
->
vConfigs
=
NULL
;
pAbc
->
pGia
->
pCellStr
=
pTemp
->
pCellStr
;
pTemp
->
pCellStr
=
NULL
;
}
Abc_FrameUpdateGia
(
pAbc
,
pTemp
);
return
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