Hi Iliass,

This error typically happens when the XBar receives a packet that it didn’t 
send to the SimObject as a response. Are you making a new response packet? If 
so, try using the pkt->makeTimingResponse() function to send the received 
packet directly back to the XBar.

Hopefully this helps.

Best,
Sam

> On Jul 16, 2024, at 3:18 PM, Iliass Lasri via gem5-users 
> <gem5-users@gem5.org> wrote:
> 
> 
> Hello gem5 community,
> 
> I created a new SimObject that does just like the memory, the object has a 
> Response port when it recieves a read command it sends a ReadResponse, but 
> when it arrives to the xbar, the xbar fails to route it, and the assersion in 
> line 454 in coherent_xbar.cc _assert(route_lookup != routeTo.end()); fails, 
> however While debugging I made sure to have to send a Response packet and I 
> just modify the data like this :  pkt->setData(&value); pkt->makeResponse(); 
> port.sendTimingResp(pkt);
> 
> More details : I just write a C code reading from the address I assigned to 
> the module and the Request packet arrives to the new object and the REsponse 
> packet succesufly leaves the new object and get to the xbar. the problem is 
> just with the routing in the xbar, knowimg that I don't modify pkt->req, used 
> by the xbar to remember the reauest came from where.
> 
> So I don't really know where the problem can come from, thank you all for 
> your help.
> 
> Iliass Lasri 
> Msc of Engineering Student at Télécom Paris
> _______________________________________________
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to