You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reggen currently doesn't support 0 instances of a multireg. It fails with the following error:
File "util/reggen/multi_register.py", line 132, in __init__
raise ValueError("Multireg {} has a count of {}, "
ValueError: Multireg INP_PRD_CNT_CTRL has a count of 0, which isn't positive.
Instead of this error, I'd expect reggen to completely omit a multireg with count 0.
The problem can be avoided if the count of the multireg is a template parameter: in that case, a % if template_parameter > 0: can be placed around the multireg.
The text was updated successfully, but these errors were encountered:
reggen currently doesn't support 0 instances of a multireg. It fails with the following error:
Instead of this error, I'd expect reggen to completely omit a multireg with count 0.
The problem can be avoided if the count of the multireg is a template parameter: in that case, a
% if template_parameter > 0:
can be placed around the multireg.The text was updated successfully, but these errors were encountered: