BankedArray.cc (11321:02e930db812d) BankedArray.cc (11793:ef606668d247)
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;

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

24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Author: Brad Beckmann
29 *
30 */
31
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;

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

24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
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"
32#include "mem/ruby/structures/BankedArray.hh"
33
34#include "base/intmath.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;

--- 59 unchanged lines hidden ---
35#include "mem/ruby/system/RubySystem.hh"
36
37BankedArray::BankedArray(unsigned int banks, Cycles accessLatency,
38 unsigned int startIndexBit, RubySystem *rs)
39 : m_ruby_system(rs)
40{
41 this->banks = banks;
42 this->accessLatency = accessLatency;

--- 59 unchanged lines hidden ---