----------
cd : str
Clock domain to obtain a reset signal for. Defaults to `"sys"`.
- allow_resetless : bool
+ allow_reset_less : bool
If the clock domain is resetless, return 0 instead of reporting an
error.
"""
- def __init__(self, cd="sys", allow_resetless=False):
+ def __init__(self, cd="sys", allow_reset_less=False):
Value.__init__(self)
self.cd = cd
- self.allow_resetless = allow_resetless
+ self.allow_reset_less = allow_reset_less
# statements
def visit_ResetSignal(self, node):
rst = self.clock_domains[node.cd].rst
if rst is None:
- if node.allow_resetless:
+ if node.allow_reset_less:
return 0
else:
raise ValueError("Attempted to get reset signal of resetless"