MOESI_hammer.py (6905:12390db623b4) | MOESI_hammer.py (7015:6c91d41dfc12) |
---|---|
1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# Copyright (c) 2009 Advanced Micro Devices, Inc. 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 63 unchanged lines hidden (view full) --- 72 # 73 l1i_cache = L1Cache(size = options.l1i_size, 74 assoc = options.l1i_assoc) 75 l1d_cache = L1Cache(size = options.l1d_size, 76 assoc = options.l1d_assoc) 77 l2_cache = L2Cache(size = options.l2_size, 78 assoc = options.l2_assoc) 79 | 1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# Copyright (c) 2009 Advanced Micro Devices, Inc. 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 63 unchanged lines hidden (view full) --- 72 # 73 l1i_cache = L1Cache(size = options.l1i_size, 74 assoc = options.l1i_assoc) 75 l1d_cache = L1Cache(size = options.l1d_size, 76 assoc = options.l1d_assoc) 77 l2_cache = L2Cache(size = options.l2_size, 78 assoc = options.l2_assoc) 79 |
80 cpu_seq = RubySequencer(icache = l1i_cache, | 80 cpu_seq = RubySequencer(version = i, 81 icache = l1i_cache, |
81 dcache = l1d_cache, 82 physMemPort = phys_mem.port, 83 physmem = phys_mem) 84 85 if piobus != None: 86 cpu_seq.pio_port = piobus.port 87 88 l1_cntrl = L1Cache_Controller(version = i, --- 48 unchanged lines hidden --- | 82 dcache = l1d_cache, 83 physMemPort = phys_mem.port, 84 physmem = phys_mem) 85 86 if piobus != None: 87 cpu_seq.pio_port = piobus.port 88 89 l1_cntrl = L1Cache_Controller(version = i, --- 48 unchanged lines hidden --- |