Commit 2389e2c4 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 590336a8
......@@ -422,7 +422,7 @@ begin
-- counter counting the number of macrocycles;
-- 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.
cmp_macrocycles_cnt:incr_counter
cmp_macrocycles_cnt: incr_counter
generic map(g_counter_lgth => g_width)
port map
(clk_i => clk_i,
......@@ -560,12 +560,12 @@ begin
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-- 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)
port map
(clk_i => clk_i,
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);
......
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