configs: Add import for FileSystemConfig in GPU_VIPER.py
authorKyle Roarty <kyleroarty1716@gmail.com>
Thu, 13 Aug 2020 22:07:25 +0000 (17:07 -0500)
committerMatt Sinclair <mattdsinclair@gmail.com>
Tue, 18 Aug 2020 19:49:07 +0000 (19:49 +0000)
GPU_VIPER.py uses FileSystemConfig to register CPUs and caches in SE
mode. Without the import, it crashes.

Change-Id: I539a4060d705f6e1b9a12aca7836eca271f61557
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32675
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
configs/ruby/GPU_VIPER.py

index 967b4d3f981827119af3f0e741f1c9fb53dc426b..50ccd2b259d7cf28a83fcdb3006579deadce55d7 100644 (file)
@@ -37,6 +37,7 @@ from m5.defines import buildEnv
 from m5.util import addToPath
 from .Ruby import create_topology
 from .Ruby import send_evicts
+from common import FileSystemConfig
 
 addToPath('../')