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
6a0566d2
Commit
6a0566d2
authored
Apr 04, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix for big-endiang architectures (plus adding -lm in Makefile).
parent
b79fd69f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Makefile
+1
-1
src/opt/ret/retIncrem.c
+1
-1
No files found.
Makefile
View file @
6a0566d2
...
@@ -72,7 +72,7 @@ endif
...
@@ -72,7 +72,7 @@ endif
endif
endif
# LIBS := -ldl -lrt
# LIBS := -ldl -lrt
LIBS
+=
-ldl
LIBS
+=
-ldl
-lm
ifneq
($(findstring
Darwin,
$(shell
uname)),
Darwin)
ifneq
($(findstring
Darwin,
$(shell
uname)),
Darwin)
LIBS
+=
-lrt
LIBS
+=
-lrt
endif
endif
...
...
src/opt/ret/retIncrem.c
View file @
6a0566d2
...
@@ -176,7 +176,7 @@ int Abc_NtkRetimeFinalizeLatches( Abc_Ntk_t * pNtk, st__table * tLatches, int nI
...
@@ -176,7 +176,7 @@ int Abc_NtkRetimeFinalizeLatches( Abc_Ntk_t * pNtk, st__table * tLatches, int nI
{
{
// this is an old latch
// this is an old latch
// get its number in the original order
// get its number in the original order
if
(
!
st__lookup
(
tLatches
,
(
char
*
)
pLatch
,
(
char
**
)
&
Index
)
)
if
(
!
st__lookup
_int
(
tLatches
,
(
char
*
)
pLatch
,
&
Index
)
)
{
{
printf
(
"Abc_NtkRetimeFinalizeLatches(): Internal error.
\n
"
);
printf
(
"Abc_NtkRetimeFinalizeLatches(): Internal error.
\n
"
);
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