Information processing device and information processing device control method
The described information processing device optimizes data transfer and processing speed by using a series of IC chips with address conversion, enhancing efficiency and speed through reduced packet sizes and direct CPU access.
Patent Information
- Application Number
- JP2023025156
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2024-09-02
AI Technical Summary
Existing information processing devices face inefficiencies in data transfer and processing speed, particularly when multiple IC chips are connected, as current techniques do not effectively manage address conversion and communication between them.
An information processing device with at least three IC chips connected in series, where each IC chip processes data using a second address width smaller than the first for intra-chip communication, with intermediate chips performing address conversion to a second address range, reducing packet size and improving data transfer efficiency and processing speed.
This approach enhances data transfer efficiency by reducing packet size and improving processing speed, with potential improvements of 1.4% for 256-byte units and 16.7% for 4-byte units, while allowing direct CPU access to transferred data.
Smart Images

Figure 2024118720000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a technique for increasing the efficiency of data transfer and improving processing speed. [Background technology]
[0002] A method is known that allows one IC chip to access the entire memory space of multiple other IC chips, and a technique for the case where multiple IC chips are connected via PCI-Express (registered trademark, hereinafter referred to as "PCIe") is disclosed in Patent Document 1. According to the technique disclosed in Patent Document 1, by providing an address conversion unit that performs bus sizing of the address width between the system domain and the communication domain and performs address conversion, it becomes possible to access the entire internal memory space of the other IC chips. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP2018-106547A Summary of the Invention [Problem to be solved by the invention]
[0004] In recent years, there has been a demand for efficient transmission and reception of large amounts of data in communications used in information processing devices. However, Patent Document 1 does not disclose a technique for efficiently transmitting and receiving data. The present disclosure has been made to solve the above problem, and aims to provide an information processing device that improves the efficiency of data transfer and processing speed. [Means for solving the problem]
[0005] The information processing device according to the present disclosure is an information processing device including at least three IC chips connected in series, the at least three IC chips including a source IC chip which is a source of data in data transfer between the IC chips, a destination IC chip which is a destination of the data, and an intermediate IC chip through which data is transferred between the source IC chip and the destination IC chip, and each of the at least three IC chips includes a control means for performing a process of accessing its own IC chip with a second address width which is smaller than a first address width used for communication with other IC chips, and a communication means for communicating with adjacent IC chips with the first address width. and when data transfer is performed by the source IC chip placing target data to be used in the destination IC chip in a first address range within the first address width, in data transfer from the intermediate IC chip adjacent to the destination IC chip to the destination IC chip, the control means of the intermediate IC chip adjacent to the destination IC chip performs address conversion on the target data to a second address range within the second address width, and the communication means of the intermediate IC chip adjacent to the destination IC chip transfers the address-converted target data to the communication means of the destination IC chip in the second address width. Effect of the Invention
[0006] According to the technology of the present disclosure, it is possible to increase the efficiency of data transfer and improve the processing speed. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a schematic diagram of a recording apparatus. [Diagram 2] FIG. 1 is a block diagram showing an example of the system configuration of a recording apparatus. [Diagram 3] FIG. 2 is a diagram showing the arrangement of a memory space. [Figure 4] A diagram showing the PCIe packet structure. [Diagram 5] FIG. 1 is a diagram for explaining downstream data transfer in memory space. [Figure 6] FIG. 1 is a diagram for explaining upstream data transfer in memory space. [Figure 7] 11 is a flowchart showing an example of a startup process. [Figure 8] 10 is a flowchart showing another example of the start-up process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. Note that the following embodiments do not limit the present disclosure, and not all of the combinations of features described in the embodiments are necessarily essential to the solution of the present disclosure. In addition, each process (step) in the flow chart is indicated by a reference number beginning with "S".
[0009] [First embodiment] Fig. 1 is a schematic diagram of an inkjet recording apparatus 1 (hereinafter, referred to as "recording apparatus 1") used in this embodiment. In Fig. 1, the x direction indicates the horizontal direction, the y direction (perpendicular to the paper surface) indicates the direction in which ejection ports are arranged in a recording head 8 (described later), and the z direction indicates the vertical direction.
[0010] The recording device 1 is a multifunction device having a print unit 2 and a scanner unit 3, and various processes related to recording and reading operations can be performed by the print unit 2 and the scanner unit 3 individually or in conjunction with each other. The scanner unit 3 has an ADF (Auto Document Feeder) and an FBS (Flatbed Scanner). The scanner unit 3 can read documents automatically fed by the ADF and read (scan) documents placed on the document table of the FBS by a user. Note that, although a multifunction device having the print unit 2 and the scanner unit 3 is used in this embodiment, a configuration without the scanner unit 3 is also possible. FIG. 1 shows a case where the recording device 1 is in a standby state in which neither a recording operation nor a reading operation is being performed.
[0011] In the printing section 2, a first cassette 5A and a second cassette 5B for accommodating recording media (cut sheets) S are removably installed at the bottom vertically below the housing 4. The first cassette 5A accommodates relatively small recording media up to A4 size, while the second cassette 5B accommodates relatively large recording media up to A3 size, stacked flat. A first feeding unit 6A is provided near the first cassette 5A for separating and feeding the accommodated recording media one by one. Similarly, a second feeding unit 6B is provided near the second cassette 5B. When a recording operation is performed, the recording media S is selectively fed from one of the cassettes.
[0012] The transport roller 7, discharge roller 12, pinch roller 7a, spur 7b, guide 18, inner guide 19, and flapper 11 constitute a transport mechanism for guiding the recording medium S in a predetermined direction. The transport rollers 7 are disposed upstream and downstream of the recording head 8, and are drive rollers driven by a transport motor (not shown). The pinch roller 7a is a driven roller that nips the recording medium S together with the transport roller 7 and rotates. The discharge roller 12 is disposed downstream of the transport roller 7, and is a drive roller that is driven by a transport motor (not shown). The spur 7b, together with the transport roller 7 and the discharge roller 12 disposed downstream of the recording head 8, pinches and transports the recording medium S.
[0013] The guide 18 is provided on the transport path of the recording medium S and guides the recording medium S in a predetermined direction. The inner guide 19 is a member extending in the y direction, has a curved side, and guides the recording medium S along the side. The flapper 11 is a member for switching the direction in which the recording medium S is transported during double-sided recording operation. The discharge tray 13 is a tray for stacking and holding the recording medium S discharged by the discharge roller 12 after the recording operation is completed.
[0014] The recording head 8 of this embodiment is a full-line type color inkjet recording head, and has a plurality of ejection ports arranged in the y direction in Fig. 1, which eject ink according to recording data, corresponding to the width of the recording medium S. When the recording head 8 is in the standby position, the ejection port surface 8a of the recording head 8 faces vertically downward as shown in Fig. 1 and is capped by a cap unit 10. When performing a recording operation, the orientation of the recording head 8 is changed by a second IC chip, a third IC chip, and a fourth IC chip that perform print control, which will be described later, so that the ejection port surface 8a faces a platen 9. The platen 9 is made of a flat plate extending in the y direction, and supports the recording medium S, on which the recording operation is performed by the recording head 8, from the rear.
[0015] The ink tank unit 14 stores each of the four colors of ink to be supplied to the recording head 8. The ink supply unit 15 is provided in the middle of a flow path connecting the ink tank unit 14 and the recording head 8, and adjusts the pressure and flow rate of the ink in the recording head 8 to an appropriate range. In this embodiment, a circulation type ink supply system is adopted, and the ink supply unit 15 adjusts the pressure of the ink supplied to the recording head 8 and the flow rate of the ink collected from the recording head 8 to an appropriate range. The maintenance unit 16 includes a cap unit 10 and a wiping unit 17, and operates these at a predetermined timing to perform a maintenance operation on the recording head 8. Hereinafter, this embodiment will be described in detail based on the configuration of the device described above.
[0016] 2 is a block diagram showing an example of the system configuration of the recording device 1 according to this embodiment. The recording device 1 according to this embodiment is communicably connected to a host PC 290 that transmits print jobs, etc. The host PC 290 receives operations from a user and transmits image data to the recording device 1.
[0017] The recording device 1 includes a first IC chip 210 that performs interface processing with a host PC 290 that generates image data and transmits it to the recording device 1. The recording device 1 also includes a second IC chip 220, a third IC chip 230, and a fourth IC chip 240 that perform image processing on the image data and transfer the image data to the recording head 8. The first IC chip 210 is connected to the second IC chip 220 via a PCIe bus 251. The second IC chip 220 is connected to the third IC chip 230 via a PCIe bus 252. The third IC chip 230 is connected to the fourth IC chip 240 via a PCIe bus 253. As shown in FIG. 2, the first IC chip 210, the second IC chip IC220, the third IC chip 230, and the fourth IC chip 240 are connected in series between each IC chip. The ROM 260, the RAM 261, and the host interface 262 are connected to the first IC chip 210. The RAM 264 and the head interface 265 are connected to the second IC chip 220. The RAM 266 and the head interface 267 are connected to the third IC chip 230. The RAM 268 and the head interface 269 are connected to the fourth IC chip 240. The head interfaces 265, 267, and 269 are connected to the recording head 8.
[0018] The first IC chip 210 is a system controller of the recording device 1, and receives image data from the host PC 290 and communicates with the host PC 290 via the host interface 262. The ROM 260 is a readable memory that stores a control program for the first IC chip 210. The RAM 261 is used as a main memory and a work memory for the CPU 214 of the first IC chip 210. The CPU 214 reads out the control program stored in the ROM 260 and executes the control program using the RAM 261 as a work area. The RAM 261 is also a readable and writable memory for storing image data and various information.
[0019] The second IC chip 220, the third IC chip 230, and the fourth IC chip 240 are device controllers of the recording device 1, and convert the image data received from the first IC chip 210 into print data and perform print control. The RAMs 264, 266, and 268 are readable and writable memories in which the control programs of the second IC chip 220, the third IC chip 230, and the fourth IC chip 240 are loaded, and in which the image data and various information are stored. The CPUs 224, 234, and 244 read the control programs loaded in the RAMs 264, 266, and 268, and execute the control programs. The head interfaces 265, 267, and 269 transfer the print data from the second IC chip 220, the third IC chip 230, and the fourth IC chip 240 to the recording head 8. The recording head 8 ejects ink onto a recording medium such as paper based on the data to generate a printout.
[0020] Next, the internal configuration of the first IC chip 210 will be described. Within the 32-bit address range 212, the first IC chip 210 includes a CPU 214, a ROM control unit 215, a RAM control unit 218, and a host interface control unit 219. The PCIe interface control units (Ch0 and Ch1), the CPU 214, the ROM control unit 215, the RAM control unit 218, and the host interface control unit 219 are connected via a bus bridge 213. The CPU 214 is the central processing unit of the first IC chip 210, and executes processing according to a control program. The ROM control unit 215 controls the interface with the ROM 260 that stores the control program executed by the CPU 214. The RAM control unit 218 controls the interface with a memory that temporarily stores the program and stores processing data. The host interface control unit 219 controls the interface with the host PC 290.
[0021] When the CPU 214, the ROM control unit 215, the RAM control unit 218, and the host interface control unit 219 access the 38-bit address range 211, only the addresses listed below can be accessed. That is, the CPU 214, the ROM control unit 215, the RAM control unit 218, and the host interface control unit 219 can only access the address range 0x00_0000_0000 to 0x00_FFFF_FFFF. That is, the CPU 214 can perform processing to access its own IC chip with a 32-bit address width. On the other hand, when the PCIe interface control units (Ch0 and Ch1) access the 32-bit address range 212, there is no limit to the accessible range. This mechanism will be described later with reference to FIG. 3.
[0022] The internal configurations of the second IC chip 220, the third IC chip 230, and the fourth IC chip 240 are almost the same as that of the first IC chip 210. The difference from the first IC chip 210 is that they include a head interface control unit, but do not include a ROM control unit or a host interface control unit. Head interface control units 229, 239, and 249 perform interface control for head control.
[0023] Each PCIe interface control unit (Ch0 and Ch1) of the first IC chip 210 to the fourth IC chip 240 will be described as follows. Each PCIe interface control unit of Ch0 will be called PCIe (Ch0) 216, PCIe (Ch0) 226, PCIe (Ch0) 236, and PCIe (Ch0) 246. Each PCIe interface control unit of Ch1 will be called PCIe (Ch1) 217, PCIe (Ch1) 227, PCIe (Ch1) 237, and PCIe (Ch1) 247. Ch0 means channel 0, and Ch1 means channel 1. In this embodiment, PCIe has an address conversion function.
[0024] 2, the second IC chip 220, the third IC chip 230, and the fourth IC chip 240 are connected to the print head 8 via head interfaces 265, 267, and 269, respectively. The second IC chip 220, the third IC chip 230, and the fourth IC chip 240 perform image processing such as conversion of multi-value data to binary data and mask processing, and drive control of the print head.
[0025] The second IC chip 220, the third IC chip 230, and the fourth IC chip 240 are assigned to process image data of each color component generated corresponding to the ink of multiple colors handled by the recording head. For example, if the recording head 8 is configured to eject ink of 12 colors, the image data transferred from the host PC 290 is decomposed into color component data of 12 colors. For example, the 12 colors of ink are as follows: matte black, photo black, cyan, magenta, yellow, photo cyan, photo magenta, gray, photo gray, red, blue, and chroma optimizer. Image processing of these 12 color component data is assigned to the second IC chip 220, the third IC chip 230, and the fourth IC chip 240, four color component data each. Note that the above-mentioned assignment of color component data is merely an example, and it goes without saying that different assignments are possible depending on the specifications of the recording head 8 and the performance of the IC chips. For example, if the print head is compatible with six colors of ink (black, matte black, cyan, magenta, yellow, and red), two color component data may be assigned to each IC chip. Alternatively, the second IC chip 220 may be assigned image processing common to each color component, and the third IC chip 230 and the fourth IC chip 240 may be assigned image processing for six color component data each.
[0026] FIG. 3 is a diagram showing the arrangement of memory space in this embodiment. Specifically, the memory spaces of the first IC chip 210, the second IC chip 220, the third IC chip 230, and the fourth IC chip 240 are indicated by memory spaces 310, 320, 330, and 340, respectively. In this embodiment, PCIe (Ch1) 217, 227, 237, and 247 are RootComplexes (hereinafter referred to as "RCs") in the PCIe specification. Also, PCIe (Ch0) 216, 226, 236, and 246 are EndPoints (hereinafter referred to as "EPs"). In the PCIe specification, the flow of target data from the RC to the EP is called downstream, and the flow of target data from the EP to the RC is called upstream. Therefore, the direction toward the first IC chip 210 is called the upstream side, and the direction toward the fourth IC chip 240 is called the downstream side.
[0027] Memory spaces 311, 321, 331, and 341 are 32-bit address spaces for each IC chip. Memory spaces 312, 322, 332, and 342 are slave address spaces for PCIe (Ch0) 216, 226, 236, and 246. These spaces are used to access upstream chips. Similarly, memory spaces 313, 323, 333, and 343 are slave address spaces for PCIe (Ch1) 217, 227, 237, and 247. These spaces are used to access downstream chips.
[0028] FIG. 4 is a diagram showing a packet structure of PCIe. FIG. 4(a) shows a header section in the case of a 64-bit address. FIG. 4(b) shows a header section in the case of a 32-bit address. FIG. 4(c) is a table explaining a TLP (Transaction Layer Packet) format according to an Fmt value. In FIG. 4(a), a value 410 is an Fmt value. A value 411 indicates an upper address value of the upper 63 to 32 bits of the address value. A value 412 indicates a lower address value of the lower 31 to 2 bits of the address value. In the figure, "R" is a reserved bit, which is an unused bit. In FIG. 4(b), a value 420 is an Fmt value. A value 422 indicates an address value (31 to 2 bits). The table in FIG. 4(c) shows a TLP format. The TLP format is determined depending on the Fmt values of the values 410 and 420. Comparing Figure 4(a) and Figure 4(b), the 64-bit address header in Figure 4(a) needs to include the upper 63 to 32 bits of the address value in value 411. In contrast, the 32-bit address header in Figure 4(b) does not need to include that value. Therefore, the size of the 32-bit address header is 4 bytes smaller than that of the 64-bit address header.
[0029] Fig. 5 is a diagram for explaining data transfer in a memory space in the downstream in this embodiment. In this embodiment, communication from an upstream IC chip to a downstream IC chip will be explained. Communication from a downstream chip to an upstream chip will be explained in Fig. 6. Since this is communication from an upstream IC chip to a downstream IC chip, memory spaces 313, 323, 333, and 343 shown in Fig. 3 are used. Therefore, the downstream chip is accessed using the space from 0x20_0000_0000 to 0x2F_FFFF_FFFF.
[0030] In the first IC chip 210, memory spaces 512, 513, and 514 are allocated to a part of the memory space. The memory space 512 is a space allocated to the memory space 321 inside the second IC chip 220. The memory space 513 is a space allocated to the memory space 331 inside the third IC chip 230. The memory space 514 is a space allocated to the memory space 341 inside the fourth IC chip 240. In the second IC chip 220, memory spaces 523 and 524 are allocated to a part of the memory space. The memory space 523 is a space allocated to the memory space 331 inside the third IC chip 230. The memory space 524 is a space allocated to the memory space 341 inside the fourth IC chip 240. In the third IC chip 230, a memory space 534 is allocated to a part of the memory space. The memory space 534 is a space allocated to the memory space 341 inside the fourth IC chip 240. The memory spaces 512, 513, 514, 523, 524, and 534 are 4 GB in size, and the memory spaces 321, 331, and 341 of the respective IC chips can be accessed with 32-bit addresses via PCIe address conversion.
[0031] In FIG. 5, two types of transfers are shown, represented by solid and dashed lines. Transfer 501 shows a transfer from the first IC chip 210 to the second IC chip 220. Transfer 502 shows a transfer from the first IC chip 210 to the third IC chip 230. Transfer 503 shows a transfer from the first IC chip 210 to the fourth IC chip 240. Transfer 501 shows an example in which there are two intermediate IC chips through which data is transferred between the source IC chip and the destination IC chip. Transfer 502 shows an example in which there are two intermediate IC chips through which data is transferred between the source IC chip and the destination IC chip. That is, there may be one or more intermediate IC chips.
[0032] The transfers shown by the solid lines as a reference example will be explained. First, the transfer of the solid line of transfer 501 will be explained. When a command issued from a DMA or the like acting as a bus master accesses memory space 512 at address value 0x21_E100_0000, it accesses PCIe(Ch1) 217, which is a slave assigned to that address range. This access to PCIe(Ch1) 217 is converted into a PCI packet, and the converted packet is received by PCIe(Ch0) 226. The address value of the received packet is converted from 0x21_E100_0000 to 0xE100_0000 by the address conversion function of PCIe(Ch0) 226, and the converted packet accesses the inside of the second IC chip 220, which is the transfer destination.
[0033] Next, the transfer indicated by the solid line in transfer 502 will be described. When a command issued from a DMA or the like acting as a bus master accesses memory space 513 with an address value of 0x22_E100_0000, it accesses PCIe(Ch1) 217, which is a slave assigned to that address range. This access to PCIe(Ch1) 217 is converted into a PCI packet, and the converted packet is received by PCIe(Ch0) 226. This transfer accesses PCIe(Ch1) 227 via memory space 523. This access is converted into a PCI packet, and the converted packet is received by PCIe(Ch0) 236. The address value of the received packet is converted from 0x22_E100_0000 to 0xE100_0000 by the address conversion function of PCIe(Ch0) 236, and the converted packet accesses the inside of the third IC chip 230, which is the transfer destination.
[0034] Next, the transfer indicated by the solid line in transfer 503 will be explained. When a command issued from a DMA or the like acting as a bus master accesses memory space 514 at address value 0x23_E100_0000, it accesses PCIe(Ch1) 217, which is a slave assigned to that address range. This access to PCIe(Ch1) 217 is converted into a PCI packet, and the converted packet is received by PCIe(Ch0) 226. This transfer accesses PCIe(Ch1) 227 via memory space 524. This access is converted into a PCI packet, and the converted packet is received by PCIe(Ch0) 236. This transfer accesses PCIe(Ch1) 237 via memory space 534. This access is converted into a PCI packet, and the converted packet is received by PCIe(Ch0) 246. The address value of the received packet is converted from 0x23_E100_0000 to 0xE100_0000 by the address conversion function of the PCIe (Ch0) 246, and the converted packet accesses the inside of the fourth IC chip 240, which is the transfer destination.
[0035] Next, the transfers indicated by the dashed lines performed in this embodiment will be described. In transfer 501, when PCIe(Ch1) 217 is accessed, the address value of the data to be transferred is converted from 0x21_E100_0000 to 0xE100_0000 by the address conversion function of PCIe(Ch1) 217. The address-converted data is converted into a PCIe packet. The converted packet is received by PCIe(Ch0) 226. In PCIe(Ch0) 226, the converted packet accesses the inside of the second IC chip 220, which is the transfer destination, without changing the address value of the converted packet.
[0036] In transfer 502, the transfer from the first IC chip 210 to the second IC chip 220 is the same as in the case of the solid line. When the PCIe(Ch1) 227 is accessed, the address value of the data to be transferred is converted from 0x22_E100_0000 to 0xE100_0000 by the address conversion function of the PCIe(Ch1) 227. The address-converted data is converted into a PCIe packet. The converted packet is received by the PCIe(Ch0) 236. In the PCIe(Ch0) 236, the converted packet accesses the inside of the third IC chip 230, which is the transfer destination, without changing the address value of the converted packet.
[0037] In transfer 503, the transfer from the first IC chip 210 to the third IC chip 230 is the same as in the case of the solid line. When the PCIe(Ch1) 237 is accessed, the address value of the data to be transferred is converted from 0x23_E100_0000 to 0xE100_0000 by the address conversion function of the PCIe(Ch1) 237. The address-converted data is converted into a PCIe packet. The converted packet is received by the PCIe(Ch0) 246. In the PCIe(Ch0) 246, the converted packet accesses the inside of the fourth IC chip 240, which is the transfer destination, without changing the address value of the converted packet.
[0038] Also, in a data transfer in which the second IC chip 220 is the source IC chip and the fourth IC chip 240 is the destination IC chip, the same data transfer as the above-mentioned transfer 503 is performed. That is, when the data is allocated in the address space with an address range of 0x23_E100_0000 to 0x23_FFFF_FFFF in the second IC chip 220 and a data transfer is performed, the following operation is executed. The same address conversion as in the above-mentioned transfer 503 is performed in the third IC chip 230 adjacent to the destination IC chip, and the address-converted data is transferred from the third IC chip 230 to the fourth IC chip 240, which is the destination IC chip.
[0039] In this embodiment, an example is shown in which a 32-bit address (4 GB) is used for each chip, but if a part of a chip is assigned to an adjacent chip, access across chips is also effective. For example, if a part of a third IC chip (e.g., 1 GB) is assigned to a fourth IC chip, the same effect can be obtained by address conversion in the second chip.
[0040] Fig. 6 is a diagram for explaining data transfer within a memory space in the upstream in this embodiment. The basic operation is the same as that in the downstream, so detailed description will be omitted. The data transfer method in this embodiment is indicated by the dashed line in Fig. 6. In addition, there may be an intermediate IC chip through which data is transferred between the source IC chip and the destination IC chip, which is the same as in the downstream case described above. There may be one or more intermediate IC chips.
[0041] 7 is a flowchart showing the startup process in this embodiment. In this embodiment, the following process flow is executed in which the first IC chip 210 starts up the second IC chip 220, the third IC chip 230, and the fourth IC chip 240.
[0042] In S701, when the power supply is turned on in the first IC chip 210 or when a reset button installed in the recording device 1 (not shown) is pressed, the CPU 214 in the reset state is released from the reset state, and the process proceeds to S702. In S702, the CPU 214 reads a program from the ROM 260, initializes the first IC chip 210, and the process proceeds to S703. In S703, link training of the PCIe (Ch1) 217 is started. In this link training, when the CPU sets a link training setting register, the PCIe circuit automatically performs link-up processing, and notifies the CPU of the completion of the link-up processing. When the link training processing of the PCIe (Ch1) 217 is completed, the process proceeds to S704. In S704, the process waits for the completion of link-up (completion of connection) between the first IC chip 210 and the second IC chip 220, and when the link-up (connection) is completed, the process proceeds to S705. In S705, the CPU 214 sets output address conversion for the PCIe (Ch1) 217, and the process proceeds to S706. In S706, the CPU 214 sets input address conversion for the PCIe (Ch0) 226, and the process proceeds to S707.
[0043] In S707, link training of the PCIe(Ch1) 227 is started, and when the processing of the link training of the PCIe(Ch1) 227 is completed, the processing proceeds to S708. In S608, the process waits for completion of link-up between the second IC chip 220 and the third IC chip 230, and when the link-up is completed, the processing proceeds to S709. In S709, the CPU 214 sets output address conversion of the PCIe(Ch1) 227, and the processing proceeds to S710. In S710, the CPU 214 sets input address conversion of the PCIe(Ch0) 236, and the processing proceeds to S711.
[0044] In S711, the CPU 214 resets the address translation of the PCIe(Ch1) 217. The resetting is necessary because the target of the address translation of the PCIe(Ch1) 217 is changed from the register in the second IC chip 220 to the register in the third IC chip 230. When the resetting of the address translation of the PCIe(Ch1) 217 is completed, the process proceeds to S712.
[0045] In S712, link training of the PCIe(Ch1) 237 is started, and when the processing of the link training of the PCIe(Ch1) 237 is completed, the processing proceeds to S713. In S713, the processing waits for the completion of link-up between the third IC chip 230 and the fourth IC chip 240, and when the link-up is completed, the processing proceeds to S714. In S714, the CPU 214 sets output address conversion of the PCIe(Ch1) 237, and the processing proceeds to S715.
[0046] In S715, the CPU 214 performs input address conversion setting for the PCIe (Ch0) 246, and the process proceeds to S716. In S716, the CPU 214 performs output address conversion setting for the PCIe (Ch0) 246, and the process proceeds to S717. In S717, the CPU 214 performs input address conversion setting for the PCIe (Ch1) 237, and the process proceeds to S718. In S718, the CPU 214 performs output address conversion setting for the PCIe (Ch0) 236, and the process proceeds to S719. In S719, the CPU 214 performs input address conversion setting for the PCIe (Ch1) 227, and the process proceeds to S720. In S720, the CPU 214 performs output address conversion setting for the PCIe (Ch0) 226, and the process proceeds to S721. In S721, the CPU 214 performs input address conversion setting for the PCIe (Ch1) 217. When the input address conversion setting of PCIe (Ch1) 217 is completed, the process of the flowchart shown in Fig. 6 ends. This output address conversion setting is a setting to enable the upstream data transfer shown in Fig. 6. In other words, the settings from S715 to S721 are settings in the upstream direction, which enables mutual communication between each chip.
[0047] In this embodiment, when data is arranged in an address range specified by the source IC chip and the destination IC chip and data is transferred from the source IC chip to the destination IC chip, the address conversion described below is performed. The IC chip adjacent to the destination IC chip performs address conversion of the data and arranges the data within a 32-bit address width. After that, the adjacent IC chip transfers the address-converted data to the destination IC chip. If the address width of the data is set to 32 bits, the header size can be reduced by 4 bytes. Therefore, as described in FIG. 4, the packet size can be reduced by 4 bytes. As a result, the efficiency of data transfer increases and the processing speed can be improved. The improvement in the transfer rate depends on the unit of the transferred data, but it is possible to improve it by about 1.4% when the transferred data unit is 256 bytes and about 16.7% when the transferred data unit is 4 bytes. Furthermore, in this embodiment, since the transferred data is arranged in a 32-bit width memory space of the transferred IC chip, there is also the advantage that the CPU of the transferred IC chip can directly access the transferred data.
[0048] [Second embodiment] FIG. 8 is a flowchart showing the start-up process in this embodiment. In this embodiment, the following process is performed in which the first IC chip 210 starts the second IC chip 220, the third IC chip 230, and the fourth IC chip 240. In this embodiment, the start-up sequence described in FIG. 7 of the first embodiment is changed in the following two points to enable early completion of the start-up. The first point is to make it unnecessary to set the address conversion by setting the PCIe (Ch0 and Ch1) that is the input in the initialization sequence as follows. That is, the initial value of the BAR (Base Address Register) of PCIe (Ch0 and Ch1) is set to 0x0000_0000, and the size of PCIe (Ch0 and Ch1) is set to a 4 GB space (0x0000_0000 to 0xFFFF_FFFF). The second point is to execute the setting of the output address conversion of PCIe (Ch1) during link training. The start-up sequence when these two points are changed will be described below.
[0049] In S801, when the power supply is turned on in the first IC chip 210, the reset of the CPU 214 in the reset state is released, and the process proceeds to S802. In S802, the CPU 214 reads a program from the ROM 260, initializes the first IC chip 210, and the process proceeds to S803. In S803, link training of the PCIe (Ch1) 217 is started, and the process proceeds to S804. In S804, while waiting for link-up between the first IC chip 210 and the second IC chip 220, output address conversion of the PCIe (Ch1) 217 is set, and the process proceeds to S805. In S805, completion of link-up between the first IC chip 210 and the second IC chip 220 is waited for, and when link-up is completed, the process proceeds to S806.
[0050] In S806, link training of the PCIe(Ch1) 227 is started, and when the processing of the link training of the PCIe(Ch1) 227 is completed, the processing proceeds to S807. In S807, while waiting for link-up between the second IC chip 220 and the third IC chip 230, output address conversion of the PCIe(Ch1) 227 is set, and the processing proceeds to S808. In S808, the processing waits for completion of link-up between the second IC chip 220 and the third IC chip 230, and when the link-up is completed, the processing proceeds to S809. In S809, the CPU 214 resets the address conversion of the PCIe(Ch1) 217. The reason why the resetting is necessary is to change the target of the address conversion of the PCIe(Ch1) 217 from the register in the second IC chip 220 to the register in the third IC chip 230. When the reconfiguration of the address translation of the PCIe (Ch1) 217 is completed, the process proceeds to S810.
[0051] In S810, link training of the PCIe(Ch1) 237 is started, and when the processing of the link training of the PCIe(Ch1) 237 is completed, the process proceeds to S811. In S811, while waiting for link-up between the third IC chip 230 and the fourth IC chip 240, output address conversion setting of the PCIe(Ch1) 237 is performed, and the process proceeds to S812. In S812, completion of link-up between the third IC chip 230 and the fourth IC chip 240 is waited for, and when the link-up is completed, the process proceeds to S813. In S813, the CPU 214 performs output address conversion setting of the PCIe(Ch0) 246, and the process proceeds to S814. In S814, the CPU 214 performs output address conversion setting of the PCIe(Ch0) 236, and the process proceeds to S815. In S815, the CPU 214 performs output address conversion setting of the PCIe(Ch0) 226. When the output address conversion setting of PCIe (Ch0) 226 is completed, the process of the flowchart shown in Fig. 7 ends. This output address conversion setting is a setting to enable the upstream data transfer shown in Fig. 6. In other words, the settings from S813 to S815 are settings in the upstream direction, which enables mutual communication between each chip.
[0052] The process flow in FIG. 7 differs from the process flow in FIG. 8 in the following two points. First, in the process in FIG. 8, the processes corresponding to S706, S710, S715, S717, S719, and S721 in the process in FIG. 7 are unnecessary. As described above, this is because the input address conversion is not required to be set as the initial value. Second, the process corresponding to S705 is S804, the process corresponding to S709 is S807, and the process corresponding to S714 is S811, but these settings are performed during link training. By performing the initialization process according to this embodiment, the time required for the start-up sequence can be reduced depending on the number of links, and the initialization of the system can be completed early.
[0053] [Other embodiments] The present disclosure is not limited to the recording device described in the above embodiment. Any information processing device or information processing system that has a PCIe internal bus and performs address conversion when accessing another IC chip via an IC chip is included in the scope of the present disclosure.
[0054] The disclosure of the above-described embodiment includes the following configurations.
[0055] (Configuration 1) An information processing device having at least three IC chips connected in series, the at least three IC chips including a source IC chip which is a source of data in data transfer between the IC chips, a destination IC chip which is a destination of the data, and an intermediate IC chip through which data is transferred between the source IC chip and the destination IC chip, each of the at least three IC chips including a control means for performing a process of accessing its own IC chip with a second address width which is smaller than a first address width used for communication with other IC chips, and a communication means for communicating with an adjacent IC chip with the first address width, When data transfer is performed by the source IC chip placing target data to be used in the destination IC chip in a first address range within the first address width, in data transfer from the intermediate IC chip adjacent to the destination IC chip to the destination IC chip, the control means of the intermediate IC chip adjacent to the destination IC chip performs address conversion on the target data to a second address range within the second address width, and the communication means of the intermediate IC chip adjacent to the destination IC chip transfers the address-converted target data to the communication means of the destination IC chip in the second address width.
[0056] (Configuration 2) The information processing device according to configuration 1, comprising a plurality of the intermediate IC chips.
[0057] (Configuration 3) The information processing device according to configuration 1 or 2, wherein the first address range is larger than the second address range.
[0058] (Configuration 4) The information processing device according to configuration 3, wherein a packet size for data transfer in the second address range is smaller than a packet size for data transfer in the first address range.
[0059] (Configuration 5) The information processing device according to any one of configurations 1 to 4, wherein the connections between the source IC chip, the destination IC chip, and the intermediate IC chip are PCI-Express.
[0060] (Configuration 6) An information processing device as described in Configuration 5, characterized in that a control means of one of the at least three IC chips sets address conversion from the first address range to the second address range determined by the source IC chip and the destination IC chip.
[0061] (Configuration 7) The information processing device according to configuration 6, wherein the control means of the one chip performs the setting in a startup sequence that is executed when a reset is released.
[0062] (Configuration 8) The information processing device described in Configuration 7, characterized in that the control means of the one chip performs the setting of the intermediate IC chip during PCI-Express link training between the intermediate IC chip and an adjacent IC chip.
[0063] (Configuration 9) A method for controlling an information processing device having at least three IC chips connected in series, the at least three IC chips including a source IC chip which is a source of data in data transfer between IC chips, a destination IC chip which is a destination of the data, and an intermediate IC chip through which data is transferred between the source IC chip and the destination IC chip, each of the at least three IC chips including a control means for performing processing to access its own IC chip with a second address width which is smaller than a first address width used for communication with other IC chips, and a communication means for communicating with adjacent IC chips with the first address width; and when data transfer is performed by the source IC chip placing target data to be used in the destination IC chip in a first address range within the first address width, in data transfer from the intermediate IC chip adjacent to the destination IC chip to the destination IC chip, the control method comprises the steps of: performing address conversion on the target data to a second address range within the second address width; and transferring the address-converted target data from the communication means of the intermediate IC chip adjacent to the destination IC chip to the communication means of the destination IC chip in the second address width.
Claims
1. An information processing device having at least three IC chips connected in series, The at least three IC chips include: In data transfer between IC chips, the data transfer system includes a source IC chip which is a source of data, a destination IC chip which is a destination of the data, and an intermediate IC chip through which data is transferred between the source IC chip and the destination IC chip, Each of the at least three IC chips comprises: a control means for performing processing to access the inside of its own IC chip with a second address width smaller than a first address width used for communication with other IC chips; A communication means for communicating with an adjacent IC chip using a first address width; Equipped with When the source IC chip places target data to be used in the destination IC chip in a first address range within the first address width and data transfer is performed, In the data transfer from the intermediate IC chip adjacent to the destination IC chip to the destination IC chip, the control means of the intermediate IC chip adjacent to the destination IC chip performs address conversion of the target data to a second address range within the second address width; the communication means of the intermediate IC chip adjacent to the destination IC chip transfers the address-converted target data to the communication means of the destination IC chip in the second address width; 23. An information processing apparatus comprising:
2. 2. The information processing apparatus according to claim 1, further comprising a plurality of said intermediate IC chips.
3. 2. The information processing apparatus according to claim 1, wherein the first address range is larger than the second address range.
4. 4. The information processing apparatus according to claim 3, wherein a packet size for data transfer in the second address range is smaller than a packet size for data transfer in the first address range.
5. 2. The information processing apparatus according to claim 1, wherein the connections between said source IC chip, said destination IC chip, and said intermediate IC chip are PCI-Express.
6. The control means of one of the at least three IC chips comprises:
6. The information processing apparatus according to claim 5, wherein an address conversion setting is performed from the first address range to the second address range determined by the source IC chip and the destination IC chip.
7. The control means of the one chip includes:
7. The information processing apparatus according to claim 6, wherein the setting is performed in a start-up sequence that is executed when a reset is released.
8. The control means of the one chip includes:
8. The information processing apparatus according to claim 7, wherein the setting of the intermediate IC chip is performed during link training of PCI-Express between the intermediate IC chip and the adjacent IC chip.
9. A method for controlling an information processing device having at least three IC chips connected in series, comprising: The at least three IC chips include: In data transfer between IC chips, the data transfer system includes a source IC chip which is a source of data, a destination IC chip which is a destination of the data, and an intermediate IC chip through which data is transferred between the source IC chip and the destination IC chip, Each of the at least three IC chips comprises: a control means for performing processing to access the inside of its own IC chip with a second address width smaller than a first address width used for communication with other IC chips; A communication means for communicating with an adjacent IC chip using a first address width; Equipped with When the source IC chip places target data to be used in the destination IC chip in a first address range within the first address width and data transfer is performed, In the data transfer from the intermediate IC chip adjacent to the destination IC chip to the destination IC chip, The control method includes: performing an address conversion on the target data to a second address range within the second address width; transferring the address-converted target data from the communication means of the intermediate IC chip adjacent to the destination IC chip to the communication means of the destination IC chip at the second address width; 13. A method for controlling an information processing device, comprising:
Citation Information
Patent Citations
Information processing device and information processing method
JP2018106547A
Cited By
Packaging machine and systems
US12291365B2
