The Subaru laser guide star adaptive optics (AO) system was installed at the Nasmyth focus of the Subaru Telescope, and had the first light with natural guide star on October 2006. The AO system has a 188-element curvature based wavefront sensor with photon-counting avalanche photodiode (APD) modules. It measures highorder terms of wavefront using either of a single laser (LGS) or natural guide star (NGS) within a 2' diameter field. The AO system has also a source simulator. It simulates LGS and NGS beams, simultaneously, with and without atmospheric turbulence by two turbulent layer at about 0 and 6 km altitudes, and reproduces the cone effect for the LGS beam. We describe the design, construction, and integration of the curvature wavefront sensor and calibration source unit.