fifo_mw never got a value assigned - fixed for testbench, but still open for toplevel

This commit is contained in:
Markus Fröschle
2014-12-22 08:31:07 +00:00
parent 89f75bd4e8
commit 4bb0527539
7 changed files with 85 additions and 51 deletions

View File

@@ -306,7 +306,7 @@ begin
when "010" => PRESCALE := x"09"; -- Prescaler = 10.
when "001" => PRESCALE := x"03"; -- Prescaler = 4.
when "000" => PRESCALE := x"00"; -- Timer stopped or event count mode.
when others => PRESCALE := x"00";
when others => NULL;
end case;
A_CNTSTRB <= '1';
end if;
@@ -330,7 +330,7 @@ begin
when "010" => PRESCALE := x"09"; -- Prescaler = 10.
when "001" => PRESCALE := x"03"; -- Prescaler = 4.
when "000" => PRESCALE := x"00"; -- Timer stopped or event count mode.
when others => PRESCALE := x"00";
when others => NULL;
end case;
B_CNTSTRB <= '1';
end if;
@@ -354,7 +354,7 @@ begin
when "010" => PRESCALE := x"09"; -- Prescaler = 10.
when "001" => PRESCALE := x"03"; -- Prescaler = 4.
when "000" => PRESCALE := x"00"; -- Timer stopped.
when others => PRESCALE := x"00";
when others => NULL;
end case;
C_CNTSTRB <= '1';
end if;
@@ -378,7 +378,7 @@ begin
when "010" => PRESCALE := x"09"; -- Prescaler = 10.
when "001" => PRESCALE := x"03"; -- Prescaler = 4.
when "000" => PRESCALE := x"00"; -- Timer stopped.
when others => PRESCALE := x"00";
when others => NULL;
end case;
D_CNTSTRB <= '1';
end if;
@@ -424,7 +424,7 @@ begin
TAO_I <= not TAO_I; -- Toggle the timer A output pin.
TIMER_A_INT <= '1';
end if;
when others => TAO_I <= '0';
when others => NULL;
end case;
end if;
end if;
@@ -470,7 +470,7 @@ begin
TBO_I <= not TBO_I; -- Toggle the timer B output pin.
TIMER_B_INT <= '1';
end if;
when others => TBO_I <= '0';
when others => NULL;
end case;
end if;
end if;