Skip to content

Class NetworkDelayMap

ClassList > NetworkDelayMap

Map for network delay information.

  • #include <net_delay.h>

Inherits the following classes: std::map< InterChiplet::AddrType, NetworkDelayOrder >

Public Functions

Type Name
bool checkOrderOfCommand (const InterChiplet::SyncCommand & __cmd)
Check the order of write/read commands.
NetworkDelayItem front (const InterChiplet::AddrType & __addr)
Return the first delay information for the specified address.
NetworkDelayItem front (const InterChiplet::AddrType & __addr, const InterChiplet::AddrType & __src, const InterChiplet::AddrType & __dst)
Return the first delay information for the specified address.
bool hasAddr (const InterChiplet::AddrType & __addr)
Check whether there is delay information for the specified address.
bool hasAddr (const InterChiplet::AddrType & __addr, const InterChiplet::AddrType & __src, const InterChiplet::AddrType & __dst)
Check whether there is delay information for the specified address.
void insert (const InterChiplet::AddrType & __addr, InterChiplet::InnerTimeType __cycle, const NetworkDelayItem & __item)
Insert delay information.
void pop (const InterChiplet::AddrType & __addr)
Pop the first delay information for the specified address.
void pop (const InterChiplet::AddrType & __addr, const InterChiplet::AddrType & __src, const InterChiplet::AddrType & __dst)
Pop the first delay information for the specified address.

Public Functions Documentation

function checkOrderOfCommand

Check the order of write/read commands.

inline bool NetworkDelayMap::checkOrderOfCommand (
    const InterChiplet::SyncCommand & __cmd
) 

Parameters:

  • __cmd Command to check.

Returns:

If the order of command matches the order of delay infomation, return True. Otherwise return False.

function front [1/2]

Return the first delay information for the specified address.

inline NetworkDelayItem NetworkDelayMap::front (
    const InterChiplet::AddrType & __addr
) 

Parameters:

  • __addr Address.

Returns:

The first delay information to the specified address.

function front [2/2]

Return the first delay information for the specified address.

inline NetworkDelayItem NetworkDelayMap::front (
    const InterChiplet::AddrType & __addr,
    const InterChiplet::AddrType & __src,
    const InterChiplet::AddrType & __dst
) 

Parameters:

  • __addr Address as key.
  • __src Source address.
  • __dst Destination address.

Returns:

The first delay information to the specified address.

function hasAddr [1/2]

Check whether there is delay information for the specified address.

inline bool NetworkDelayMap::hasAddr (
    const InterChiplet::AddrType & __addr
) 

Parameters:

  • __addr Address.

Returns:

If there is delay information for the specified address, return True.

function hasAddr [2/2]

Check whether there is delay information for the specified address.

inline bool NetworkDelayMap::hasAddr (
    const InterChiplet::AddrType & __addr,
    const InterChiplet::AddrType & __src,
    const InterChiplet::AddrType & __dst
) 

Parameters:

  • __addr Address as key.
  • __src Source address.
  • __dst Destination address.

Returns:

If there is delay information for the specified address, return True.

function insert

Insert delay information.

inline void NetworkDelayMap::insert (
    const InterChiplet::AddrType & __addr,
    InterChiplet::InnerTimeType __cycle,
    const NetworkDelayItem & __item
) 

Parameters:

  • __addr Address as key.
  • __cycle Event cycle.
  • __item Delay information structure.

function pop [1/2]

Pop the first delay information for the specified address.

inline void NetworkDelayMap::pop (
    const InterChiplet::AddrType & __addr
) 

Parameters:

  • __addr Asdress.

function pop [2/2]

Pop the first delay information for the specified address.

inline void NetworkDelayMap::pop (
    const InterChiplet::AddrType & __addr,
    const InterChiplet::AddrType & __src,
    const InterChiplet::AddrType & __dst
) 

Parameters:

  • __addr Address as key.
  • __src Source address.
  • __dst Destination address.

The documentation for this class was generated from the following file /data_sda/junwan02/legosim/Chiplet_Heterogeneous_newVersion/interchiplet/includes/net_delay.h