Modify rtps_discovery_module to send a PARTICIPANT Announcement immediately on startup
This commit is contained in:
parent
5f01a94b31
commit
bd1f803906
@ -14,6 +14,7 @@ use work.rtps_test_package.all;
|
|||||||
-- This test is a Level 1 Test (Meaning the input/output is not connected directly to the uut) in order to have output in the same format as the input of the system and allow us to compare using existing data generators.
|
-- This test is a Level 1 Test (Meaning the input/output is not connected directly to the uut) in order to have output in the same format as the input of the system and allow us to compare using existing data generators.
|
||||||
-- The testflow is as follows:
|
-- The testflow is as follows:
|
||||||
-- * 0s
|
-- * 0s
|
||||||
|
-- - Local participant Announcement
|
||||||
-- - Match a remote participant
|
-- - Match a remote participant
|
||||||
-- - Send HEARTBEAT 0 (Publisher, Empty, Final Flag) [Test Final Flag pasing]
|
-- - Send HEARTBEAT 0 (Publisher, Empty, Final Flag) [Test Final Flag pasing]
|
||||||
-- * 0.105s
|
-- * 0.105s
|
||||||
@ -534,6 +535,7 @@ begin
|
|||||||
wait until rising_edge(clk);
|
wait until rising_edge(clk);
|
||||||
wait until rising_edge(clk);
|
wait until rising_edge(clk);
|
||||||
reset <= '0';
|
reset <= '0';
|
||||||
|
gen_announcement;
|
||||||
|
|
||||||
|
|
||||||
Log("Match Remote Participant", INFO);
|
Log("Match Remote Participant", INFO);
|
||||||
|
|||||||
@ -6149,7 +6149,7 @@ begin
|
|||||||
lease_duration <= DURATION_ZERO;
|
lease_duration <= DURATION_ZERO;
|
||||||
lifespan_duration <= DURATION_ZERO;
|
lifespan_duration <= DURATION_ZERO;
|
||||||
check_time <= TIME_INVALID;
|
check_time <= TIME_INVALID;
|
||||||
announcement_time <= time + PARTICIPANT_ANNOUNCEMENT_PERIOD;
|
announcement_time <= time;
|
||||||
heartbeat_time <= time + HEARTBEAT_PERIOD;
|
heartbeat_time <= time + HEARTBEAT_PERIOD;
|
||||||
participant_data <= ZERO_PARTICIPANT_DATA;
|
participant_data <= ZERO_PARTICIPANT_DATA;
|
||||||
participant_latch_data <= ZERO_PARTICIPANT_LATCH_DATA;
|
participant_latch_data <= ZERO_PARTICIPANT_LATCH_DATA;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user