CROSS-REFERENCE TO RELATED APPLICATION

This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2020-122158, filed on Jul. 16, 2020, the entire contents of which are incorporated herein by reference.

FIELD

The embodiment discussed herein is related to a semiconductor device.

BACKGROUND

First-in, first-out (FIFO) is known as a buffer control method. In FIFO, data written first is fetched first.

In write and read control for a buffer, FIFO is an approach that may be achieved with a plain configuration, only needs a small amount of calculation, and is easy to implement. For example, Japanese Laid-open Patent Publication No. 2009-21872 and the like are disclosed.

SUMMARY

According to an aspect of the embodiments, a semiconductor device includes a semiconductor device includes a memory device configured to have a first buffer and a second buffer, the first buffer storing a plurality of requests sent to a plurality of destinations, the second buffer storing identification information of the entry associated with a first destination of a first request written to first buffer; and an entry selector configured to identify the first destination from the plurality of destinations when the identification information of the entry is stored in the second buffer, and to read the first request from the plurality of requests stored in the first buffer by using the first destination.

The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention.

