<p>Provided is a semiconductor device capable of obtaining system configurations corresponding to various PCIe topologies. A RAM (14) stores configuration registers that define the function information of PCIe devices. A Link control unit (23) decodes a request received from a PCIe host (2) and outputs the decoded result to a CPU (13). The CPU (13) reads the corresponding configuration register from the RAM (14) in response to the decoded result received from the Link control unit (23), generates a response corresponding to the request, and instructs the Link control unit (23) to transmit the response. Accordingly, it is possible to obtain system configurations corresponding to various PCIe topologies.</p>