]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
added record for bus handler ports
authorJan Michel <j.michel@gsi.de>
Tue, 22 Jul 2014 12:05:39 +0000 (14:05 +0200)
committerJan Michel <j.michel@gsi.de>
Tue, 22 Jul 2014 12:05:39 +0000 (14:05 +0200)
trb_net_std.vhd

index df73da50310f4df8fb5090f44e02f07168880531..3e230a40bf72a9f62f580199da572b4c7a65c929 100644 (file)
@@ -186,6 +186,21 @@ end package trb_net_std;
 
 package body trb_net_std is
 
+  type CTRLBUS_TX is record
+    data       : std_logic_vector(31 downto 0);
+    ack        : std_logic;
+    unknown    : std_logic;
+    nack       : std_logic;
+  end record;
+
+  type CTRLBUS_RX is record
+    data       : std_logic_vector(31 downto 0);
+    addr       : std_logic_vector(15 downto 0);
+    write      : std_logic;
+    read       : std_logic;
+    timeout    : std_logic;
+  end record;  
+
   function and_all (arg : std_logic_vector)
     return std_logic is
     variable tmp : std_logic := '1';