Hi gem5-users,
I'm developing the first in a series of SimObjects that are going to be
coupled together but I would like to have automated tests for each
SimObject.
For example I would like to configure my custom traffic generator to
inject X flits per second, allow the simulation to run for N ticks and
count the number of flits sent to a 'sink' object.
How can this be done? The configuration file only creates and connects
SimObject instances.
Is there a way to introspect a SimObject mid-simulation? Or is DPRINTF
and output parsing my only recourse?
Regards,
Hi gem5-users,
I'm developing the first in a series of SimObjects that are going to be
coupled together but I would like to have automated tests for each
SimObject.
For example I would like to configure my custom traffic generator to
inject X flits per second, allow the simulation to run for N ticks and
count the number of flits sent to a 'sink' object.
How can this be done? The configuration file only creates and connects
SimObject instances.
Is there a way to introspect a SimObject mid-simulation? Or is DPRINTF
and output parsing my only recourse?
Regards,
- Olumide