HLSSimulateDevice: Remove reference to UltraRAM

This commit is contained in:
2023-09-07 21:39:14 +02:00
parent ae830009c4
commit 347bfd3f2c
2 changed files with 4 additions and 7 deletions
+3 -6
View File
@@ -227,10 +227,7 @@ void HLSSimulatedDevice::HLSMainThread() {
ap_uint<8> err_reg;
std::vector<ap_uint<256>> d_uram_p0(MAX_MODULES_FPGA * RAW_MODULE_SIZE / 32);
std::vector<ap_uint<256>> d_uram_p1(MAX_MODULES_FPGA * RAW_MODULE_SIZE / 32);
while(!din_eth.empty())
while(!din_eth.empty())
ethernet(din_eth, ip1, arp1, mac_addr, eth_packets, clear_counters);
while(!ip1.empty())
@@ -299,12 +296,12 @@ void HLSSimulatedDevice::HLSMainThread() {
// 2. Apply pedestal & gain corrections
hls_cores.emplace_back([&] { jf_conversion(raw4, converted_1,
addr2, addr3,
d_uram_p0.data(), d_uram_p1.data(),
(hbm256_t *) (hbm_memory[0].data()), (hbm256_t *) (hbm_memory[1].data()),
(hbm256_t *) (hbm_memory[2].data()), (hbm256_t *) (hbm_memory[3].data()),
(hbm256_t *) (hbm_memory[4].data()), (hbm256_t *) (hbm_memory[5].data()),
(hbm256_t *) (hbm_memory[6].data()), (hbm256_t *) (hbm_memory[7].data()),
(hbm256_t *) (hbm_memory[8].data()), (hbm256_t *) (hbm_memory[9].data())); });
(hbm256_t *) (hbm_memory[8].data()), (hbm256_t *) (hbm_memory[9].data()),
(hbm256_t *) (hbm_memory[10].data()), (hbm256_t *) (hbm_memory[11].data())); });
// Timer procedure - count how many times write_data is not accepting input (to help track down latency issues)
hls_cores.emplace_back([&] { timer_host(converted_1, converted_2, counter_host); });
+1 -1
View File
@@ -21,7 +21,7 @@ class HLSSimulatedDevice : public FPGAAcquisitionDevice {
ActionConfig cfg;
volatile bool idle;
std::vector<char> hbm_memory[10];
std::vector<char> hbm_memory[16];
hls::stream<ap_uint<32> > work_request_stream;
hls::stream<ap_uint<32> > completion_stream;