gem5: use m5term instead of telnet

This commit is contained in:
Ciro Santilli
2018-06-20 11:50:36 +01:00
parent 7bbb2a813e
commit 00d282d912
4 changed files with 20 additions and 4 deletions

View File

@@ -1,7 +1,10 @@
#!/usr/bin/env bash
. common
while getopts n: OPT; do
while getopts M:n: OPT; do
case "$OPT" in
M)
common_gem5_variant="$OPTARG"
;;
n)
common_run_id="$OPTARG"
;;
@@ -11,5 +14,5 @@ while getopts n: OPT; do
esac
done
shift "$(($OPTIND - 1))"
set_common_vars -n "$common_run_id" "$arch" true
telnet localhost "$common_gem5_telnet_port"
set_common_vars -M "$common_gem5_variant" -n "$common_run_id" "$arch" true
"${common_gem5_m5term}" localhost "$common_gem5_telnet_port"