use n-1 triangular carriers. Compare the reference voltage with this set simultaneously.
The n-1 carriers divides the total space to n regions. Each region is mapped to a level voltage. the region below the lowest carrier corresponds to 0V and the region above the top most one corresponds to Vdc.