base.cc (10466:73b7549d979e) base.cc (10693:c0979b2ebda5)
1/*
2 * Copyright (c) 2013 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

50#include "mem/cache/tags/base.hh"
51#include "mem/cache/base.hh"
52#include "sim/sim_exit.hh"
53
54using namespace std;
55
56BaseTags::BaseTags(const Params *p)
57 : ClockedObject(p), blkSize(p->block_size), size(p->size),
1/*
2 * Copyright (c) 2013 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

50#include "mem/cache/tags/base.hh"
51#include "mem/cache/base.hh"
52#include "sim/sim_exit.hh"
53
54using namespace std;
55
56BaseTags::BaseTags(const Params *p)
57 : ClockedObject(p), blkSize(p->block_size), size(p->size),
58 hitLatency(p->hit_latency), cache(nullptr), warmupBound(0),
58 accessLatency(p->hit_latency), cache(nullptr), warmupBound(0),
59 warmedUp(false), numBlocks(0)
60{
61}
62
63void
64BaseTags::setCache(BaseCache *_cache)
65{
66 assert(!cache);

--- 97 unchanged lines hidden ---
59 warmedUp(false), numBlocks(0)
60{
61}
62
63void
64BaseTags::setCache(BaseCache *_cache)
65{
66 assert(!cache);

--- 97 unchanged lines hidden ---