From: hadeshyp Date: Fri, 7 Sep 2007 14:19:18 +0000 (+0000) Subject: small change to api, Jan X-Git-Tag: oldGBE~709 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=78bb7677de36a2edb6df389652bb962f443b5e30;p=trbnet.git small change to api, Jan --- diff --git a/trb_net_base_api.vhd b/trb_net_base_api.vhd index 150b983..a7e3e11 100644 --- a/trb_net_base_api.vhd +++ b/trb_net_base_api.vhd @@ -440,6 +440,7 @@ begin if APL_SHORT_TRANSFER_IN = '1' and APL_WRITE_IN = '0' and fifo_to_int_empty = '1' then next_state <= SEND_SHORT; -- no next data word, waiting for falling edge of APL_SEND_IN next_INT_MASTER_DATAREADY_OUT <= '0'; + update_registered_trailer <= '1'; -- moved from SEND_SHORT else -- normal transfer, prepare the header next_state <= SEND_HEADER; out_select <= HDR; @@ -453,7 +454,6 @@ begin ------------------------------------------------------------------------------- elsif current_state = SEND_SHORT then next_state <= SEND_SHORT; - update_registered_trailer <= '1'; if APL_SEND_IN = '0' then -- terminate the transfer next_state <= SEND_TRAILER; next_INT_MASTER_DATAREADY_OUT <= '1'; diff --git a/trb_net_iobuf.vhd b/trb_net_iobuf.vhd index e42132b..bf2f95c 100644 --- a/trb_net_iobuf.vhd +++ b/trb_net_iobuf.vhd @@ -114,8 +114,8 @@ architecture trb_net_iobuf_arch of trb_net_iobuf is port( -- Misc - CLK : in std_logic; - RESET : in std_logic; + CLK : in std_logic; + RESET : in std_logic; CLK_EN : in std_logic; -- Media direction port MED_DATAREADY_IN: in STD_LOGIC; -- Data word is offered by the Media (the IOBUF MUST read)