Design and Implementation of Digital Current Mode Controller for DC-DC Converters