Commit 38a1c55d authored by Fabien Le Mentec's avatar Fabien Le Mentec

fix: use range instead of others for unconstrainted types allows vcom to compile

parent ac9fe2e5
......@@ -162,7 +162,7 @@ begin
wait until rising_edge(clk);
ma_clk_rst_en <= '0';
count_top <= (others => '0');
count_top <= (count_top'range => '0');
count_rst <= '0';
sipo_latch <= '0';
......
......@@ -203,7 +203,7 @@ begin
wait until rising_edge(clk);
ma_clk_rst_en <= '0';
count_top <= (others => '0');
count_top <= (count_top'range => '0');
count_rst <= '0';
sipo_latch <= '0';
gate <= '0';
......
......@@ -167,7 +167,7 @@ begin
wait until rising_edge(clk);
ma_clk_rst_en <= '0';
count_top <= (others => '0');
count_top <= (count_top'range => '0');
count_rst <= '0';
sipo_latch <= '0';
is_gray <= is_gray;
......
......@@ -408,8 +408,8 @@ begin
gate <= '0';
tm_top <= to_unsigned(DEFAULT_TM_TOP, tm_top'length);
count_rst <= '0';
count_top <= (others => '0');
piso_ini <= (others => '0');
count_top <= (count_top'range => '0');
piso_ini <= (piso_ini'range => '0');
piso_load <= '0';
for i in 0 to ENC_MUX_COUNT - 1 loop
......
......@@ -165,7 +165,7 @@ begin
wait until rising_edge(clk);
miso <= '0';
count_top <= (others => '0');
count_top <= (count_top'range => '0');
count_rst <= '0';
piso_load <= '0';
......
......@@ -228,7 +228,7 @@ begin
gate <= '0';
miso <= '0';
count_top <= (others => '0');
count_top <= (count_top'range => '0');
count_rst <= '0';
piso_load <= '0';
......
......@@ -161,10 +161,10 @@ begin
wait until rising_edge(clk);
miso <= '0';
count_top <= (others => '0');
count_top <= (count_top'range => '0');
count_rst <= '0';
piso_load <= '0';
piso_ini <= (others => '0');
piso_ini <= (piso_ini'range => '0');
is_dot_bit <= is_dot_bit;
case curr_state is
......
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