The purpose of this article is to document the design and development of a custom pwm (Pulse Width Modulation), for research and education applications specialized in electronics and control of electrical machines. Based on extensive research, the functional requirements of the prototype were defined. Then, using Verilog, the pwm is designed at a low level with specific operational parameters (non-commercial). Among the advantages of the design is its adjustment and programming capacity, ideal to give an approach to people who still do not know the handling of pwm. The prototype was implemented and evaluated on the digital blocks of the PSoC development board PSoC CY8CKIT-059 5LP.