stdlib: Adding SpatterGenCore and SpatterGen

This change adds code for SpatterGenCore and SpatterGen as well
as SpatterKernel to the standard library. SpatterGenCore and
SpatterGen follow the same structure as AbstractCore and
AbstractProcessor. spatter_kernel.py adds utility functions
to parse dictionaries as well as partition a list into
multiple lists through interleaving to be used when setting up
a multicore SpatterGen.

Change-Id: I003553e97f901c0724f5feac0bb6e21a020bd6ad
This commit is contained in:
Mahyar Samani
2024-05-28 00:06:41 -07:00
parent 6695e5ef70
commit d661023de4
8 changed files with 483 additions and 3 deletions

View File

@@ -252,6 +252,14 @@ PySource('gem5.components.processors',
'gem5/components/processors/random_generator_core.py')
PySource('gem5.components.processors',
'gem5/components/processors/random_generator.py')
PySource('gem5.components.processors.spatter_gen',
'gem5/components/processors/spatter_gen/__init__.py')
PySource('gem5.components.processors.spatter_gen',
'gem5/components/processors/spatter_gen/spatter_generator_core.py')
PySource('gem5.components.processors.spatter_gen',
'gem5/components/processors/spatter_gen/spatter_generator.py')
PySource('gem5.components.processors.spatter_gen',
'gem5/components/processors/spatter_gen/spatter_kernel.py')
PySource('gem5.components.processors',
'gem5/components/processors/simple_core.py')
PySource('gem5.components.processors',