nes_gamepad: Add more test-cases.
[sigrok-test.git] / decoder / test / nes_gamepad / test.conf
1 test nes_gamepad_generated_a_b
2         protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1
3         protocol-decoder nes_gamepad
4         stack spi nes_gamepad
5         input spi/nes_gamepad/nes_gamepad_generated/a_b.sr
6         output nes_gamepad annotation match nes_gamepad_generated_a_b.output
7
8 test nes_gamepad_generated_a
9         protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1
10         protocol-decoder nes_gamepad
11         stack spi nes_gamepad
12         input spi/nes_gamepad/nes_gamepad_generated/a.sr
13         output nes_gamepad annotation match nes_gamepad_generated_a.output
14
15 test nes_gamepad_generated_b_select_west
16         protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1
17         protocol-decoder nes_gamepad
18         stack spi nes_gamepad
19         input spi/nes_gamepad/nes_gamepad_generated/b_select_west.sr
20         output nes_gamepad annotation match nes_gamepad_generated_b_select_west.output
21
22 test nes_gamepad_generated_b
23         protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1
24         protocol-decoder nes_gamepad
25         stack spi nes_gamepad
26         input spi/nes_gamepad/nes_gamepad_generated/b.sr
27         output nes_gamepad annotation match nes_gamepad_generated_b.output
28
29 test nes_gamepad_generated_east
30         protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1
31         protocol-decoder nes_gamepad
32         stack spi nes_gamepad
33         input spi/nes_gamepad/nes_gamepad_generated/east.sr
34         output nes_gamepad annotation match nes_gamepad_generated_east.output
35
36 test nes_gamepad_generated_no_button
37         protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1
38         protocol-decoder nes_gamepad
39         stack spi nes_gamepad
40         input spi/nes_gamepad/nes_gamepad_generated/no_button.sr
41         output nes_gamepad annotation match nes_gamepad_generated_no_button.output
42
43 test nes_gamepad_generated_north
44         protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1
45         protocol-decoder nes_gamepad
46         stack spi nes_gamepad
47         input spi/nes_gamepad/nes_gamepad_generated/north.sr
48         output nes_gamepad annotation match nes_gamepad_generated_north.output
49
50 test nes_gamepad_generated_select
51         protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1
52         protocol-decoder nes_gamepad
53         stack spi nes_gamepad
54         input spi/nes_gamepad/nes_gamepad_generated/select.sr
55         output nes_gamepad annotation match nes_gamepad_generated_select.output
56
57 test nes_gamepad_generated_south
58         protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1
59         protocol-decoder nes_gamepad
60         stack spi nes_gamepad
61         input spi/nes_gamepad/nes_gamepad_generated/south.sr
62         output nes_gamepad annotation match nes_gamepad_generated_south.output
63
64 test nes_gamepad_generated_start
65         protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1
66         protocol-decoder nes_gamepad
67         stack spi nes_gamepad
68         input spi/nes_gamepad/nes_gamepad_generated/start.sr
69         output nes_gamepad annotation match nes_gamepad_generated_start.output
70
71 test nes_gamepad_generated_unconnected
72         protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1
73         protocol-decoder nes_gamepad
74         stack spi nes_gamepad
75         input spi/nes_gamepad/nes_gamepad_generated/unconnected.sr
76         output nes_gamepad annotation match nes_gamepad_generated_unconnected.output
77
78 test nes_gamepad_generated_west
79         protocol-decoder spi channel cs=0 channel clk=2 channel miso=1 option cpol=1
80         protocol-decoder nes_gamepad
81         stack spi nes_gamepad
82         input spi/nes_gamepad/nes_gamepad_generated/west.sr
83         output nes_gamepad annotation match nes_gamepad_generated_west.output