FPGA: Use dedicated struct for address exchange
This commit is contained in:
@@ -669,8 +669,8 @@ TEST_CASE("HLS_DataCollectionFSM","[OpenCAPI]") {
|
||||
STREAM_512 raw0;
|
||||
STREAM_512 raw1;
|
||||
|
||||
hls::stream<ap_uint<ADDR_STREAM_WIDTH> > addr0;
|
||||
hls::stream<ap_uint<ADDR_STREAM_WIDTH> > addr1;
|
||||
hls::stream<axis_addr> addr0;
|
||||
hls::stream<axis_addr> addr1;
|
||||
|
||||
ap_uint<1> run_data_collection = 0;
|
||||
ap_uint<1> cancel_data_collection = 0;
|
||||
@@ -849,7 +849,7 @@ TEST_CASE("HLS_DataCollectionFSM","[OpenCAPI]") {
|
||||
auto addr = addr1.read();
|
||||
|
||||
addr = addr1.read();
|
||||
REQUIRE(addr_last_flag(addr));
|
||||
REQUIRE(addr.last);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user