aboutsummaryrefslogtreecommitdiff
path: root/src/e_falling_edge_detector.vhd
diff options
context:
space:
mode:
Diffstat (limited to 'src/e_falling_edge_detector.vhd')
-rw-r--r--src/e_falling_edge_detector.vhd34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/e_falling_edge_detector.vhd b/src/e_falling_edge_detector.vhd
new file mode 100644
index 0000000..db0cb16
--- /dev/null
+++ b/src/e_falling_edge_detector.vhd
@@ -0,0 +1,34 @@
+-------------------------------------------------------------------------------
+-- Module : falling_edge_detector
+-------------------------------------------------------------------------------
+-- Author : Johann Faerber
+-- Company : University of Applied Sciences Augsburg
+-------------------------------------------------------------------------------
+-- Description: detects a falling edge of input signal x_i
+-- and produces a high-active signal for one clock period at
+-- output fall_o
+-- clk_i __|--|__|--|__|--|__|--|__|--|__|--|__|--|__|--|__|--|
+-- x_i -----|___________________________________|-----------
+-- fall_o ________|-----|______________________________________
+-------------------------------------------------------------------------------
+-- Revisions : see end of file
+-------------------------------------------------------------------------------
+LIBRARY IEEE;
+USE IEEE.std_logic_1164.ALL;
+
+ENTITY falling_edge_detector IS
+ PORT (
+ clk_i : IN std_ulogic;
+ rst_ni : IN std_ulogic;
+ x_i : IN std_ulogic;
+ fall_o : OUT std_ulogic
+ );
+END falling_edge_detector;
+
+
+-------------------------------------------------------------------------------
+-- Revisions:
+-- ----------
+-- $Id:$
+-------------------------------------------------------------------------------
+