updating
This commit is contained in:
@@ -45,12 +45,7 @@ system.mem_ctrl.port = system.membus.mem_side_ports
|
|||||||
system.system_port = system.membus.cpu_side_ports
|
system.system_port = system.membus.cpu_side_ports
|
||||||
|
|
||||||
# Create workload
|
# Create workload
|
||||||
process = Process()
|
system.cpu.workload = SEWorkload.init_compatible(args.cmd)
|
||||||
process.executable = args.cmd
|
|
||||||
process.cmd = [args.cmd]
|
|
||||||
|
|
||||||
# Assign workload to CPU
|
|
||||||
system.cpu.workload = process
|
|
||||||
system.cpu.createThreads()
|
system.cpu.createThreads()
|
||||||
|
|
||||||
# Create root and run simulation
|
# Create root and run simulation
|
||||||
|
|||||||
Reference in New Issue
Block a user