I am trying to design an integrating ADC. So far, I have finished designing the S/H, integrator and comparator. However, I am not sure how to design the control logic. The control logic is the circuit that resets the integrator and the counter. It also controls the switch. I think the control logic should be built by using register but I am not sure if that is correct. Also, is there any book that teaches me how to design a control logic?