US20110286422A1 - Electronic device and method of communication resource allocation - Google Patents
Electronic device and method of communication resource allocation Download PDFInfo
- Publication number
- US20110286422A1 US20110286422A1 US13/193,035 US201113193035A US2011286422A1 US 20110286422 A1 US20110286422 A1 US 20110286422A1 US 201113193035 A US201113193035 A US 201113193035A US 2011286422 A1 US2011286422 A1 US 2011286422A1
- Authority
- US
- United States
- Prior art keywords
- packets
- packet
- μpck
- data
- traffic class
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/20—Support for services
- H04L49/205—Quality of Service based
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
- H04L49/102—Packet switching elements characterised by the switching fabric construction using shared medium, e.g. bus or ring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/30—Peripheral units, e.g. input or output ports
- H04L49/3045—Virtual queuing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/35—Switches specially adapted for specific applications
Definitions
- the invention relates to an electronic device, a mobile device, and a method of communication resource allocation.
- the modules In conventional mobile systems, the modules usually communicate to each other via a expensive parallel dedicated links. As the number of modules increases however, this way of communication is no longer practical for the following reasons. First, increased number of links are too costly. Second, using dedicated links limits the flexibility of quickly creating new system configurations.
- a communication network using serial links forms an effective way to overcome these disadvantages.
- Networks have received considerable attention recently as a solution to the interconnect problem in highly-complex mobile systems (e.g., the UniPro Working Group is currently defining a network protocol for mobile devices in the MIPI standardization body; for more information please refer to www.mipi.org).
- the reason is twofold.
- the network links are serial, which considerably reduces the number of pins/wires for a links, thus, considerably reduces the interconnect cost.
- networks offer flexibility in the way modules are interconnected, allowing quick and easy creation of new configurations.
- a network typically consists of a plurality of routers and network interfaces.
- Routers serve as network nodes and are used to transport data from a source network interface to a destination network interface by routing data on a correct path to the destination on a static basis (i.e., route is predetermined and does not change), or on a dynamic basis (i.e., route can change depending e.g., on the load to avoid hot spots).
- Routers can also implement time guarantees (e.g., rate-based, deadline-based, or using pipelined circuits in a TDMA fashion).
- the network interfaces are connected to a module, which may represent any kind of data processing unit, a display, a camera, a memory, etc.
- the network interfaces constitute a communication interface between the modules and the network.
- the network interfaces are designed to handle data sequentialisation (fitting the data offered by the module to the serial links) and packetization (adding the packet headers and trailers needed internally by the network).
- the network interfaces may also implement packet scheduling, which can include timing guarantees and admission control.
- a cost-effective way of providing time-related guarantees is to use pipelined circuits in a TDMA (Time Division Multiple Access) fashion, which is advantageous as it requires less buffer space compared to other schemes, such as rate-based or deadline-based.
- TDMA Time Division Multiple Access
- the available time and therefore the bandwidth is divided in time slots of equal size, which may be reserved to data streams.
- For each link a slot table may be provided.
- the reservation of slots ensures that data streams with real-time constrains can comply to their timing requirement.
- those data streams with reservation in the slot table are guaranteed a minimum bandwidth and an upper bound of latency, i.e. guaranteed service GS data.
- Those data without slot reservations are referred to as best-effort BE data.
- the best-effort BE data is transferred in slots which are not reserved or reserved but not used, i.e. if a slot is not reserved or a slot is reserved but not used, then the slot is used to transfer best-effort BE data. So a slot is used either to transfer guaranteed data or best-effort data.
- a data item is moved from one network component to the next one, i.e. between routers or between a router and a network interface. Therefore, when a slot is reserved at an output port, the next slot must be reserved on the following output port along the path between an master and a slave module, and so on.
- the data which can be transferred during a time slot can be referred to as a packet.
- the data packet typically consists of a payload, i.e. the actual data which is to be sent over the network.
- a header can be provided which may comprise information relating to the payload length, the sequence number of the payload, whether it is a best-effort BE or guaranteed GS connection etc.
- a trailer can be provided at a CRC check.
- the header and the trailer are merely optional.
- the routing of the data can be performed by using a header containing an address or a sequence of output ports which are to be used to route the packets through the network. If the data packets relate to a guaranteed throughput connection, the routing information can also be stored in slot tables arranged in the network interfaces and/or the routers.
- packet length of the modules do not necessarily correspond to the packet length of the communication of a network
- data messages from the modules may be embedded in one slot or may span over multiple slots.
- a packet will always start at the beginning of a time slot. This is in particular advantageous as very simple state machines for checking the packet headers can be provided. State machines checking the packet headers can be used to set the switches to move the data to a correct output port. Once the switch is set, all data contained in a particular slot is transferred to the same output port.
- the time slots are made as small as possible.
- the time slots may have larger size (e.g., 128 bytes) to reduce the header/trailer overhead, and to reduce power consumption.
- larger data amounts are transferred at once to allow any link to stay in a standby or sleep mode for a longer period of time.
- larger slots will result in larger latencies and larger buffers.
- This object is solved by an electronic device according to claim 1 , by a mobile device according to claim 8 and a method of communication resource allocation according to claim 9 .
- An electronic device comprising an interconnect means for connecting a plurality of modules, and at least one network interface for coupling at least one of the plurality of modules to the interconnect means and for packetizing data from the modules into first packets.
- the communication over the interconnect is based on time slots, wherein a second packet is transferred during one time slot.
- a data traffic over the interconnect means comprises at least one guaranteed service traffic class and/or at least one best-effort service traffic class.
- First packets relating to the at least one guaranteed service traffic class are transferred in second packets within time slots reserved for the guaranteed service traffic class.
- First packets relating to the at least one best-effort service traffic class are transferred within unreserved second packets and/or within unused portions of the second packets.
- the interconnect is used more efficiently, as the data relating to best-effort services is transferred as soon as possible, i.e. also in unused space within packets reserved for guaranteed service traffic, improving the latency of best-effort packets.
- more than one GS traffic class and/or more than one BE traffic class may be provided.
- At least one packet relating to the best-effort service traffic class is transferred within at least one second packet, such that a best-effort packet may start and end at any place within a second packet, i.e. a micro packet.
- the first packets relating to the at least one guaranteed service traffic class are aligned to a beginning or an end of a second packet. This will lead to a simpler state machine for detecting a guaranteed service traffic packet.
- an extra header is introduced to a first packet relating to the at least one best-effort service traffic class, if not all of the first packet is transferred within one second packet, such that it is ensured that all of the data of a best-effort packet, which stretch over several second packets, will arrive at its destination.
- the interconnect means comprises at least one router for routing the second packets through the interconnect means. At least one router and the at least one network interface are coupled providing links for transferring second packets. The second packets form link-level data units.
- the device comprises at least one header parsing unit for parsing the second packets.
- the header parsing unit is active for every word of the second packets to be able to detect the beginning of a best-effort packet.
- the invention also relates to a mobile device which comprises an interconnect means for connecting a plurality of modules; and at least one network interface for coupling at least one of the plurality of modules to the interconnect means and for packetizing data from the modules into first packets.
- the communication over the interconnect is based on time slots, wherein a second packet is transferred during one time slot.
- a data traffic over the interconnect means comprises at least one guaranteed service traffic class and/or at least one best-effort service traffic class.
- First packets relating to the at least one guaranteed service traffic class are transferred in second packets within time slots reserved for the guaranteed service traffic class.
- First packets relating to the at least one best-effort service traffic class are transferred within unreserved second packets and/or within unused portions of the second packets.
- the invention further relates to a method of communication resource allocation within an electronic device having an interconnect means for connecting a plurality of modules, and at least one network interface for coupling at least one of the plurality of modules to the interconnect means and for packetizing data from the modules into first packets, wherein a data traffic over the interconnect means comprises at least one guaranteed service traffic class and/or at least one best-effort service traffic class.
- the communication over the interconnect is based on time slots, wherein a second packet is transferred during one time slot.
- the first packets relating to the at least one guaranteed service traffic class are transferred in second packets within time slots reserved for the guaranteed service traffic class.
- First packets relating to the at least one best-effort service traffic class are transferred within unreserved second packets and/or within unused portions of the second packets.
- the invention relates to the idea that larger time slots may be acceptable while longer latencies are critical for some best effort traffic, like cache updates, interrupts or control traffic class.
- the best effort traffic class which typically comprises a smaller packet sizes, can only be transferred within a time slot, the time slots are not efficiently used.
- To improve this best-effort packets are sent as soon as possible, i.e. as soon as a link is available, irrespective if the available space is within a GT slot or a BE slot. Therefore, multiple best-effort packets can be embedded into a single time slot such that the network efficiency can be improved for those networks which relate to large time slots as for inter-chip communications.
- the latency of the best-effort packets can be improved as the data is sent faster to its destination.
- the packets with the best effort data are not aligned with regard to the packets. A best-effort can therefore start and end at any place within a packet.
- FIG. 1 shows a block diagram of the basic structure of a network on chip according to the invention
- FIG. 2 shows a block diagram of a basic slot allocation for a connection in a network according to FIG. 1 ;
- FIG. 3 shows a basic representation of the packet based communication according to a first embodiment
- FIG. 4 shows a detailed representation of a micro packet according to the first embodiment
- FIG. 5 shows a basic representation of three time slots according to the first embodiment
- FIG. 6 shows a representation of three time slots according to the first embodiment
- FIG. 7 shows a basic block diagram of an inteut port according to the first embodiment
- FIG. 8 shows a representation of a state machine of a header-parsing unit of FIG. 7 .
- FIG. 9 shows a block diagram of a router according to the first embodiment
- FIG. 10 shows a representation of a state machine of an arbiter according to FIG. 9 .
- FIG. 11 shows a block diagram of an electronic device according to the second embodiment.
- the first embodiment relates to multi-module electronic systems, i.e. a plurality of modules on the same die, multiple dies (e.g. system in a package), or on multiple chips, which communicate with each other via some kind of interconnect.
- the interconnect can be embodied as a network.
- the network may include wires, bus, time-division multiplexing, switch, and/or routers within a network.
- the communication between the modules is performed over connections.
- a connection is considered as a set of channels, each having a set of connection properties, between a first module and at least one second module.
- the connection may comprise two channels, namely one from the first module to the second module, i.e. the request channel, and a second channel from the second to the first module, i.e. the response channel. Therefore, a connection or the path of the connection through the network, i.e. the connection path comprises at least one channel.
- a channel corresponds to the connection path of the connection if only one channel is used. If two channels are used as mentioned above, one channel will provide the connection path e.g. from the master (source device) to the slave (destination device), while the second channel will provide the connection path from the slave to the master. Accordingly, for a typical connection, the connection path will comprise two channels.
- connection properties may include ordering (data transport in order), flow control (a remote buffer is reserved for a connection, and a data producer will be allowed to send data only when it is guaranteed that space is available for the produced data), throughput (a lower bound on throughput is guaranteed), latency (upper bound for latency is guaranteed), the lossiness (dropping of data), transmission termination, transaction completion, data correctness, priority, or data delivery.
- FIG. 1 shows a block diagram of a general architecture of a network according to the present invention.
- the system comprises several (processing) modules or devices IP 1 -IP 5 , like computation elements, memories, a subsystem which may internally contain interconnect modules, or an interface to an external device or a further module or device. These devices or modules may be implemented as intellectual property blocks IPs.
- the modules or devices IP 1 -IP 5 are each connected to a network N via a network interface NI, respectively.
- the network N comprises a plurality of routers R 1 -R 5 , which are connected to adjacent routers via respective network links.
- the network interfaces NI 1 -NI 5 are used as interfaces between the module or device IP 1 -IP 5 and the network N.
- the network interfaces NI 1 -NI 5 are provided to manage the communication of the respective module or device IP 1 -IP 5 and the network N, so that the module or device IP 1 -IP 5 can perform their dedicated operation without having to deal with the communication with the network N or other module or device.
- the communication e.g. in a mobile phone
- FIG. 2 shows a block diagram of a connection and a basic slot allocation in a network on chip according to FIG. 1 .
- the connection between the module or device IP 4 and IP 2 is shown.
- This connection is realized by a network interface NI 4 associated to the module or device IP 4 , two routers R 4 , R 2 , and a network interface NI 2 associated to the module or device IP 2 .
- the network interface NI 4 comprises a time slot allocation unit SA.
- the network interface NI 2 , and routers R 2 and R 4 may also comprise a time slot allocation unit SA.
- a first link L 1 is present between the network interface NI 4 and a router R 4
- a second link L 2 is present between the two routers R 4 , R 2
- a third link L 3 is present between the router R 2 and the network interface NI 2 .
- the inputs for the slot allocation determination performed by the time slot allocation unit SA are the network topology, like network components, with their interconnection, and the slot table size, and the connection set. For every connection, its paths and its bandwidth, latency, jitter, and/or slot requirements are given. Each of these connections is assigned an individual path, and may comprise different links having different bandwidth, latency, jitter, and/or slot requirements. To provide time related guarantees, slots must be reserved for the links. Different slots can be reserved for different connections by means of TDMA. Data for a connection is then transferred over consecutive links along the connection in consecutive slots.
- FIG. 3 shows a basic representation of the packet-based communication according to the first embodiment.
- a packet pck is used to carry or transfer data from a source to a destination device.
- the packet pck typically comprises a packet header hd and a payload pl.
- the packets are merely a form of transferring the produced data from a source device.
- the data produced by the devices or module is buffered in a network adapter or network interface as in the example of FIG. 1 . In the network interface, a header and possibly a tail are added to form a packet.
- the header may contain a destination address, a sequence number, etc.
- the data produced by the devices or modules is formed into a packet pck by adding a header hd and optionally a tail tr.
- the data produced by the devices or modules constitute the payload pl of the packet pck.
- the data produced by the devices or modules is transferred over an interconnect to a destination device or destination module or device.
- a further second packet form is used as the length of the packets pck do not necessarily match the length of data used for bandwidth reservation (slots) (the network N of FIG. 1 ) a further second packet form is used.
- These packets may be referred to as micro packets ⁇ pck. They correspond to the amount of data which can be transferred during one time slot.
- the structure of the second packets, i.e. the micro packets can be optimized according to the communication resources of the interconnect. Furthermore, it should be noted that no alignment between the data from the device and the packets pck is required
- a packet pck of an module or device IP does not necessarily match the exact multiple of a micro packet ⁇ pck such that part of the micro packet payload may remain unused.
- a micro packet represents a link-level unit of transmission and constitutes a data unit for bandwidth reservation.
- a micro packet is of constant size.
- the micro packet typically comprises 128 bytes, 1024 bits, a payload and several bytes as header/trailer.
- the control for the transmission of the data is included in the packet as a physical transmission medium may only consist of one serial link. If the micro packets become larger, the overhead of the header/tailor is reduced. If a larger granularity unit of transmission (i.e. a micro packet) is used, the power dissipation is reduced. This can be achieved as the data to be transferred is grouped into larger chunks such that the link has to be activated from a sleeping mode less often. Accordingly, less power is required for the activation of the links. It is better to activate the link less often by transferring longer data bursts.
- FIG. 4 shows a detailed representation of a micro packet ⁇ pck according to the first embodiment.
- a micro packet with best effort BE data is shown.
- the best effort packets are smaller than the micro packets such that several packets can be included into one micro packet.
- the micro packet may comprise a micro packet header ⁇ hd, while the packets may comprise a packet header hd and a packet payload pl.
- the micro packet may additionally comprise a micro packet tail ⁇ tr.
- the best effort packets do not necessarily align with the beginning of a micro packet.
- the best effort packet may start and end at any place in a micro packet.
- the best effort packet may fit into a single micro packet or may span over multiple micro packets.
- FIG. 5 shows a basic representation of three slots, comprising best effort BE data or guaranteed GS data.
- the first slot refers to a best effort slot BES
- the second slot refers to a GS slot GSS
- the third slot refers to a best effort slot BES.
- the headers ⁇ hd 1 , ⁇ hd 2 , ⁇ hd 3 indicate—among others—whether GS or BE data is transferred during the slot.
- the first slot being a BE slot BES
- three packets of best effort data pck 1 -pck 3 is transferred during this slot BES.
- a GS packet GSpck is transferred.
- the third micro packet ⁇ pck As this GS packet GSpck is smaller than the payload of the micro packet ⁇ pck, some of the payload of the micro packet ⁇ pck will be unused uu.
- the rest of the third packet pck 3 and the fourth and fifth packet pck 4 , pck 5 are transferred. In this situation, handling of the GS data is not changed.
- the handling of the best effort packet is however changed to allow an unaligned transfer of BE packets.
- the third packet is transferred as soon as there is space available in one of the micro packets. Here, the space is available in the first best effort slot. As the third packet is, however, larger than the available space in the best effort slot, a part of the third packet pck 3 is transferred in the third slot.
- FIG. 6 shows a representation of three time slots. While in the representation of FIG. 5 , the best effort data is only introduced into those slots which are not occupied by the guaranteed service traffic GS, the previously unused uu space in the GS time slot is now occupied by best effort data, i.e. packet pck 3 _pck 4 . The structure of the first best effort slot is not changed with regard to FIG. 5 . The previously unused space uu is now being occupied by the second part of the third packet pck 3 and a first part of the fourth packet pck 4 . The third time slot is now used for the same part of the fourth packet pck 4 , the fifth and sixth packet pck 5 , pck 6 .
- FIG. 7 shows a basic block diagram of an input port inp according to the first embodiment.
- Such an input port inp may be arranged at the input side of a router or a network interface.
- a decision has to be taken on the type of the micro packet to decide in which queue the incoming data will be stored. Therefore, the input port inp is associated to a header parsing unit HPU.
- This header parsing unit HPU maintains a state machine for monitoring the boundaries of the GS data packets and the best effort packet boundaries.
- the decision to which output port the input port is to be switched is taken based on routing information like the address or the path as stored in the packet header.
- the best effort packets are only allowed to switch to the output ports as long as the GS data is not hindered or influenced. In other words, a best effort packet may only be switched to the output port when the input as well as the output ports are not used by GS data.
- the header parsing unit HPU is connected to a separate buffer GSB for GS data and a separate buffer BEB for BE data.
- the GS data may be transferred according to the slot reservations in the slot table. The best effort data is transferred when the GS traffic does not use the links or switches.
- the header parsing unit HPU monitors the micro packet headers ⁇ hd to separate the GS data and the BE data and to forward them into the corresponding buffers or queues GSB, BEB.
- the header parsing unit HPU monitors the type of the micro packet ⁇ pck. If the micro packet ⁇ pck is of a GS type, the following payload relates to a GS data stream.
- the number of the GS words in the payload may be presented by a GS length field being part of the micro packet header ⁇ hd. If the GS length is less than the length of the micro packet payload, then there is unused space in the payload of the micro packet which may be used by best effort packets.
- FIG. 8 shows a representation of the state machine of the header parsing unit.
- the state machine of the header parsing unit HPU must be active not only at the beginning of a micro packet ⁇ pck, but also within the micro packet ⁇ pck in order to detect a new best effort packet. For example, in the situation described according to FIG. 6 , three best effort packets pck 1 -pck 3 start during the first best effort slot BES.
- step S 1 the number of words left in the slot slot_word_left is set to the length of the payload PAYLOAD_LENGTH (the micro-packet length of e.g., 128 bytes) and the numbers of the left packet word pck_word_left left in the packet is set to zero.
- step S 2 the type of the micro packet ⁇ pck is determined If the micro packet ⁇ pck relates to GS traffic, the flow continues to step S 3 , where a number of GS words is transferred into the buffer GSB for the GS data.
- step S 4 the number of GS words transferred to the buffer GSB is substracted from the left slot words slot_word_left and the flow jumps to step S 5 .
- step S 5 the number of words left in the slots slot_word_left is determined. If the number of slot_word_left equals zero, the flow jumps to step S 2 . However, if the slot_word_left is larger than zero, then the flow jumps to step S 6 . Here, the number of words left in the packet pck_word_left is determined. If the numbers of words left in the packet pck_word_left is larger than zero, then the flow continues to step S 7 . Here, a word is transferred into the best effort buffer BEB. Then the flow continues to step S 8 where the number of words left in the packet pck_left is decreased.
- step S 12 The flow continues at step S 12 . However, if in step S 6 it is determined that the number of words left in the packet pck_word_left is zero, then the flow continues at step S 9 , where the packet type is determined. If the packet is not used, the flow continues to step S 12 . However, if the packet relates to a best effort packet, the flow continues at step 10 , where the word is transferred into the BE buffer BEB and the flow continues to step S 11 .
- the pck_word_left is set to the length of the packet pck_length.
- slot_word_left is decremented.
- the state machine monitors whether a packet boundary is present, i.e. the words left in the packet pck_word_left equals zero, or whether there is an ongoing packet, i.e. pck_word_left>0. If a data word is transferred to the best effort buffer BEB, the packet and the micro packet states are updated in the counters pck_word_left and slot_word_left.
- a new packet can start, wherein the packet type should be a best effort or no data is transmitted when the packet type is unused. If a new packet is started, the data is transferred into the BE buffer BEB and the packet length is saved in order to maintain the state of the packet. If the packet type is BE or unused, the slot state is updated such that it can be determined whether one or more words of the micro packet have been transferred.
- any other alternative scheme to maintain the packet state may be used.
- One example is the 8b10b encoding which is used on serial lines like a PCI Express protocol.
- the start of packet and/or end of packet states may be encoded for signaling the packet boundaries. If a network comprises separated control lines, the start of packet and/or end of packet may be signaled on these control lines.
- the GS data is aligned at the beginning of the micro packet.
- An alternative is to align the GS data at the end of the micro packet to decrease the latency of the BE packets. Placing the GS data in a block at an arbitrary position in the micro packet is also possible, however more information is then needed: e.g., in the micro packet header an offset of the GS data block needs to be specified in addition to its length. It is also possible to arbitrarily spread the GS data in the micro packet, however this would require more complex state machines and more overhead in the protocol to specify where the GS data occurs.
- FIG. 9 shows a block diagram of a router according to the first embodiment.
- the router may furthermore comprise an arbiter ARB.
- the best effort buffers BEB and the GS buffers GSB are used as inputs to the switch SW of the router.
- Such an arrangement represents an input-queued router.
- the buffers may also be coupled to the switch via a multiplexer.
- queuing of data has been described with regard to buffers, also other queuing schemes may be possible.
- One example thereof can be the virtual output queuing by instantiating queues per pair of input/output ports. All of the queues of an input port can be grouped in a single memory.
- Output queuing can be implemented by allowing the data to be routed through a switch to an output port as separating the GS data from the BE data at the output port.
- FIG. 10 shows a representation of a state machine for an arbiter within the structure of FIG. 9 .
- step S 50 it is determined whether a slot boundary is present. If a slot boundary is present, the slot reservations may change. For this reason, in step S 51 , the arbiter suspends the ongoing BE traffic for which the ports serve GS traffic. The arbiter also resumes the BE traffic for which ports have become unused. If the best effort traffic is stopped, the best effort packet state is saved such that the best effort traffic can be resumed later on. When a packet is resumed, an extra (redundant) header may be added to indicate packet continuation to make the protocol more robust and flexible. In step 52 , the switch is set to serve the existing GS traffic for which the current slot has been reserved.
- step S 53 the transferring of the BE packets is continued as soon as both required input and output ports become available. This may occur when GS data requiring these slots have finished during the particular slot or when a new slot starts where the ports in question are not used anymore.
- the packets from different input ports may require the same output ports. Therefore, an arbitration scheme is required to solve this kind of contention.
- the required arbitration scheme may be any scheme known from the prior art. Examples may be a round robin scheme, a weighted-round robin scheme, a priority-based scheme, a rate-based scheme or a deadline-based scheme.
- the arbiter ARB Instead of being only active at any transfer of a micro packet ⁇ pck (at the beginning), the arbiter ARB needs to be active at the transfer of each word to detect a new BE packet pck. Although this will result in a higher power consumption for the arbitration, this extra power consumption is marginal as the state machine required for such an arbiter is very simple and does therefore require very little extra power. The actual power saving resulted from the improved utilization of the links will be larger than the power consumption induced by the amended arbiter. Accordingly, the overall system power will be reduced with an arbitration scheme described above.
- the arbiter's state machine according to FIG. 10 is shown for the case in which the GS data is aligned to the beginning of the micro packet.
- alternatives exist including aligning the GS data at the end of the micro packet, or allowing the GS data at an arbitrary position in the micro packet.
- the basic principles of the invention may also be applied to any slot-based network interconnect like on-chip interconnects, inter-chip interconnects, interconnects on a board or interconnects of a computer network.
- the basic principles of the invention are advantageous for such networks where the slots are to be enlarged for example to lower the power consumption while ensuring that the slots can be used more efficiently.
- FIG. 11 shows a block diagram of an electronic device according to the second embodiment.
- the electronic device (like a mobile phone) comprises a modem MD, a computation accelerator CA, a host unit HU, a media accelerator MA, a camera CAM, a display DISP, a mass storage MS and possibly an external device ED.
- the computation accelerator CA, the host HU and the media accelerator are each merged in the same chip with a switch (SW 0 , SW 1 , SW 2 , respectively).
- the switch may be embodied as described according to FIG. 7 or FIG. 9 .
- the structure of the communication within the electronic device according to FIG. 11 corresponds substantially to the communication according to the first embodiment. In particular, the data is transferred among the different units of the electronic device based on packets pck.
- the data is transferred during time slots, wherein the amount of data transferred during one time slot corresponds to a micro packet ⁇ pck as described according to the first embodiment.
- the packets pck and the micro packets ⁇ pck correspond to the packets pck and the micro packets ⁇ pck according to the first embodiment. Accordingly, several best effort packets pck 1 -pck 3 can be transferred within a single micro packet ⁇ pck.
- time slot allocation can be applied to any data processing device comprising several separated integrated circuits or multi-chip networks, as well as to a network on a single chip.
- the methods described herein can be applied also to different communication resource reservation schemes such as rate-based (rate-controlled) or deadline-based schemes, implemented with e.g. input, output, input-output, and/or virtual circuit/channel buffering schemes.
- rate-based rate-controlled
- deadline-based schemes implemented with e.g. input, output, input-output, and/or virtual circuit/channel buffering schemes.
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
- Time-Division Multiplex Systems (AREA)
Abstract
An electronic device is provided comprising an interconnect means (N, sw0-sw2) for connecting a plurality of modules (IP); and at least one network interface (NI) for coupling at least one of the plurality of modules (IP) to the interconnect means (N; sw0-sw2) and for packetizing data from the modules (IP) into first packets (pck). The communication over the interconnect (N; sw0-sw2) is based on time slots, wherein a second packet (μpck) is transferred during one time slot. A data traffic over the interconnect means (N; sw0-sw2) comprises at least one guaranteed service traffic class (GS) and/or at least one best-effort service traffic class (BE). First packets (GSpck) relating to the at least one guaranteed service traffic class (GS) are transferred in second packets (μpck) within time slots reserved for the guaranteed service traffic class (GS). First packets (pck1-pck6) relating to the at least one best-effort service traffic class (BE) are transferred within unreserved second packets (μpck) and/or within unused portions (uu) of the second packets (μpck).
Description
- The invention relates to an electronic device, a mobile device, and a method of communication resource allocation.
- Current mobile systems, such as a mobile phone or a PDA, show a continuous increase in complexity due to the ever increasing need for implementing new features and improvements of existing functions. This is enabled by the increasing number and complexity of the components of a system. At the same time the data rates at which these components communicate increases too. The higher data rates in combination with the increased system complexity has created the need for a modular approach. According to such an approach the processing system comprises a plurality of relatively independent, complex modules.
- In conventional mobile systems, the modules usually communicate to each other via a expensive parallel dedicated links. As the number of modules increases however, this way of communication is no longer practical for the following reasons. First, increased number of links are too costly. Second, using dedicated links limits the flexibility of quickly creating new system configurations.
- A communication network using serial links forms an effective way to overcome these disadvantages. Networks have received considerable attention recently as a solution to the interconnect problem in highly-complex mobile systems (e.g., the UniPro Working Group is currently defining a network protocol for mobile devices in the MIPI standardization body; for more information please refer to www.mipi.org). The reason is twofold. First, the network links are serial, which considerably reduces the number of pins/wires for a links, thus, considerably reduces the interconnect cost. Second, networks offer flexibility in the way modules are interconnected, allowing quick and easy creation of new configurations.
- Introducing network interconnects radically changes the communication when compared to direct connections. This is because of the multi-hop nature of a network, where communication modules are not directly connected, but are remotely separated by one or more network nodes. The communication control, which in a standard mobile phone is controlled by the application processor, becomes a network task, and is distributed across network nodes. Moreover, new issues must be addressed, such as data ordering and flow control, either in specialized proprietary modules, or in the network itself.
- A network typically consists of a plurality of routers and network interfaces. Routers serve as network nodes and are used to transport data from a source network interface to a destination network interface by routing data on a correct path to the destination on a static basis (i.e., route is predetermined and does not change), or on a dynamic basis (i.e., route can change depending e.g., on the load to avoid hot spots). Routers can also implement time guarantees (e.g., rate-based, deadline-based, or using pipelined circuits in a TDMA fashion). For more information, please refer to “Trade-offs in the design of a router with both guaranteed and best-effort services for networks on chip; by Rijpkema et al., in IEE Proc.-Comput. Digit. Tech. Vol. 150, Nr. 5, September 2003, which is incorporated herein by reference.
- The network interfaces are connected to a module, which may represent any kind of data processing unit, a display, a camera, a memory, etc. In particular, the network interfaces constitute a communication interface between the modules and the network. The network interfaces are designed to handle data sequentialisation (fitting the data offered by the module to the serial links) and packetization (adding the packet headers and trailers needed internally by the network). The network interfaces may also implement packet scheduling, which can include timing guarantees and admission control.
- A cost-effective way of providing time-related guarantees (i.e., throughput, latency and jitter) is to use pipelined circuits in a TDMA (Time Division Multiple Access) fashion, which is advantageous as it requires less buffer space compared to other schemes, such as rate-based or deadline-based. Using TDMA, the available time and therefore the bandwidth is divided in time slots of equal size, which may be reserved to data streams. For each link a slot table may be provided. The reservation of slots ensures that data streams with real-time constrains can comply to their timing requirement. In other words, those data streams with reservation in the slot table are guaranteed a minimum bandwidth and an upper bound of latency, i.e. guaranteed service GS data. Those data without slot reservations are referred to as best-effort BE data. The best-effort BE data is transferred in slots which are not reserved or reserved but not used, i.e. if a slot is not reserved or a slot is reserved but not used, then the slot is used to transfer best-effort BE data. So a slot is used either to transfer guaranteed data or best-effort data.
- At each slot, a data item is moved from one network component to the next one, i.e. between routers or between a router and a network interface. Therefore, when a slot is reserved at an output port, the next slot must be reserved on the following output port along the path between an master and a slave module, and so on.
- The data which can be transferred during a time slot can be referred to as a packet. The data packet typically consists of a payload, i.e. the actual data which is to be sent over the network. Optionally, a header can be provided which may comprise information relating to the payload length, the sequence number of the payload, whether it is a best-effort BE or guaranteed GS connection etc. Furthermore, optionally a trailer can be provided at a CRC check. However, the header and the trailer are merely optional.
- The routing of the data can be performed by using a header containing an address or a sequence of output ports which are to be used to route the packets through the network. If the data packets relate to a guaranteed throughput connection, the routing information can also be stored in slot tables arranged in the network interfaces and/or the routers.
- As the packet length of the modules do not necessarily correspond to the packet length of the communication of a network, data messages from the modules may be embedded in one slot or may span over multiple slots. However, a packet will always start at the beginning of a time slot. This is in particular advantageous as very simple state machines for checking the packet headers can be provided. State machines checking the packet headers can be used to set the switches to move the data to a correct output port. Once the switch is set, all data contained in a particular slot is transferred to the same output port.
- To optimize for low latency, the time slots are made as small as possible. However, especially in off-chip networks (communication between multiple chips in an electronic device) using serial links, the time slots may have larger size (e.g., 128 bytes) to reduce the header/trailer overhead, and to reduce power consumption. In order to optimize the power dissipation, larger data amounts are transferred at once to allow any link to stay in a standby or sleep mode for a longer period of time. On the other hand, larger slots will result in larger latencies and larger buffers.
- It is an object of the invention to provide an electronic device and a method of communication resource allocation with an improved allocation of communication resources.
- This object is solved by an electronic device according to
claim 1, by a mobile device according to claim 8 and a method of communication resource allocation according to claim 9. - An electronic device is provided comprising an interconnect means for connecting a plurality of modules, and at least one network interface for coupling at least one of the plurality of modules to the interconnect means and for packetizing data from the modules into first packets. The communication over the interconnect is based on time slots, wherein a second packet is transferred during one time slot. A data traffic over the interconnect means comprises at least one guaranteed service traffic class and/or at least one best-effort service traffic class. First packets relating to the at least one guaranteed service traffic class are transferred in second packets within time slots reserved for the guaranteed service traffic class. First packets relating to the at least one best-effort service traffic class are transferred within unreserved second packets and/or within unused portions of the second packets.
- Therefore, the interconnect is used more efficiently, as the data relating to best-effort services is transferred as soon as possible, i.e. also in unused space within packets reserved for guaranteed service traffic, improving the latency of best-effort packets. Furthermore, more than one GS traffic class and/or more than one BE traffic class may be provided.
- According to an aspect of the invention at least one packet relating to the best-effort service traffic class is transferred within at least one second packet, such that a best-effort packet may start and end at any place within a second packet, i.e. a micro packet.
- According to an aspect of the invention the first packets relating to the at least one guaranteed service traffic class are aligned to a beginning or an end of a second packet. This will lead to a simpler state machine for detecting a guaranteed service traffic packet.
- According to an aspect of the invention an extra header is introduced to a first packet relating to the at least one best-effort service traffic class, if not all of the first packet is transferred within one second packet, such that it is ensured that all of the data of a best-effort packet, which stretch over several second packets, will arrive at its destination.
- According to a further aspect of the invention the interconnect means comprises at least one router for routing the second packets through the interconnect means. At least one router and the at least one network interface are coupled providing links for transferring second packets. The second packets form link-level data units.
- According to still a further aspect of the invention, the device comprises at least one header parsing unit for parsing the second packets. The header parsing unit is active for every word of the second packets to be able to detect the beginning of a best-effort packet.
- The invention also relates to a mobile device which comprises an interconnect means for connecting a plurality of modules; and at least one network interface for coupling at least one of the plurality of modules to the interconnect means and for packetizing data from the modules into first packets. The communication over the interconnect is based on time slots, wherein a second packet is transferred during one time slot. A data traffic over the interconnect means comprises at least one guaranteed service traffic class and/or at least one best-effort service traffic class. First packets relating to the at least one guaranteed service traffic class are transferred in second packets within time slots reserved for the guaranteed service traffic class. First packets relating to the at least one best-effort service traffic class are transferred within unreserved second packets and/or within unused portions of the second packets.
- The invention further relates to a method of communication resource allocation within an electronic device having an interconnect means for connecting a plurality of modules, and at least one network interface for coupling at least one of the plurality of modules to the interconnect means and for packetizing data from the modules into first packets, wherein a data traffic over the interconnect means comprises at least one guaranteed service traffic class and/or at least one best-effort service traffic class. The communication over the interconnect is based on time slots, wherein a second packet is transferred during one time slot. The first packets relating to the at least one guaranteed service traffic class are transferred in second packets within time slots reserved for the guaranteed service traffic class. First packets relating to the at least one best-effort service traffic class are transferred within unreserved second packets and/or within unused portions of the second packets.
- The invention relates to the idea that larger time slots may be acceptable while longer latencies are critical for some best effort traffic, like cache updates, interrupts or control traffic class. As the best effort traffic class, which typically comprises a smaller packet sizes, can only be transferred within a time slot, the time slots are not efficiently used. To improve this best-effort packets are sent as soon as possible, i.e. as soon as a link is available, irrespective if the available space is within a GT slot or a BE slot. Therefore, multiple best-effort packets can be embedded into a single time slot such that the network efficiency can be improved for those networks which relate to large time slots as for inter-chip communications. Furthermore, the latency of the best-effort packets can be improved as the data is sent faster to its destination. The packets with the best effort data are not aligned with regard to the packets. A best-effort can therefore start and end at any place within a packet.
- Other aspects of the invention are defined in the dependent claims.
- The invention is now described in more detail with reference to the drawings.
-
FIG. 1 shows a block diagram of the basic structure of a network on chip according to the invention; -
FIG. 2 shows a block diagram of a basic slot allocation for a connection in a network according toFIG. 1 ; -
FIG. 3 shows a basic representation of the packet based communication according to a first embodiment, -
FIG. 4 shows a detailed representation of a micro packet according to the first embodiment, -
FIG. 5 shows a basic representation of three time slots according to the first embodiment, -
FIG. 6 shows a representation of three time slots according to the first embodiment, -
FIG. 7 shows a basic block diagram of an inteut port according to the first embodiment, -
FIG. 8 shows a representation of a state machine of a header-parsing unit ofFIG. 7 , -
FIG. 9 shows a block diagram of a router according to the first embodiment, -
FIG. 10 shows a representation of a state machine of an arbiter according toFIG. 9 , and -
FIG. 11 shows a block diagram of an electronic device according to the second embodiment. - The first embodiment relates to multi-module electronic systems, i.e. a plurality of modules on the same die, multiple dies (e.g. system in a package), or on multiple chips, which communicate with each other via some kind of interconnect. The interconnect can be embodied as a network. The network may include wires, bus, time-division multiplexing, switch, and/or routers within a network. At the transport layer of said network, the communication between the modules is performed over connections. A connection is considered as a set of channels, each having a set of connection properties, between a first module and at least one second module. For a connection between a first module and a single second module, the connection may comprise two channels, namely one from the first module to the second module, i.e. the request channel, and a second channel from the second to the first module, i.e. the response channel. Therefore, a connection or the path of the connection through the network, i.e. the connection path comprises at least one channel. In other words, a channel corresponds to the connection path of the connection if only one channel is used. If two channels are used as mentioned above, one channel will provide the connection path e.g. from the master (source device) to the slave (destination device), while the second channel will provide the connection path from the slave to the master. Accordingly, for a typical connection, the connection path will comprise two channels. The connection properties may include ordering (data transport in order), flow control (a remote buffer is reserved for a connection, and a data producer will be allowed to send data only when it is guaranteed that space is available for the produced data), throughput (a lower bound on throughput is guaranteed), latency (upper bound for latency is guaranteed), the lossiness (dropping of data), transmission termination, transaction completion, data correctness, priority, or data delivery.
-
FIG. 1 shows a block diagram of a general architecture of a network according to the present invention. The system comprises several (processing) modules or devices IP1-IP5, like computation elements, memories, a subsystem which may internally contain interconnect modules, or an interface to an external device or a further module or device. These devices or modules may be implemented as intellectual property blocks IPs. The modules or devices IP1-IP5 are each connected to a network N via a network interface NI, respectively. The network N comprises a plurality of routers R1-R5, which are connected to adjacent routers via respective network links. - The network interfaces NI1-NI5 are used as interfaces between the module or device IP1-IP5 and the network N. The network interfaces NI1-NI5 are provided to manage the communication of the respective module or device IP1-IP5 and the network N, so that the module or device IP1-IP5 can perform their dedicated operation without having to deal with the communication with the network N or other module or device. The communication (e.g. in a mobile phone) can be based on sources and destinations for a data stream (e.g., a display driver to a display, or a camera to a memory), and/or based on a server-client relationships (e.g., as in the internet).
-
FIG. 2 shows a block diagram of a connection and a basic slot allocation in a network on chip according toFIG. 1 . In particular, the connection between the module or device IP4 and IP2 is shown. This connection is realized by a network interface NI4 associated to the module or device IP4, two routers R4, R2, and a network interface NI2 associated to the module or device IP2. The network interface NI4 comprises a time slot allocation unit SA. Alternatively, the network interface NI2, and routers R2 and R4 may also comprise a time slot allocation unit SA. A first link L1 is present between the network interface NI4 and a router R4, a second link L2 is present between the two routers R4, R2, and a third link L3 is present between the router R2 and the network interface NI2. Three slot tables ST1-ST3 for the output ports of the respective network components are also shown. These slot tables are preferably implemented on the output side, i.e. the data producing side, of the network elements like network interfaces and routers. For each requested slot, one slot is reserved in each slot table of the links along the connection path. All these slots must be free, i.e., not reserved by other channels. Since the data advance from one network component to another each slot, starting from slot s=1, the next slot along the connection must be reserved at slot s=2 and then at slot s=3. - The inputs for the slot allocation determination performed by the time slot allocation unit SA are the network topology, like network components, with their interconnection, and the slot table size, and the connection set. For every connection, its paths and its bandwidth, latency, jitter, and/or slot requirements are given. Each of these connections is assigned an individual path, and may comprise different links having different bandwidth, latency, jitter, and/or slot requirements. To provide time related guarantees, slots must be reserved for the links. Different slots can be reserved for different connections by means of TDMA. Data for a connection is then transferred over consecutive links along the connection in consecutive slots.
-
FIG. 3 shows a basic representation of the packet-based communication according to the first embodiment. A packet pck is used to carry or transfer data from a source to a destination device. The packet pck typically comprises a packet header hd and a payload pl. It should be noted that the data produced by the source device or source module does not necessarily have to fit the size of the packets pck. The packets are merely a form of transferring the produced data from a source device. The data produced by the devices or module is buffered in a network adapter or network interface as in the example ofFIG. 1 . In the network interface, a header and possibly a tail are added to form a packet. The header may contain a destination address, a sequence number, etc. In other words, the data produced by the devices or modules is formed into a packet pck by adding a header hd and optionally a tail tr. The data produced by the devices or modules constitute the payload pl of the packet pck. Thereafter, the data produced by the devices or modules is transferred over an interconnect to a destination device or destination module or device. However, as the length of the packets pck do not necessarily match the length of data used for bandwidth reservation (slots) (the network N ofFIG. 1 ) a further second packet form is used. These packets may be referred to as micro packets μpck. They correspond to the amount of data which can be transferred during one time slot. The structure of the second packets, i.e. the micro packets, can be optimized according to the communication resources of the interconnect. Furthermore, it should be noted that no alignment between the data from the device and the packets pck is required - A packet pck of an module or device IP does not necessarily match the exact multiple of a micro packet μpck such that part of the micro packet payload may remain unused.
- A micro packet represents a link-level unit of transmission and constitutes a data unit for bandwidth reservation. A micro packet is of constant size. The micro packet typically comprises 128 bytes, 1024 bits, a payload and several bytes as header/trailer. The control for the transmission of the data is included in the packet as a physical transmission medium may only consist of one serial link. If the micro packets become larger, the overhead of the header/tailor is reduced. If a larger granularity unit of transmission (i.e. a micro packet) is used, the power dissipation is reduced. This can be achieved as the data to be transferred is grouped into larger chunks such that the link has to be activated from a sleeping mode less often. Accordingly, less power is required for the activation of the links. It is better to activate the link less often by transferring longer data bursts.
-
FIG. 4 shows a detailed representation of a micro packet μpck according to the first embodiment. Here, a micro packet with best effort BE data is shown. In this particular example, the best effort packets are smaller than the micro packets such that several packets can be included into one micro packet. The micro packet may comprise a micro packet header μhd, while the packets may comprise a packet header hd and a packet payload pl. The micro packet may additionally comprise a micro packet tail μtr. In the representation ofFIG. 4 , it is shown that the best effort packets do not necessarily align with the beginning of a micro packet. The best effort packet may start and end at any place in a micro packet. The best effort packet may fit into a single micro packet or may span over multiple micro packets. -
FIG. 5 shows a basic representation of three slots, comprising best effort BE data or guaranteed GS data. Accordingly, the first slot refers to a best effort slot BES, the second slot refers to a GS slot GSS and the third slot refers to a best effort slot BES. The headers μhd1, μhd2, μhd3 indicate—among others—whether GS or BE data is transferred during the slot. In the first slot being a BE slot BES, three packets of best effort data pck1-pck 3 is transferred during this slot BES. In the second slot GSS, a GS packet GSpck is transferred. As this GS packet GSpck is smaller than the payload of the micro packet μpck, some of the payload of the micro packet μpck will be unused uu. In the third micro packet μpck, the rest of the third packet pck3 and the fourth and fifth packet pck4, pck5 are transferred. In this situation, handling of the GS data is not changed. The handling of the best effort packet is however changed to allow an unaligned transfer of BE packets. In other words, the third packet is transferred as soon as there is space available in one of the micro packets. Here, the space is available in the first best effort slot. As the third packet is, however, larger than the available space in the best effort slot, a part of the third packet pck3 is transferred in the third slot. -
FIG. 6 shows a representation of three time slots. While in the representation ofFIG. 5 , the best effort data is only introduced into those slots which are not occupied by the guaranteed service traffic GS, the previously unused uu space in the GS time slot is now occupied by best effort data, i.e. packet pck3_pck4. The structure of the first best effort slot is not changed with regard toFIG. 5 . The previously unused space uu is now being occupied by the second part of the third packet pck3 and a first part of the fourth packet pck4. The third time slot is now used for the same part of the fourth packet pck4, the fifth and sixth packet pck5, pck6. It is immediately apparent that more data can be transferred according to the representation ofFIG. 6 than according to the representation ofFIG. 5 , as now the previously unused space in the GS slot is now used for best effort data. The best effort packets do not have any constraints regarding the alignment to the start of the micro packets or to the GS data. -
FIG. 7 shows a basic block diagram of an input port inp according to the first embodiment. Such an input port inp may be arranged at the input side of a router or a network interface. When a new packet arrives at the input port inp, a decision has to be taken on the type of the micro packet to decide in which queue the incoming data will be stored. Therefore, the input port inp is associated to a header parsing unit HPU. This header parsing unit HPU maintains a state machine for monitoring the boundaries of the GS data packets and the best effort packet boundaries. The decision to which output port the input port is to be switched is taken based on routing information like the address or the path as stored in the packet header. The best effort packets are only allowed to switch to the output ports as long as the GS data is not hindered or influenced. In other words, a best effort packet may only be switched to the output port when the input as well as the output ports are not used by GS data. - The header parsing unit HPU is connected to a separate buffer GSB for GS data and a separate buffer BEB for BE data. The GS data may be transferred according to the slot reservations in the slot table. The best effort data is transferred when the GS traffic does not use the links or switches. The header parsing unit HPU monitors the micro packet headers μhd to separate the GS data and the BE data and to forward them into the corresponding buffers or queues GSB, BEB. The header parsing unit HPU monitors the type of the micro packet μpck. If the micro packet μpck is of a GS type, the following payload relates to a GS data stream. The number of the GS words in the payload may be presented by a GS length field being part of the micro packet header μhd. If the GS length is less than the length of the micro packet payload, then there is unused space in the payload of the micro packet which may be used by best effort packets.
-
FIG. 8 shows a representation of the state machine of the header parsing unit. As more than one best effort packet can be transferred during a micro packet μpck the state machine of the header parsing unit HPU must be active not only at the beginning of a micro packet μpck, but also within the micro packet μpck in order to detect a new best effort packet. For example, in the situation described according toFIG. 6 , three best effort packets pck1-pck3 start during the first best effort slot BES. - In step S1, the number of words left in the slot slot_word_left is set to the length of the payload PAYLOAD_LENGTH (the micro-packet length of e.g., 128 bytes) and the numbers of the left packet word pck_word_left left in the packet is set to zero. In step S2, the type of the micro packet μpck is determined If the micro packet μpck relates to GS traffic, the flow continues to step S3, where a number of GS words is transferred into the buffer GSB for the GS data. In step S4, the number of GS words transferred to the buffer GSB is substracted from the left slot words slot_word_left and the flow jumps to step S5.
- If the type of the micro packet μpck is related to a best effort BE traffic, the flow continues to step S5. Here, the number of words left in the slots slot_word_left is determined. If the number of slot_word_left equals zero, the flow jumps to step S2. However, if the slot_word_left is larger than zero, then the flow jumps to step S6. Here, the number of words left in the packet pck_word_left is determined. If the numbers of words left in the packet pck_word_left is larger than zero, then the flow continues to step S7. Here, a word is transferred into the best effort buffer BEB. Then the flow continues to step S8 where the number of words left in the packet pck_left is decreased. The flow continues at step S12. However, if in step S6 it is determined that the number of words left in the packet pck_word_left is zero, then the flow continues at step S9, where the packet type is determined. If the packet is not used, the flow continues to step S12. However, if the packet relates to a best effort packet, the flow continues at step 10, where the word is transferred into the BE buffer BEB and the flow continues to step S11. Here, the pck_word_left is set to the length of the packet pck_length. At step S12, slot_word_left is decremented.
- In other words, there is still space left for a best effort packet in the micro packet μpck if the numbers of words left in the slots slot_word_left is greater than zero. This may occur when (a) the type of the micro packet is a BE and (b) the micro packet is of a GS type but this micro packet μpck has only been partly filled with GS data such that there is still room left in the micro packet μpck. In such a case, the state machine monitors whether a packet boundary is present, i.e. the words left in the packet pck_word_left equals zero, or whether there is an ongoing packet, i.e. pck_word_left>0. If a data word is transferred to the best effort buffer BEB, the packet and the micro packet states are updated in the counters pck_word_left and slot_word_left.
- If a packet is finished, i.e. pck_word_left=0, a new packet can start, wherein the packet type should be a best effort or no data is transmitted when the packet type is unused. If a new packet is started, the data is transferred into the BE buffer BEB and the packet length is saved in order to maintain the state of the packet. If the packet type is BE or unused, the slot state is updated such that it can be determined whether one or more words of the micro packet have been transferred.
- Instead of using the packet length to maintain the packet state, any other alternative scheme to maintain the packet state may be used. One example is the 8b10b encoding which is used on serial lines like a PCI Express protocol. In such a case, the start of packet and/or end of packet states may be encoded for signaling the packet boundaries. If a network comprises separated control lines, the start of packet and/or end of packet may be signaled on these control lines.
- It should be noted also that in the state machine described in
FIG. 8 , the GS data is aligned at the beginning of the micro packet. An alternative is to align the GS data at the end of the micro packet to decrease the latency of the BE packets. Placing the GS data in a block at an arbitrary position in the micro packet is also possible, however more information is then needed: e.g., in the micro packet header an offset of the GS data block needs to be specified in addition to its length. It is also possible to arbitrarily spread the GS data in the micro packet, however this would require more complex state machines and more overhead in the protocol to specify where the GS data occurs. -
FIG. 9 shows a block diagram of a router according to the first embodiment. Here, several input ports inp are shown, each with a header parsing unit HPU and its associated buffers GSB, BEB, which are connected to a switch. The router may furthermore comprise an arbiter ARB. The best effort buffers BEB and the GS buffers GSB are used as inputs to the switch SW of the router. Such an arrangement represents an input-queued router. Alternatively to a direct coupling of the buffers to the switch SW, the buffers may also be coupled to the switch via a multiplexer. - It should be noted that although the principles of the invention have been described with regard to a GS traffic and a BE traffic, more than these two traffic classes can be present. For example, more than one BE traffic class can be present. Such a situation can be implemented by merely extending the number of buffers associated to a header parsing unit HPU.
- Although in the above, the queuing of data has been described with regard to buffers, also other queuing schemes may be possible. One example thereof can be the virtual output queuing by instantiating queues per pair of input/output ports. All of the queues of an input port can be grouped in a single memory. Output queuing can be implemented by allowing the data to be routed through a switch to an output port as separating the GS data from the BE data at the output port.
-
FIG. 10 shows a representation of a state machine for an arbiter within the structure ofFIG. 9 . In step S50, it is determined whether a slot boundary is present. If a slot boundary is present, the slot reservations may change. For this reason, in step S51, the arbiter suspends the ongoing BE traffic for which the ports serve GS traffic. The arbiter also resumes the BE traffic for which ports have become unused. If the best effort traffic is stopped, the best effort packet state is saved such that the best effort traffic can be resumed later on. When a packet is resumed, an extra (redundant) header may be added to indicate packet continuation to make the protocol more robust and flexible. In step 52, the switch is set to serve the existing GS traffic for which the current slot has been reserved. In step S53, the transferring of the BE packets is continued as soon as both required input and output ports become available. This may occur when GS data requiring these slots have finished during the particular slot or when a new slot starts where the ports in question are not used anymore. At the boundaries of a BE packet, the packets from different input ports may require the same output ports. Therefore, an arbitration scheme is required to solve this kind of contention. The required arbitration scheme may be any scheme known from the prior art. Examples may be a round robin scheme, a weighted-round robin scheme, a priority-based scheme, a rate-based scheme or a deadline-based scheme. - Instead of being only active at any transfer of a micro packet μpck (at the beginning), the arbiter ARB needs to be active at the transfer of each word to detect a new BE packet pck. Although this will result in a higher power consumption for the arbitration, this extra power consumption is marginal as the state machine required for such an arbiter is very simple and does therefore require very little extra power. The actual power saving resulted from the improved utilization of the links will be larger than the power consumption induced by the amended arbiter. Accordingly, the overall system power will be reduced with an arbitration scheme described above.
- The arbiter's state machine according to
FIG. 10 is shown for the case in which the GS data is aligned to the beginning of the micro packet. As mentioned before, alternatives exist, including aligning the GS data at the end of the micro packet, or allowing the GS data at an arbitrary position in the micro packet. - Although the principles of the invention have been described above with regard to a network environment using serial links, the basic principles of the invention may also be applied to any slot-based network interconnect like on-chip interconnects, inter-chip interconnects, interconnects on a board or interconnects of a computer network. The basic principles of the invention are advantageous for such networks where the slots are to be enlarged for example to lower the power consumption while ensuring that the slots can be used more efficiently.
-
FIG. 11 shows a block diagram of an electronic device according to the second embodiment. The electronic device (like a mobile phone) comprises a modem MD, a computation accelerator CA, a host unit HU, a media accelerator MA, a camera CAM, a display DISP, a mass storage MS and possibly an external device ED. The computation accelerator CA, the host HU and the media accelerator are each merged in the same chip with a switch (SW0, SW1, SW2, respectively). The switch may be embodied as described according toFIG. 7 orFIG. 9 . The structure of the communication within the electronic device according toFIG. 11 corresponds substantially to the communication according to the first embodiment. In particular, the data is transferred among the different units of the electronic device based on packets pck. The data is transferred during time slots, wherein the amount of data transferred during one time slot corresponds to a micro packet μpck as described according to the first embodiment. The packets pck and the micro packets μpck correspond to the packets pck and the micro packets μpck according to the first embodiment. Accordingly, several best effort packets pck1-pck3 can be transferred within a single micro packet μpck. - The above described time slot allocation can be applied to any data processing device comprising several separated integrated circuits or multi-chip networks, as well as to a network on a single chip.
- The methods described herein can be applied also to different communication resource reservation schemes such as rate-based (rate-controlled) or deadline-based schemes, implemented with e.g. input, output, input-output, and/or virtual circuit/channel buffering schemes.
- It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word “comprising” does not exclude the presence of elements or steps other than those listed in a claim. The word “a” or “an” preceding an element does not exclude the presence of a plurality of such elements. In the device claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
- Furthermore, any reference signs in the claims shall not be constrained as limiting the scope of the claims.
Claims (10)
1. Electronic device, comprising:
an interconnect means (N, sw0-sw2) for connecting a plurality of modules (IP); and
at least one network interface (NI) for coupling at least one of the plurality of modules (IP) to the interconnect means (N; sw0-sw2) and for packetizing data from the modules (IP) into first packets (pck);
wherein the communication over the interconnect (N; sw0-sw2) is based on time slots, wherein a second packet (μpck) is transferred during one time slot;
wherein a data traffic over the interconnect means (N; sw0-sw2) comprises at least one guaranteed service traffic class (GS) and/or at least one best-effort service traffic class (BE);
wherein first packets (GSpck) relating to the at least one guaranteed service traffic class (GS) are transferred in second packets (μpck) within time slots reserved for the guaranteed service traffic class (GS);
wherein first packets (pck1-pck6) relating to the at least one best-effort service traffic class (BE) are transferred within unreserved second packets (μpck) and/or within unused portions (uu) of the second packets (μpck).
2. (canceled)
3. Electronic device according to claim 1 , wherein
the first packets (GSpck) relating to the at least one guaranteed service traffic class (GS) are aligned to a beginning or an end of a second packet (μpck).
4. (canceled)
5. Electronic device according to claim 2 , wherein
the interconnect means (N, sw0-sw2) comprises at least one router (R) for routing the second packets (μpck) through the interconnect means (N, sw0-sw2),
wherein at least one router (R) and the at least one network interface (NI) are coupled providing links;
wherein the second packets (μpck) form link-level data units.
6. Electronic device according to claim 5 , further comprising
at least one header parsing unit (HPU) for parsing the second packets (μpck), wherein the header parsing unit (HPU) is active for every word of the second packets (μpck).
7. Electronic device according to claim 6 , wherein
a header parsing unit (HPU) is associated to each link.
8. Mobile device comprising
an interconnect means (N, sw0-sw2) for connecting a plurality of modules (IP);
at least one network interface (NI) for coupling at least one of the plurality of modules (IP) to the interconnect means (N; sw0-sw2) and for packetizing data from the modules (IP) into first packets (pck);
wherein the communication over the interconnect (N; sw0-sw2) is based on time slots, wherein a second packet (μpck) is transferred during one time slot;
wherein a data traffic over the interconnect means (N; sw0-sw2) comprises at least one guaranteed service traffic class (GS) and/or at least one best-effort service traffic class (BE);
wherein first packets (GSpck) relating to the at least one guaranteed service traffic class (GS) are transferred in second packets (μpck) within time slots reserved for the guaranteed service traffic class (GS);
wherein first packets (pck1-pck6) relating to the at least one best-effort service traffic class (BE) are transferred within unreserved second packets (μpck) and/or within unused portions (uu) of the second packets (μpck).
9. Method of communication resource allocation within an electronic device having an interconnect means (N, sw0-sw2) for connecting a plurality of modules (IP); and at least one network interface (NI) for coupling at least one of the plurality of modules (IP) to the interconnect means (N; sw0-sw2) and for packetizing data from the modules (IP) into first packets (pck), wherein a data traffic over the interconnect means (N; sw0-sw2) comprises at least one guaranteed service traffic class (GS) and/or at least one best-effort service traffic class (BE), comprising the steps of:
communicating over the interconnect (N; sw0-sw2) based on time slots, wherein a second packet (μpck) is transferred during one time slot;
transferring first packets (GSpck) relating to the at least one guaranteed service traffic class (GS) in second packets (μpck) within time slots reserved for the guaranteed service traffic class (GS); and
transferring first packets (pck1-pck6) relating to the at least one best-effort service traffic class (BE) within unreserved second packets (μpck) and/or within unused portions (uu) of the second packets (μpck).
10. Data processing system, comprising:
an interconnect means (N, sw0-sw2) for connecting a plurality of modules (IP);
at least one network interface (NI) for coupling at least one of the plurality of modules (IP) to the interconnect means (N; sw0-sw2) and for packetizing data from the modules (IP) into first packets (pck);
wherein the communication over the interconnect (N; sw0-sw2) is based on time slots, wherein a second packet (μpck) is transferred during one time slot;
wherein a data traffic over the interconnect means (N; sw0-sw2) comprises at least one guaranteed service traffic class (GS) and/or at least one best-effort service traffic class (BE);
wherein first packets (GSpck) relating to the at least one guaranteed service traffic class (GS) are transferred in second packets (μpck) within time slots reserved for the guaranteed service traffic class (GS);
wherein first packets (pck1-pck6) relating to the at least one best-effort service traffic class (BE) are transferred within unreserved second packets (μpck) and/or within unused portions (uu) of the second packets (μpck).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/193,035 US20110286422A1 (en) | 2005-06-03 | 2011-07-28 | Electronic device and method of communication resource allocation |
Applications Claiming Priority (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP05300450.3 | 2005-06-03 | ||
EP05300450 | 2005-06-03 | ||
PCT/IB2006/051776 WO2006129294A1 (en) | 2005-06-03 | 2006-06-02 | Electronic device and method of communication resource allocation. |
US91574607A | 2007-11-28 | 2007-11-28 | |
US13/193,035 US20110286422A1 (en) | 2005-06-03 | 2011-07-28 | Electronic device and method of communication resource allocation |
Related Parent Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/IB2006/051776 Continuation WO2006129294A1 (en) | 2005-06-03 | 2006-06-02 | Electronic device and method of communication resource allocation. |
US91574607A Continuation | 2005-06-03 | 2007-11-28 |
Publications (1)
Publication Number | Publication Date |
---|---|
US20110286422A1 true US20110286422A1 (en) | 2011-11-24 |
Family
ID=37023943
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/915,746 Expired - Fee Related US8014401B2 (en) | 2005-06-03 | 2006-06-02 | Electronic device and method of communication resource allocation |
US13/193,035 Abandoned US20110286422A1 (en) | 2005-06-03 | 2011-07-28 | Electronic device and method of communication resource allocation |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/915,746 Expired - Fee Related US8014401B2 (en) | 2005-06-03 | 2006-06-02 | Electronic device and method of communication resource allocation |
Country Status (7)
Country | Link |
---|---|
US (2) | US8014401B2 (en) |
EP (1) | EP1891778B1 (en) |
JP (1) | JP2008546298A (en) |
CN (1) | CN101189843B (en) |
AT (1) | ATE426981T1 (en) |
DE (1) | DE602006005925D1 (en) |
WO (1) | WO2006129294A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130195210A1 (en) * | 2012-01-27 | 2013-08-01 | Marvell World Trade Ltd | Chip-to-chip communications |
US11483240B2 (en) | 2018-02-28 | 2022-10-25 | Wago Verwaltungsgesellschaft Mit Beschraenkter Haftung | Master-slave bus system and method for operating a bus system |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8218559B2 (en) * | 2007-05-15 | 2012-07-10 | Nokia Corporation | Providing best effort services via a digital broadcast network using data encapsulation |
JP5011184B2 (en) * | 2008-03-26 | 2012-08-29 | ルネサスエレクトロニクス株式会社 | Time zone reservation type network system, frame transfer method, and network device |
CN102640462B (en) * | 2009-11-11 | 2015-12-09 | 新思科技有限公司 | Integrated circuit for Buffering Service request is arranged |
CN101924702A (en) * | 2010-08-26 | 2010-12-22 | 华为技术有限公司 | Service data transmission method and device |
WO2012056537A1 (en) * | 2010-10-27 | 2012-05-03 | 三菱電機株式会社 | Programmable controller |
JP5621588B2 (en) * | 2010-12-28 | 2014-11-12 | 富士通株式会社 | Communication device, relay device, and network system |
US10445287B2 (en) | 2013-09-12 | 2019-10-15 | Empire Technology Development Llc | Circuit switch pre-reservation in an on-chip network |
US10644958B2 (en) | 2016-01-30 | 2020-05-05 | Western Digital Technologies, Inc. | All-connected by virtual wires network of data processing nodes |
US10222992B2 (en) | 2016-01-30 | 2019-03-05 | Western Digital Technologies, Inc. | Synchronization method and apparatus for an interconnection network using parallel-headerless TDMA routing |
US10860503B2 (en) * | 2019-05-02 | 2020-12-08 | Keyssa Systems, Inc. | Virtual pipe for connecting devices |
TW202306365A (en) | 2021-07-29 | 2023-02-01 | 韓商愛思開海力士有限公司 | Method for data processing of frame receiving of an interconnection protocol and storage device |
CN114173359B (en) * | 2021-12-09 | 2023-07-14 | 重庆邮电大学 | Heterogeneous network resource scheduling method used in industrial Internet of things environment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6804251B1 (en) * | 1998-11-12 | 2004-10-12 | Broadcom Corporation | System and method for multiplexing data from multiple sources |
US7359318B2 (en) * | 2002-03-05 | 2008-04-15 | International Business Machines Corporation | Method and systems for ordered dynamic distribution of packet flows over network processing means |
US7480293B2 (en) * | 2004-02-05 | 2009-01-20 | Qlogic, Corporation | Method and system for preventing deadlock in fibre channel fabrics using frame priorities |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5583990A (en) * | 1993-12-10 | 1996-12-10 | Cray Research, Inc. | System for allocating messages between virtual channels to avoid deadlock and to optimize the amount of message traffic on each type of virtual channel |
US5526344A (en) * | 1994-04-15 | 1996-06-11 | Dsc Communications Corporation | Multi-service switch for a telecommunications network |
US5675573A (en) * | 1995-03-22 | 1997-10-07 | Lucent Technologies Inc. | Delay-minimizing system with guaranteed bandwidth delivery for real-time traffic |
US6151318A (en) * | 1998-07-06 | 2000-11-21 | Motorola, Inc. | Method and apparatus for encapsulating ATM cells in a broadband network |
JP3246457B2 (en) * | 1998-11-13 | 2002-01-15 | 日本電気株式会社 | Priority reservation scheduling method and method |
US7613183B1 (en) * | 2000-10-31 | 2009-11-03 | Foundry Networks, Inc. | System and method for router data aggregation and delivery |
DE10062303C2 (en) * | 2000-12-14 | 2002-11-28 | Layers Ag 7 | Method for operating an ad hoc network for wireless data transmission of synchronous and asynchronous messages |
US20020085565A1 (en) | 2000-12-28 | 2002-07-04 | Maple Optical Systems, Inc. | Technique for time division multiplex forwarding of data streams |
FR2820921A1 (en) | 2001-02-14 | 2002-08-16 | Canon Kk | DEVICE AND METHOD FOR TRANSMISSION IN A SWITCH |
US7486685B2 (en) * | 2001-06-29 | 2009-02-03 | Rankin Linda J | System for sharing channels by interleaving flits |
US6980513B2 (en) * | 2001-09-24 | 2005-12-27 | Transwitch Corporation | Methods and apparatus for the fair allocation of bandwidth among MCR and best effort service connections in an ATM switch |
WO2004034173A2 (en) * | 2002-10-08 | 2004-04-22 | Koninklijke Philips Electronics N.V. | Integrated circuit and method for exchanging data |
JP2007500985A (en) * | 2003-05-14 | 2007-01-18 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Time division multiplexing circuit switching router |
-
2006
- 2006-06-02 WO PCT/IB2006/051776 patent/WO2006129294A1/en not_active Application Discontinuation
- 2006-06-02 EP EP06756052A patent/EP1891778B1/en not_active Not-in-force
- 2006-06-02 CN CN2006800196097A patent/CN101189843B/en not_active Expired - Fee Related
- 2006-06-02 AT AT06756052T patent/ATE426981T1/en not_active IP Right Cessation
- 2006-06-02 DE DE602006005925T patent/DE602006005925D1/en active Active
- 2006-06-02 JP JP2008514293A patent/JP2008546298A/en active Pending
- 2006-06-02 US US11/915,746 patent/US8014401B2/en not_active Expired - Fee Related
-
2011
- 2011-07-28 US US13/193,035 patent/US20110286422A1/en not_active Abandoned
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6804251B1 (en) * | 1998-11-12 | 2004-10-12 | Broadcom Corporation | System and method for multiplexing data from multiple sources |
US7359318B2 (en) * | 2002-03-05 | 2008-04-15 | International Business Machines Corporation | Method and systems for ordered dynamic distribution of packet flows over network processing means |
US7480293B2 (en) * | 2004-02-05 | 2009-01-20 | Qlogic, Corporation | Method and system for preventing deadlock in fibre channel fabrics using frame priorities |
Non-Patent Citations (1)
Title |
---|
Dielissen et al. ("Concepts and Implementaion of Phillips Network-on-Chip"); 2003; pages 1-6. * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130195210A1 (en) * | 2012-01-27 | 2013-08-01 | Marvell World Trade Ltd | Chip-to-chip communications |
US9264368B2 (en) * | 2012-01-27 | 2016-02-16 | Marvell World Trade Ltd. | Chip-to-chip communications |
US11483240B2 (en) | 2018-02-28 | 2022-10-25 | Wago Verwaltungsgesellschaft Mit Beschraenkter Haftung | Master-slave bus system and method for operating a bus system |
Also Published As
Publication number | Publication date |
---|---|
CN101189843B (en) | 2011-06-15 |
US20090016338A1 (en) | 2009-01-15 |
US8014401B2 (en) | 2011-09-06 |
EP1891778B1 (en) | 2009-03-25 |
CN101189843A (en) | 2008-05-28 |
DE602006005925D1 (en) | 2009-05-07 |
ATE426981T1 (en) | 2009-04-15 |
JP2008546298A (en) | 2008-12-18 |
EP1891778A1 (en) | 2008-02-27 |
WO2006129294A1 (en) | 2006-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8014401B2 (en) | Electronic device and method of communication resource allocation | |
US10853282B2 (en) | Arbitrating portions of transactions over virtual channels associated with an interconnect | |
JP4560409B2 (en) | Integrated circuit and method for exchanging data | |
US20080205432A1 (en) | Network-On-Chip Environment and Method For Reduction of Latency | |
US7352694B1 (en) | System and method for tolerating data link faults in a packet communications switch fabric | |
US7924708B2 (en) | Method and apparatus for flow control initialization | |
US7826460B2 (en) | Network-on-chip apparatus, and method for controlling dynamic frequency for the same | |
US20080186998A1 (en) | Network-On-Chip Environment and Method for Reduction of Latency | |
US7643477B2 (en) | Buffering data packets according to multiple flow control schemes | |
US20080232387A1 (en) | Electronic Device and Method of Communication Resource Allocation | |
US20040037313A1 (en) | Packet data service over hyper transport link(s) | |
US20090122703A1 (en) | Electronic Device and Method for Flow Control | |
JP3322195B2 (en) | LAN switch | |
EP1728364A1 (en) | Integrated circuit and method of communication service mapping | |
US20080123666A1 (en) | Electronic Device And Method Of Communication Resource Allocation | |
US20020172221A1 (en) | Distributed communication device and architecture for balancing processing of real-time communication applications | |
US20020172197A1 (en) | System interconnect with minimal overhead suitable for real-time applications | |
US8045573B2 (en) | Bit ordering for packetised serial data transmission on an integrated circuit | |
Ferrer et al. | Quality of Service in NoC for Reconfigurable Space Applications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |