Line 464... |
Line 464... |
input_par <= '1'; -- wrong parity !!
|
input_par <= '1'; -- wrong parity !!
|
genbit('0');
|
genbit('0');
|
while input_pattern = 8 loop
|
while input_pattern = 8 loop
|
genesc; genfct;
|
genesc; genfct;
|
end loop;
|
end loop;
|
|
elsif input_pattern = 9 then
|
|
-- FCT, FCT, NULLs
|
|
genfct;
|
|
genfct;
|
|
while input_pattern = 9 loop
|
|
genesc; genfct;
|
|
end loop;
|
else
|
else
|
assert false;
|
assert false;
|
end if;
|
end if;
|
end loop;
|
end loop;
|
end process;
|
end process;
|
Line 657... |
Line 664... |
wait on started, connecting, running, errany for 50 us;
|
wait on started, connecting, running, errany for 50 us;
|
assert (started = '0') and (connecting = '0') and (running = '0') and (errany = '0')
|
assert (started = '0') and (connecting = '0') and (running = '0') and (errany = '0')
|
report " 8. autostart (wait)";
|
report " 8. autostart (wait)";
|
output_collect <= '1';
|
output_collect <= '1';
|
input_pattern <= 1;
|
input_pattern <= 1;
|
wait on started, connecting, running for 200 ns + 20 * inbit_period;
|
wait on started, connecting, running for 200 ns + 24 * inbit_period;
|
assert (started = '1') and (connecting = '0') and (running = '0')
|
assert (started = '1') and (connecting = '0') and (running = '0')
|
report " 8. autostart (Started)";
|
report " 8. autostart (Started)";
|
input_pattern <= 2;
|
input_pattern <= 9;
|
wait on started, connecting, running for 1 us;
|
wait on started, connecting, running for 1 us;
|
assert (started = '0') and (connecting = '1') and (running = '0')
|
assert (started = '0') and (connecting = '1') and (running = '0')
|
report " 8. autostart (Connecting)";
|
report " 8. autostart (Connecting)";
|
wait on started, connecting, running, errany for 200 ns + 24 * inbit_period;
|
wait on started, connecting, running, errany for 200 ns + 24 * inbit_period;
|
assert (started = '0') and (connecting = '0') and (running = '1') and (errany = '0')
|
assert (started = '0') and (connecting = '0') and (running = '1') and (errany = '0')
|
Line 699... |
Line 706... |
wait on started, connecting, running for 20 us;
|
wait on started, connecting, running for 20 us;
|
assert (started = '1') and (connecting = '0') and (running = '0')
|
assert (started = '1') and (connecting = '0') and (running = '0')
|
report " 9. running_disconnect (Started)";
|
report " 9. running_disconnect (Started)";
|
linkstart <= '0';
|
linkstart <= '0';
|
wait until rising_edge(sysclk);
|
wait until rising_edge(sysclk);
|
input_pattern <= 2;
|
input_pattern <= 9;
|
wait on started, connecting, running, errany for 20 * inbit_period;
|
wait on started, connecting, running, errany for 20 * inbit_period;
|
assert (started = '0') and (connecting = '1') and (running = '0') and (errany = '0')
|
assert (started = '0') and (connecting = '1') and (running = '0') and (errany = '0')
|
report " 9. running_disconnect (Connecting)";
|
report " 9. running_disconnect (Connecting)";
|
wait on started, connecting, running, errany for 150 ns + 24 * inbit_period;
|
wait on started, connecting, running, errany for 200 ns + 24 * inbit_period;
|
assert (started = '0') and (connecting = '0') and (running = '1') and (errany = '0')
|
assert (started = '0') and (connecting = '0') and (running = '1') and (errany = '0')
|
report " 9. running_disconnect (Run)";
|
report " 9. running_disconnect (Run)";
|
input_pattern <= 0;
|
input_pattern <= 0;
|
wait until input_idle = '1';
|
wait until input_idle = '1';
|
wait on started, connecting, running, errany for 1500 ns;
|
wait on started, connecting, running, errany for 1500 ns;
|