Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
abc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kestrel Collaboration
Kestrel Tooling
abc
Commits
f06217e2
Commit
f06217e2
authored
Dec 21, 2020
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compiler warnings.
parent
73dcdab6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
3 deletions
+42
-3
abclib.dsp
abclib.dsp
+4
-0
src/aig/gia/giaUtil.c
src/aig/gia/giaUtil.c
+34
-0
src/base/abci/abc.c
src/base/abci/abc.c
+1
-0
src/misc/extra/extraUtilPrime.c
src/misc/extra/extraUtilPrime.c
+1
-1
src/sat/satoko/utils/sdbl.h
src/sat/satoko/utils/sdbl.h
+2
-2
No files found.
abclib.dsp
View file @
f06217e2
...
...
@@ -5543,6 +5543,10 @@ SOURCE=.\src\proof\cec\cecSolve.c
# End Source File
# Begin Source File
SOURCE=.\src\proof\cec\cecSolveG.c
# End Source File
# Begin Source File
SOURCE=.\src\proof\cec\cecSplit.c
# End Source File
# Begin Source File
...
...
src/aig/gia/giaUtil.c
View file @
f06217e2
...
...
@@ -2460,6 +2460,40 @@ Vec_Int_t * Gia_ManComputeDistance( Gia_Man_t * p, int iObj, Vec_Int_t * vObjs,
}
/**Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
***********************************************************************/
void
Gia_ComputeTest
()
{
char
*
pStart
,
Line
[
1000
];
float
Total
=
0
;
char
*
pFileName
=
"data.txt"
;
FILE
*
pFile
=
fopen
(
pFileName
,
"r"
);
if
(
pFile
==
NULL
)
{
printf
(
"Input file
\"
%s
\"
cannot be opened.
\n
"
,
pFileName
);
return
;
}
while
(
fgets
(
Line
,
1000
,
pFile
)
!=
NULL
)
{
if
(
!
strstr
(
Line
,
"xxx"
)
)
continue
;
if
(
!
strstr
(
Line
,
"yyy"
)
)
continue
;
//printf( "%s", Line );
pStart
=
strstr
(
Line
,
"zzz"
);
if
(
pStart
==
NULL
)
continue
;
//printf( "%s", pStart + 4 );
Total
+=
-
atof
(
pStart
+
4
);
}
printf
(
"Total = %.2f
\n
"
,
Total
);
fclose
(
pFile
);
}
////////////////////////////////////////////////////////////////////////
/// END OF FILE ///
...
...
src/base/abci/abc.c
View file @
f06217e2
...
...
@@ -36669,6 +36669,7 @@ int Abc_CommandAbc9Srm( Abc_Frame_t * pAbc, int argc, char ** argv )
extern Gia_Man_t * Gia_ManCombSpecReduce( Gia_Man_t * p );
pTemp = Gia_ManCombSpecReduce( pAbc->pGia );
Abc_FrameUpdateGia( pAbc, pTemp );
Result = 0;
return 0;
}
sprintf(pFileName, "gsrm%s.aig", fSpeculate? "" : "s" );
src/misc/extra/extraUtilPrime.c
View file @
f06217e2
...
...
@@ -583,7 +583,7 @@ void Tab_DecomposeTest()
Vec_Int_t
*
vPrimes
=
Abc_GenPrimes
(
nVars
);
Tab_Man_t
*
p
=
Tab_ManAlloc
(
nVars
,
Vec_IntSize
(
vPrimes
)
);
Tab_ManStart
(
p
,
vPrimes
);
printf
(
"Created %d cubes dependent on %d variables
with %d literals
.
\n
"
,
p
->
nCubes
,
p
->
nVars
);
printf
(
"Created %d cubes dependent on %d variables.
\n
"
,
p
->
nCubes
,
p
->
nVars
);
vPairs
=
Tab_ManCollectDist1
(
p
,
0
);
printf
(
"Collected %d pairs.
\n
"
,
Vec_IntSize
(
vPairs
)
/
2
);
Vec_IntFree
(
vPairs
);
...
...
src/sat/satoko/utils/sdbl.h
View file @
f06217e2
...
...
@@ -121,8 +121,8 @@ static inline void sdbl_test()
{
sdbl_t
ten100_
=
ABC_CONST
(
0x014c924d692ca61b
);
printf
(
"%f
\n
"
,
sdbl2double
(
ten100_
));
printf
(
"%016lX
\n
"
,
double2sdbl
(
1
/
0
.
95
));
printf
(
"%016lX
\n
"
,
SDBL_CONST1
);
//
printf("%016lX\n", double2sdbl(1 /0.95));
//
printf("%016lX\n", SDBL_CONST1);
printf
(
"%f
\n
"
,
sdbl2double
(
SDBL_CONST1
));
printf
(
"%f
\n
"
,
sdbl2double
(
ABC_CONST
(
0x000086BCA1AF286B
)));
...
...
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