FPGA: remove limit of modules for frame_generator
This commit is contained in:
@@ -58,8 +58,8 @@ void generate_packet(STREAM_512 &data_out,
|
||||
ap_uint<208> remainder = header(719, 512);
|
||||
for (int i = 0; i < 128; i++) {
|
||||
ap_uint<512> tmp;
|
||||
tmp(255, 0) = d_hbm_p0[offset_hbm_0 + (module % FRAME_GENERATOR_MODULES) * 128 * 128 + eth_packet * 128 + i];
|
||||
tmp(511, 256) = d_hbm_p1[offset_hbm_1 + (module % FRAME_GENERATOR_MODULES) * 128 * 128 + eth_packet * 128 + i];
|
||||
tmp(255, 0) = d_hbm_p0[offset_hbm_0 + module * 128 * 128 + eth_packet * 128 + i];
|
||||
tmp(511, 256) = d_hbm_p1[offset_hbm_1 + module * 128 * 128 + eth_packet * 128 + i];
|
||||
|
||||
packet.data(207, 0) = remainder;
|
||||
packet.data(511, 208) = tmp(303, 0);
|
||||
|
||||
Reference in New Issue
Block a user