[reggen] Add some more info to warning message Signed-off-by: Michael Schaffner <msf@opentitan.org>
diff --git a/util/reggen/countermeasure.py b/util/reggen/countermeasure.py index ee6450e..f59759d 100644 --- a/util/reggen/countermeasure.py +++ b/util/reggen/countermeasure.py
@@ -198,9 +198,9 @@ # Is there anything in the Hjson that isn't described in the RTL? for name in hjson_set - rtl_set: - log.warning("Countermeasure {} is referenced in the Hjson, but " - "doesn't appear in the RTL." - .format(name)) + log.warning("Countermeasure {} is referenced in the Hjson of the " + "{}, but doesn't appear in the RTL." + .format(name, what)) # TODO(#10071): Once all designs are annotated, generate a RuntimeError # if we saw anything in the loop above.