inputs = ['i2c']
outputs = ['rtc8564']
probes = []
- extra_probes = [
+ optional_probes = [
{'id': 'clkout', 'name': 'CLKOUT', 'desc': 'TODO.'},
{'id': 'clkoe', 'name': 'CLKOE', 'desc': 'TODO.'},
{'id': 'int', 'name': 'INT#', 'desc': 'TODO.'},
else:
pass # TODO?
else:
- # Shouldn't happen.
- raise Exception('Unknown state: %d', self.state)
+ raise Exception('Invalid state: %d' % self.state)