From: Your Name Date: Wed, 25 Apr 2018 11:52:20 +0000 (+0200) Subject: gk: updated EB address selection X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=889be431f01ad3dd7f1d1b6a48afdf3514e41a2e;p=trbnet.git gk: updated EB address selection --- diff --git a/gbe_trb/base/trb_net16_gbe_ipu_interface.vhd b/gbe_trb/base/trb_net16_gbe_ipu_interface.vhd index dd63b55..91309de 100644 --- a/gbe_trb/base/trb_net16_gbe_ipu_interface.vhd +++ b/gbe_trb/base/trb_net16_gbe_ipu_interface.vhd @@ -878,7 +878,7 @@ begin if rising_edge(CLK_GBE) then if (load_current_state = IDLE) then bank_select <= x"0"; - elsif (load_current_state = REMOVE and sf_rd_en = '1' and loaded_bytes_ctr = x"0005") then + elsif (load_current_state = REMOVE and sf_rd_en = '1' and loaded_bytes_ctr = x"0003") then bank_select <= pc_data(3 downto 0); else bank_select <= bank_select; @@ -891,7 +891,7 @@ begin START_CONFIG_PROC : process(CLK_GBE) begin if rising_edge(CLK_GBE) then - if (load_current_state = REMOVE and sf_rd_en = '1' and loaded_bytes_ctr = x"0005") then + if (load_current_state = REMOVE and sf_rd_en = '1' and loaded_bytes_ctr = x"0003") then START_CONFIG_OUT <= '1'; elsif (CONFIG_DONE_IN = '1') then START_CONFIG_OUT <= '0';