Question: A popular method of detecting the OVERFLOW and UNDERFLOW conditions in a shift register-based stack is by using an additional shift register with number of bits equal to the number of levels in the stack and shifting a 1 through its bits. Design the complete circuit for an N-level stack.