Some time ago I wrote my own calculator for pinning SFIC cores, which has been quite handy. It takes the bitting for the TMK and control key as arguments, and reads in all the change bittings from a file, then spits out a listing of all the pins for all the cores. At the end, it also spits out the total number of each size pin used, which is quite handy for estimating pinning jobs.
$ bestcalc.py -m 1214567 -c 1232567 -k /tmp/keys
A1:
Driver: |12| |11| |10| |11| | 8| | 7| | 6|
Control: |10| | 6| |10| | 8| |10| |10| |10|
Master: |--| | 4| | 2| |--| |--| |--| |--|
Bottom: | 1| | 2| | 1| | 4| | 5| | 6| | 7|
A2:
Driver: |12| |11| |10| |11| | 8| | 7| | 6|
Control: |10| | 8| |10| | 8| |10| |10| |10|
Master: |--| | 2| | 2| |--| |--| |--| |--|
Bottom: | 1| | 2| | 1| | 4| | 5| | 6| | 7|
Top 2: 3
Top 4: 1
Top 6: 3
Top 7: 2
Top 8: 5
Top 10: 12
Top 11: 4
Top 12: 2
Bottom 1: 4
Bottom 2: 2
Bottom 4: 2
Bottom 5: 2
Bottom 6: 2
Bottom 7: 2
I think others here have written similar types of scripts. I suspect most of us could probably be convinced to share if anyone else cared...
