diff --git a/libraries/io/eth/src/vhdl/eth_pkg.vhd b/libraries/io/eth/src/vhdl/eth_pkg.vhd index f8df9fb044aca2ab6473089a7bc262edb7d38650..eb4f556c1b29f3bd5bc7cb8f949bda396653bc28 100644 --- a/libraries/io/eth/src/vhdl/eth_pkg.vhd +++ b/libraries/io/eth/src/vhdl/eth_pkg.vhd @@ -204,9 +204,10 @@ PACKAGE eth_pkg IS c_eth_reg_config_nof_words + c_eth_reg_control_nof_words + c_eth_reg_frame_nof_words + - c_eth_reg_status_nof_words; - CONSTANT c_eth_reg_addr_w : NATURAL := ceil_log2(c_eth_reg_nof_words + 1); -- + 1 for c_eth_continue_wi - + c_eth_reg_status_nof_words; -- 4 + 4 + 1 + 1 + 1 = 11 + CONSTANT c_eth_reg_addr_w : NATURAL := ceil_log2(c_eth_reg_nof_words + 1); -- 11 + 1 for c_eth_continue_wi = 12 + CONSTANT c_eth_reg_addr_span : NATURAL := 2**c_eth_reg_addr_w; -- = 16 + ------------------------------------------------------------------------------ -- Definitions for ETH Rx packet buffer and Tx packet buffer ------------------------------------------------------------------------------