Text this: FPGA-based digital controller for dc-dc converter