Digital Systems Logic and Applications