Skip to content
Snippets Groups Projects
Commit c77f50c9 authored by Kenneth Hiemstra's avatar Kenneth Hiemstra
Browse files

"tse" renamed to "eth"

parent c676f9a5
No related branches found
No related tags found
No related merge requests found
hdl_lib_name = unb1_test
hdl_library_clause_name = unb1_test_lib
hdl_lib_uses = common mm i2c unb1_board remu epcs dp tse tr_xaui tr_10GbE mdio diagnostics
hdl_lib_uses = common mm i2c unb1_board remu epcs dp eth tr_xaui tr_10GbE mdio diagnostics
hdl_lib_technology = ip_stratixiv
build_sim_dir = $HDL_BUILD_DIR
......
......@@ -19,20 +19,17 @@
--
-------------------------------------------------------------------------------
LIBRARY IEEE, common_lib, unb1_board_lib, mm_lib, remu_lib, epcs_lib, eth_lib, tse_lib;
LIBRARY IEEE, common_lib, unb1_board_lib, mm_lib, remu_lib, epcs_lib, eth_lib;
USE IEEE.STD_LOGIC_1164.ALL;
USE IEEE.NUMERIC_STD.ALL;
USE common_lib.common_pkg.ALL;
USE common_lib.common_mem_pkg.ALL;
USE common_lib.common_field_pkg.ALL;
USE common_lib.common_network_total_header_pkg.ALL;
USE unb1_board_lib.unb1_board_pkg.ALL;
USE unb1_board_lib.unb1_board_peripherals_pkg.ALL;
USE mm_lib.mm_file_pkg.ALL;
USE mm_lib.mm_file_unb_pkg.ALL;
USE tse_lib.tse_pkg.ALL;
USE tse_lib.tb_tse_pkg.ALL;
USE tse_lib.eth_pkg.ALL;
USE tse_lib.eth_layers_pkg.ALL;
USE common_lib.common_field_pkg.ALL;
ENTITY mmm_unb1_test IS
......@@ -143,8 +140,12 @@ ARCHITECTURE str OF mmm_unb1_test IS
CONSTANT c_dp_reg_mm_nof_words : NATURAL := 1;
CONSTANT c_dp_reg_mm_adr_w : NATURAL := ceil_log2(nof_bf_units * pow2(ceil_log2(c_dp_reg_mm_nof_words)));
CONSTANT c_hdr_nof_words : NATURAL := c_eth_total_header_nof_words;
CONSTANT c_dp_ram_mm_nof_words : NATURAL := c_hdr_nof_words * (c_tse_data_w/c_word_w);
--CONSTANT c_hdr_nof_words : NATURAL := c_eth_total_header_nof_words;
CONSTANT c_hdr_nof_words : NATURAL := (c_network_total_header_len + c_network_total_header_32b_align_len)/4;
--CONSTANT c_dp_ram_mm_nof_words : NATURAL := c_hdr_nof_words * (c_tse_data_w/c_word_w);
CONSTANT c_dp_ram_mm_nof_words : NATURAL := c_hdr_nof_words * (c_word_w/c_word_w);
CONSTANT c_dp_ram_mm_adr_w : NATURAL := ceil_log2(nof_bf_units * c_dp_ram_mm_nof_words);
......
......@@ -20,16 +20,13 @@
--
-------------------------------------------------------------------------------
LIBRARY IEEE, common_lib, unb1_board_lib, remu_lib, epcs_lib, dp_lib, tse_lib, tr_xaui_lib, tr_10GbE_lib;
LIBRARY IEEE, common_lib, unb1_board_lib, remu_lib, epcs_lib, dp_lib, eth_lib, tr_xaui_lib, tr_10GbE_lib;
USE IEEE.STD_LOGIC_1164.ALL;
USE IEEE.NUMERIC_STD.ALL;
USE common_lib.common_pkg.ALL;
USE common_lib.common_mem_pkg.ALL;
USE unb1_board_lib.unb1_board_pkg.ALL;
USE dp_lib.dp_stream_pkg.ALL;
USE tse_lib.tse_pkg.ALL;
USE tse_lib.eth_pkg.ALL;
USE tse_lib.eth_layers_pkg.ALL;
USE tr_xaui_lib.tr_xaui_pkg.ALL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment