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 --- 305 unchanged lines hidden (view full) --- 314 const Cycles frontendLatency; 315 /** Cycles of forward latency */ 316 const Cycles forwardLatency; 317 /** Cycles of response latency */ 318 const Cycles responseLatency; 319 /** the width of the xbar in bytes */ 320 const uint32_t width; 321 |
322 AddrRangeMap<PortID, 3> portMap; |
323 324 /** 325 * Remember where request packets came from so that we can route 326 * responses to the appropriate port. This relies on the fact that 327 * the underlying Request pointer inside the Packet stays 328 * constant. 329 */ 330 std::unordered_map<RequestPtr, PortID> routeTo; --- 14 unchanged lines hidden (view full) --- 345 /** Find which port connected to this crossbar (if any) should be 346 * given a packet with this address. 347 * 348 * @param addr Address to find port for. 349 * @return id of port that the packet should be sent out of. 350 */ 351 PortID findPort(Addr addr); 352 |
353 /** 354 * Return the address ranges the crossbar is responsible for. 355 * 356 * @return a list of non-overlapping address ranges 357 */ 358 AddrRangeList getAddrRanges() const; 359 360 /** --- 64 unchanged lines hidden --- |