designing a custom input stage using high-speed comparators and streaming captured frames directly into a fast RAM buffer.