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
b63b332b
Commit
b63b332b
authored
Dec 15, 2011
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trying to make sorting of nodes platform-indendent.
parent
40ddda3e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
0 deletions
+30
-0
src/aig/hop/hopBalance.c
+5
-0
src/aig/ivy/ivyBalance.c
+5
-0
src/aig/saig/saigBmc3.c
+5
-0
src/base/abc/abcNames.c
+5
-0
src/base/abc/abcUtil.c
+5
-0
src/base/abci/abcMffc.c
+5
-0
No files found.
src/aig/hop/hopBalance.c
View file @
b63b332b
...
@@ -221,6 +221,11 @@ int Hop_NodeCompareLevelsDecrease( Hop_Obj_t ** pp1, Hop_Obj_t ** pp2 )
...
@@ -221,6 +221,11 @@ int Hop_NodeCompareLevelsDecrease( Hop_Obj_t ** pp1, Hop_Obj_t ** pp2 )
return
-
1
;
return
-
1
;
if
(
Diff
<
0
)
if
(
Diff
<
0
)
return
1
;
return
1
;
Diff
=
Hop_Regular
(
*
pp1
)
->
Id
-
Hop_Regular
(
*
pp2
)
->
Id
;
if
(
Diff
>
0
)
return
-
1
;
if
(
Diff
<
0
)
return
1
;
return
0
;
return
0
;
}
}
...
...
src/aig/ivy/ivyBalance.c
View file @
b63b332b
...
@@ -103,6 +103,11 @@ int Ivy_NodeCompareLevelsDecrease( Ivy_Obj_t ** pp1, Ivy_Obj_t ** pp2 )
...
@@ -103,6 +103,11 @@ int Ivy_NodeCompareLevelsDecrease( Ivy_Obj_t ** pp1, Ivy_Obj_t ** pp2 )
return
-
1
;
return
-
1
;
if
(
Diff
<
0
)
if
(
Diff
<
0
)
return
1
;
return
1
;
Diff
=
Ivy_Regular
(
*
pp1
)
->
Id
-
Ivy_Regular
(
*
pp2
)
->
Id
;
if
(
Diff
>
0
)
return
-
1
;
if
(
Diff
<
0
)
return
1
;
return
0
;
return
0
;
}
}
...
...
src/aig/saig/saigBmc3.c
View file @
b63b332b
...
@@ -1015,6 +1015,11 @@ int Aig_NodeCompareRefsIncrease( Aig_Obj_t ** pp1, Aig_Obj_t ** pp2 )
...
@@ -1015,6 +1015,11 @@ int Aig_NodeCompareRefsIncrease( Aig_Obj_t ** pp1, Aig_Obj_t ** pp2 )
return
-
1
;
return
-
1
;
if
(
Diff
>
0
)
if
(
Diff
>
0
)
return
1
;
return
1
;
Diff
=
Aig_ObjId
(
*
pp1
)
-
Aig_ObjId
(
*
pp2
);
if
(
Diff
<
0
)
return
-
1
;
if
(
Diff
>
0
)
return
1
;
return
0
;
return
0
;
}
}
...
...
src/base/abc/abcNames.c
View file @
b63b332b
...
@@ -314,6 +314,11 @@ int Abc_NodeCompareNames( Abc_Obj_t ** pp1, Abc_Obj_t ** pp2 )
...
@@ -314,6 +314,11 @@ int Abc_NodeCompareNames( Abc_Obj_t ** pp1, Abc_Obj_t ** pp2 )
return
-
1
;
return
-
1
;
if
(
Diff
>
0
)
if
(
Diff
>
0
)
return
1
;
return
1
;
Diff
=
(
*
pp1
)
->
Id
-
(
*
pp2
)
->
Id
;
if
(
Diff
<
0
)
return
-
1
;
if
(
Diff
>
0
)
return
1
;
return
0
;
return
0
;
}
}
...
...
src/base/abc/abcUtil.c
View file @
b63b332b
...
@@ -1401,6 +1401,11 @@ int Abc_NodeCompareLevelsIncrease( Abc_Obj_t ** pp1, Abc_Obj_t ** pp2 )
...
@@ -1401,6 +1401,11 @@ int Abc_NodeCompareLevelsIncrease( Abc_Obj_t ** pp1, Abc_Obj_t ** pp2 )
return
-
1
;
return
-
1
;
if
(
Diff
>
0
)
if
(
Diff
>
0
)
return
1
;
return
1
;
Diff
=
Abc_ObjRegular
(
*
pp1
)
->
Id
-
Abc_ObjRegular
(
*
pp2
)
->
Id
;
if
(
Diff
<
0
)
return
-
1
;
if
(
Diff
>
0
)
return
1
;
return
0
;
return
0
;
}
}
...
...
src/base/abci/abcMffc.c
View file @
b63b332b
...
@@ -1125,6 +1125,11 @@ int Abc_NodeCompareVolumeDecrease( Abc_Obj_t ** pp1, Abc_Obj_t ** pp2 )
...
@@ -1125,6 +1125,11 @@ int Abc_NodeCompareVolumeDecrease( Abc_Obj_t ** pp1, Abc_Obj_t ** pp2 )
return
-
1
;
return
-
1
;
if
(
Diff
<
0
)
if
(
Diff
<
0
)
return
1
;
return
1
;
Diff
=
Abc_ObjRegular
(
*
pp1
)
->
Id
-
Abc_ObjRegular
(
*
pp2
)
->
Id
;
if
(
Diff
>
0
)
return
-
1
;
if
(
Diff
<
0
)
return
1
;
return
0
;
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