]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
new hit buf entity for easier placement
authorCahit <c.ugur@gsi.de>
Mon, 10 Mar 2014 09:58:06 +0000 (10:58 +0100)
committerCahit <c.ugur@gsi.de>
Mon, 10 Mar 2014 09:58:06 +0000 (10:58 +0100)
tdc_releases/tdc_v1.6/hit_inv.vhd [new file with mode: 0644]

diff --git a/tdc_releases/tdc_v1.6/hit_inv.vhd b/tdc_releases/tdc_v1.6/hit_inv.vhd
new file mode 100644 (file)
index 0000000..9002c71
--- /dev/null
@@ -0,0 +1,27 @@
+library ieee;
+use ieee.std_logic_1164.all;
+use ieee.numeric_std.all;
+
+entity hit_inv is
+  
+  port (
+    PORT_IN  : in  std_logic;
+    PORT_OUT : out std_logic);
+
+end entity hit_inv;
+
+architecture behavioral of hit_inv is
+
+  signal hit_buf : std_logic;
+  attribute syn_keep                : boolean;
+  attribute syn_keep of hit_buf     : signal is true;
+  attribute syn_preserve            : boolean;
+  attribute syn_preserve of hit_buf : signal is true;
+
+
+begin  -- architecture behavioral
+
+  hit_buf  <= PORT_IN;
+  PORT_OUT <= not hit_buf;
+
+end architecture behavioral;