BankedArray.cc (11061:25b53a7195f7) | BankedArray.cc (11108:6342ddf6d733) |
---|---|
1/* 2 * Copyright (c) 2012 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; --- 17 unchanged lines hidden (view full) --- 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Author: Brad Beckmann 29 * 30 */ 31 32#include "base/intmath.hh" 33#include "mem/ruby/structures/BankedArray.hh" | 1/* 2 * Copyright (c) 2012 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; --- 17 unchanged lines hidden (view full) --- 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Author: Brad Beckmann 29 * 30 */ 31 32#include "base/intmath.hh" 33#include "mem/ruby/structures/BankedArray.hh" |
34#include "mem/ruby/system/System.hh" | 34#include "mem/ruby/system/RubySystem.hh" |
35 36BankedArray::BankedArray(unsigned int banks, Cycles accessLatency, 37 unsigned int startIndexBit, RubySystem *rs) 38 : m_ruby_system(rs) 39{ 40 this->banks = banks; 41 this->accessLatency = accessLatency; 42 this->startIndexBit = startIndexBit; --- 58 unchanged lines hidden --- | 35 36BankedArray::BankedArray(unsigned int banks, Cycles accessLatency, 37 unsigned int startIndexBit, RubySystem *rs) 38 : m_ruby_system(rs) 39{ 40 this->banks = banks; 41 this->accessLatency = accessLatency; 42 this->startIndexBit = startIndexBit; --- 58 unchanged lines hidden --- |