-# Copyright (c) 2006 The Regents of The University of Michigan
+# Copyright (c) 2006-2007 The Regents of The University of Michigan
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
#
# Authors: Korey Sewell
-process = LiveProcess(executable = binpath('parser'))
-process.cmd = 'parser 2.1.dict -batch'
-process.input = inputpath('parser', 'lgred.in')
-root.system.cpu.workload = process
+m5.util.addToPath('../configs/common')
+from cpu2000 import parser
+
+workload = parser(isa, opsys, 'mdred')
+root.system.cpu.workload = workload.makeLiveProcess()