mirror of https://github.com/YosysHQ/abc.git
Bug fix for big-endiang architectures (plus adding -lm in Makefile).
This commit is contained in:
parent
b79fd69fb5
commit
6a0566d22b
2
Makefile
2
Makefile
|
|
@ -72,7 +72,7 @@ endif
|
|||
endif
|
||||
|
||||
# LIBS := -ldl -lrt
|
||||
LIBS += -ldl
|
||||
LIBS += -ldl -lm
|
||||
ifneq ($(findstring Darwin, $(shell uname)), Darwin)
|
||||
LIBS += -lrt
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ int Abc_NtkRetimeFinalizeLatches( Abc_Ntk_t * pNtk, st__table * tLatches, int nI
|
|||
{
|
||||
// this is an old latch
|
||||
// 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" );
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue