Added PDM (Pulse Density Modulation) with gamma correction look up table to the iCEBreaker examples. Lesson?: Unless I am missing something obvious, as soon as you need more than one PDM generator the savings compared to a PWM generator start to diminish.
https://github.com/icebreaker-fpga/icebreaker-examples/blob/master/pdm_fade_gamma/gamma_pdm.v