Information processing device, information processing program, and programmable logic circuit

Parallel reconfiguration of divided circuits in partial areas of semiconductor devices like FPGAs addresses inefficiencies in switching processing functions, reducing reconfiguration time and maintaining continuous operation.

JP7556257B2Active Publication Date: 2024-09-26FUJIFILM BUSINESS INNOVATION CORP
View PDF 7 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Semiconductor devices like FPGAs face inefficiencies in switching processing functions due to the need to reconfigure circuits in a single reconfiguration area, leading to downtime during reconfiguration.

Method used

The device employs parallel reconfiguration of multiple divided circuits within partial reconfiguration areas, allowing simultaneous execution of next processing functions, thereby reducing reconfiguration time.

Benefits of technology

This approach significantly shortens the time required for reconfiguring processing functions by executing next processes in parallel, ensuring continuous operation without downtime.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007556257000002
    Figure 0007556257000002
  • Figure 0007556257000003
    Figure 0007556257000003
  • Figure 0007556257000001
    Figure 0007556257000001
Patent Text Reader

Abstract

To allow for reducing the time it takes to reconfigure a processing function in comparison to a case where a circuit for providing one processing function is reconfigured in one reconfiguration area only.SOLUTION: An image processing device 10 has a processor configured to: acquire a plurality of pieces of circuit configuration information corresponding to a plurality of divided circuits constituting a processing circuit for providing one processing function; and parallelly perform reconfiguration processing for reconfiguring a plurality of partial reconfiguration areas into a plurality of divided circuits corresponding to the acquired plurality of pieces of circuit configuration information.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device, an information processing program, and a programmable logic circuit. [Background technology]

[0002] Patent Document 1 discloses an image processing device comprising: a dynamic partial reconfiguration unit capable of dynamically and partially reconfiguring an internal circuit configuration; and a reconfiguration control means for controlling the reconfiguration of the circuit configuration of the dynamic partial reconfiguration unit, wherein one or more processing circuits configured in the dynamic partial reconfiguration unit each include a data processing unit and a parameter holding unit for holding parameters used for processing by the data processing unit, wherein the parameter holding unit defines a circuit configuration corresponding to parameters according to settings in the processing by the data processing unit, and wherein the reconfiguration control means reconfigures only the circuit configuration of the parameter holding unit in response to changes in the settings in the processing by the data processing unit.

[0003] Patent Document 2 discloses a method for reconfiguring a plurality of circuits in a programmable logic circuit in which the plurality of circuits are sequentially reconfigured while the reconfigured circuits are sequentially executed in parallel, and the method is characterized in that for a circuit in which a previous circuit that has been previously reconfigured and for which processing is being executed exists in at least a part of the area in which the circuit is to be next reconfigured, data for reconfiguration is divided into a part that overlaps with the area of ​​the previous circuit and a part that does not overlap, the non-overlapping part is reconfigured in parallel with the processing of the previous circuit, and the overlapping part is reconfigured after the processing of the previous circuit is completed.

[0004] Patent Document 3 discloses an image processing device having a reconfigurable circuit that can be reconfigured in a predetermined reconfiguration unit by rewriting circuit configuration data stored in a configuration memory, the image processing device comprising: a storage means for storing, for each reconfiguration area to be reconfigured, circuit configuration data corresponding to a circuit configured in the reconfiguration area; a synthesis means for synthesizing rewrite data including the circuit configuration data corresponding to a circuit configured in each of the reconfiguration areas when the reconfiguration unit includes multiple reconfiguration areas; and a rewrite means for rewriting the circuit configuration data in the configuration memory in the reconfiguration unit with the rewrite data synthesized by the synthesis means. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2015-149025 A [Patent Document 2] JP 2001-320271 A [Patent Document 3] JP 2016-170629 A Summary of the Invention [Problem to be solved by the invention]

[0006] In a semiconductor device such as an FPGA (Field Programmable Gate Array) that can switch processing functions by reconfiguring a circuit in a reconfigurable area, when switching from a first processing function to a second processing function, the circuit in the reconfigurable area is reconfigured so that the second processing function can be executed.

[0007] Therefore, the semiconductor device cannot execute processing related to the second processing function while the circuit for the second processing function is being reconfigured in the reconfiguration area.

[0008] An object of the present invention is to provide an information processing device, an information processing program, and a programmable logic circuit that can shorten the time required for reconfiguration of a processing function, compared to a case in which a circuit that executes one processing function is reconfigured in only one reconfiguration area. [Means for solving the problem]

[0009] An information processing device according to a first aspect includes a processor, which acquires a plurality of pieces of circuit configuration information corresponding to a plurality of divided circuits that constitute a processing circuit that executes one processing function, and causes the processor to execute in parallel a reconfiguration process that reconfigures a plurality of partial reconfiguration areas into a plurality of divided circuits corresponding to the acquired plurality of pieces of circuit configuration information.

[0010] In an information processing device according to a second aspect, in the information processing device according to the first aspect, when a first sub-processing circuit that executes a first sub-processing to be executed after the process executed by the processing circuit can be reconfigured into a first partial reconfiguration area that is a part of the multiple partial reconfiguration areas, the processor executes in parallel a reconstruction process of reconfiguring the first partial reconfiguration area into the first sub-processing circuit and a reconstruction process of reconfiguring a second partial reconfiguration area other than the first partial reconfiguration area into a divided circuit that is a part of the multiple divided circuits that constitute the second sub-processing circuit that executes a second sub-processing to be executed after the first sub-processing.

[0011] An information processing device according to a third aspect is the information processing device according to the second aspect, wherein, after executing the first sub-processing, the processor reconfigures the first partial reconfiguration area into a divided circuit other than some of the divided circuits of a plurality of divided circuits constituting the second sub-processing circuit.

[0012] An information processing device according to a fourth aspect is the information processing device according to the second or third aspect, wherein the plurality of partial reconfiguration regions are connected in series, and the processor is configured, when executing the first subsequent process, not to execute all of the processing of the part of the divided circuits reconfigured in the second partial reconfiguration region.

[0013] An information processing device according to a fifth aspect is an information processing device according to any one of the first to fourth aspects, wherein the plurality of pieces of circuit configuration information include identification codes for identifying corresponding processing circuits, and the processor executes the reconfiguration process when the processing circuits indicated by the identification codes included in each of the plurality of pieces of circuit configuration information are identical.

[0014] An information processing device according to a sixth aspect is the information processing device according to the fifth aspect, wherein the identification code includes a code designating the partial reconfiguration region, and the processor reconfigures the partial reconfiguration region corresponding to the code designating the partial reconfiguration region into a corresponding divided circuit.

[0015] An information processing program according to a seventh aspect causes a computer to acquire a plurality of circuit configuration information for at least two or more of a plurality of divided circuits constituting at least one processing circuit, and, based on the acquired plurality of circuit configuration information, execute in parallel a process of reconfiguring a plurality of partial reconfiguration regions into a plurality of divided circuits corresponding to the plurality of circuit configuration information.

[0016] A programmable logic circuit according to an eighth aspect includes an information processing device according to any one of the first to sixth aspects, and a reconfigurable region including a plurality of partial reconfigurable regions to be reconfigured by the information processing device.

[0017] A programmable logic circuit according to a ninth aspect is the programmable logic circuit according to the eighth aspect, wherein each of the plurality of partially reconfigurable regions includes a maximum number of resource circuits for each type of resource circuit included in a plurality of circuits that can be reconfigured in the plurality of partially reconfigurable regions.

[0018] A programmable logic circuit according to a tenth aspect is the programmable logic circuit according to the ninth aspect, wherein the number of resource circuits included in each of the plurality of partial reconfigurable regions is equal to that of the programmable logic circuit according to the ninth aspect.

[0019] A programmable logic circuit according to an eleventh aspect is the programmable logic circuit according to any one of the eighth to tenth aspects, wherein the plurality of partial reconfiguration regions are connected in series via a bus, and the bus width of the bus is the maximum bus width among bus widths required by a plurality of divided circuits that may be reconfigured in the plurality of partial reconfiguration regions.

[0020] A programmable logic circuit according to a twelfth aspect is the programmable logic circuit according to any one of the eighth to tenth aspects, wherein the multiple reconfigurable regions are connected in parallel, and the multiple divided circuits are circuits that execute the same processing. Effect of the Invention

[0021] According to the first, seventh and eighth aspects, the time required for reconfiguration of a processing function can be shortened, compared to a case where a circuit that executes one processing function is reconfigured in only one reconfiguration area.

[0022] According to the second aspect, the time required for reconfiguring the second post-processing can be shortened compared to a case in which some of the divided circuits of the multiple divided circuits that constitute the second post-processing circuit that executes the second post-processing are not reconfigured in advance.

[0023] According to the third aspect, the time from the start of the first post-processing to the completion of the second post-processing can be shortened compared to a case in which the reconstruction of the second post-processing is performed after the first post-processing is completed in all partial reconstruction areas.

[0024] According to the fourth aspect, it is possible to reconfigure in advance some of the divided circuits among the plurality of divided circuits that configure the second post-processing circuit.

[0025] According to the fifth aspect, it is possible to prevent inappropriate image processing from being executed.

[0026] According to the sixth aspect, it is possible to specify a partial reconstruction region to be reconstructed.

[0027] According to the ninth aspect, any of a plurality of circuits that can be reconfigured can be reconfigured in all of a plurality of partial reconfiguration regions.

[0028] According to the tenth aspect, the time required for reconfiguration can be made equal, compared to a case in which the number of resource circuits included in each of a plurality of partial reconfiguration regions is not equal.

[0029] According to the eleventh aspect, even when there is a combination of divided circuits with different bus widths, there is no need to reconfigure the bus.

[0030] According to the twelfth aspect, it is possible to reduce the time required for reconfiguration of divided circuits connected in parallel. [Brief description of the drawings]

[0031] [Figure 1] FIG. 1 is a diagram illustrating a configuration of an image processing device. [Diagram 2] FIG. 2 is a configuration diagram of an image processing unit. [Diagram 3] FIG. 2 is a diagram showing the configuration of a reconstruction area. [Figure 4] 4 is a flowchart of a reconstruction process according to the first embodiment. [Diagram 5] FIG. 13 is a diagram showing a state in which a circuit has been reconfigured in a reconfiguration area. [Figure 6] FIG. 13 is a diagram showing a state in which a circuit has been reconfigured in a reconfiguration area. [Figure 7] FIG. 13 is a diagram showing a state in which a circuit has been reconfigured in a reconfiguration area. [Figure 8] 13 is a timing chart for explaining the time required for reconstruction. [Figure 9] FIG. 13 is a diagram showing the configuration of a reconstruction area according to a modified example. [Figure 10] 13 is a flowchart of a reconstruction process according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0032] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[0033] (First embodiment)

[0034] 1 is a configuration diagram of an image processing device 10 according to this embodiment. The image processing device 10 is applied to, for example, a multifunction device having a scanner function, a copy function, a print function, a facsimile function, etc., and requiring various image processing, but is not limited thereto. The image processing device 10 is an example of an information processing device.

[0035] As shown in Fig. 1, the image processing device 10 includes a controller 11. The controller 11 includes a central processing unit (CPU) 11A, a read only memory (ROM) 11B, a random access memory (RAM) 11C, and an input / output interface (I / O) 11D. The CPU 11A, the ROM 11B, the RAM 11C, and the I / O 11D are connected to each other via a system bus 11E. The system bus 11E includes a control bus, an address bus, and a data bus. The CPU 11A is an example of a processor.

[0036] In addition, a communication unit 12, a storage unit 13, and an image processing unit 14 are connected to the I / O 11D.

[0037] The communication unit 12 is an interface for performing data communication with a higher-level device (not shown).

[0038] The storage unit 13 is configured with a non-volatile external storage device such as a hard disk, and stores a reconstruction processing program 20 and circuit configuration information 21, which will be described later, etc. The CPU 11A loads the reconstruction processing program 20 stored in the storage unit 13 into the RAM 113C and executes it. The reconstruction processing program 20 is an example of an information processing program.

[0039] The image processing unit 14 is configured with a programmable logic circuit that switches between and executes a plurality of types of image processing by reconfiguring the circuit, and in this embodiment, is configured with an FPGA (Field Programmable Gate Array) as an example.

[0040] As shown in FIG. 2, the image processing unit 14 includes a reconstruction area SR. The reconstruction area SR is divided into partial reconstruction areas BR1 and BR2 in advance. The partial reconstruction areas BR1 and BR2 are connected in series via a bus BS. In this embodiment, a case where the reconstruction area SR is divided into two partial reconstruction areas BR1 and BR2 in advance will be described as an example, but the reconstruction area SR may be divided into three or more partial reconstruction areas. In the following, when the partial reconstruction areas BR1 and BR2 are not particularly distinguished from each other, they may be referred to as partial reconstruction areas BR. The partial reconstruction area BR1 is an example of a first partial reconstruction area, and the partial reconstruction area BR2 is an example of a second partial reconstruction area.

[0041] A configuration port CP1 is connected to the partial reconfiguration region BR1. When circuit configuration information is input to the configuration port CP1, the partial reconfiguration region BR1 is reconfigured into a circuit corresponding to the input circuit configuration information. Similarly, a configuration port CP2 is connected to the partial reconfiguration region BR2. When circuit configuration information is input to the configuration port CP2, the partial reconfiguration region BR2 is reconfigured into a circuit corresponding to the input circuit configuration information. Note that, hereinafter, when there is no particular distinction between the configuration ports CP1 and CP2, they may be referred to as configuration ports CP.

[0042] In addition, when it is desired not to execute all the processing of one of the circuits reconfigured in the partial reconfiguration areas BR1 and BR2, a setting value corresponding to the circuit for which it is not desired to execute all the processing is set in the register RG. As a result, even if circuits are reconfigured in both the partial reconfiguration areas BR1 and BR2, when it is desired not to execute all the processing of the circuit reconfigured in the partial reconfiguration area BR2, a setting value corresponding to the partial reconfiguration area BR2 is set in the register RG to execute only the processing of the circuit reconfigured in the partial reconfiguration area BR1. For this reason, the circuit reconfigured in the partial reconfiguration area BR2 outputs data processed by the circuit reconfigured in the partial reconfiguration area BR1 as is without performing any processing on the data.

[0043] Here, the circuit configuration information includes connection information regarding the connections of a plurality of logic blocks included in the partial reconfiguration area BR, and parameter information regarding the settings of image processing.

[0044] The time required to reconfigure the partial reconfiguration area BR is determined by the reconfiguration time for reconfiguring the circuit by connecting the logic blocks based on the connection information of the circuit configuration information, and the setting time for performing various settings of the circuit after reconfiguration based on the parameter information. The time required to reconfigure the partial reconfiguration area BR is approximately proportional to the circuit size. Here, the circuit size is determined by, for example, the number of resource circuits included in the partial reconfiguration area BR. A resource circuit is a circuit that realizes basic functions required to realize the processing function of the circuit to be reconfigured. Examples of resource circuits include, but are not limited to, general-purpose logic circuits, memories, and signal processing circuits (Digital Signal Processors: DSPs).

[0045] In this embodiment, as an example, a case will be described in which the image processing unit 14 sequentially switches between different types of image processing A, image processing B, and image processing C and executes them.

[0046] Furthermore, a processing circuit A that executes image processing A as an example of one processing function is composed of two divided circuits A1 and A2, and the memory unit 13 stores circuit configuration information 21A1 corresponding to the divided circuit A1 and circuit configuration information 21A2 corresponding to the divided circuit A2.

[0047] Moreover, the processing circuit B that executes the image processing B to be executed next to the image processing A executed by the processing circuit A is configured with a circuit whose circuit scale is about half that of the processing circuits A and C, and the memory unit 13 stores circuit configuration information 21B corresponding to the processing circuit B. Note that the image processing B is an example of a first subsequent process, and the processing circuit B is an example of a first subsequent processing circuit.

[0048] Also, the processing circuit C that executes the image processing C to be processed next after the image processing B is composed of two divided circuits C1 and C2, and the memory unit 13 stores circuit configuration information 21C1 corresponding to the divided circuit C1 and circuit configuration information 21C2 corresponding to the divided circuit C2. Note that the image processing C is an example of a second subsequent process, and the processing circuit C is an example of a second subsequent processing circuit. Note that, hereinafter, when there is no particular distinction between the circuit configuration information 21A1, 21A2, 21B, 21C1, and 21C2, they may be referred to as circuit configuration information 21.

[0049] In an FPGA, resource circuits such as a general-purpose logic circuit LG, a memory MR, and a signal processing circuit SP are usually arranged in a matrix, but are not necessarily arranged evenly, as shown in Fig. 3. For this reason, even if the partial reconfiguration regions BR1 and BR2 have the same size (area), the types and numbers of included resource circuits differ depending on the location, as shown in Fig. 3.

[0050] Furthermore, since the image processes A to C require different types and numbers of resource circuits, each of the partial reconfiguration areas BR1 and BR2 includes the maximum number of resource circuits for each type of resource circuit included in multiple circuits that may be reconfigured in the partial reconfiguration areas BR1 and BR2. It is also preferable that the number of resource circuits included in each of the partial reconfiguration areas BR1 and BR2 is the same. Here, the fact that the number of resource circuits is the same does not only mean that the number of resource circuits is the same, but also includes the case where the difference in the number of resource circuits is equal to or less than a threshold value (e.g., several circuits).

[0051] In this embodiment, the circuits that may be reconfigured in the partial reconfiguration regions BR1 and BR2 are the divided circuits A1 and A2, the processing circuit B, and the divided circuits C1 and C2, so the partial reconfiguration regions BR1 and BR2 are set so as to include the maximum number of resource circuits for each type of resource circuit included in these circuits.

[0052] For example, suppose that the resource circuits required by divided circuit A1 are 10 general-purpose logic circuits, 2 memories, and 3 DSPs, and the resource circuits required by divided circuit A2 are 11 general-purpose logic circuits, 2 memories, and 2 DSPs.

[0053] Also, assume that the resource circuits required by processing circuit B are five general-purpose logic circuits, one memory, and two DSPs.

[0054] Also, suppose that the resource circuits required by divided circuit C1 are nine general-purpose logic circuits, three memories, and two DSPs, and the resource circuits required by divided circuit C2 are nine general-purpose logic circuits, four memories, and one DSP.

[0055] Furthermore, suppose that the circuits that can be reconfigured in the partial reconfiguration region BR1 are divided circuit A1, processing circuit B, and divided circuit C1, and that the circuits that can be reconfigured in the partial reconfiguration region BR2 are divided circuit A2 and divided circuit C2.

[0056] In this case, the number of general-purpose logic circuits LG required for the partial reconfiguration region BR1 is 10, which is the maximum number of general-purpose logic circuits LG required among the divided circuit A1, the processing circuit B, and the divided circuit C1.

[0057] Furthermore, the number of memories MR required for the partial reconfiguration region BR1 is three, which is the maximum number of memories MR required among the divided circuit A1, the processing circuit B, and the divided circuit C1.

[0058] Furthermore, the number of signal processing circuits SP required for the partial reconfiguration region BR1 is three, which is the maximum number of signal processing circuits SP required among the divided circuit A1, the processing circuit B, and the divided circuit C1.

[0059] Similarly, the number of general-purpose logic circuits LG required for the partial reconfiguration region BR2 is 11, which is the maximum number of general-purpose logic circuits LG required between the divided circuits A2 and C2.

[0060] Furthermore, the number of memories MR required for the partial reconfiguration domain BR2 is four, which is the maximum number of memories required among the divided circuits A2 and C2.

[0061] Furthermore, the number of signal processing circuits SP required for the partial reconfiguration region BR2 is two, which is the maximum number of signal processing circuits SP required, among the divided circuits A2 and C2.

[0062] In this way, the number of resource circuits included in the partial reconfiguration area BR1 is 16, and the number of resource circuits included in the partial reconfiguration area BR2 is 17, the difference between them being 1. For this reason, the reconstruction times of the partial reconfiguration areas BR1 and BR2 are approximately the same.

[0063] Furthermore, the bus width of the bus BS connecting the partial reconfiguration areas BR1 and BR2 is the maximum bus width among the bus widths required by a plurality of circuits that may be reconfigured in the partial reconfiguration areas BR1 and BR2.

[0064] For example, as in the conventional method, when reconfiguring a processing circuit in a single undivided reconfiguration area SR, the bus connecting the multiple divided circuits in the processing circuit is also reconfigured, so the bus width can be set freely. For example, if the bus width of the bus connecting the divided circuits A1 and A2 constituting the processing circuit A is 16 bits, the bus width of the bus connecting the divided circuits C1 and C2 constituting the processing circuit C does not need to be 16 bits like the processing circuit A, and may be, for example, 64 bits.

[0065] However, since the bus BS connecting the partial reconfiguration areas BR1 and BR2 cannot be reconfigured, it is necessary to set the bus width to the maximum bus width among the bus widths required by multiple circuits that may be reconfigured in the partial reconfiguration areas BR1 and BR2.

[0066] Therefore, for example, if the bus width required for the bus BS connecting the divided circuits A1 and A2 is 16 bits and the bus width required for the bus BS connecting the divided circuits C1 and C2 is 64 bits, the bus width of the bus BS is 64 bits.

[0067] Next, the operation of the image processing device 10 according to the present embodiment will be described with reference to Fig. 4. The reconstruction process shown in Fig. 4 is executed by causing the CPU 11A to execute the reconstruction process program 20. The reconstruction process shown in Fig. 4 is repeatedly executed at predetermined time intervals.

[0068] In step S100, the CPU 11A receives image data from a higher-level device (not shown) and determines whether or not there has been an instruction to execute any one of the image processes A to C. If there has been an instruction to execute image processing, the process proceeds to step S102, and if there has been no instruction to execute image processing, the routine ends.

[0069] In step S102, the CPU 11A determines whether or not circuit reconfiguration is required for at least one of the partial reconstruction regions BR1 and BR2. If reconfiguration is required, the process proceeds to step S104. On the other hand, if reconfiguration is not required, that is, if a circuit corresponding to the image processing instructed by the upper device already exists in at least one of the partial reconstruction regions BR1 and BR2, the process proceeds to step S106.

[0070] In step S104, the CPU 11A reads out from the storage unit 13 and acquires the circuit configuration information 21 of the circuit that needs to be reconfigured.

[0071] In step S106, the CPU 11A outputs the image data received in step S100 to the image processing unit 14, and also outputs the circuit configuration information 21 acquired in step S104 to the configuration port CP. As a result, a circuit according to the circuit configuration information 21 is reconfigured in the partial reconfiguration area BR, and image processing is executed. Furthermore, if necessary, the CPU 11A sets in the register RG a setting value for preventing the partial reconfiguration areas BR1 and BR2 from executing the reconfigured circuits.

[0072] In step S108, CPU 11A receives the image data after image processing from image processing section 14, and outputs it to the higher-level device.

[0073] A specific example of reconstruction in the reconstruction region SR will be described below.

[0074] First, when image data is received from a higher-level device and an instruction is given to execute image processing A (step S100), the CPU 11A acquires circuit configuration information 21A1, 21A2 corresponding to the divided circuits A1, A2 that constitute the processing circuit A from the memory unit 13 (step S104).

[0075] Then, the acquired image data is output to the partial reconfiguration region BR1, and the circuit configuration information 21A1, 21A2 is output in parallel to the configuration ports CP1, CP2 (step S106). In the image processing unit 14, reconstruction processes for reconfiguring the partial reconfiguration regions BR1, BR2 into divided circuits A1, A2 are executed in parallel.

[0076] Thereby, as shown in FIG. 5, the image processing unit 14 functions as a processing circuit A constituted by the divided circuits A1 and A2, and executes image processing A on the input image data.

[0077] Next, when image data is received from a higher-level device and an instruction is given to execute image processing B (step S100), CPU 11A acquires circuit configuration information 21B corresponding to processing circuit B and circuit configuration information 21C2 corresponding to divided circuit C2 that constitutes processing circuit C from memory unit 13 (step S104).

[0078] Then, the acquired circuit configuration information 21B, 21C2 is output in parallel to the configuration ports CP1, CP2 (step S106). In the image processing unit 14, the reconstruction processing for reconstructing the partial reconstruction regions BR1, BR2 into the processing circuit B and the divided circuit C2 is executed in parallel. Also, the CPU 11A sets a setting value in the register RG so as not to execute all the processing of the divided circuit C2.

[0079] 6, the image processing unit 14 functions as processing circuit B, the divided circuit C2 is not executed, and image processing B is executed on the input image data. The divided circuit C2 outputs the data output from the processing circuit B as is without executing any processing related to the function of the divided circuit C2.

[0080] Next, when image data is received from the upper device and an instruction to execute image processing C is issued (step S100), the CPU 11A acquires circuit configuration information 21C1 corresponding to the divided circuit C1 constituting the processing circuit C from the storage unit 13 (step S104). Then, the acquired circuit configuration information 21C1 is output to the configuration port CP1 (step S106). In the image processing unit 14, a reconstruction process is executed to reconstruct the partial reconstruction region BR1 into the divided circuit C1.

[0081] Thereby, as shown in FIG. 7, the image processing unit 14 functions as a processing circuit C configured by the divided circuits C1 and C2, and executes image processing C on the input image data.

[0082] In this manner, in this embodiment, the reconstruction domain SR is divided in advance into partial reconstruction domains BR1 and BR2 so that the circuit scales are equal, and the circuit reconstruction is performed in parallel for the partial reconstruction domains BR1 and BR2. This shortens the time required for reconstruction compared to the case where the circuit is reconstructed in only one reconstruction domain SR.

[0083] 8 shows a timing chart relating to switching between reconstruction and image processing when a circuit is reconstructed in only one reconstruction area SR as in the conventional case, and when a circuit is reconstructed in partial reconstruction areas BR1 and BR2 in parallel as in this embodiment. Note that the numbers in parentheses indicate time.

[0084] For simplicity, it is assumed that the time required to reconfigure a circuit in only one reconstruction area SR as in the conventional method is 10 msec. The required time T is broken down into, for example, 5 msec for the circuit reconstruction time T1 and 5 msec for the parameter setting time T2.

[0085] Also, assume that the time T required to reconfigure the circuit in the partial reconfiguration region BR1 is 4 (msec). The required time is broken down into, for example, 2 (msec) for the circuit reconfiguration time T1 and 2 (msec) for the parameter setting time T2.

[0086] Also, assume that the time T required to reconfigure the circuit in the partial reconfiguration region BR2 is 6 (msec). The required time is broken down into, for example, 3 (msec) for the circuit reconfiguration time T1 and 3 (msec) for the parameter setting time T2.

[0087] In such a case, when reconfiguring a circuit in only one reconstruction area SR as in the conventional case, the time T required to reconfigure the reconstruction area SR to processing circuit B after image processing A is executed in a state in which processing circuit A has been reconfigured in the reconstruction area SR is 10 (msec). In addition, the time T required to reconfigure the reconstruction area SR to processing circuit C after image processing B is executed is also 10 (msec).

[0088] In contrast, when the circuit reconstruction is performed in parallel for the partial reconstruction areas BR1 and BR2 as in this embodiment, the divided circuit A1 constituting the processing circuit A is reconstructed in the partial reconstruction area BR1, and the divided circuit A2 is reconstructed in the partial reconstruction area BR2. After image processing A is performed, the divided circuit C2 constituting the processing circuit C is reconstructed first for the partial reconstruction area BR2, but the reconstruction takes 6 msec. Therefore, parameter setting can be performed for only 1 msec. Therefore, the remaining 2 msec of parameter setting is carried over to the next reconstruction process.

[0089] Therefore, the time T required for reconstruction when switching from image processing A to image processing B is 4 (msec), which is 6 (msec) shorter than the conventional method.

[0090] Next, after image processing B is executed in a state in which the processing circuit B has been reconfigured in the partial reconstruction area BR1 and the divided circuit C2 has been reconfigured in the partial reconstruction area BR2, the time T required to reconfigure the processing circuit C1 in the partial reconstruction area BR1 is 4 (msec). Furthermore, for the partial reconstruction area BR2, the divided circuit C2 has been reconfigured in the partial reconstruction area BR2 prior to image processing C, but the setting of parameters for the remaining 2 (msec) has not been completed. Therefore, the setting of parameters for the remaining 2 (msec) is executed.

[0091] Therefore, the time T required for reconstruction when switching from image processing B to image processing C is 4 (msec). Here, if the reconfiguration of the divided circuit C2 is not performed in advance for the partial reconstruction region BR2, the time T required for reconstruction for the partial reconstruction region BR2 is 6 (msec). As a result, compared to the case where the reconfiguration of the divided circuit C2 is not performed in advance, the time T required for reconstruction when switching from image processing B to image processing C is shorter by 2 (msec).

[0092] In this manner, in this embodiment, the circuit reconfiguration for the partial reconfiguration areas BR1 and BR2 is performed in parallel, so the time required for the reconfiguration when switching image processing is shortened, and as a result, the time required for completing the image processing A to C is also shortened.

[0093] Second embodiment

[0094] Next, a second embodiment will be described. The configuration of the image processing device 10 is the same as that of the first embodiment, so a description thereof will be omitted.

[0095] In the second embodiment, a specific example of a processing circuit A that executes image processing A will be described.

[0096] In this embodiment, the processing circuit A performs filter processing as the image processing A, specifically, a smoothing filter that smoothes an image, as an example, but the filter processing is not limited to this.

[0097] In a smoothing filter, a window of N×N pixels (N is a natural number) is set for an input image to be processed, and a coefficient is set for each pixel. Then, the pixel value of a pixel of interest is calculated based on the coefficient set for the window, and output. FIG. 9 shows an example of a 3×3 pixel window W and a 3×3 filter matrix F. A filter coefficient of "1 / 9" is set for each matrix of the filter matrix F. In this case, the value obtained by performing a product-sum operation on the pixel values ​​of the pixel of interest G1 and each of the surrounding pixels G2 to G9 and the filter coefficients set for each matrix of the filter matrix F becomes the pixel value of the pixel of interest G1.

[0098] In software filtering, the address of the memory where the surrounding pixels are stored can be accessed and processed simply, but when performing high-speed processing on a hardware device such as an FPGA, memory access can become a bottleneck. For this reason, a method is used in which the input image is temporarily buffered in the local memory inside the device.

[0099] Therefore, the processing circuit A that performs the smoothing process is divided into two divided circuits: a divided circuit A1 that buffers the input image into a 3x3 window, and a divided circuit A2 that performs the smoothing process by referring to the buffered 3x3 pixels.

[0100] Although the circuit that performs the smoothing process is usually integrated into one circuit, in this embodiment, it is split into split circuits A1 and A2 and the reconstruction is performed in parallel, which shortens the time required for the reconstruction.

[0101] Although an example in which the partially reconfigurable regions BR1 and BR2 are directly connected has been described above, the partially reconfigurable regions BR1 and BR2 may be connected in parallel as shown in Fig. 9. Note that the configuration ports CP1 and CP2 are not shown in Fig. 9.

[0102] 9, the divided circuits A1 and A2 constituting the processing circuit A that executes the image processing A are circuits that execute the same processing. In other words, the image processing A is processing that executes the same processing on multiple pixels in parallel.

[0103] In such a case, the processing circuit A is usually not divided but is integrated into one circuit, but in this embodiment, it is divided into divided circuits A1 and A2 and the reconfiguration is performed in parallel, which shortens the time required for the reconfiguration.

[0104] Third embodiment

[0105] Next, a third embodiment will be described. The configuration of the image processing device 10 is the same as that of the first embodiment, so a description thereof will be omitted.

[0106] In the third embodiment, a case will be described in which the circuit configuration information includes an identification code for identifying the corresponding processing circuit.

[0107] For example, the circuit configuration information of the divided circuits A1 and A2 constituting the processing circuit A each includes an identification code "ID-A." In this case, when the partial reconfiguration areas BR1 and BR2 are reconfigured into the divided circuits A1 and A2, the identification code "ID-A" is stored in the internal memory of each of the partial reconfiguration areas BR1 and BR2. When performing image processing A by the processing circuit A or image processing C by the processing circuit C, the CPU 11A permits processing by the processing circuits if the processing circuits indicated by the identification codes stored in the internal memories of each of the partial reconfiguration areas BR1 and BR2 are identical before the execution.

[0108] A flowchart of the reconstruction process according to the third embodiment is shown in Fig. 10. The reconstruction process shown in Fig. 10 differs from the reconstruction process shown in Fig. 4 described in the first embodiment in that steps S105A and S105B are added. The other processes are the same as those in the reconstruction process shown in Fig. 4, so their explanation will be omitted.

[0109] The processes of steps S105A and S105B are necessary when the image processing instructed to be executed is executed by a processing circuit divided into a plurality of divided circuits, and are not necessary when the image processing is executed by a processing circuit that is not divided into a plurality of divided circuits. Therefore, in the example described in the first embodiment, the processes of steps S105A and S105B are executed when executing image processing A and C, but the processes of steps S105A and S105B are not executed when executing image processing B.

[0110] In step S105A, the CPU 11A determines whether or not the identification codes included in the circuit configuration information corresponding to the partial reconfiguration areas BR1 and BR2 acquired in step S104 are the same. If the identification codes are the same, the process proceeds to step S106, and if the identification codes are not the same, the process proceeds to step S105B.

[0111] In step S105B, the CPU 11A notifies the upper device of the error. That is, the image processing is not executed. In this way, if the identification codes stored in the partial reconstruction areas BR1 and BR2 are not the same, the image processing is not executed, so that the inappropriate image processing is not executed.

[0112] The identification code may include a code that specifies a partial reconfiguration region. In this case, the CPU 11A reconfigures the partial reconfiguration region corresponding to the code that specifies the partial reconfiguration region into a corresponding divided circuit.

[0113] For example, the circuit configuration information of the divided circuit A1 constituting the processing circuit A includes an identification code "ID-A1" obtained by adding a code "1" that specifies the partial reconfiguration region BR1 to the identification code "ID-A." Similarly, the circuit configuration information of the divided circuit A2 constituting the processing circuit A includes an identification code "ID-A2" obtained by adding a code "2" that specifies the partial reconfiguration region BR2 to the identification code "ID-A."

[0114] As a result, the CPU 11A performs control so that the partial reconfiguration region BR1 is reconfigured into the divided circuit A1, and the partial reconfiguration region BR2 is reconfigured into the divided circuit A2.

[0115] In the above embodiment, the reconstruction processing program 20 is installed in the storage unit 13, but the present invention is not limited to this. The reconstruction processing program 20 according to the present embodiment may be provided in a form recorded in a computer-readable storage medium. For example, the reconstruction processing program 20 according to the present embodiment may be provided in a form recorded in an optical disk such as a CD (Compact Disc)-ROM and a DVD (Digital Versatile Disc)-ROM, or in a form recorded in a semiconductor memory such as a USB (Universal Serial Bus) memory and a memory card. The reconstruction processing program 20 according to the present embodiment may be obtained from an external device via a communication line connected to the communication unit 12.

[0116] In the above embodiment, the term "processor" refers to a processor in a broad sense, including general-purpose processors (e.g., CPU: Central Processing Unit, etc.) and dedicated processors (e.g., GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, programmable logic device, etc.).

[0117] In addition, the operations of the processor in the above embodiments may not only be performed by one processor, but may be performed by multiple processors located at physically separate locations working together. Furthermore, the order of the operations of the processor is not limited to the order described in each of the above embodiments, and may be changed as appropriate. [Explanation of symbols]

[0118] 10 Image processing device 14 Image processing section SR reconstruction area BR1, BR2 partial reconstruction area

Claims

1. A processor is provided. The processor, acquiring a plurality of pieces of circuit configuration information corresponding to a plurality of divided circuits constituting a processing circuit that executes one processing function; executing in parallel a reconfiguration process for reconfiguring a plurality of partial reconfiguration regions into a plurality of divided circuits corresponding to the plurality of pieces of acquired circuit configuration information; When a first sub-processing circuit that executes a first sub-processing to be executed after the process executed by the processing circuit can be reconfigured to a first partial reconfiguration area that is a part of the plurality of partial reconfiguration areas, a reconstruction process of reconfiguring the first partial reconfiguration area to the first sub-processing circuit and a reconstruction process of reconfiguring a second partial reconfiguration area other than the first partial reconfiguration area to a divided circuit that is a part of the plurality of divided circuits that constitute a second sub-processing circuit that executes a second sub-processing to be executed after the first sub-process are executed in parallel. Information processing device.

2. The processor, After the first post-processing is performed, the first partial reconfiguration region is reconfigured into divided circuits other than some of the divided circuits of the plurality of divided circuits constituting the second post-processing circuit.

2. The information processing device according to claim 1.

3. the plurality of partial reconstruction regions are connected in series; The processor, When the first subsequent process is executed, all of the processes of the part of the divided circuits reconfigured in the second partial reconfiguration area are set not to be executed.

3. The information processing device according to claim 1.

4. A processor, The processor, acquiring a plurality of pieces of circuit configuration information corresponding to a plurality of divided circuits constituting a processing circuit that executes one processing function, the plurality of pieces of circuit configuration information including identification codes for identifying the corresponding processing circuits; executing in parallel a reconfiguration process for reconfiguring a plurality of partial reconfiguration regions into a plurality of divided circuits corresponding to the plurality of pieces of acquired circuit configuration information; When the processing circuits indicated by the identification codes included in each of the plurality of pieces of circuit configuration information are identical, the reconfiguration processing is executed. Information processing device.

5. the identification code includes a code that designates the partial reconstruction region, The processor, A partial reconfigurable region corresponding to a code specifying the partial reconfigurable region is reconfigured into a corresponding divided circuit.

5. The information processing device according to claim 4.

6. On the computer, acquiring circuit configuration information for at least two or more of a plurality of divided circuits constituting at least one processing circuit; executes in parallel a reconfiguration process for reconfiguring a plurality of partial reconfiguration regions into a plurality of divided circuits corresponding to the plurality of pieces of circuit configuration information based on the plurality of pieces of acquired circuit configuration information; When a first sub-processing circuit that executes a first sub-processing to be executed after the process executed by the processing circuit can be reconfigured to a first partial reconfiguration area that is a part of the plurality of partial reconfiguration areas, a reconstruction process of reconfiguring the first partial reconfiguration area to the first sub-processing circuit and a reconstruction process of reconfiguring a second partial reconfiguration area other than the first partial reconfiguration area to a divided circuit that is a part of the plurality of divided circuits that constitute a second sub-processing circuit that executes a second sub-processing to be executed after the first sub-process are executed in parallel. An information processing program for executing processing.

7. A computer comprising: acquiring a plurality of pieces of circuit configuration information for at least two or more of a plurality of divided circuits constituting at least one processing circuit, the plurality of pieces of circuit configuration information including an identification code for identifying a corresponding processing circuit; executes in parallel a reconfiguration process for reconfiguring a plurality of partial reconfiguration regions into a plurality of divided circuits corresponding to the plurality of pieces of circuit configuration information based on the plurality of pieces of acquired circuit configuration information; When the processing circuits indicated by the identification codes included in each of the plurality of pieces of circuit configuration information are identical, the reconfiguration processing is executed. An information processing program for executing processing.

8. An information processing device according to any one of claims 1 to 5; a reconstruction area including a plurality of partial reconstruction areas to be reconstructed by the information processing device; 1. A programmable logic circuit comprising:

9. Each of the plurality of partial reconfiguration regions includes a maximum number of resource circuits for each type of resource circuit included in a plurality of circuits that may be reconfigured in the plurality of partial reconfiguration regions.

9. The programmable logic circuit of claim 8.

10. The number of resource circuits included in each of the plurality of partial reconfigurable regions is the same.

10. The programmable logic circuit of claim 9.

11. The plurality of partial reconfiguration regions are connected in series via a bus, and a bus width of the bus is a maximum bus width among bus widths required by a plurality of divided circuits that may be reconfigured in the plurality of partial reconfiguration regions.

11. The programmable logic circuit according to claim 8.

12. the plurality of reconstruction regions are connected in parallel; The plurality of divided circuits are circuits that execute the same process.

11. The programmable logic circuit according to claim 8.

Citation Information

Patent Citations

  • Memory addition type programmable logic lsi

    JP1998285014A

  • Method for reconfiguring circuit into programmable logic circuit and information processing system

    JP2001320271A

  • Programmable logic circuit device and image processor

    JP2011199640A

  • Data processing apparatus

    JP2011203920A

  • Reconfigurable circuit, image forming apparatus, and program

    JP2014186667A