summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2015-03-27 10:15:51 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2015-03-27 10:15:51 +0700
commitac3817caa7dfc8a3e41d563184d4db308ded656c (patch)
treeb780080c5b4c1590cffc9270af6a521be152746a
parent3370feea70e7964226e56bea8a1dda48279f6668 (diff)
downloadabc-ac3817caa7dfc8a3e41d563184d4db308ded656c.tar.gz
abc-ac3817caa7dfc8a3e41d563184d4db308ded656c.tar.bz2
abc-ac3817caa7dfc8a3e41d563184d4db308ded656c.zip
Small bug in user timing computation.
-rw-r--r--src/base/abci/abcTiming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/abci/abcTiming.c b/src/base/abci/abcTiming.c
index d535bc05..a40f625e 100644
--- a/src/base/abci/abcTiming.c
+++ b/src/base/abci/abcTiming.c
@@ -98,7 +98,7 @@ float Abc_NodeReadArrivalWorst( Abc_Obj_t * pNode )
}
float Abc_NodeReadRequiredWorst( Abc_Obj_t * pNode )
{
- return Abc_MaxFloat( Abc_NodeReadRequired(pNode)->Rise, Abc_NodeReadRequired(pNode)->Fall );
+ return Abc_MinFloat( Abc_NodeReadRequired(pNode)->Rise, Abc_NodeReadRequired(pNode)->Fall );
}
/**Function*************************************************************