]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
gk: updated EB address selection
authorYour Name <you@example.com>
Wed, 25 Apr 2018 11:52:20 +0000 (13:52 +0200)
committerYour Name <you@example.com>
Wed, 25 Apr 2018 11:52:20 +0000 (13:52 +0200)
gbe_trb/base/trb_net16_gbe_ipu_interface.vhd

index dd63b55cdb30f1bc40b7756c922e7e2e638f550b..91309deaa14b0248692f20e4d7bee7a6f8eec50f 100644 (file)
@@ -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';