Hi Sam, No, there's not good documentation on this (yet ;)). It's relatively easy to set up, though. Instead of using a single packet ptr, you can have a queue (or whatever datastructure you would like), and you can set the blocked flag only when it is "full" (e.g., the number of items in the structure is equal to the max size you want to model.
I would caution you against using the `QueuedPort` object in gem5, though. This creates an infinite queue by default, and it difficult to use in a way that models something reasonable. That said, the `PacketQueue` object may come in handy. Cheers, Jason On Fri, Jun 18, 2021 at 12:07 PM Thomas, Samuel via gem5-users < gem5-users@gem5.org> wrote: > Hi all, > > Is there documentation for a conventional way to set up queued ports in > custom memory objects? In learning_gem5, there is really good documentation > for blocking ports, but the blocking port is currently a bottleneck in my > application. > > Thank you in advance! > > Best, > Sam > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s