pc-simple-atomic.py (7926:38ade63ef775) pc-simple-atomic.py (8134:b01a51ff05fa)
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

--- 29 unchanged lines hidden (view full) ---

38# Base L1 Cache
39# ====================
40
41class L1(BaseCache):
42 latency = '1ns'
43 block_size = 64
44 mshrs = 4
45 tgts_per_mshr = 8
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

--- 29 unchanged lines hidden (view full) ---

38# Base L1 Cache
39# ====================
40
41class L1(BaseCache):
42 latency = '1ns'
43 block_size = 64
44 mshrs = 4
45 tgts_per_mshr = 8
46 is_top_level = True
46
47# ----------------------
48# Base L2 Cache
49# ----------------------
50
51class L2(BaseCache):
52 block_size = 64
53 latency = '10ns'

--- 6 unchanged lines hidden (view full) ---

60# ---------------------
61class PageTableWalkerCache(BaseCache):
62 assoc = 2
63 block_size = 64
64 latency = '1ns'
65 mshrs = 10
66 size = '1kB'
67 tgts_per_mshr = 12
47
48# ----------------------
49# Base L2 Cache
50# ----------------------
51
52class L2(BaseCache):
53 block_size = 64
54 latency = '10ns'

--- 6 unchanged lines hidden (view full) ---

61# ---------------------
62class PageTableWalkerCache(BaseCache):
63 assoc = 2
64 block_size = 64
65 latency = '1ns'
66 mshrs = 10
67 size = '1kB'
68 tgts_per_mshr = 12
69 is_top_level = True
68
69# ---------------------
70# I/O Cache
71# ---------------------
72class IOCache(BaseCache):
73 assoc = 8
74 block_size = 64
75 latency = '50ns'
76 mshrs = 20
77 size = '1kB'
78 tgts_per_mshr = 12
79 addr_range = AddrRange(0, size=mem_size)
80 forward_snoops = False
70
71# ---------------------
72# I/O Cache
73# ---------------------
74class IOCache(BaseCache):
75 assoc = 8
76 block_size = 64
77 latency = '50ns'
78 mshrs = 20
79 size = '1kB'
80 tgts_per_mshr = 12
81 addr_range = AddrRange(0, size=mem_size)
82 forward_snoops = False
83 is_top_level = True
81
82#cpu
83cpu = AtomicSimpleCPU(cpu_id=0)
84#the system
85mdesc = SysConfig(disk = 'linux-x86.img')
86system = FSConfig.makeLinuxX86System('atomic', mdesc=mdesc)
87system.kernel = FSConfig.binary('x86_64-vmlinux-2.6.22.9')
88system.bridge.filter_ranges_a = [AddrRange(0, Addr.max >> 4)]

--- 26 unchanged lines hidden ---
84
85#cpu
86cpu = AtomicSimpleCPU(cpu_id=0)
87#the system
88mdesc = SysConfig(disk = 'linux-x86.img')
89system = FSConfig.makeLinuxX86System('atomic', mdesc=mdesc)
90system.kernel = FSConfig.binary('x86_64-vmlinux-2.6.22.9')
91system.bridge.filter_ranges_a = [AddrRange(0, Addr.max >> 4)]

--- 26 unchanged lines hidden ---