Match rtps_reader with remote writers (not readers) in testbench
This commit is contained in:
parent
bc37679d40
commit
56b80bead2
@ -156,21 +156,25 @@ begin
|
||||
|
||||
-- Endpoint 1
|
||||
e0 := DEFAULT_ENDPOINT_DATA;
|
||||
e0.reader := FALSE;
|
||||
e0.participant := p0;
|
||||
e0.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
e0.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 2
|
||||
e1 := DEFAULT_ENDPOINT_DATA;
|
||||
e1.reader := FALSE;
|
||||
e1.participant := p0;
|
||||
e1.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
e1.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 3
|
||||
e2 := DEFAULT_ENDPOINT_DATA;
|
||||
e2.reader := FALSE;
|
||||
e2.participant := p1;
|
||||
e2.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
e2.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 4
|
||||
e3 := DEFAULT_ENDPOINT_DATA;
|
||||
e3.reader := FALSE;
|
||||
e3.participant := p1;
|
||||
e3.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
e3.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
|
||||
@ -156,21 +156,25 @@ begin
|
||||
|
||||
-- Endpoint 1
|
||||
e0 := DEFAULT_ENDPOINT_DATA;
|
||||
e0.reader := FALSE;
|
||||
e0.participant := p0;
|
||||
e0.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
e0.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 2
|
||||
e1 := DEFAULT_ENDPOINT_DATA;
|
||||
e1.reader := FALSE;
|
||||
e1.participant := p0;
|
||||
e1.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
e1.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 3
|
||||
e2 := DEFAULT_ENDPOINT_DATA;
|
||||
e2.reader := FALSE;
|
||||
e2.participant := p1;
|
||||
e2.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
e2.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 4
|
||||
e3 := DEFAULT_ENDPOINT_DATA;
|
||||
e3.reader := FALSE;
|
||||
e3.participant := p1;
|
||||
e3.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
e3.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
|
||||
@ -209,6 +209,7 @@ begin
|
||||
|
||||
-- Endpoint 1
|
||||
e0 := DEFAULT_ENDPOINT_DATA;
|
||||
e0.reader := FALSE;
|
||||
e0.nr := 0;
|
||||
e0.match := MATCH;
|
||||
e0.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
@ -216,6 +217,7 @@ begin
|
||||
e0.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 2
|
||||
e1 := DEFAULT_ENDPOINT_DATA;
|
||||
e1.reader := FALSE;
|
||||
e1.nr := 1;
|
||||
e1.match := MATCH;
|
||||
e1.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
@ -223,6 +225,7 @@ begin
|
||||
e1.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 3
|
||||
e2 := DEFAULT_ENDPOINT_DATA;
|
||||
e2.reader := FALSE;
|
||||
e2.nr := 2;
|
||||
e2.match := MATCH;
|
||||
e2.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
|
||||
@ -209,6 +209,7 @@ begin
|
||||
|
||||
-- Endpoint 1
|
||||
e0 := DEFAULT_ENDPOINT_DATA;
|
||||
e0.reader := FALSE;
|
||||
e0.nr := 0;
|
||||
e0.match := MATCH;
|
||||
e0.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
@ -216,6 +217,7 @@ begin
|
||||
e0.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 2
|
||||
e1 := DEFAULT_ENDPOINT_DATA;
|
||||
e1.reader := FALSE;
|
||||
e1.nr := 1;
|
||||
e1.match := MATCH;
|
||||
e1.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
@ -223,6 +225,7 @@ begin
|
||||
e1.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 3
|
||||
e2 := DEFAULT_ENDPOINT_DATA;
|
||||
e2.reader := FALSE;
|
||||
e2.nr := 2;
|
||||
e2.match := MATCH;
|
||||
e2.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
|
||||
@ -209,6 +209,7 @@ begin
|
||||
|
||||
-- Endpoint 1
|
||||
e0 := DEFAULT_ENDPOINT_DATA;
|
||||
e0.reader := FALSE;
|
||||
e0.nr := 0;
|
||||
e0.match := MATCH;
|
||||
e0.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
@ -216,6 +217,7 @@ begin
|
||||
e0.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 2
|
||||
e1 := DEFAULT_ENDPOINT_DATA;
|
||||
e1.reader := FALSE;
|
||||
e1.nr := 1;
|
||||
e1.match := MATCH;
|
||||
e1.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
@ -223,6 +225,7 @@ begin
|
||||
e1.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 3
|
||||
e2 := DEFAULT_ENDPOINT_DATA;
|
||||
e2.reader := FALSE;
|
||||
e2.nr := 2;
|
||||
e2.match := MATCH;
|
||||
e2.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
|
||||
@ -209,6 +209,7 @@ begin
|
||||
|
||||
-- Endpoint 1
|
||||
e0 := DEFAULT_ENDPOINT_DATA;
|
||||
e0.reader := FALSE;
|
||||
e0.nr := 0;
|
||||
e0.match := MATCH;
|
||||
e0.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
@ -216,6 +217,7 @@ begin
|
||||
e0.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 2
|
||||
e1 := DEFAULT_ENDPOINT_DATA;
|
||||
e1.reader := FALSE;
|
||||
e1.nr := 1;
|
||||
e1.match := MATCH;
|
||||
e1.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
@ -223,6 +225,7 @@ begin
|
||||
e1.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 3
|
||||
e2 := DEFAULT_ENDPOINT_DATA;
|
||||
e2.reader := FALSE;
|
||||
e2.nr := 2;
|
||||
e2.match := MATCH;
|
||||
e2.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
|
||||
@ -209,6 +209,7 @@ begin
|
||||
|
||||
-- Endpoint 1
|
||||
e0 := DEFAULT_ENDPOINT_DATA;
|
||||
e0.reader := FALSE;
|
||||
e0.nr := 0;
|
||||
e0.match := MATCH;
|
||||
e0.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
@ -216,6 +217,7 @@ begin
|
||||
e0.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 2
|
||||
e1 := DEFAULT_ENDPOINT_DATA;
|
||||
e1.reader := FALSE;
|
||||
e1.nr := 1;
|
||||
e1.match := MATCH;
|
||||
e1.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
@ -223,6 +225,7 @@ begin
|
||||
e1.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 3
|
||||
e2 := DEFAULT_ENDPOINT_DATA;
|
||||
e2.reader := FALSE;
|
||||
e2.nr := 2;
|
||||
e2.match := MATCH;
|
||||
e2.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
|
||||
@ -234,16 +234,19 @@ begin
|
||||
|
||||
-- Endpoint 1
|
||||
e0 := DEFAULT_ENDPOINT_DATA;
|
||||
e0.reader := FALSE;
|
||||
e0.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
e0.participant := p0;
|
||||
e0.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 2
|
||||
e1 := DEFAULT_ENDPOINT_DATA;
|
||||
e1.reader := FALSE;
|
||||
e1.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
e1.participant := p1;
|
||||
e1.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 3
|
||||
e2 := DEFAULT_ENDPOINT_DATA;
|
||||
e2.reader := FALSE;
|
||||
e2.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
e2.participant := p2;
|
||||
e2.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
|
||||
@ -234,16 +234,19 @@ begin
|
||||
|
||||
-- Endpoint 1
|
||||
e0 := DEFAULT_ENDPOINT_DATA;
|
||||
e0.reader := FALSE;
|
||||
e0.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
e0.participant := p0;
|
||||
e0.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 2
|
||||
e1 := DEFAULT_ENDPOINT_DATA;
|
||||
e1.reader := FALSE;
|
||||
e1.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
e1.participant := p1;
|
||||
e1.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 3
|
||||
e2 := DEFAULT_ENDPOINT_DATA;
|
||||
e2.reader := FALSE;
|
||||
e2.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
e2.participant := p2;
|
||||
e2.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
|
||||
@ -256,6 +256,7 @@ begin
|
||||
|
||||
-- Endpoint 1
|
||||
e0 := DEFAULT_ENDPOINT_DATA;
|
||||
e0.reader := FALSE;
|
||||
e0.nr := 0;
|
||||
e0.match := MATCH;
|
||||
e0.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
@ -263,6 +264,7 @@ begin
|
||||
e0.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 2
|
||||
e1 := DEFAULT_ENDPOINT_DATA;
|
||||
e1.reader := FALSE;
|
||||
e1.nr := 1;
|
||||
e1.match := MATCH;
|
||||
e1.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
@ -270,6 +272,7 @@ begin
|
||||
e1.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 3
|
||||
e2 := DEFAULT_ENDPOINT_DATA;
|
||||
e2.reader := FALSE;
|
||||
e2.nr := 2;
|
||||
e2.match := MATCH;
|
||||
e2.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
|
||||
@ -257,6 +257,7 @@ begin
|
||||
|
||||
-- Endpoint 1
|
||||
e0 := DEFAULT_ENDPOINT_DATA;
|
||||
e0.reader := FALSE;
|
||||
e0.nr := 0;
|
||||
e0.match := MATCH;
|
||||
e0.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
@ -264,6 +265,7 @@ begin
|
||||
e0.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 2
|
||||
e1 := DEFAULT_ENDPOINT_DATA;
|
||||
e1.reader := FALSE;
|
||||
e1.nr := 1;
|
||||
e1.match := MATCH;
|
||||
e1.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
@ -271,6 +273,7 @@ begin
|
||||
e1.unicastLocatorList := (numLocators => int(1,CDR_LONG_WIDTH), locator => (0 => gen_rand_loc_2, others => EMPTY_LOCATOR));
|
||||
-- Endpoint 3
|
||||
e2 := DEFAULT_ENDPOINT_DATA;
|
||||
e2.reader := FALSE;
|
||||
e2.nr := 2;
|
||||
e2.match := MATCH;
|
||||
e2.entityid := RV.RandSlv(ENTITYID_WIDTH);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user