Compact solid-state system is the main development trend in pulsed power technologies. A compact solid-state high-voltage nanosecond pulse generator with output voltage of 300 kV amplitude, 10 ns duration (FWHM), and 3 ns rise-time was designed for a dielectric wall accelerator. The generator is stacked by 15 planar-plate Blumlein pulse forming lines (PFL). Each Blumlein PFL consists of two solid-state planar transmission lines, a GaAs photoconductive semiconductor switch, and a laser diode trigger. The key components of the generator and the experimental results are reported in this paper.