A circuit module for connecting to a circuit board is disclosed, the circuit module for connecting to a circuit board, wherein the circuit module comprises a substrate having a top surface, a bottom surface and a lateral surface connecting the top surface and bottom surface, wherein at least one electrical component is disposed on the top or bottom surface and a plurality of surface-mount pads are disposed on the lateral surface of the substrate for electrically connecting to corresponding pads on the circuit board.