MHz Speed Analog Reading + High Quality 40kHz Square Wave

I'm still unclear where the clean 40MHz square wave comes in.
Is it something to do with the three orders of magnitude?
You divide the 40MHz by 1000?