diff --git a/tests/cxs_tlm/csx_packet_test.cpp b/tests/cxs_tlm/csx_packet_test.cpp index 190ab12..aa3325b 100644 --- a/tests/cxs_tlm/csx_packet_test.cpp +++ b/tests/cxs_tlm/csx_packet_test.cpp @@ -31,7 +31,7 @@ template unsigned run_scenario(STATE& state) { REQUIRE(status == tlm::TLM_UPDATED); REQUIRE(phase == tlm::nw::CONFIRM); if(++burst_cnt == state.granularity) { - wait(dut.recv.data_written_event()); + ::sc_core::wait(dut.recv.data_written_event()); while(!dut.recv.empty()) { auto recv_pkt = dut.recv.front(); dut.recv.pop_front();