From 2cc794d70d714f3d680cd5d5b6e62422f45d87e5 Mon Sep 17 00:00:00 2001 From: hadeshyp Date: Wed, 23 May 2007 13:12:27 +0000 Subject: [PATCH] added errorbits to trb_net_std.vhd, Jan --- trb_net_std.vhd | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.43.0