From: Jannis Harder Date: Thu, 31 Mar 2022 11:12:15 +0000 (+0200) Subject: Fix variable name in find_property_by_cellname's error path X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a78eaa57db9c8c5aae0f90eafc17c77b1a4d6029;p=SymbiYosys.git Fix variable name in find_property_by_cellname's error path --- diff --git a/sbysrc/sby_design.py b/sbysrc/sby_design.py index 6dfbaec..dc18350 100644 --- a/sbysrc/sby_design.py +++ b/sbysrc/sby_design.py @@ -97,7 +97,7 @@ class SbyModule: for prop in self: if cell_name == prop.name.translate(str.maketrans(trans_dict)): return prop - raise KeyError(f"No such property: {smt2_name}") + raise KeyError(f"No such property: {cell_name}") def design_hierarchy(filename): design_json = json.load(filename)