ecpunpack
can unpack a bitstream from .bit format to a series of (bit, frame) tuples.
compare_bits.py
compares the output of ecpunpack with the output of bstool -d
in Diamond.
EBR initialisation commands are not yet supported and will cause ecpunpack to fail.