Commit 5578da59 authored by Evangelia Gousiou's avatar Evangelia Gousiou

corrected core_rst_n that was used instead of core_rst for the counting of the…

corrected core_rst_n that was used instead of core_rst for the counting of the number of macrocycles and the counting of crc errors
parent 7f15fe8d
...@@ -422,7 +422,7 @@ begin ...@@ -422,7 +422,7 @@ begin
-- counter counting the number of macrocycles; -- counter counting the number of macrocycles;
-- being a 32-bit counter, for the fastest application of 20 ms macrocycle, the counter can -- being a 32-bit counter, for the fastest application of 20 ms macrocycle, the counter can
-- keep counting for 2.7 years; when it fills up it would restart from 0. -- keep counting for 2.7 years; when it fills up it would restart from 0.
cmp_macrocycles_cnt:incr_counter cmp_macrocycles_cnt: incr_counter
generic map(g_counter_lgth => g_width) generic map(g_counter_lgth => g_width)
port map port map
(clk_i => clk_i, (clk_i => clk_i,
...@@ -560,12 +560,12 @@ begin ...@@ -560,12 +560,12 @@ begin
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-- counter of frames with crc errors since the startup or a core reset (not on every macrocycle) -- counter of frames with crc errors since the startup or a core reset (not on every macrocycle)
cmp_rx_crc_err_cnt:incr_counter cmp_rx_crc_err_cnt: incr_counter
generic map(g_counter_lgth => 32) generic map(g_counter_lgth => 32)
port map port map
(clk_i => clk_i, (clk_i => clk_i,
counter_incr_i => rx_crc_wrong_p, counter_incr_i => rx_crc_wrong_p,
counter_reinit_i => core_rst_n, counter_reinit_i => core_rst,
counter_o => reg_to_mt.rx_stat_crc_err_cnt_i); counter_o => reg_to_mt.rx_stat_crc_err_cnt_i);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment