Characterization And Design Of A Cryogenic Cmos Receiver For Superconducting And Spin Qubit Readout