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
afcbb097
Commit
afcbb097
authored
Feb 05, 2017
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corner-case bug-fix in library preprocessor for standard-cell mapping.
parent
2c4c464a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/map/mio/mioUtils.c
+2
-2
No files found.
src/map/mio/mioUtils.c
View file @
afcbb097
...
...
@@ -569,7 +569,7 @@ Mio_Cell_t * Mio_CollectRootsNew( Mio_Library_t * pLib, int nInputs, int * pnGat
if
(
ppCells
[
3
].
pName
==
NULL
)
{
printf
(
"Error: Cannot find inverter gate in the library.
\n
"
);
return
NULL
;
}
// sort by delay
if
(
iCell
>
1
)
if
(
iCell
>
5
)
{
qsort
(
(
void
*
)(
ppCells
+
4
),
iCell
-
4
,
sizeof
(
Mio_Cell_t
),
(
int
(
*
)(
const
void
*
,
const
void
*
))
Mio_AreaCompare
);
...
...
@@ -726,7 +726,7 @@ Mio_Cell2_t * Mio_CollectRootsNew2( Mio_Library_t * pLib, int nInputs, int * pnG
if
(
ppCells
[
3
].
pName
==
NULL
)
{
printf
(
"Error: Cannot find inverter gate in the library.
\n
"
);
return
NULL
;
}
// sort by delay
if
(
iCell
>
1
)
if
(
iCell
>
5
)
{
qsort
(
(
void
*
)(
ppCells
+
4
),
iCell
-
4
,
sizeof
(
Mio_Cell2_t
),
(
int
(
*
)(
const
void
*
,
const
void
*
))
Mio_AreaCompare2
);
...
...
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