def _pad_zeros(bitstring, memory_slots):
return format(int(bitstring, <NUM_LIT:2>), '<STR_LIT>'.format(memory_slots))<EOL>
If the bitstring is truncated, pad extra zeros to make its
    length equal to memory_slots