Testbench wide input_prc fix
This commit is contained in:
parent
1dc1d89f98
commit
9f8887e8c5
@ -551,7 +551,6 @@ begin
|
||||
when IDLE =>
|
||||
if (start = '1' and stimulus.length /= 0) then
|
||||
stim_stage <= BUSY;
|
||||
cnt_stim <= 0;
|
||||
packet_sent <= '0';
|
||||
end if;
|
||||
when BUSY =>
|
||||
@ -559,6 +558,7 @@ begin
|
||||
if (cnt_stim = stimulus.length-1) then
|
||||
stim_stage <= IDLE;
|
||||
packet_sent <= '1';
|
||||
cnt_stim <= 0;
|
||||
else
|
||||
cnt_stim <= cnt_stim + 1;
|
||||
end if;
|
||||
|
||||
@ -891,7 +891,6 @@ begin
|
||||
when IDLE =>
|
||||
if (start = '1' and stimulus.length /= 0) then
|
||||
stim_stage <= BUSY;
|
||||
cnt_stim <= 0;
|
||||
packet_sent <= '0';
|
||||
end if;
|
||||
when BUSY =>
|
||||
@ -899,6 +898,7 @@ begin
|
||||
if (cnt_stim = stimulus.length-1) then
|
||||
stim_stage <= IDLE;
|
||||
packet_sent <= '1';
|
||||
cnt_stim <= 0;
|
||||
else
|
||||
cnt_stim <= cnt_stim + 1;
|
||||
end if;
|
||||
|
||||
@ -1178,7 +1178,6 @@ begin
|
||||
when IDLE =>
|
||||
if (start = '1' and stimulus.length /= 0) then
|
||||
stim_stage <= BUSY;
|
||||
cnt_stim <= 0;
|
||||
packet_sent <= '0';
|
||||
end if;
|
||||
when BUSY =>
|
||||
@ -1186,6 +1185,7 @@ begin
|
||||
if (cnt_stim = stimulus.length-1) then
|
||||
stim_stage <= IDLE;
|
||||
packet_sent <= '1';
|
||||
cnt_stim <= 0;
|
||||
else
|
||||
cnt_stim <= cnt_stim + 1;
|
||||
end if;
|
||||
|
||||
@ -336,7 +336,6 @@ begin
|
||||
when IDLE =>
|
||||
if (start = '1' and stimulus.length /= 0) then
|
||||
stim_stage <= BUSY;
|
||||
cnt_stim <= 0;
|
||||
packet_sent <= '0';
|
||||
end if;
|
||||
when BUSY =>
|
||||
@ -344,6 +343,7 @@ begin
|
||||
if (cnt_stim = stimulus.length-1) then
|
||||
stim_stage <= IDLE;
|
||||
packet_sent <= '1';
|
||||
cnt_stim <= 0;
|
||||
else
|
||||
cnt_stim <= cnt_stim + 1;
|
||||
end if;
|
||||
|
||||
@ -461,7 +461,6 @@ begin
|
||||
when IDLE =>
|
||||
if (start = '1' and stimulus.length /= 0) then
|
||||
stim_stage <= BUSY;
|
||||
cnt_stim <= 0;
|
||||
packet_sent <= '0';
|
||||
end if;
|
||||
when BUSY =>
|
||||
@ -469,6 +468,7 @@ begin
|
||||
if (cnt_stim = stimulus.length-1) then
|
||||
stim_stage <= IDLE;
|
||||
packet_sent <= '1';
|
||||
cnt_stim <= 0;
|
||||
else
|
||||
cnt_stim <= cnt_stim + 1;
|
||||
end if;
|
||||
|
||||
@ -328,7 +328,6 @@ begin
|
||||
when IDLE =>
|
||||
if (start = '1' and stimulus.length /= 0) then
|
||||
stim_stage <= BUSY;
|
||||
cnt_stim <= 0;
|
||||
packet_sent <= '0';
|
||||
end if;
|
||||
when BUSY =>
|
||||
@ -336,6 +335,7 @@ begin
|
||||
if (cnt_stim = stimulus.length-1) then
|
||||
stim_stage <= IDLE;
|
||||
packet_sent <= '1';
|
||||
cnt_stim <= 0;
|
||||
else
|
||||
cnt_stim <= cnt_stim + 1;
|
||||
end if;
|
||||
|
||||
@ -308,7 +308,6 @@ begin
|
||||
when IDLE =>
|
||||
if (start = '1' and stimulus.length /= 0) then
|
||||
stim_stage <= BUSY;
|
||||
cnt_stim <= 0;
|
||||
packet_sent <= '0';
|
||||
end if;
|
||||
when BUSY =>
|
||||
@ -316,6 +315,7 @@ begin
|
||||
if (cnt_stim = stimulus.length-1) then
|
||||
stim_stage <= IDLE;
|
||||
packet_sent <= '1';
|
||||
cnt_stim <= 0;
|
||||
else
|
||||
cnt_stim <= cnt_stim + 1;
|
||||
end if;
|
||||
|
||||
@ -1343,7 +1343,6 @@ begin
|
||||
when IDLE =>
|
||||
if (start = '1' and stimulus.length /= 0) then
|
||||
stim_stage <= BUSY;
|
||||
cnt_stim <= 0;
|
||||
packet_sent <= '0';
|
||||
end if;
|
||||
when BUSY =>
|
||||
@ -1351,6 +1350,7 @@ begin
|
||||
if (cnt_stim = stimulus.length-1) then
|
||||
stim_stage <= IDLE;
|
||||
packet_sent <= '1';
|
||||
cnt_stim <= 0;
|
||||
else
|
||||
cnt_stim <= cnt_stim + 1;
|
||||
end if;
|
||||
|
||||
@ -252,7 +252,6 @@ begin
|
||||
when IDLE =>
|
||||
if (start = '1' and stimulus.length /= 0) then
|
||||
stim_stage <= BUSY;
|
||||
cnt_stim <= 0;
|
||||
packet_sent <= '0';
|
||||
end if;
|
||||
when BUSY =>
|
||||
@ -260,6 +259,7 @@ begin
|
||||
if (cnt_stim = stimulus.length-1) then
|
||||
stim_stage <= IDLE;
|
||||
packet_sent <= '1';
|
||||
cnt_stim <= 0;
|
||||
else
|
||||
cnt_stim <= cnt_stim + 1;
|
||||
end if;
|
||||
|
||||
@ -288,7 +288,6 @@ begin
|
||||
when IDLE =>
|
||||
if (start = '1' and stimulus(i).length /= 0) then
|
||||
stim_stage(i) <= BUSY;
|
||||
cnt_stim(i) <= 0;
|
||||
packet_sent(i) <= '0';
|
||||
end if;
|
||||
when BUSY =>
|
||||
@ -296,6 +295,7 @@ begin
|
||||
if (cnt_stim(i) = stimulus(i).length-1) then
|
||||
stim_stage(i) <= IDLE;
|
||||
packet_sent(i) <= '1';
|
||||
cnt_stim(i) <= 0;
|
||||
else
|
||||
cnt_stim(i) <= cnt_stim(i) + 1;
|
||||
end if;
|
||||
|
||||
@ -80,7 +80,7 @@ begin
|
||||
HEARTBEAT_RESPONSE_DELAY => DURATION_ZERO,
|
||||
HEARTBEAT_SUPPRESSION_DELAY => DURATION_ZERO,
|
||||
LEASE_DURATION => DURATION_INFINITE,
|
||||
WITH_KEY => FALSE,
|
||||
WITH_KEY => TRUE,
|
||||
MAX_REMOTE_ENDPOINTS => MAX_REMOTE_ENDPOINTS
|
||||
)
|
||||
port map (
|
||||
@ -140,7 +140,7 @@ begin
|
||||
end procedure;
|
||||
begin
|
||||
|
||||
SetAlertLogName("rtps_reader - Level 0 - Memory Handling");
|
||||
SetAlertLogName("rtps_reader - Level 0 - Metatraffic Handling");
|
||||
SetAlertEnable(FAILURE, TRUE);
|
||||
SetAlertEnable(ERROR, TRUE);
|
||||
SetAlertEnable(WARNING, TRUE);
|
||||
@ -393,7 +393,6 @@ begin
|
||||
when IDLE =>
|
||||
if (start = '1' and stimulus.length /= 0) then
|
||||
stim_stage <= BUSY;
|
||||
cnt_stim <= 0;
|
||||
packet_sent <= '0';
|
||||
end if;
|
||||
when BUSY =>
|
||||
@ -401,6 +400,7 @@ begin
|
||||
if (cnt_stim = stimulus.length-1) then
|
||||
stim_stage <= IDLE;
|
||||
packet_sent <= '1';
|
||||
cnt_stim <= 0;
|
||||
else
|
||||
cnt_stim <= cnt_stim + 1;
|
||||
end if;
|
||||
@ -432,7 +432,7 @@ begin
|
||||
when REMOVE_WRITER =>
|
||||
SB_out.check(data_out_hc);
|
||||
when others =>
|
||||
Alert("Uknown HC Opcode", ERROR);
|
||||
Alert("Unexpected HC Opcode", ERROR);
|
||||
end case;
|
||||
else
|
||||
ack_hc <= '0';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user