]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
added errorbits to trb_net_std.vhd, Jan
authorhadeshyp <hadeshyp>
Wed, 23 May 2007 13:12:27 +0000 (13:12 +0000)
committerhadeshyp <hadeshyp>
Wed, 23 May 2007 13:12:27 +0000 (13:12 +0000)
trb_net_std.vhd

index 9c8817ac54ea96e1175363ceea4483c3049fcc25..6c4f2f8a20338073050ac74d5bc18d58b104fbbc 100644 (file)
@@ -24,6 +24,11 @@ package trb_net_std is
   constant TYPE_ACK : std_logic_vector(2 downto 0) := "101";
   constant TYPE_ILLEGAL : std_logic_vector(2 downto 0) := "111";
   
+  constant ERROR_OK  : std_logic_vector(2 downto 0) := "000"; --transmission ok
+  constant ERROR_ENC : std_logic_vector(2 downto 0) := "001"; --transmission error by encoding
+  constant ERROR_REC : std_logic_vector(2 downto 0) := "010"; --transmission error, reconstructed
+  constant ERROR_FAT : std_logic_vector(2 downto 0) := "011"; --transmission error, fatal
+  constant ERROR_NC  : std_logic_vector(2 downto 0) := "101"; --media not connected
   
   subtype F1_POSITION is integer range 47 downto 32;
   subtype F2_POSITION is integer range 31 downto 16;