FPGA: Fix to save_to_hbm test
This commit is contained in:
@@ -217,8 +217,6 @@ void save_to_hbm(STREAM_512 &data_in,
|
||||
debug[m], timestamp[m], jf_bunchid[m],
|
||||
exptime[m], data_collection_id, 1);
|
||||
}
|
||||
|
||||
data_in >> packet_in;
|
||||
|
||||
idle = 1;
|
||||
}
|
||||
|
||||
@@ -1116,7 +1116,7 @@ TEST_CASE("HLS_C_Simulation_internal_packet_generator_write_to_hbm", "[FPGA][Ful
|
||||
REQUIRE(test_frame_1 != test_frame_2);
|
||||
|
||||
test.HBMTransfer(test_frame_2.data(), 12, 2*512*1024, true, 2, 0);
|
||||
test.HBMTransfer(test_frame_2.data(), 13, 2*512*1024, true, 2, 1);
|
||||
test.HBMTransfer(test_frame_2.data(), 14, 2*512*1024, true, 2, 1);
|
||||
|
||||
REQUIRE(test_frame_1 == test_frame_2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user