base.cc (12722:d84f756891fe) | base.cc (12727:56c23b54bcb1) |
---|---|
1/* 2 * Copyright (c) 2013,2016 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 --- 34 unchanged lines hidden (view full) --- 43 44/** 45 * @file 46 * Definitions of BaseTags. 47 */ 48 49#include "mem/cache/tags/base.hh" 50 | 1/* 2 * Copyright (c) 2013,2016 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 --- 34 unchanged lines hidden (view full) --- 43 44/** 45 * @file 46 * Definitions of BaseTags. 47 */ 48 49#include "mem/cache/tags/base.hh" 50 |
51#include <cassert> 52 53#include "base/types.hh" |
|
51#include "mem/cache/base.hh" | 54#include "mem/cache/base.hh" |
55#include "mem/packet.hh" 56#include "mem/request.hh" 57#include "sim/core.hh" |
|
52#include "sim/sim_exit.hh" | 58#include "sim/sim_exit.hh" |
59#include "sim/system.hh" |
|
53 54BaseTags::BaseTags(const Params *p) 55 : ClockedObject(p), blkSize(p->block_size), blkMask(blkSize - 1), 56 size(p->size), 57 lookupLatency(p->tag_latency), 58 accessLatency(p->sequential_access ? 59 p->tag_latency + p->data_latency : 60 std::max(p->tag_latency, p->data_latency)), --- 135 unchanged lines hidden --- | 60 61BaseTags::BaseTags(const Params *p) 62 : ClockedObject(p), blkSize(p->block_size), blkMask(blkSize - 1), 63 size(p->size), 64 lookupLatency(p->tag_latency), 65 accessLatency(p->sequential_access ? 66 p->tag_latency + p->data_latency : 67 std::max(p->tag_latency, p->data_latency)), --- 135 unchanged lines hidden --- |