CA 150 unit requirement

I am just shy of the units for the 150 unit mark in California. Does anyone know if you have to take classes for a grade or can take pass/fail units to get to the 150 unit mark. thanks