noncoherent_xbar.cc (12334:e0ab29a34764) noncoherent_xbar.cc (12778:ca8c50112a66)
1/*
2 * Copyright (c) 2011-2015 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

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

83 // create the slave ports, once again starting at zero
84 for (int i = 0; i < p->port_slave_connection_count; ++i) {
85 std::string portName = csprintf("%s.slave[%d]", name(), i);
86 QueuedSlavePort* bp = new NoncoherentXBarSlavePort(portName, *this, i);
87 slavePorts.push_back(bp);
88 respLayers.push_back(new RespLayer(*bp, *this,
89 csprintf(".respLayer%d", i)));
90 }
1/*
2 * Copyright (c) 2011-2015 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

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

83 // create the slave ports, once again starting at zero
84 for (int i = 0; i < p->port_slave_connection_count; ++i) {
85 std::string portName = csprintf("%s.slave[%d]", name(), i);
86 QueuedSlavePort* bp = new NoncoherentXBarSlavePort(portName, *this, i);
87 slavePorts.push_back(bp);
88 respLayers.push_back(new RespLayer(*bp, *this,
89 csprintf(".respLayer%d", i)));
90 }
91
92 clearPortCache();
93}
94
95NoncoherentXBar::~NoncoherentXBar()
96{
97 for (auto l: reqLayers)
98 delete l;
99 for (auto l: respLayers)
100 delete l;

--- 229 unchanged lines hidden ---
91}
92
93NoncoherentXBar::~NoncoherentXBar()
94{
95 for (auto l: reqLayers)
96 delete l;
97 for (auto l: respLayers)
98 delete l;

--- 229 unchanged lines hidden ---