资源算法riscv-pythia

riscv-pythia

2020-03-09 | |  103 |   0 |   0

Christopher Celio 2014 Sep 1

This is a trace-based simulator designed to explore branch prediction strategies.

In particular, BTB, BHT, and RAS interations with superscalar fetch units.

Getting Started

replay mode

./pythia -t vvadd

live mode

./pythia -s ../riscv-tools/riscv-tests/benchmarks/vvadd.riscv

Live mode assumes "lspike" is installed.

For more information:

./pythia -h

There are two modes - "live" mode and "replay" mode.

"Live" mode - is the default mode that invokes "lspike" and pipes the commit log to Pythia. use "-s" to specify the benchmark and its arguments.

"Replay" mode - use "-t" to name a tracefile in the "traces" directory to replay a run.

Setting Up

"Live" mode will require the riscv-tools to be installed. In particular, it needs to make use of the "commit logging" ability of "spike".

  1. Modify riscv-tool's "build.sh" to compile the "spike" ISA simulator into a new directory.

build_project riscv-fesvr --prefix=$RISCV/logger
build_project riscv-isa-sim --prefix=$RISCV/logger --with-fesvr=$RISCV/logger --enable-commitlog
  1. Rename $RISCV/logger/bin/spike to $RISCV/logger/bin/lspike.

  2. Finally, add $RISCV/logger/bin to your bash environment path.


上一篇:Pythia8-dilepton

下一篇: pythia8-feedstock

用户评价
全部评价

热门资源

  • DuReader_QANet_BiDAF

    Machine Reading Comprehension on DuReader Usin...

  • ETD_cataloguing_a...

    ETD catalouging project using allennlp

  • allennlp_extras

    allennlp_extras Some utilities build on top of...

  • allennlp-dureader

    An Apache 2.0 NLP research library, built on Py...

  • honk-honk-motherf...

    honk-honk-motherfucker