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
eaa9da53
Commit
eaa9da53
authored
Apr 04, 2023
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Various unrelated changes.
parent
36a83acf
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
1 deletions
+33
-1
src/aig/gia/giaSif.c
+1
-1
src/misc/vec/vecWrd.h
+30
-0
src/proof/cec/cecSatG2.c
+2
-0
No files found.
src/aig/gia/giaSif.c
View file @
eaa9da53
...
...
@@ -359,7 +359,7 @@ Vec_Int_t * Gia_ManSifTimesToCounts( Gia_Man_t * p, Vec_Int_t * vTimes, int Peri
}
Gia_Man_t
*
Gia_ManSifTransform
(
Gia_Man_t
*
p
,
Vec_Int_t
*
vCuts
,
Vec_Int_t
*
vTimes
,
int
nLutSize
,
int
Period
,
int
fVerbose
)
{
Gia_Man_t
*
p
Temp
=
NULL
,
*
pNew
=
NULL
;
Vec_Int_t
*
vCounts
=
NULL
,
*
vTimesNew
=
NULL
;
Gia_Man_t
*
p
New
=
NULL
;
Vec_Int_t
*
vCounts
=
NULL
;
if
(
fVerbose
)
printf
(
"Current area = %d. Period = %d. "
,
Gia_ManSifArea
(
p
,
vCuts
,
nLutSize
+
1
),
Period
);
if
(
fVerbose
)
...
...
src/misc/vec/vecWrd.h
View file @
eaa9da53
...
...
@@ -1219,6 +1219,36 @@ static inline Vec_Wrd_t * Vec_WrdUniqifyHash( Vec_Wrd_t * vData, int nWordSize )
/**Function*************************************************************
Synopsis [Returns the number of common entries.]
Description [Assumes that the vectors are sorted in the increasing order.]
SideEffects []
SeeAlso []
***********************************************************************/
static
inline
int
Vec_WrdTwoCountCommon
(
Vec_Wrd_t
*
vArr1
,
Vec_Wrd_t
*
vArr2
)
{
word
*
pBeg1
=
vArr1
->
pArray
;
word
*
pBeg2
=
vArr2
->
pArray
;
word
*
pEnd1
=
vArr1
->
pArray
+
vArr1
->
nSize
;
word
*
pEnd2
=
vArr2
->
pArray
+
vArr2
->
nSize
;
int
Counter
=
0
;
while
(
pBeg1
<
pEnd1
&&
pBeg2
<
pEnd2
)
{
if
(
*
pBeg1
==
*
pBeg2
)
pBeg1
++
,
pBeg2
++
,
Counter
++
;
else
if
(
*
pBeg1
<
*
pBeg2
)
pBeg1
++
;
else
pBeg2
++
;
}
return
Counter
;
}
/**Function*************************************************************
Synopsis [Comparison procedure for two integers.]
Description []
...
...
src/proof/cec/cecSatG2.c
View file @
eaa9da53
...
...
@@ -1864,6 +1864,8 @@ finalize:
Cec4_ManDestroy
(
pMan
);
//Gia_ManStaticFanoutStop( p );
//Gia_ManEquivPrintClasses( p, 1, 0 );
if
(
*
ppNew
==
NULL
)
*
ppNew
=
Gia_ManDup
(
p
);
return
p
->
pCexSeq
?
0
:
1
;
}
Gia_Man_t
*
Cec4_ManSimulateTest
(
Gia_Man_t
*
p
,
Cec_ParFra_t
*
pPars
)
...
...
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