Niket,
Yes, I believe that interfacing your own network simulator into
PerfectSwitch::wakeup() is a sound strategy. Thus the endpoints of the
interconnect has PerfectSwitches, and everything in between is your own
simulation.
I imagine your network simulator will likely just deliver messages to
their endpoints at the right cycle.
GEMS ultimately unstalls Simics when a memory transaction completes. It
doesn't really return a certain stall time to Simics.
--Mike
> Hello all,
> I am trying to write my own detailed network simulation inside GEMS. The
> way I have planned is:
> There is a function in PerfectSwitch::wakeup(). This is called whenever
> any message is enqueued into the switch's buffer. The thing that GEMS
> requires is the stall time. What I plan is to trap these messages from
> this point and interface them into my detailed network simulator, which
> in turn will return the stall time. Are there issues in this ?
>
> Mike might throw some light into this.
>
> Thanks,
> Niket.
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
>
|