core: added debug pin to bitarithm