Module caminos_lib::router

source ·

Modules

Structs

  • A message send from the receptor to the emissor when the receptor state changes. Usually a phit is extracted from the buffer and we want the emissor’s credit counter to increase.
  • A simple collection of buffers. The selected virtual channel of the emissor is ignored, the packet is inserted at random in any in which it fits.
  • An unbounded queue of phits.
  • A simple collection of buffers. Normally each being dedicated to a virtual channel.
  • What a server needs to know of a router to send it packets.
  • A mechanism to receive phits from a very simple component that does not keep track of things such as virtual channels. Previously, it was called TransmissionFromServer, but servers are not necessarily oblivious in this respect.
  • Helper structure to build a transmission mechanism.

Traits

  • The interface that a router type must follow.
  • A structure to store incoming phits.
  • Structure for a port to contain the information necessary about the other endpoint, so that we can know if we can send data.
  • How packets left a router and reach the next. Declares a StatusAtEmissor to keep a register on the emissor of the status of the receptor, such as credit counters. Declares a SpaceAtReceptor necessary to store the incoming packets. It implies a contract between the pair of types (StatusAtEmissor, SpaceAtReceptor), which should be logically compatible.

Functions