Revert "FPGA: use 4 HBM interfaces for load and save to HBM"

This reverts commit 28a29ea3183a35d8ba0dda0628ac727f8bfe4f17.
This commit is contained in:
2023-09-17 21:49:50 +02:00
parent 1fe5c474ee
commit a94bdacea9
5 changed files with 22 additions and 70 deletions
+2 -6
View File
@@ -311,12 +311,8 @@ void HLSSimulatedDevice::HLSMainThread() {
hls::stream<ap_uint<16>> handles;
// 3. Cache images in HBM
hls_cores.emplace_back([&] { save_to_hbm(converted_0, converted_1, addr2, compl0, handles,
hbm.data(), hbm.data(), hbm.data(), hbm.data(),
hbm_if_size);});
hls_cores.emplace_back([&] { load_from_hbm(converted_1, converted_2, compl0, compl1, handles,
hbm.data(), hbm.data(), hbm.data(), hbm.data(),
hbm_if_size);});
hls_cores.emplace_back([&] { save_to_hbm(converted_0, converted_1, addr2, compl0, handles, hbm.data(), hbm.data(), hbm_if_size);});
hls_cores.emplace_back([&] { load_from_hbm(converted_1, converted_2, compl0, compl1, handles, hbm.data(), hbm.data(), hbm_if_size);});
// 4. Mask missing pixels
hls_cores.emplace_back([&] { mask_missing(converted_2, converted_3, compl1, compl2);});