Multiple gem5 instances, make it easier on gem5-shell

This commit is contained in:
Ciro Santilli
2018-02-26 08:21:25 +00:00
parent 4519c63b01
commit 7cff306a0b
2 changed files with 22 additions and 1 deletions

View File

@@ -1,2 +1,4 @@
#!/usr/bin/env bash
telnet localhost "${1:-3456}"
offset="${1:-0}"
base=3456
telnet localhost $(("$base" + "$offset"))