pc-simple-timing.py (8134:b01a51ff05fa) pc-simple-timing.py (8713:2f1a3e335255)
1# Copyright (c) 2006-2007 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) ---

86#the system
87mdesc = SysConfig(disk = 'linux-x86.img')
88system = FSConfig.makeLinuxX86System('timing', mdesc = mdesc)
89system.kernel = FSConfig.binary('x86_64-vmlinux-2.6.22.9')
90
91system.cpu = cpu
92#create the l1/l2 bus
93system.toL2Bus = Bus()
1# Copyright (c) 2006-2007 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) ---

86#the system
87mdesc = SysConfig(disk = 'linux-x86.img')
88system = FSConfig.makeLinuxX86System('timing', mdesc = mdesc)
89system.kernel = FSConfig.binary('x86_64-vmlinux-2.6.22.9')
90
91system.cpu = cpu
92#create the l1/l2 bus
93system.toL2Bus = Bus()
94system.bridge.filter_ranges_a = [AddrRange(0, Addr.max >> 4)]
95system.bridge.filter_ranges_b = [AddrRange(0, size=mem_size)]
96system.iocache = IOCache(addr_range=mem_size)
97system.iocache.cpu_side = system.iobus.port
98system.iocache.mem_side = system.membus.port
99
100
101#connect up the l2 cache
102system.l2c = L2(size='4MB', assoc=8)
103system.l2c.cpu_side = system.toL2Bus.port

--- 14 unchanged lines hidden ---
94system.iocache = IOCache(addr_range=mem_size)
95system.iocache.cpu_side = system.iobus.port
96system.iocache.mem_side = system.membus.port
97
98
99#connect up the l2 cache
100system.l2c = L2(size='4MB', assoc=8)
101system.l2c.cpu_side = system.toL2Bus.port

--- 14 unchanged lines hidden ---