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
ef55bbc8
Commit
ef55bbc8
authored
Jul 17, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small changes in several packages.
parent
4a861d86
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
src/aig/gia/giaIf.c
+3
-2
src/misc/vec/vecMem.h
+8
-0
No files found.
src/aig/gia/giaIf.c
View file @
ef55bbc8
...
...
@@ -363,6 +363,7 @@ void Gia_ManPrintMappingStats( Gia_Man_t * p, char * pDumpFile )
pLevels
[
i
]
=
Abc_MaxInt
(
pLevels
[
i
],
pLevels
[
pFanins
[
2
]]
);
LevelMax
=
Abc_MaxInt
(
LevelMax
,
pLevels
[
i
]
);
nMuxF7
++
;
nFanins
++
;
continue
;
}
nLuts
++
;
...
...
@@ -406,8 +407,8 @@ void Gia_ManPrintMappingStats( Gia_Man_t * p, char * pDumpFile )
Abc_Print
(
1
,
"
\n
"
);
#endif
Gia_ManCountDupLut6
(
p
);
if
(
nMuxF7
)
Gia_ManCountDupLut6
(
p
);
if
(
pDumpFile
)
{
...
...
src/misc/vec/vecMem.h
View file @
ef55bbc8
...
...
@@ -391,6 +391,14 @@ static inline Vec_Mem_t * Vec_MemAllocForTT( int nVars, int fCompl )
ABC_FREE
(
uTruth
);
return
vTtMem
;
}
static
inline
void
Vec_MemAddMuxTT
(
Vec_Mem_t
*
p
,
int
nVars
)
{
int
Value
,
nWords
=
(
nVars
<=
6
?
1
:
(
1
<<
(
nVars
-
6
)));
word
*
uTruth
=
ABC_ALLOC
(
word
,
nWords
);
memset
(
uTruth
,
0xCA
,
sizeof
(
word
)
*
nWords
);
Value
=
Vec_MemHashInsert
(
p
,
uTruth
);
assert
(
Value
==
2
);
ABC_FREE
(
uTruth
);
}
static
inline
void
Vec_MemDumpTruthTables
(
Vec_Mem_t
*
p
,
char
*
pName
,
int
nLutSize
)
{
FILE
*
pFile
;
...
...
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