Skip to content

Instantly share code, notes, and snippets.

@ashriram
Created May 4, 2020 16:07
Show Gist options
  • Save ashriram/8769b3983f2213cd138bebcf22c89315 to your computer and use it in GitHub Desktop.
Save ashriram/8769b3983f2213cd138bebcf22c89315 to your computer and use it in GitHub Desktop.
#!/bin/bash
# How to use
# cd gem5/util
# wget "gist"
# source ./ruby-gem5.sh MI_example
rm -rf $1
mkdir -p $1/C
mkdir -p $1/html
python2.7 ./slicc -C $PWD/$1/C -H $PWD/$1/html ../src/mem/ruby/protocol/$1.slicc
# $1 options (without the .slicc )
# GPU_RfO.slicc
# GPU_VIPER.slicc
# GPU_VIPER_Baseline.slicc
# GPU_VIPER_Region.slicc
# Garnet_standalone.slicc
# MESI_Three_Level.slicc
# MESI_Two_Level.slicc
# MI_example.slicc
# MOESI_AMD_Base.slicc
# MOESI_CMP_directory.slicc
# MOESI_CMP_token.slicc
# MOESI_hammer.slicc
# RubySlicc_interfaces.slicc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment