coherent_xbar.cc (12334:e0ab29a34764) | coherent_xbar.cc (12341:6eebba99d117) |
---|---|
1/* 2 * Copyright (c) 2011-2017 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 --- 44 unchanged lines hidden (view full) --- 53#include "base/trace.hh" 54#include "debug/AddrRanges.hh" 55#include "debug/CoherentXBar.hh" 56#include "sim/system.hh" 57 58CoherentXBar::CoherentXBar(const CoherentXBarParams *p) 59 : BaseXBar(p), system(p->system), snoopFilter(p->snoop_filter), 60 snoopResponseLatency(p->snoop_response_latency), | 1/* 2 * Copyright (c) 2011-2017 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 --- 44 unchanged lines hidden (view full) --- 53#include "base/trace.hh" 54#include "debug/AddrRanges.hh" 55#include "debug/CoherentXBar.hh" 56#include "sim/system.hh" 57 58CoherentXBar::CoherentXBar(const CoherentXBarParams *p) 59 : BaseXBar(p), system(p->system), snoopFilter(p->snoop_filter), 60 snoopResponseLatency(p->snoop_response_latency), |
61 pointOfCoherency(p->point_of_coherency) | 61 pointOfCoherency(p->point_of_coherency), 62 pointOfUnification(p->point_of_unification) |
62{ 63 // create the ports based on the size of the master and slave 64 // vector ports, and the presence of the default port, the ports 65 // are enumerated starting from zero 66 for (int i = 0; i < p->port_master_connection_count; ++i) { 67 std::string portName = csprintf("%s.master[%d]", name(), i); 68 MasterPort* bp = new CoherentXBarMasterPort(portName, *this, i); 69 masterPorts.push_back(bp); --- 920 unchanged lines hidden --- | 63{ 64 // create the ports based on the size of the master and slave 65 // vector ports, and the presence of the default port, the ports 66 // are enumerated starting from zero 67 for (int i = 0; i < p->port_master_connection_count; ++i) { 68 std::string portName = csprintf("%s.master[%d]", name(), i); 69 MasterPort* bp = new CoherentXBarMasterPort(portName, *this, i); 70 masterPorts.push_back(bp); --- 920 unchanged lines hidden --- |