PoC.io.PulseWidthModulation
This module generates a pulse width modulated signal, that can be configured
in frequency (PWM_FREQ) and modulation granularity (PWM_RESOLUTION).
Entity Declaration:
1 CLOCK_FREQ : FREQ := 100 MHz;
2 PWM_FREQ : FREQ := 1 kHz;
3 PWM_RESOLUTION : positive := 8
4 );
5 port (
6 Clock : in std_logic;
7 Reset : in std_logic;
8 PWMIn : in unsigned(PWM_RESOLUTION - 1 downto 0);
9 PWMOut : out std_logic
10 );
11end entity;