Fix multiple driver issue in test_loopback_util.vhd
This commit is contained in:
parent
66ed1d846b
commit
d3a69dbe99
@ -106,17 +106,13 @@ begin
|
||||
if (reset = '1') then
|
||||
input_average_latch <= (others => '0');
|
||||
output_average_latch <= (others => '0');
|
||||
input_trigger_latch <= '0';
|
||||
output_trigger_latch <= '0';
|
||||
input_overflow_latch <= '0';
|
||||
output_overflow_latch <= '0';
|
||||
else
|
||||
if (input_trigger = '1') then
|
||||
input_trigger_latch <= input_trigger;
|
||||
input_average_latch <= input_average;
|
||||
end if;
|
||||
if (output_trigger = '1') then
|
||||
output_trigger_latch <= output_trigger;
|
||||
output_average_latch <= output_average;
|
||||
end if;
|
||||
if (input_overflow = '1') then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user