Skip to content
Snippets Groups Projects
Commit b5988c33 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Add c_eth_reg_addr_span.

parent 650d59b6
No related branches found
No related tags found
1 merge request!288Resolve L2SDP-836
...@@ -204,9 +204,10 @@ PACKAGE eth_pkg IS ...@@ -204,9 +204,10 @@ PACKAGE eth_pkg IS
c_eth_reg_config_nof_words + c_eth_reg_config_nof_words +
c_eth_reg_control_nof_words + c_eth_reg_control_nof_words +
c_eth_reg_frame_nof_words + c_eth_reg_frame_nof_words +
c_eth_reg_status_nof_words; 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); -- + 1 for c_eth_continue_wi 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 -- Definitions for ETH Rx packet buffer and Tx packet buffer
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment