A World War Two codebreaking machine and its Royal Navy operators have been commemorated in wool.