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

tuning

parent dc3e6952
Branches
No related tags found
No related merge requests found
hdl_lib_name = unb1_test hdl_lib_name = unb1_test
hdl_library_clause_name = unb1_test_lib hdl_library_clause_name = unb1_test_lib
hdl_lib_uses = common technology tech_tse mm i2c unb1_board epcs dp eth tr_10GbE mdio diagnostics diag hdl_lib_uses = common technology mm i2c unb1_board epcs dp eth tech_tse tr_10GbE mdio diagnostics diag
hdl_lib_technology = ip_stratixiv hdl_lib_technology = ip_stratixiv
build_dir_sim = $HDL_BUILD_DIR build_dir_sim = $HDL_BUILD_DIR
......
...@@ -128,12 +128,10 @@ ARCHITECTURE str OF unb1_test IS ...@@ -128,12 +128,10 @@ ARCHITECTURE str OF unb1_test IS
-- Block generator -- Block generator
--CONSTANT c_bg_block_size : NATURAL := 900; CONSTANT c_bg_block_size : NATURAL := 900;
CONSTANT c_bg_block_size : NATURAL := 700;
CONSTANT c_bg_gapsize : NATURAL := 100; CONSTANT c_bg_gapsize : NATURAL := 100;
CONSTANT c_bg_blocks_per_sync : NATURAL := sel_a_b(g_sim, 10, 200000); -- 200000*(900+100) = 200000000 cycles = 1 second CONSTANT c_bg_blocks_per_sync : NATURAL := sel_a_b(g_sim, 10, 200000); -- 200000*(900+100) = 200000000 cycles = 1 second
--CONSTANT c_bg_ctrl : t_diag_block_gen := ('1', -- enable CONSTANT c_bg_ctrl : t_diag_block_gen := ('0', -- enable (disabled by default)
CONSTANT c_bg_ctrl : t_diag_block_gen := ('0', -- enable
'0', -- enable_sync '0', -- enable_sync
TO_UVEC( c_bg_block_size, c_diag_bg_samples_per_packet_w), TO_UVEC( c_bg_block_size, c_diag_bg_samples_per_packet_w),
TO_UVEC(c_bg_blocks_per_sync, c_diag_bg_blocks_per_sync_w), TO_UVEC(c_bg_blocks_per_sync, c_diag_bg_blocks_per_sync_w),
...@@ -735,8 +733,7 @@ BEGIN ...@@ -735,8 +733,7 @@ BEGIN
g_nof_streams => c_nof_streams, g_nof_streams => c_nof_streams,
g_data_w => c_data_w, g_data_w => c_data_w,
g_buf_nof_data => 1024, g_buf_nof_data => 1024,
--g_buf_use_sync => TRUE g_buf_use_sync => FALSE -- sync by reading last address of data buffer
g_buf_use_sync => FALSE
) )
PORT MAP ( PORT MAP (
mm_rst => mm_rst, mm_rst => mm_rst,
...@@ -785,7 +782,6 @@ BEGIN ...@@ -785,7 +782,6 @@ BEGIN
g_sim_level => 1, g_sim_level => 1,
g_nof_macs => c_nof_streams, g_nof_macs => c_nof_streams,
g_use_mdio => TRUE, g_use_mdio => TRUE,
--g_mdio_epcs_dis => c_use_pc_target,
g_pkt_len => c_def_10GbE_block_size g_pkt_len => c_def_10GbE_block_size
) )
PORT MAP ( PORT MAP (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment