This ia an oracle file for an ALS652...
Oracle outputs: A(8), B(8), nGBA, GAB, CBA, CAB, SBA, SAB
Oracle inputs: A(8), B(8)
Walking bit pattern
A to B
XX XX 1 1 0 0 0 0 | XX XX
00 XX 1 1 0 0 0 0 | XX 00
01 XX 1 1 0 0 0 0 | XX 01
02 XX 1 1 0 0 0 0 | XX 02
04 XX 1 1 0 0 0 0 | XX 04
08 XX 1 1 0 0 0 0 | XX 08
10 XX 1 1 0 0 0 0 | XX 10
20 XX 1 1 0 0 0 0 | XX 20
40 XX 1 1 0 0 0 0 | XX 40
80 XX 1 1 0 0 0 0 | XX 80
00 XX 1 1 0 0 0 0 | XX 00
B to A
00 XX 1 1 0 0 0 0 | XX XX
XX 00 0 0 0 0 0 0 | XX XX
XX 01 0 0 0 0 0 0 | 01 XX
XX 02 0 0 0 0 0 0 | 02 XX
XX 04 0 0 0 0 0 0 | 04 XX
XX 08 0 0 0 0 0 0 | 08 XX
XX 10 0 0 0 0 0 0 | 10 XX
XX 20 0 0 0 0 0 0 | 20 XX
XX 40 0 0 0 0 0 0 | 40 XX
XX 80 0 0 0 0 0 0 | 80 XX
XX 00 0 0 0 0 0 0 | 00 XX
Register test
00 FF 1 0 0 0 0 0 | XX XX
00 FF 1 0 1 1 0 0 | XX XX
AA 55 1 0 1 1 0 0 | XX XX -- make sure data # when CK goes down
AA 55 1 0 0 0 0 0 | XX XX
XX XX 1 0 0 0 0 0 | XX XX
XX XX 1 0 0 0 1 1 | XX XX
XX XX 1 1 0 0 1 1 | XX 00
XX XX 0 1 0 0 1 1 | FF 00
XX XX 0 1 0 0 1 1 | FF 00
Register test A -> B only
A to B
B6 XX 1 0 0 0 0 0 | XX XX
B6 XX 1 1 0 0 0 0 | XX B6
B6 XX 1 1 0 1 0 0 | XX B6
C3 XX 1 1 0 1 0 0 | XX C3 -- make sure data # when CK goes down
C3 XX 1 1 0 0 0 0 | XX C3
00 XX 1 1 0 0 0 0 | XX 00
01 XX 1 1 0 0 0 0 | XX 01
02 XX 1 1 0 0 0 0 | XX 02
04 XX 1 1 0 0 0 0 | XX 04
08 XX 1 1 0 0 0 0 | XX 08
10 XX 1 1 0 0 0 0 | XX 10
20 XX 1 1 0 0 0 0 | XX 20
40 XX 1 1 0 0 0 0 | XX 40
80 XX 1 1 0 0 0 0 | XX 80
80 XX 1 1 0 0 0 1 | XX B6
40 XX 1 1 0 0 0 1 | XX B6
20 XX 1 1 0 0 0 1 | XX B6
10 XX 1 1 0 0 0 1 | XX B6
08 XX 1 1 0 0 0 1 | XX B6
04 XX 1 1 0 0 0 1 | XX B6
02 XX 1 1 0 0 0 1 | XX B6
01 XX 1 1 0 0 0 1 | XX B6
00 XX 1 1 0 0 0 1 | XX B6
B to A
XX 59 1 0 0 0 0 0 | XX XX
XX 59 0 0 0 0 0 0 | 59 XX
XX 59 0 0 1 0 0 0 | 59 XX
XX 3C 0 0 1 0 0 0 | 3C XX -- make sure data # when CK goes down
XX 3C 0 0 0 0 0 0 | 3C XX
XX 00 0 0 0 0 0 0 | 00 XX
XX 01 0 0 0 0 0 0 | 01 XX
XX 02 0 0 0 0 0 0 | 02 XX
XX 04 0 0 0 0 0 0 | 04 XX
XX 08 0 0 0 0 0 0 | 08 XX
XX 10 0 0 0 0 0 0 | 10 XX
XX 20 0 0 0 0 0 0 | 20 XX
XX 40 0 0 0 0 0 0 | 40 XX
XX 80 0 0 0 0 0 0 | 80 XX
XX 80 0 0 0 0 1 0 | 59 XX
XX 40 0 0 0 0 1 0 | 59 XX
XX 20 0 0 0 0 1 0 | 59 XX
XX 10 0 0 0 0 1 0 | 59 XX
XX 08 0 0 0 0 1 0 | 59 XX
XX 04 0 0 0 0 1 0 | 59 XX
XX 02 0 0 0 0 1 0 | 59 XX
XX 01 0 0 0 0 1 0 | 59 XX
XX 00 0 0 0 0 1 0 | 59 XX
RB to A & B
XX XX 0 0 0 0 1 0 | 59 XX
XX XX 0 1 0 0 1 0 | 59 59
XX XX 0 1 0 0 1 0 | 59 59
33 44 1 0 0 0 0 0 | 33 44
33 XX 1 1 0 0 0 1 | 33 B6
33 XX 1 1 0 0 0 1 | 33 B6
.