From: hadeshyp Date: Wed, 23 May 2007 13:12:27 +0000 (+0000) Subject: added errorbits to trb_net_std.vhd, Jan X-Git-Tag: oldGBE~732 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=2cc794d70d714f3d680cd5d5b6e62422f45d87e5;p=trbnet.git added errorbits to trb_net_std.vhd, Jan --- diff --git a/trb_net_std.vhd b/trb_net_std.vhd index 9c8817a..6c4f2f8 100644 --- a/trb_net_std.vhd +++ b/trb_net_std.vhd @@ -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;