def trace(self) -> str:
    suff = ('' if (self.erc.new_value == self.erc.written) else ' (now {:#010x})'.format(self.erc.new_value))
    return 'otbn.{} {} {:#010x}{}{}'.format(self.name, self.erc.op, self.erc.written, (' (from SW)' if (not self.erc.from_hw) else ''), suff)
def trace(self) -> str:
    suff = ( if (self.erc.new_value == self.erc.written) else ' (now {:#010x})'.format(self.erc.new_value))
    return 'otbn.{} {} {:#010x}{}{}'.format(self.name, self.erc.op, self.erc.written, (' (from SW)' if (not self.erc.from_hw) else ), suff)