se.py (3087:e50b0686850d) | se.py (3180:664fe611de8e) |
---|---|
1# Copyright (c) 2006 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 77 unchanged lines hidden (view full) --- 86if options.timing: 87 cpu = TimingSimpleCPU() 88elif options.detailed: 89 cpu = DetailedO3CPU() 90else: 91 cpu = AtomicSimpleCPU() 92 93cpu.workload = process | 1# Copyright (c) 2006 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 77 unchanged lines hidden (view full) --- 86if options.timing: 87 cpu = TimingSimpleCPU() 88elif options.detailed: 89 cpu = DetailedO3CPU() 90else: 91 cpu = AtomicSimpleCPU() 92 93cpu.workload = process |
94cpu.cpu_id = 0 |
|
94 95system = System(cpu = cpu, 96 physmem = PhysicalMemory(), 97 membus = Bus()) 98system.physmem.port = system.membus.port 99system.cpu.connectMemPorts(system.membus) 100system.cpu.mem = system.physmem 101 --- 16 unchanged lines hidden --- | 95 96system = System(cpu = cpu, 97 physmem = PhysicalMemory(), 98 membus = Bus()) 99system.physmem.port = system.membus.port 100system.cpu.connectMemPorts(system.membus) 101system.cpu.mem = system.physmem 102 --- 16 unchanged lines hidden --- |