pypat is a Python wrapper for McPAT.
- Reads gem5
.h5stats and.jsonconfigs - Substitutes
config.*andstats.*values into an XML template - Runs the McPAT binary on the generated XML
Install dependencies:
pip install -r requirements.txt
cd src
makepython pypat <stats.h5> <config.json>