Skip to content

alexmanle/pypat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pypat

pypat is a Python wrapper for McPAT.

Features

  • Reads gem5 .h5 stats and .json configs
  • Substitutes config.* and stats.* values into an XML template
  • Runs the McPAT binary on the generated XML

Setup

Install dependencies:

pip install -r requirements.txt
cd src 
make

Usage

python pypat <stats.h5> <config.json>

About

pypat: python wrapper for mcpat

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • C++ 96.2%
  • Python 2.2%
  • C 1.4%
  • Makefile 0.2%