Skip to content

Commit d6b046c

Browse files
packet_filter: Interprocess communication fixes
Signed-off-by: Istvan-Zsolt Szekely <istvan.szekely@analog.com>
1 parent 8c5b617 commit d6b046c

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

common/sv/scoreboard.sv

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ package scoreboard_pkg;
195195
packet[i] = source_byte;
196196
end
197197
this.source_monitor.put_key();
198-
this.source_monitor.scoreboard_notified();
199198

200199
if (this.filter_enabled)
201200
this.filter_tree_source.apply_filter(packet);
@@ -239,7 +238,6 @@ package scoreboard_pkg;
239238
packet[i] = sink_byte;
240239
end
241240
this.sink_monitor.put_key();
242-
this.sink_monitor.scoreboard_notified();
243241

244242
if (this.filter_enabled)
245243
this.filter_tree_sink.apply_filter(packet);

common/sv/x_monitor.sv

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,6 @@ package x_monitor_pkg;
4545
@this.transaction_event;
4646
endtask
4747

48-
task scoreboard_notified();
49-
->>this.scoreboard_event;
50-
endtask
51-
52-
task wait_for_scoreboard_event();
53-
@this.scoreboard_event;
54-
endtask
55-
5648
// run task
5749
task run();
5850
fork
@@ -137,7 +129,7 @@ package x_monitor_pkg;
137129
this.put_key();
138130
`INFOV(("Packet mail length: %d", this.mailbox.num()), 200);
139131
this.transaction_captured();
140-
this.wait_for_scoreboard_event();
132+
#1;
141133
this.get_key();
142134
this.mailbox.flush();
143135
this.put_key();
@@ -215,7 +207,7 @@ package x_monitor_pkg;
215207
`INFOV(("Packet mail length: %d", this.mailbox.num()), 200);
216208
axi_packet = new [0];
217209
this.transaction_captured();
218-
this.wait_for_scoreboard_event();
210+
#1;
219211
this.get_key();
220212
this.mailbox.flush();
221213
this.put_key();

0 commit comments

Comments
 (0)