From ed796c3d28c8e6951c460e2663a332199323dee1 Mon Sep 17 00:00:00 2001 From: Yaman Umuroglu <yamanu@xilinx.com> Date: Thu, 20 Feb 2020 16:53:06 +0000 Subject: [PATCH] [Util] always convert liveness threshold to int --- src/finn/util/fpgadataflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finn/util/fpgadataflow.py b/src/finn/util/fpgadataflow.py index c27255748..e48d26096 100644 --- a/src/finn/util/fpgadataflow.py +++ b/src/finn/util/fpgadataflow.py @@ -51,4 +51,4 @@ def pyverilate_get_liveness_threshold_cycles(): """Return the number of no-output cycles rtlsim will wait before assuming the simulation is not finishing and throwing an exception.""" - return os.getenv("LIVENESS_THRESHOLD", 100) + return int(os.getenv("LIVENESS_THRESHOLD", 100)) -- GitLab