The circuit diagram (Partial) for generating Zin and END signal is shown in the Figure 5.12 and Figure 5.13 respectively.