OFS / opae-sdk

Open Programmable Acceleration Engine
https://ofs.github.io
BSD 3-Clause "New" or "Revised" License
260 stars 82 forks source link

fix:CXL traffic generator read/write bandwidth and input arguments bou… #3054

Closed anandaravuri closed 12 months ago

anandaravuri commented 12 months ago

…ndary check

fix#1 For the correct value of loop count, the following condition must be satisfied. max(READ,WRITE) * loop_count <= 268,435,456

fix #2 cannot have READs only (without any previous WRITEs)

fix #3 READs cannot exceed #WRITEs

Fix #4 Read HDM size from CSR.

coveralls commented 12 months ago

Pull Request Test Coverage Report for Build 7062844447


Changes Missing Coverage Covered Lines Changed/Added Lines %
samples/cxl_mem_tg/cxl_mem_tg.h 0 2 0.0%
samples/cxl_mem_tg/cxl_tg_test.h 0 24 0.0%
<!-- Total: 0 26 0.0% -->
Files with Coverage Reduction New Missed Lines %
samples/cxl_mem_tg/cxl_tg_test.h 1 0.0%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 7052608277: -0.07%
Covered Lines: 15755
Relevant Lines: 23323

💛 - Coveralls