- probes = [
- {'id': 'clk', 'name': 'CLK', 'desc': 'Clock line'},
- ]
- optional_probes = probe_list(32)
- options = {
- 'clock_edge': ['Clock edge to sample on', 'rising'],
- 'wordsize': ['Word size of the data', 1],
- 'endianness': ['Endianness of the data', 'little'],
- 'format': ['Data format', 'hex'],
- }
- annotations = [
- ['items', 'Items'],
- ['words', 'Words'],
- ]
+ optional_channels = channel_list(8)
+ options = (
+ {'id': 'clock_edge', 'desc': 'Clock edge to sample on',
+ 'default': 'rising', 'values': ('rising', 'falling')},
+ {'id': 'wordsize', 'desc': 'Data wordsize', 'default': 1},
+ {'id': 'endianness', 'desc': 'Data endianness',
+ 'default': 'little', 'values': ('little', 'big')},
+ )
+ annotations = (
+ ('items', 'Items'),
+ ('words', 'Words'),
+ )