From 9d36f7efb4759993f04f264a3103094592246e5b Mon Sep 17 00:00:00 2001 From: Vi-shub Date: Mon, 23 Mar 2026 10:50:00 +0530 Subject: [PATCH] [Flow] V2 Fix variable name bug in gen_report() - gen_report() in flow/util/genReport.py incorrectly referenced the global iteration variable 'd' instead of the function parameter 'data' on line 173. - Changed d['drcs'] to data['drcs'] to fix the logic bug. Signed-off-by: Vi-shub --- flow/util/genReport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/util/genReport.py b/flow/util/genReport.py index f08fdd20e6..5134f4895b 100755 --- a/flow/util/genReport.py +++ b/flow/util/genReport.py @@ -170,7 +170,7 @@ def gen_report(name, data): args.verbose - 2, ) - if len(d["drcs"].keys()) > 0: + if len(data["drcs"].keys()) > 0: if data["status"] == STATUS_GREEN: output += " Design has the violations under the allowed limit: " else: