mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
fixed simx lsu-unit bug
This commit is contained in:
parent
60f7786e17
commit
eb92e0bdbe
2 changed files with 4 additions and 1 deletions
|
@ -178,7 +178,7 @@ void LsuUnit::tick() {
|
|||
}
|
||||
|
||||
// build memory request
|
||||
LsuReq lsu_req(NUM_ALU_LANES);
|
||||
LsuReq lsu_req(NUM_LSU_LANES);
|
||||
lsu_req.write = is_write;
|
||||
{
|
||||
auto trace_data = std::dynamic_pointer_cast<LsuTraceData>(trace->data);
|
||||
|
|
|
@ -84,6 +84,8 @@ void MemCoalescer::tick() {
|
|||
return;
|
||||
|
||||
auto& in_req = ReqIn.front();
|
||||
assert(in_req.mask.size() == input_size_);
|
||||
assert(!in_req.mask.none());
|
||||
|
||||
// ensure we can allocate a response tag
|
||||
if (pending_rd_reqs_.full()) {
|
||||
|
@ -120,6 +122,7 @@ void MemCoalescer::tick() {
|
|||
|
||||
out_mask.set(o);
|
||||
out_addrs.at(o) = seed_addr;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue