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
e7a029d7
Commit
e7a029d7
authored
3 years ago
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Various changes.
parent
ed9c16d4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
9 deletions
+12
-9
src/aig/gia/giaResub.c
+2
-2
src/base/abc/abcUtil.c
+1
-1
src/base/abci/abcFx.c
+1
-1
src/misc/extra/extraUtilFile.c
+8
-5
No files found.
src/aig/gia/giaResub.c
View file @
e7a029d7
...
...
@@ -1472,8 +1472,8 @@ Vec_Int_t * Gia_ManResubOne( Vec_Ptr_t * vDivs, int nWords, int nLimit, int nDiv
Gia_ManResubPerform
(
p
,
vDivs
,
nWords
,
nLimit
,
nDivsMax
,
iChoice
,
fUseXor
,
fDebug
,
fVerbose
,
Depth
);
if
(
fVerbose
)
Gia_ManResubPrint
(
p
->
vGates
,
Vec_PtrSize
(
vDivs
)
);
if
(
fVerbose
)
printf
(
"
\n
"
);
//
if ( fVerbose )
//
printf( "\n" );
if
(
!
Gia_ManResubVerify
(
p
,
pFunc
)
)
{
Gia_ManResubPrint
(
p
->
vGates
,
Vec_PtrSize
(
vDivs
)
);
...
...
This diff is collapsed.
Click to expand it.
src/base/abc/abcUtil.c
View file @
e7a029d7
...
...
@@ -3153,7 +3153,7 @@ Vec_Wec_t * Abc_GiaSynthesize( Vec_Ptr_t * vGias, Gia_Man_t * pMulti )
int
i
,
k
,
iNode
=
0
;
Abc_FrameReplaceCurrentNetwork
(
Abc_FrameReadGlobalFrame
(),
pNtk
);
Abc_FrameSetBatchMode
(
1
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
"c
ompress2rs; dch; map -a;
strash; compress2rs; dch; map -a; strash; compress2rs; dch; map -a"
);
Cmd_CommandExecute
(
Abc_FrameGetGlobalFrame
(),
"c
lp; sop; fx;
strash; compress2rs; dch; map -a; strash; compress2rs; dch; map -a"
);
Abc_FrameSetBatchMode
(
0
);
pNtkNew
=
Abc_FrameReadNtk
(
Abc_FrameReadGlobalFrame
()
);
vRes
=
Vec_WecStart
(
Abc_NtkPiNum
(
pNtkNew
)
+
Abc_NtkNodeNum
(
pNtkNew
)
+
Abc_NtkPoNum
(
pNtkNew
)
);
...
...
This diff is collapsed.
Click to expand it.
src/base/abci/abcFx.c
View file @
e7a029d7
...
...
@@ -201,7 +201,7 @@ void Abc_NtkFxInsert( Abc_Ntk_t * pNtk, Vec_Wec_t * vCubes )
// quit if nothing changes
if
(
iNodeMax
<
Abc_NtkObjNumMax
(
pNtk
)
)
{
printf
(
"The network is unchanged by fast extract.
\n
"
);
//
printf( "The network is unchanged by fast extract.\n" );
return
;
}
// create new nodes
...
...
This diff is collapsed.
Click to expand it.
src/misc/extra/extraUtilFile.c
View file @
e7a029d7
...
...
@@ -249,11 +249,14 @@ char * Extra_FilePathWithoutName( char * FileName )
}
char
*
Extra_FileInTheSameDir
(
char
*
pPathFile
,
char
*
pFileName
)
{
static
char
pBuffer
[
1000
];
char
*
pPath
=
Extra_FilePathWithoutName
(
pPathFile
);
assert
(
strlen
(
pPath
)
+
strlen
(
pFileName
)
<
990
);
sprintf
(
pBuffer
,
"%s%s"
,
pPath
,
pFileName
);
ABC_FREE
(
pPath
);
static
char
pBuffer
[
1000
];
char
*
pThis
;
assert
(
strlen
(
pPathFile
)
+
strlen
(
pFileName
)
<
990
);
memmove
(
pBuffer
,
pPathFile
,
strlen
(
pPathFile
)
);
for
(
pThis
=
pBuffer
+
strlen
(
pPathFile
)
-
1
;
pThis
>=
pBuffer
;
pThis
--
)
if
(
*
pThis
==
'\\'
||
*
pThis
==
'/'
)
break
;
memmove
(
++
pThis
,
pFileName
,
strlen
(
pFileName
)
);
pThis
[
strlen
(
pFileName
)]
=
'\0'
;
return
pBuffer
;
}
char
*
Extra_FileDesignName
(
char
*
pFileName
)
...
...
This diff is collapsed.
Click to expand it.
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