revert debug hack

parent 51e806d2
...@@ -145,8 +145,7 @@ begin ...@@ -145,8 +145,7 @@ begin
detect_o <= detect; detect_o <= detect;
raw_o <= raw; raw_o <= raw;
c_detect_o <= detect; c_detect_o <= detect;
--c_raw_o <= raw; c_raw_o <= raw;
c_raw_o <= "000000010";
-- Histogram memory. -- Histogram memory.
cmp_histogram: generic_spram cmp_histogram: generic_spram
......
...@@ -155,7 +155,7 @@ begin ...@@ -155,7 +155,7 @@ begin
ha_last <= '1' when (ha_count = (ha_count'range => '1')) else '0'; ha_last <= '1' when (ha_count = (ha_count'range => '1')) else '0';
his_a_o <= ha_count when (ha_sel = '1') else c_raw_i; his_a_o <= ha_count when (ha_sel = '1') else c_raw_i;
his_d_o <= (his_d_o'range => '0') when (ha_sel = '1') his_d_o <= (his_d_o'range => '0') when (ha_sel = '1')
else "0000000001100"; --std_logic_vector(unsigned(his_d_i) + 1); else std_logic_vector(unsigned(his_d_i) + 1);
-- accumulator -- accumulator
process(clk_i) process(clk_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