summaryrefslogtreecommitdiff
path: root/python/m5/objects/BadDevice.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/m5/objects/BadDevice.py')
-rw-r--r--python/m5/objects/BadDevice.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/m5/objects/BadDevice.py b/python/m5/objects/BadDevice.py
new file mode 100644
index 000000000..3fba4637d
--- /dev/null
+++ b/python/m5/objects/BadDevice.py
@@ -0,0 +1,6 @@
+from m5 import *
+from Device import PioDevice
+
+class BadDevice(PioDevice):
+ type = 'BadDevice'
+ devicename = Param.String("Name of device to error on")