bus logic