Design and debugging of multi-step analog digital converters door