aboutsummaryrefslogtreecommitdiff
path: root/src/pwm.vhd
diff options
context:
space:
mode:
authorFriedrich Beckmann <friedrich.beckmann@tha.de>2024-05-10 13:49:52 +0200
committerFriedrich Beckmann <friedrich.beckmann@tha.de>2024-05-10 13:49:52 +0200
commit25ed296488cd6d9dca9b93ec5ecf76966da1131b (patch)
treefb8972945d4c64ce5b426e52e4c21832da31602f /src/pwm.vhd
parentbc7d43b160864d53e7e4bbea81b29d5e8903baf4 (diff)
add pwm
Diffstat (limited to 'src/pwm.vhd')
-rw-r--r--src/pwm.vhd17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/pwm.vhd b/src/pwm.vhd
new file mode 100644
index 0000000..b23a170
--- /dev/null
+++ b/src/pwm.vhd
@@ -0,0 +1,17 @@
+library ieee;
+use ieee.std_logic_1164.all;
+use ieee.numeric_std.all;
+
+entity pwm is
+ port (
+ clk : in std_ulogic;
+ rst_n : in std_ulogic;
+ ctrl_i : in std_ulogic_vector(3 downto 0);
+ pwm_o : out std_ulogic);
+end entity;
+
+architecture rtl of pwm is
+begin
+
+end architecture rtl;
+