Semiconductor Device

The semiconductor device optimizes FIFO buffer control by using multiple second buffers and arbitration to prioritize subsequent requests, ensuring efficient data transmission even when earlier requests are pending.

JP7547825B2Active Publication Date: 2024-09-10FUJITSU LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2020122158
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-07-16
Publication Date
2024-09-10
Estimated Expiration
2040-07-16

AI Technical Summary

Technical Problem

In First In, First Out (FIFO) buffer control methods, when a destination buffer has no free space, subsequent requests cannot be read until earlier requests are cleared, leading to increased waiting times and reduced processing capacity.

Method used

A semiconductor device with a first buffer and multiple second buffers for each destination, where identification information is stored for each entry, allowing requests to be sent to available destinations through arbitration, ensuring subsequent requests can be prioritized and sent even if earlier requests are pending.

Benefits of technology

This approach prevents a decrease in processing capacity by enabling subsequent requests to bypass earlier pending requests, maintaining efficient data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007547825000008
    Figure 0007547825000008
  • Figure 0007547825000007
    Figure 0007547825000007
  • Figure 0007547825000005
    Figure 0007547825000005
Patent Text Reader

Abstract

To suppress deterioration of a processing capability even when transmission to an address of a preceding request is impossible.SOLUTION: When writing a request to first buffer 2, identification information of an entry in the first buffer 2 to which the request is written is stored in a second buffer 6 corresponding to a destination of the request. When the identification information of the entry is stored in the second buffer 6, the destination to which the request is transmitted is determined by arbitrating a destination 50 to which the transmission of the request is judged available. The request is read from entry identified by the identification information of the entry acquired from the second buffer 6 corresponding to the determined destination 50 in the first buffer 2.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a semiconductor device. [Background technology]

[0002] A known method of controlling a buffer is the First In, First Out (FIFO) method, in which the data written first is taken out first.

[0003] In controlling the writing and reading of a buffer, the FIFO is an easy-to-implement technique that can be realized with a simple configuration and requires a small amount of calculation. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2009-21872 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, in the case of FIFO, if a situation occurs in which a request previously written to the buffer cannot be sent to its destination, the request subsequently written to the buffer cannot be read until the previously written request is read. FIG. 8 is a diagram for explaining buffer control using FIFO.

[0006] In Fig. 8, three destination buffers, destination #0 buffer, destination #1 buffer, and destination #2 buffer, are arranged downstream of the FIFO buffer. The destination #1 buffer and destination #2 buffer are both free, but the destination #0 buffer is full. A request to be stored in the destination #0 buffer is stored at the top of the FIFO buffer, and a request to be stored in the destination #1 buffer is stored following the request to the destination #0 buffer.

[0007] The destination #0 resource management, destination #1 resource management, and destination #2 resource management manage the free space status of the destination #0 buffer, destination #1 buffer, and destination #2 buffer, and notify the FIFO buffer when there is no free space.

[0008] In this state, the destination #0 buffer has no free space, so a request to the destination #0 buffer cannot be read from the FIFO buffer. On the other hand, the destination #1 buffer has free space, but a request to the destination #1 buffer cannot be read unless the preceding request to the destination #0 buffer is first read from the FIFO buffer.

[0009] This increases the waiting time until a request can be read from the destination #1 buffer, which causes a problem of reducing the processing capacity on the transmission path where the destination #1 buffer is located. In one aspect, the present invention aims to suppress a decrease in processing capacity even when a preceding request cannot be transmitted to its destination. [Means for solving the problem]

[0010] For this reason, this semiconductor device includes a first buffer into which a plurality of requests to be sent to a plurality of destinations are written, and a plurality of second buffers provided for each of the destinations, and when a request is written into the first buffer, identification information of an entry in the first buffer into which the request has been written is stored in the second buffer corresponding to the destination of the request, and when the identification information of the entry is stored in the second buffer, generating a first signal regarding arbitration participation, when there is free space in a data storage area at the destination corresponding to the second buffer; Sending the request to the destination but Possible It is said that and determined that the request can be sent. a second signal regarding permission to participate in arbitration is generated when the first signal and the second signal are received, and a destination for which arbitration is to be performed is selected by the first signal and the second signal; A destination to which the request is sent is determined by performing arbitration regarding the destination, and the request is read from an entry in the first buffer that is identified by identification information of the entry obtained from the second buffer that corresponds to the determined destination. Effect of the Invention

[0011] According to one embodiment, even when it is impossible to transmit a preceding request to its destination, a decrease in processing capacity can be suppressed. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a diagram illustrating a configuration of a buffer control system according to an embodiment; [Diagram 2] FIG. 2 is a diagram for explaining a process in a buffer control system as an example of an embodiment. [Diagram 3] FIG. 2 is a diagram for explaining a process in a buffer control system as an example of an embodiment. [Figure 4] FIG. 2 is a diagram for explaining a process in a buffer control system as an example of an embodiment. [Diagram 5] FIG. 2 is a diagram for explaining a process in a buffer control system as an example of an embodiment. [Figure 6] FIG. 2 is a diagram for explaining a process in a buffer control system as an example of an embodiment. [Figure 7] FIG. 2 is a diagram for explaining a process in a buffer control system as an example of an embodiment. [Figure 8] FIG. 13 is a diagram for explaining buffer control using a FIFO. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Hereinafter, an embodiment of the present semiconductor device will be described with reference to the drawings. However, the embodiments shown below are merely examples, and there is no intention to exclude the application of various modified examples and techniques not explicitly stated in the embodiments. In other words, the present embodiment can be modified in various ways without departing from the spirit of the present invention. In addition, each figure does not intend to include only the components shown in the figure, but can include other functions, etc.

[0014] (A) Configuration FIG. 1 is a diagram illustrating a schematic configuration of a buffer control system 1 according to an embodiment.

[0015] The buffer control system 1 is a semiconductor device that temporarily stores a request transmitted from a transmission source (not shown) and then transfers the request to a destination buffer 50. A request may be referred to as data.

[0016] 1, the destination buffer 50 includes a destination #0 buffer 50-1, a destination #1 buffer 50-2, and a destination #2 buffer 50-3. The destination #0 buffer 50-1, the destination #1 buffer 50-2, and the destination #2 buffer 50-3 each include multiple memory areas (storage areas) (four in the example shown in FIG. 1), and a request transmitted from a transmission source is stored in one of these memory areas.

[0017] Hereinafter, when there is no particular distinction between destination #0 buffer 50-1, destination #1 buffer 50-2, and destination #2 buffer 50-3, they will be referred to as destination buffers 50. Of the multiple storage areas provided in destination buffer 50, a storage area in which no data is stored may be referred to as a free area.

[0018] As shown in FIG. 1, the buffer control system 1 includes a buffer 2, an entry number management unit 3, a destination #0 entry number management unit 4-1, a destination #1 entry number management unit 4-2, a destination #2 entry number management unit 4-3, write / read pointers 5-1 to 5-3, entry number buffers 6-1 to 6-3, a destination determination unit 7, a destination resource management unit 8, arbitration participation control units 9-1 to 9-3, an arbitration unit 10, and an entry selector 11.

[0019] The buffer 2 is a storage device (memory) that temporarily stores a request (data) that is transmitted from a transmission source and is to be transferred to a destination buffer 50. The buffer 2 is realized by, for example, a Random Access Memory.

[0020] The buffer 2 has multiple (eight in the example shown in FIG. 1) memory areas (data storage areas), and requests sent from the sender are stored in these memory areas. These memory areas in the buffer 2 are sometimes called entries. Each entry is identified by an entry number (entry No.), which is unique identification information. Buffer 2 corresponds to a first buffer into which multiple requests are written to be sent to multiple destinations (destination buffer 50).

[0021] A request stored in an entry of the buffer 2 is read out in accordance with an instruction from an entry selector 11, which will be described later, and written into a storage area of ​​a destination buffer 50, which is its destination.

[0022] In addition, in the entry from which the request was read, the stored request is deleted and the entry is put into a state in which no data is stored. In the example shown in Fig. 1, the entry in the state in which no data is stored is displayed as "free". In the buffer 2, an entry in which no data is stored may be called a free entry. Data may be written to and read from the buffer 2 by a buffer control unit (not shown).

[0023] The entry number management unit 3 manages the usage status (free status) of the entries in the buffer 2. The entry number management unit 3 has a plurality of storage areas (eight in the example shown in FIG. 1) corresponding to each entry in the buffer 2. The entry number management unit 3 then stores, for an entry in the buffer 2 in which a request is stored, identification information indicating that data is stored in the corresponding storage area (in the example shown in FIG. 3, this is displayed as "in use"). In this way, the entry number management unit 3 manages which entries in the buffer 2 are in use.

[0024] In addition, the entry number management unit 3 stores identification information indicating that no data (request) is stored in a memory area in the buffer 2 corresponding to an entry in which no request is stored (in the example shown in Figure 1, this is displayed as "free").

[0025] In addition, when the entry number management unit 3 is notified of an entry number together with a release instruction from the entry selector 11 described later, it sets identification information indicating that no data is stored in the memory area corresponding to this entry number (in the state shown in Figure 1, this is "free"). The destination #0 entry number management unit 4-1 manages entries in the buffer 2 that store data whose destination is the destination #0 buffer 50-1. The destination #0 entry number management unit 4-1 includes a write / read pointer 5-1 and an entry number buffer 6-1.

[0026] The entry number buffer 6-1 stores the entry number of an entry that stores data whose destination is the destination #0 buffer 50-1, among the multiple entries provided in the buffer 2. The entry number buffer 6-1 has multiple storage areas (eight in the example shown in FIG. 1), and these storage areas store the entry numbers of entries that store data whose destination is the destination #0 buffer 50-1.

[0027] The entry number buffer 6-1 is FIFO controlled, so that the data that has been stored the longest, that is, the oldest data, is output first. The output of the entry number buffer 6-1 is input to the entry selector 11. That is, in the present buffer control system 1, the order of multiple requests with the same destination is maintained.

[0028] The write / read pointer 5-1 manages the write position and read position of data (the entry number of the entry storing data whose destination is the destination #0 buffer 50-1) in the entry number buffer 6-1. The write / read pointer 5-1 includes a write pointer indicating the write position and a read pointer indicating the read position. The write pointer indicates the storage area (free area) to which data should be written next, among the multiple storage areas included in the entry number buffer 6-1. The read pointer indicates the storage area from which data is to be read next, among a plurality of storage areas provided in the entry number buffer 6-1.

[0029] As described above, data is written to and read from the entry number buffer 6-1 using FIFO control. Therefore, in the write / read pointer 5, the read pointer indicates the position of the storage area in the entry number buffer 6-1 where the oldest data is stored. When unread data is stored in the entry number buffer 6-1, the position indicated by the write pointer and the position indicated by the read pointer differ. On the other hand, when no unread data is stored in the entry number buffer 6-1, the position indicated by the write pointer and the position indicated by the read pointer match.

[0030] The write / read pointer 5-1 inputs an arbitration participation signal to the arbitration participation control unit 9-1 when unread data is stored in the entry number buffer 6-1, i.e., when the position indicated by the write pointer differs from the position indicated by the read pointer.

[0031] On the other hand, the write / read pointer 5-1 suppresses the input of an arbitration participation signal to the arbitration participation control unit 9-1 when there is no unread data stored in the entry number buffer 6-1, i.e., when the position indicated by the write pointer and the position indicated by the read pointer are the same.

[0032] The destination #1 entry number management unit 4-2 manages entries that store data destined for the destination #1 buffer 50-2 in the buffer 2. The destination #1 entry number management unit 4-2 includes a write / read pointer 5-2 and an entry number buffer 6-2.

[0033] The write / read pointer 5-2 and the entry number buffer 6-2 in the destination #1 buffer 50-2 function in the same manner as the write / read pointer 5-1 and the entry number buffer 6-1 in the destination #0 buffer 50-1. For the sake of simplicity, a detailed description of the functions of these components will be omitted.

[0034] The destination #2 entry number management unit 4-3 manages entries that store data whose destination is the destination #2 buffer 50-3 in the buffer 2. The destination #2 entry number management unit 4-3 includes a write / read pointer 5-3 and an entry number buffer 6-3.

[0035] The write / read pointer 5-3 and the entry number buffer 6-3 in the destination #2 buffer 50-3 function in the same manner as the write / read pointer 5-1 and the entry number buffer 6-1 in the destination #0 buffer 50-1. For the sake of simplicity, a detailed description of the functions of these components will be omitted.

[0036] Hereinafter, when the destination #0 entry number management unit 4-1, the destination #1 entry number management unit 4-2, and the destination #2 entry number management unit 4-3 are not differentiated from one another, they may be referred to as per-destination entry management units 4.

[0037] In the following description, when the write / read pointers 5-1 to 5-3 are not differentiated from one another, they may be referred to as write / read pointers 5. Furthermore, when the entry number buffers 6-1 to 6-3 are not differentiated from one another, they may be referred to as entry number buffers 6. The entry number buffers 6-1 to 6-3 correspond to a plurality of second buffers provided for each destination buffer 50.

[0038] In this buffer control system 1, when a request is written to the buffer 2, the entry number of the entry in the buffer 2 to which this request has been written is stored in the entry number buffer 6 corresponding to the destination of the request.

[0039] An entry number management unit 3 is connected to each entry number buffer 6, and the entry number notified from the entry number management unit 3 is stored in a free area indicated by a pointer indicating the write position of the write / read pointer 5. In addition, each entry number buffer 6 is connected to an entry selector 11, which will be described later, and data read from a storage area indicated by a pointer indicating the read position of the write / read pointer 5 is sent to the entry selector 11.

[0040] The destination determination unit 7 identifies the destination (send destination, destination buffer 50) of the request from the sender, and inputs a notification signal (buffer selection signal for destination entry number) to the write / read pointer 5 of the destination entry management unit 4 corresponding to that destination buffer 50.

[0041] In the destination entry management unit 4, the reception of the destination entry number buffer selection signal may be used as a trigger to detect, for example, that data has been written to a free entry in the buffer 2. In other words, the reception of the destination entry number buffer selection signal may be used as a trigger to set an entry number in the entry number buffer 6 and update the write / read pointer 5.

[0042] The destination resource manager 8 manages the usage status of the destination buffer 50. The destination resource manager 8 includes a destination #0 resource manager 8-1, a destination #1 resource manager 8-2, and a destination #2 resource manager 8-3.

[0043] The destination #0 resource manager 8-1 manages the usage status of the destination #0 buffer 50-1. The destination #0 resource manager 8-1 includes a counter that counts the number of memory areas in the destination #0 buffer 50-1 that are being used to store data. When there is free space in the destination #0 buffer 50-1, the destination resource manager 8-1 inputs an arbitration participation permission signal to the arbitration participation controller 9-1, which will be described later.

[0044] The destination #1 resource manager 8-2 manages the usage status of the destination #1 buffer 50-2. The destination #1 resource manager 8-2 includes a counter that counts the number of memory areas in the destination #1 buffer 50-2 that are being used to store data. When there is free space in the destination #1 buffer 50-2, the destination #1 resource manager 8-2 inputs an arbitration participation permission signal to the arbitration participation controller 9-2.

[0045] The destination #2 resource manager 8-3 manages the usage status of the destination #2 buffer 50-3. The destination #2 resource manager 8-3 includes a counter that counts the number of memory areas in the destination #2 buffer 50-3 that are being used to store data. When there is free space in the destination #2 buffer 50-3, the destination #2 resource manager 8-3 inputs an arbitration participation permission signal to the arbitration participation controller 9-3.

[0046] The arbitration unit 10 performs arbitration for a plurality of write requests addressed to different destination buffers 50. The arbitration unit 10 performs arbitration to select one destination (destination buffer 50) for a plurality of write requests addressed to two or more destination buffers 50 among the destination #0 buffer 50-1, the destination #1 buffer 50-2, and the destination #2 buffer 50-3. As a result of the arbitration, the arbitration unit 10 inputs to the entry selector 11 information that identifies the destination (destination buffer 50) that won the arbitration.

[0047] Various known methods may be applied as a method by which the arbitration unit 10 selects one write request (one destination buffer 50) from among the write requests to the multiple destination buffers 50. For example, the arbitration unit 10 may randomly select one write request (one destination buffer 50) from among the write requests to the multiple destination buffers 50. The arbitration unit 10 may also select one write request (one destination buffer 50) from among the write requests to the multiple destination buffers 50 in accordance with a predetermined order. Furthermore, the arbitration unit 10 may set a weight for processing for a specific destination and give priority to the processing.

[0048] In this example, one write request (destination buffer 50) is selected, but the present invention is not limited to this. For example, if parallel writing to multiple destination buffers 50 is possible, two or more write requests (destination buffers 50) may be selected, and the present invention can be modified and implemented as appropriate.

[0049] In addition, when a write request having destination buffer 50 as its destination is input from only one of destination entry management units 4, arbitration unit 10 inputs information identifying the destination (destination buffer 50) of that one write request to entry selector 11.

[0050] In this buffer control system 1, when an entry number is stored in the entry number buffer 6, the arbitration unit 10 determines the destination to which the request is sent by performing arbitration for the destinations to which the arbitration participation control unit 9 described later has determined that the request can be sent.

[0051] The arbitration participation control unit 9-1 determines whether or not to permit arbitration participation in the arbitration participation signal input from the destination #0 entry number management unit 4-1, based on the arbitration participation permission signal transmitted from the destination resource management unit 8-1.

[0052] When an arbitration participation signal is received from the destination #0 entry number management unit 4-1, and an arbitration participation permission signal is input from the destination resource management unit 8-1, the arbitration participation control unit 9-1 inputs a write request (arbitration participation notification) for the destination #0 buffer 50-1 to the arbitration unit 10.

[0053] The arbitration participation control unit 9-2 determines whether or not to permit arbitration participation in the arbitration participation signal input from the destination #1 entry number management unit 4-2, based on the arbitration participation permission signal transmitted from the destination resource management unit 8-2.

[0054] When an arbitration participation signal is received from the destination #1 entry number management unit 4-2, and an arbitration participation permission signal is input from the destination resource management unit 8-2, the arbitration participation control unit 9-2 inputs a write request (arbitration participation notification) for the destination #1 buffer 50-2 to the arbitration unit 10.

[0055] The arbitration participation control unit 9-3 determines whether or not to permit arbitration participation in the arbitration participation signal input from the destination #2 entry number management unit 4-3, based on the arbitration participation permission signal transmitted from the destination resource management unit 8-3.

[0056] When an arbitration participation signal is received from the destination #2 entry number management unit 4-3, and an arbitration participation permission signal is input from the destination resource management unit 8-3, the arbitration participation control unit 9-3 inputs a write request (arbitration participation notification) for the destination #2 buffer 50-3 to the arbitration unit 10.

[0057] Hereinafter, when there is no need to distinguish between the arbitration participation control units 9-1 to 9-3, they will be referred to as the arbitration participation control unit 9. In this buffer control system 1, when an entry number is stored in the entry number buffer 6, the arbitration participation control unit 9 determines whether or not to transmit a request to the destination buffer 50.

[0058] The entry selector 11 is connected to the arbitration unit 10, and receives information on the destination that won the arbitration from the arbitration unit 10. The entry selector 11 is also connected to the entry management units 4 for each destination, and receives an entry number from each of them.

[0059] The entry selector 11 selects an entry number input from the destination-by-destination entry management unit 4 corresponding to a destination that has won arbitration input from the arbitration unit 10. Then, the entry selector 11 causes the buffer 2 to read data from the entry specified by the selected entry number.

[0060] The entry selector 11 causes the request to be read from the entry in the buffer 2 that is specified by the entry number obtained from the entry number buffer 6 that corresponds to the destination buffer 50 determined by the arbitration unit 10 . A request read from an entry in Buffer 2 is stored in destination buffer 50 for the request's destination.

[0061] In addition, the entry selector 11 causes the entry number management unit 3 to set, for the entry from which the stored request has been read and sent to the destination buffer 50, identification information indicating that no request is stored in the memory area corresponding to that entry ("empty" in the state shown in Figure 1).

[0062] The entry selector 11 inputs a release instruction (RLS: release) to the entry number management unit 3 together with information (e.g., entry number) indicating the entry from which the request was read and sent to the destination buffer 50. Based on the entry number notified together with this release instruction, the entry number management unit 3 sets identification information indicating that no request is stored in the storage area corresponding to the entry ("free" in the state shown in FIG. 1).

[0063] (B) Operation The processing in the buffer control system 1 as one example of the embodiment configured as described above will be described with reference to FIGS. First, the process of writing a request to the buffer 2 will be described with reference to Figures 2 to 4. Note that Figure 2 illustrates an initial state of the buffer control system 1.

[0064] 2, all of the memory areas of destination #0 buffer 50-1 are in use and there is no free space. When buffer 2 receives a request addressed to destination #0 buffer 50-1, the request cannot be read from buffer 2 until there is free space in destination #0 buffer 50-1. In this state, it is assumed that a new request is issued from the source to the destination #0 buffer 50-1. First, buffer 2 receives a new request addressed to destination #0 buffer 50-1 (destination #0) from the source (see reference symbol A1 in FIG. 3).

[0065] The buffer control unit checks for an empty entry in the buffer 2 by referring to the entry number management unit 3, and writes the received request to that empty entry (see symbol A2 in FIG. 3). In the example shown in FIG. 3, a new request is written to entry 0.

[0066] At the same time, the entry number management unit 3 sets "in use" to indicate that the request is stored in the storage area corresponding to the entry 0 to which the data has been written (see symbol A3 in FIG. 3).

[0067] In addition, the destination determination unit 7, at the same time as writing the request to an empty entry in the buffer 2 described above, checks the destination of the request and writes the entry number of the entry to which the request was written to the entry number buffer 6-1 corresponding to that destination (in this example, destination #0 buffer 50-1) (see symbol A4 in Figure 3).

[0068] Furthermore, in the destination #0 entry number management unit 4-1, the write / read pointer 5-1 increments the write pointer indicating the write position of the entry number in the entry number buffer 6-1 at the same time as writing data to the free entry in the buffer 2 described above (see symbol A5 in Figure 3).

[0069] In the write / read pointer 5-1, when the write pointer is updated and the position indicated by the write pointer differs from the position indicated by the read pointer, the write / read pointer 5-1 generates an arbitration participation signal for reading and outputs it to the arbitration participation control unit 9-1 (see symbol A6 in Figure 3).

[0070] Here, since there is no free space in the destination #0 buffer 50-1 (see symbol A7 in Figure 3), the arbitration participation permission signal from the destination #0 resource management unit 8-1 is disabled (see symbol A8 in Figure 3), and as a result, arbitration participation is suppressed in the arbitration participation control unit 9-1 (see symbol A9 in Figure 3). It is assumed that a new request is then issued from the source to the destination #1 buffer 50-2. The buffer 2 receives a new request addressed to the destination #1 buffer 50-2 (destination #1 bound) from the source (see reference symbol A10 in FIG. 4).

[0071] The buffer control unit checks for an empty entry in the buffer 2 by referring to the entry number management unit 3, and writes the received request into that empty entry (see reference symbol A11 in FIG. 4).

[0072] At the same time, the entry number management unit 3 sets "in use" to indicate that the request is stored in the storage area corresponding to the entry 1 where the request was written (see reference symbol A12 in FIG. 4).

[0073] In addition, at the same time as writing the request to an empty entry in the buffer 2 described above, the destination determination unit 7 checks the destination of the request and writes the entry number of the entry to which the request was written to the entry number buffer 6-2 corresponding to that destination (in this example, destination #1 buffer 50-2) (see symbol A13 in Figure 4).

[0074] Furthermore, in the destination #1 entry number management unit 4-2, the write / read pointer 5-2 increments the write pointer indicating the write position of the entry number in the entry number buffer 6-2 at the same time as writing the request to the free entry in the buffer 2 described above (see symbol A14 in Figure 4).

[0075] In the write / read pointer 5-2, when the write pointer is updated and the position indicated by the write pointer differs from the position indicated by the read pointer, the write / read pointer 5-2 generates an arbitration participation signal for reading and outputs it to the arbitration participation control unit 9-2 (see symbol A15 in Figure 4).

[0076] Here, since there is free space in the destination #1 buffer 50-2 (see symbol A16 in Figure 4), the arbitration participation permission signal from the destination #1 resource management unit 8-2 is valid (see symbol A17 in Figure 4). As a result, arbitration participation is not suppressed in the arbitration participation control unit 9-2, and arbitration participation occurs (see symbol A18 in Figure 4). After the writing of the request into the buffer 2 has been completed as described above, the request is then read from the buffer 2 as follows. The process of reading a request from the buffer 2 will be described with reference to FIGS.

[0077] The destination-specific entry management unit 4 , whose entry number has been stored in the entry number buffer 6 , outputs to the entry selector 11 the entry number at the position indicated by the read pointer.

[0078] In the example shown in FIG. 5, “entry 0” is output from the entry number buffer 6-1 of the destination #0 entry number management unit 4-1, and “entry 1” is output from the entry number buffer 6-2 of the destination #1 entry number management unit 4-2 to the entry selector 11 (see B1 in FIG. 5).

[0079] The arbitration unit 10 arbitrates between the destinations and determines which destination entry number buffer 6 to select. In the example shown in Fig. 5, since the destination resource management unit 8-1 has not output an arbitration participation permission signal to the arbitration participation control unit 9-1, the request to the destination #1 buffer 50-2 related to the destination #1 entry number management unit 4-2 becomes the winner (see symbol B2 in Fig. 5).

[0080] The entry selector 11 selects the entry number of the destination that won the arbitration. In the example shown in FIG. 5, the entry selector 11 selects entry 1 (see reference character B3 in FIG. 5). The entry selector 11 reads the request at the position indicated by the selected entry number from the buffer 2. In the example shown in FIG. 5, the request is read from entry 1 in the buffer 2 (see reference character B4 in FIG. 5). At this time, the request for destination #1 buffer 50-2, which is subsequently stored in the buffer 2, will be processed first, overtaking the request for destination #0 buffer 50-1, which is previously stored in the buffer 2.

[0081] After reading the request from the buffer 2, the entry selector 11 changes the state of the storage area in the entry number management unit 3 corresponding to the entry number of the entry from which the request was extracted from the buffer 2 from used to free (see symbol B5 in FIG. 6).

[0082] In addition to changing the entry number from in use to free in the entry number management unit 3, the storage area in the buffer 2 corresponding to the entry number from which the request was read is changed to free (see symbol B6 in FIG. 6). This makes the entry in the buffer 2 available for reuse.

[0083] Furthermore, when the entry number management unit 3 changes from in use to free, a counter (not shown) in the destination resource management unit 8-2 is incremented (symbol B7 in FIG. 6).

[0084] Simultaneously with the change from busy to free in the entry number management unit 3, the write / read pointer 5-2 of the destination #1 entry number management unit 4-2, which designates the destination #1 buffer 50-2 as the destination, increments its read pointer (symbol B8 in FIG. 6).

[0085] Furthermore, at the same time as the entry number management unit 3 changes from busy to free, the top storage area of ​​the entry number buffer 6-2 in the destination #1 entry number management unit 4-2 is changed to free (see symbol B9 in FIG. 6).

[0086] Thereafter, the request for reading data from entry 1 of buffer 2 is stored in the storage area of ​​destination #1 buffer 50-2, which is its destination (see symbol B10 in FIG. 7).

[0087] (C) Effects Thus, according to the buffer control system 1 as an example of the embodiment, an entry number buffer 6 is provided for each destination buffer 50. Then, the entry number of the entry in the buffer 2 that stores the request is stored in the entry number buffer 6 corresponding to the destination of the request.

[0088] This allows the subsequent request to be read from buffer 2, overtaking the preceding request, when the preceding request cannot be sent to its destination (e.g., destination #0 buffer 50-1) and the subsequent request can be sent to its destination (e.g., destination #1 buffer 50-2).

[0089] In the destination entry management unit 4, the entry number buffer 6 is FIFO controlled, and the position indicated by the write pointer of the write / read pointer 5 is compared with the position indicated by the read pointer. This makes it possible to easily determine, with a simple configuration, whether or not an entry number is stored in the entry number buffer 6. Therefore, the arbitration participation signal can be output without delay, realizing high-speed processing.

[0090] The arbitration unit 10 arbitrates between a plurality of write requests addressed to different destination buffers 50, and when requests can be sent to a plurality of destination buffers 50, the arbitration unit 10 can efficiently select and process requests from the buffer 2.

[0091] (D) Other The disclosed technology is not limited to the above-described embodiment, and can be modified in various ways without departing from the spirit of the present embodiment. Each configuration and each process of the present embodiment can be selected as needed, or can be combined as appropriate. Furthermore, the above disclosure enables a person skilled in the art to implement and manufacture the present embodiment. [Explanation of symbols]

[0092] 1. Buffer Control System 2. Buffer 3 Entry Number Management Section 4. Destination entry management section 4-1 Destination #0 entry number management section 4-2 Destination #1 entry number management section 4-3 Destination #2 entry number management section 5-1~5-3,5 Write / Read Pointer 6-1~6-3,6 Entry number buffer 7 Destination determination section 8 Destination Resource Management Unit 8-1 Destination #0 Resource Management Department 8-2 Destination #1 Resource Management Department 8-3 Destination #2 Resource Management Department 9-1~9-3,9 Mediation Participation Control Unit 10 Mediation Department 11 Entry Selector 50-1 Destination #0 buffer 50-2 Destination #1 buffer 50-3 Destination #2 buffer 50 destination buffers

Claims

1. a first buffer into which a plurality of requests to be sent to a plurality of destinations are written; a plurality of second buffers provided for each of the destinations; when writing a request into the first buffer, storing, in the second buffer corresponding to a destination of the request, identification information of an entry in the first buffer into which the request has been written; generating a first signal regarding arbitration participation when the identification information of the entry is stored in the second buffer; determining that the request can be transmitted to the destination when there is free space in a data storage area at the destination corresponding to the second buffer, and generating a second signal regarding permission to participate in arbitration when it is determined that the request can be transmitted; selecting a destination for arbitration based on the first signal and the second signal, and determining a destination to which the request is to be sent by arbitrating the selected destination; Reading the request from an entry in the first buffer that is identified by identification information of the entry obtained from the second buffer that corresponds to the determined destination. A semiconductor device comprising:

2. The second buffer is FIFO controlled.

2. The semiconductor device according to claim 1.

3. read position information indicating a position of the identification information of the oldest entry in the second buffer, and write position information indicating a position of an empty area in the second buffer into which the next request is to be written; The semiconductor device according to claim 2 , comprising:

4. Managing the usage state for each entry of the first buffer.

4. The semiconductor device according to claim 1, wherein the first and second electrodes are electrically connected to each other.

Citation Information

Patent Citations

  • ATM switch

    JP1998065674A

  • Atm communication equipment

    JP1999074894A

  • Packet switch device and multicast transmitting method

    JP2002281080A

  • Packet transmitting method and apparatus

    JP2009021872A

  • Router and transfer method

    JP2013005080A