Circuit design assistance device, circuit design assistance method, and circuit design assistance program

The circuit design support device optimizes memory access by automatically generating a scheduler circuit based on external memory specifications, addressing the inefficiencies in existing tools by aligning with the performance characteristics of DDR-SDRAM, thus enhancing memory access efficiency and circuit performance.

WO2024218840A1PCT designated stage expired Publication Date: 2024-10-24MITSUBISHI ELECTRIC CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/015387
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-17
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Existing high-level synthesis tools generate redundant memory access circuits for multiple modules, failing to optimize performance characteristics of external memory like DDR-SDRAM, which affects memory usage efficiency.

Method used

A circuit design support device that automatically generates a scheduler circuit based on the specifications and performance of external memory, optimizing the issuance order of external memory accesses to meet required circuit performance by identifying parallel accesses and determining the appropriate burst length and number of simultaneous issues.

Benefits of technology

This approach enhances memory access efficiency by aligning with the performance characteristics of external memory, achieving performance closer to the desired requirements and improving overall circuit performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023015387_24102024_PF_FP_ABST
    Figure JP2023015387_24102024_PF_FP_ABST
Patent Text Reader

Abstract

A scheduling unit (110) of a circuit design assistance device (100) acquires a high-level description (61) including a plurality of external memory accesses from each of a plurality of modules, required circuit performance (63), and external memory information (64). The scheduling unit (110) identifies external memory accesses that operate in parallel in a circuit and determines an issuance order (72) of the external memory accesses that operate in parallel so that performance of the circuit satisfies the required circuit performance (63). A circuit generation unit (120) of the circuit design assistance device (100) generates a circuit description (65) of an external memory access circuit provided with a scheduler circuit that issues the external memory accesses that operate in parallel according to the issuance order (72).
Need to check novelty before this filing date? Find Prior Art

Description

Circuit design support device, circuit design support method, and circuit design support program

[0001] The present disclosure relates to a circuit design support device, a circuit design support method, and a circuit design support program.

[0002] As semiconductor integrated circuits become larger in scale, development of high-level synthesis technology, which synthesizes circuits using high-level languages ​​with a higher level of abstraction than hardware description languages, is progressing. Examples of high-level languages ​​with a higher level of abstraction than hardware description languages ​​include C, C++, SystemC, and Matlab. High-level synthesis technology is also called behavioral synthesis technology.

[0003] High-level synthesis tools sometimes have the ability to generate memory access circuits from the read and write descriptions for array variables by modules. Modules are also called functions. Memory access circuits are also called bus interface circuits. When accessing memory from multiple modules with existing high-level synthesis tools, a memory access circuit is generated for each module, which can result in redundant circuits.

[0004] Patent Document 1 discloses a method for generating an interface circuit that performs efficient memory access by merging or dividing functions. In Patent Document 1, functions are merged or divided when the access pattern to an array variable by multiple modules matches a specific predefined pattern.

[0005] Japanese Patent Application Laid-Open No. 2007-323206

[0006] In Patent Document 1, matching with a pre-prepared access pattern enables reduction of latency and circuit size related to memory accesses from multiple modules. On the other hand, Patent Document 1 generates a memory access circuit without considering the performance characteristics of the memory. For example, with an external memory such as DDR-SDRAM, performance varies significantly depending on the transaction size. Therefore, when using such an external memory, the design of the external memory access circuit and the method of arbitrating access from multiple modules can reduce memory utilization efficiency, potentially preventing desired performance from being achieved. DDR is an abbreviation for Double-Data-Rate. SDRAM is an abbreviation for Synchronous Dynamic Random Access Memory.

[0007] The present disclosure aims to obtain performance closer to the required performance by automatically generating a scheduler circuit based on the specifications and performance of the external memory.

[0008] The circuit design assistance device according to the present disclosure is a circuit design assistance device that assists in the design of a circuit, and includes: a scheduling unit that identifies external memory accesses that operate in parallel in the circuit based on a high-level description that describes the circuit in a high-level language and that includes a plurality of external memory accesses that indicate accesses to an external memory from each of a plurality of modules, circuit performance requirements that are required performance of the circuit, and external memory information that includes specifications and performance of the external memory, and determines an issue order of the external memory accesses that operate in parallel so that the performance of the circuit satisfies the circuit performance requirements; and a circuit generation unit that generates a circuit description of an external memory access circuit that includes a scheduler circuit that issues the external memory accesses that operate in parallel in the issue order.

[0009] According to the circuit design assistance device of the present disclosure, a scheduler circuit can be automatically generated based on the specifications and performance of the external memory, thereby achieving performance closer to the required performance.

[0010] FIG. 1 is a diagram showing an example of the configuration of a circuit design assistance device according to a first embodiment. FIG. 2 is a flow diagram showing the operation of the circuit design assistance device according to the first embodiment. FIG. 3 is a diagram showing an example of a high-level description according to the first embodiment. FIG. 4 is a diagram showing an example of a variable memory access circuit according to the first embodiment. FIG. 5 is a diagram showing the relationship between burst length and latency according to the first embodiment. FIG. 6 is a diagram showing an example of a data flow according to the first embodiment. FIG. 7 is a diagram showing an example of a scheduling process according to the first embodiment. FIG. 8 is a diagram showing an example of an external memory access circuit according to the first embodiment. FIG. 9 is a diagram showing an example of the configuration of a circuit design assistance device according to a modification of the first embodiment. FIG. 10 is a diagram showing a comparative example of the circuit design assistance device according to the first embodiment.

[0011] The present embodiment will be described below with reference to the drawings. In each drawing, the same or corresponding parts are assigned the same reference numerals. In the description of the embodiment, the description of the same or corresponding parts will be omitted or simplified as appropriate. The arrows in the drawings mainly indicate the flow of data or the flow of processing.

[0012] First Embodiment *** Description of Configuration *** Figure 1 is a diagram showing an example of the configuration of a circuit design assistance device 100 according to this embodiment. The circuit design assistance device 100 is a device that assists in the design of a circuit such as a semiconductor integrated circuit. The circuit design assistance device 100 is a computer. The circuit design assistance device 100 includes a processor 910, as well as other hardware such as a memory 921, an auxiliary storage device 922, an input interface 930, an output interface 940, and a communication device 950. The processor 910 is connected to the other hardware via signal lines and controls this other hardware. Note that the hardware configuration shown in Figure 1 is an example, and other configurations may be used.

[0013] The circuit design assistance device 100 includes, as functional elements, a scheduling unit 110, a circuit generation unit 120, and a storage unit 130. The scheduling unit 110 includes an access variable extraction unit 111, an access requirement determination unit 112, a parallel access identification unit 113, and an order determination unit 114. The storage unit 130 stores a high-level description 61, a circuit performance requirement 63, external memory information 64, and a circuit description 65.

[0014] The functions of the scheduling unit 110 and the circuit generation unit 120 are realized by software. The storage unit 130 is provided in the memory 921. Note that the storage unit 130 may be provided in the auxiliary storage device 922, or may be provided separately in the memory 921 and the auxiliary storage device 922.

[0015] The processor 910 is a device that executes a circuit design support program. The circuit design support program is a program that realizes the functions of the scheduling unit 110 and the circuit generation unit 120. The processor 910 is an IC that performs arithmetic processing. Specific examples of the processor 910 are a CPU, a DSP, and a GPU. IC is an abbreviation for Integrated Circuit. CPU is an abbreviation for Central Processing Unit. DSP is an abbreviation for Digital Signal Processor. GPU is an abbreviation for Graphics Processing Unit.

[0016] The memory 921 is a storage device that temporarily stores data. Specific examples of the memory 921 are SRAM and DRAM. SRAM is an abbreviation for Static Random Access Memory. DRAM is an abbreviation for Dynamic Random Access Memory. The auxiliary storage device 922 is a storage device that saves data. A specific example of the auxiliary storage device 922 is an HDD. The auxiliary storage device 922 may also be a portable storage medium such as an SD (registered trademark) memory card, CF, NAND flash, flexible disk, optical disk, compact disk, Blu-ray (registered trademark) disk, or DVD. Note that HDD is an abbreviation for Hard Disk Drive. SD (registered trademark) is an abbreviation for Secure Digital. CF is an abbreviation for CompactFlash (registered trademark). DVD is an abbreviation for Digital Versatile Disk.

[0017] The input interface 930 is a port connected to an input device such as a mouse, keyboard, or touch panel. Specifically, the input interface 930 is a USB terminal. The input interface 930 may also be a port connected to a LAN. USB is an abbreviation for Universal Serial Bus. LAN is an abbreviation for Local Area Network.

[0018] The output interface 940 is a port to which a cable of an output device such as a display is connected. Specifically, the output interface 940 is a USB terminal or an HDMI (registered trademark) terminal. Specifically, the display is an LCD. The output interface 940 is also called a display interface. HDMI (registered trademark) is an abbreviation for High Definition Multimedia Interface. LCD is an abbreviation for Liquid Crystal Display.

[0019] The communication device 950 has a receiver and a transmitter. The communication device 950 is connected to a communication network such as a LAN, the Internet, a telephone line, or Wi-Fi (registered trademark). Specifically, the communication device 950 is a communication chip or NIC. NIC is an abbreviation for Network Interface Card.

[0020] The circuit design support program is executed in the circuit design support device 100. The circuit design support program is read into the processor 910 and executed by the processor 910. The memory 921 stores not only the circuit design support program but also an OS. OS is an abbreviation for Operating System. The processor 910 executes the circuit design support program while running the OS. The circuit design support program and the OS may be stored in an auxiliary storage device 922. The circuit design support program and the OS stored in the auxiliary storage device 922 are loaded into the memory 921 and executed by the processor 910. Note that part or all of the circuit design support program may be incorporated into the OS.

[0021] The circuit design assistance device 100 may include multiple processors that replace the processor 910. These multiple processors share the task of executing the circuit design assistance program. Each processor is a device that executes the circuit design assistance program in the same way as the processor 910.

[0022] Data, information, signal values, and variable values ​​used, processed, or output by the circuit design support program are stored in the memory 921 , the auxiliary storage device 922 , or a register or cache memory within the processor 910 .

[0023] The "part" of each part of the scheduling unit 110 and the circuit generation unit 120 may be read as a "circuit," "step," "procedure," "process," or "circuitry." The circuit design support program causes a computer to execute a scheduling process and a circuit generation process. The "processing" of the scheduling process and the circuit generation process may be read as a "program," "program product," "computer-readable storage medium storing a program," or "computer-readable recording medium recording a program." Furthermore, the circuit design support method is a method performed by the circuit design support device 100 executing the circuit design support program. The circuit design support program may be provided by being stored in a computer-readable recording medium. Furthermore, the circuit design support program may be provided as a program product.

[0024] ***Description of Operation*** Fig. 2 is a flow diagram showing the operation of circuit design assistance device 100 according to this embodiment. The operation of circuit design assistance device 100 according to this embodiment will be described. The operating procedure of circuit design assistance device 100 corresponds to a circuit design assistance method. Furthermore, a program that realizes the operation of circuit design assistance device 100 corresponds to a circuit design assistance program that executes circuit design assistance processing.

[0025] <Scheduling Process: Steps S101 to S105> The scheduling unit 110 acquires the high-level description 61, the required circuit performance 63, and the external memory information 64. The scheduling unit 110 identifies external memory accesses that operate in parallel in the circuit based on the high-level description 61, the required circuit performance 63, and the external memory information 64. The scheduling unit 110 then determines the issue order 72 of the external memory accesses that operate in parallel so that the circuit satisfies the required circuit performance 63.

[0026] The high-level description 61 is a circuit description in which the circuit to be designed is written in a high-level language. The high-level description 61 includes multiple external memory accesses indicating accesses from multiple modules to the external memory. The required circuit performance 63 is the required performance for the overall processing in the circuit to be designed. The external memory information 64 is information including the specifications and performance of the external memory.

[0027] The scheduling process is specifically as follows.

[0028] In step S101, the access variable extraction unit 111 acquires a high-level description 61 to be processed. The high-level description 61 is a circuit operation description written in a high-level language such as C, C++, SystemC, or Matlab. In the high-level description 61, processing is defined as a module. A module is a function. The high-level description 61 is also written so that variables corresponding to external memory can be specified using directives such as pragmas or a separate input file.

[0029] 3 is a diagram showing an example of a high-level description 61 according to this embodiment. In FIG. 3, a C++ program is shown as the high-level description 61. In the example of the high-level description 61 in FIG. 3, funcA and funcB that operate in parallel are described. Furthermore, it is described that each of funcA and funcB accesses an external memory.

[0030] <<Access Variable Extraction Process>> In step S102, the access variable extraction unit 111 extracts multiple external memory access variables corresponding to multiple external memory accesses from the high-level description 61. The access variable extraction unit 111 identifies directives such as pragmas or descriptions such as separate input files, and extracts variables corresponding to external memory as external memory access variables. The access variable extraction unit 111 also analyzes the access pattern of array variables. The access pattern of array variables is information indicating whether the index of an array variable is sequential or random, for example. The access pattern of array variables is used when calculating required performance in the access requirement determination process, which will be described later.

[0031] This will be explained using the example of Fig. 3. The access variable extraction unit 111 extracts "#pragma variable=tmp, in, out type=EXTERNAL" from "func_top" in the C++ program of Fig. 3. As a result, the access variable extraction unit 111 extracts that tmp, in, and out are external memory access variables.

[0032] <<Access Requirement Determination Process>> In step S103, the access requirement determination unit 112 determines the minimum requirement 70 of the variable memory access circuit 701, which is a memory access circuit for each of the plurality of external memory access variables.

[0033] FIG. 4 is a diagram showing an example of a variable memory access circuit 701 according to this embodiment. funcA in FIG. 3 becomes the module shown in FIG. 4. The variable memory access circuit 701 is a memory access circuit for each external memory access variable. In FIG. 4, the variable memory access circuit 701 for the external memory access variable "in[N]" is an external memory read circuit. The variable memory access circuit 701 for the external memory access variable "out[N]" is an external memory write circuit. In the access requirement determination process, in funcA, the minimum requirements 70 of each variable memory access circuit for the external memory read circuit for in[N] and the external memory write circuit for out[N] are determined. The same is true for funcB.

[0034] The minimum requirement 70 is a parameter of the variable memory access circuit 701 that satisfies the module performance requirement, which is the performance requirement of the module, and that makes the circuit scale of the variable memory access circuit 701 smaller than a predetermined scale. The access requirement determination unit 112 may determine a plurality of minimum requirements as the minimum requirement 70. Specifically, the minimum requirement 70 is the burst length, the number of simultaneous issues, and the internal buffer size of the variable memory access circuit 701. Specifically, the access variable extraction process is as follows.

[0035] The access requirement determination unit 112 receives the high-level description 61 and the external memory information 64 as input and determines the minimum requirement 70 of the variable memory access circuit 701 for each external memory access variable extracted in step S101.

[0036] The external memory information 64 includes the following information: (1) Memory bus specifications: bus width, maximum burst length, maximum number of simultaneous issues (2) Performance: latency of the external memory for each access size as seen from the external bus of this circuit

[0037] The access size is the unit of a single request from the external memory. From the perspective of the variable memory access circuit, the access size is the transfer unit (burst length x bus width). In the following, the transfer unit and access size are synonymous.

[0038] The minimum requirements 70 of the variable memory access circuit 701 for each external memory access variable are parameters of the variable memory access circuit 701 that satisfy the module required performance and result in a circuit size smaller than a predetermined size. The circuit design assistance device 100 may store a threshold value for the circuit size, and the access requirement determination unit 112 may determine multiple parameters of the variable memory access circuit 701 that result in a circuit size smaller than the threshold value. Alternatively, the access requirement determination unit 112 may determine one parameter of the variable memory access circuit 701 that results in the smallest circuit size. The parameters of the variable memory access circuit 701 determined as the minimum requirements 70 are specifically the burst length, the number of simultaneous issues, and the internal buffer size. The internal buffer size may be the number of internal buffer stages.

[0039] The access requirement determination unit 112 determines the minimum requirements for in[N] as follows. Note that the same calculation is performed for out[N] and funcB. (a) The processing time of funcA when in[N] is replaced with internal memory (memory read latency is a minimum of 1 [cycle]) is calculated as the required latency of the module. This required latency of the module becomes the required performance of the module. (b) The required throughput of in[N] is calculated using the following formula. The required throughput of in[N] is also called the read request throughput. Required throughput = number of array elements of in (N) × type size of in (4 [bytes]) ÷ processing time calculated using (a). (c) Based on the required throughput calculated in (b) and external memory information 64 (bus width, maximum burst length, latency per transfer unit, etc.), the number of simultaneous issues and burst length that satisfy the following formula are determined. Required throughput [bps] ≦ Maximum throughput of memory access circuit [bps] = (burst length × bus width × number of simultaneous issues) [bit] ÷ latency of transfer unit (burst length × bus width) [s]

[0040] In the formula (c), the "maximum throughput [bps] of the memory access circuit" is the throughput of the minimum required variable memory access circuit, which is determined based on the burst length, bus width, number of simultaneous issues, and transfer unit that satisfy the required throughput calculated from the external memory information (2) described above.

[0041] Here, we will show how to calculate when the bus width and required throughput are as follows: Bus width: 64 bits Required throughput: 1.0 [Gbps] From formula (c), the combinations of simultaneous issuance number and burst length that satisfy the required throughput are as follows: Burst length 4 x simultaneous issuance number 3: 1.92 [Gbps], required buffer size: 768 bits Burst length 8 x simultaneous issuance number 2: 1.70 [Gbps], required buffer size: 1,024 bits Burst length 16 x simultaneous issuance number 1: 1.28 [Gbps], required buffer size: 1,024 bits

[0042] The required buffer size is calculated using the following formula: Required buffer size = burst length x bus width x number of simultaneous issues

[0043] 5 is a diagram showing the latency of the external memory for each access size (for each burst length when the bus width is fixed) according to this embodiment. As shown in FIG. 5, the latency of the external memory for each access size (for each burst length when the bus width is fixed) is defined as external memory information (2). Then, by substituting this latency [ns] for the "latency [s] of the transfer unit (burst length x bus width)" in equation (c) above, the maximum throughput of the variable memory access circuit can be calculated.

[0044] <<Parallel Access Identification Process>> In step S104, the parallel access identification unit 113 creates a data flow 71 including a flow of multiple external memory accesses based on the minimum requirements 70 and the high-level description 61, and identifies external memory accesses that operate in parallel. The parallel access identification unit 113 receives as input the minimum requirements 70 and the high-level description 61 of the variable memory access circuit extracted in step S102. The parallel access identification unit 113 then creates a data flow including a flow of external memory accesses, and identifies external memory accesses that operate in parallel.

[0045] FIG. 6 is a diagram illustrating an example of a data flow according to this embodiment. FIG. 6 is a diagram illustrating extracted data flows of funcA, funcB, and their respective variable memory access circuits 701. The data flows of funcA, funcB, and their respective variable memory access circuits 701 result in a pipeline operation as shown in FIG. 6. The parallel access identification process is performed by a process equivalent to general data flow analysis. In FIG. 6, the read of in[N], the read of tmp[N], the write of tmp[N], and the write of out[N], which are written in bold, simultaneously access the external memory. The parallel access identification unit 113 extracts a section in which these accesses overlap as a parallel access section. The parallel access identification unit 113 identifies the read of in[N], the read of tmp[N], the write of tmp[N], and the write of out[N], which simultaneously access the external memory, as external memory accesses operating in parallel.

[0046] <<Order Determination Process>> In step S105, the order determination unit 114 uses the minimum requirements 70 to determine an issue order 72 of the external memory accesses that operate in parallel, identified in step S104, so as to satisfy the required circuit performance 63. The required circuit performance 63 is the required performance for the overall processing of the circuit to be designed, and includes the latency and throughput of the overall processing. If the external memory accesses that operate in parallel and are issued in the determined issue order 72 do not satisfy the required circuit performance 63, the order determination unit 114 determines a different issue order so as to satisfy the required circuit performance 63.

[0047] Specifically, the order determination unit 114 uses the minimum requirements 70 as initial values ​​to determine the parameters of each variable memory access circuit for external memory accesses operating in parallel and the issue order 72 of the external memory accesses operating in parallel so as to satisfy the required circuit performance 63. If the required circuit performance 63 is not satisfied, the order determination unit 114 searches for parameters that satisfy the required circuit performance 63 by changing the parameters of the variable memory access circuit (number of simultaneous issues, burst length), and determines the issue order 72. In other words, if the required circuit performance 63 is not satisfied, the order determination unit 114 determines other parameters and an issue order so as to satisfy the required circuit performance 63.

[0048] 7 is a diagram showing an example of the order determination process according to this embodiment. The order determination unit 114 receives as input the parallel access section in which the external memory accesses identified in step S104 operate in parallel, the minimum requirements 70 of the variable memory access circuit extracted in step S103, and the circuit required performance 63. The order determination unit 114 determines the transaction issuance order 72 and the external memory access specifications of each module.

[0049] For example, the order determination unit 114 determines the order using the following algorithm: (A) Round-robin processing is performed on the access requests from each variable memory access circuit. The access requests after round-robin processing are as shown in the upper part of FIG. 7. (B) If the required circuit performance 63 is satisfied at this point, the scheduling ends. If it is not satisfied, the process proceeds to (C). (C) The burst length and the number of simultaneous issues are changed so that consecutive access requests (transactions) are merged in order from the one with the longest processing latency among the parameters of the minimum requirement 70, thereby reducing the total latency. (D) Return to (A) and repeat.

[0050] The above algorithm performs scheduling by taking advantage of the property that when commonly used external memory such as DDR-SDRAM has consecutive addresses, the latency is smaller than when it is accessed randomly. Note that the algorithm is not limited to the above, as long as the issue order, the number of simultaneous issues for each module, and the burst length that satisfy the required performance can be obtained based on the same input (the number of simultaneous issues and burst length of the external memory access circuit, and the latency for each transfer size of the external memory bus). For example, a general mathematical optimization algorithm may also be applied.

[0051] The minimum requirements used as initial values ​​may be specified in the access requirement determination process or in the parallel access specification process.

[0052] For example, the access requirement determination unit 112 determines multiple minimum requirements as minimum requirements. Specifically, these are three minimum conditions derived from the above-described formula (c). The parallel access identification unit 113 then identifies external memory accesses that operate in parallel based on one of the multiple minimum requirements and the high-level description. Thereafter, the order determination unit 114 uses the identified one minimum requirement as an initial value to determine the parameters and issue order of the variable memory access circuit so as to satisfy the circuit required performance 63.

[0053] Furthermore, for example, the access requirement determination unit 112 may determine multiple minimum requirements as minimum requirements and identify one minimum requirement from the multiple minimum requirements. Specifically, the access requirement determination unit 112 may select the parameter that requires the smallest buffer capacity from the three minimum conditions derived from the above formula (c). Thereafter, the order determination unit 114 uses the identified one minimum requirement as an initial value to determine the parameters and issue order of the variable memory access circuit so as to satisfy the circuit required performance 63.

[0054] <Circuit Generation Processing> In step S106, the circuit generation unit 120 generates a circuit description 65 of an external memory access circuit that includes a scheduler circuit that issues external memory accesses that operate in parallel in the issue order 72.

[0055] The circuit generation unit 120 generates an external memory access circuit 702 (scheduler, transfer control unit, internal buffer) based on the determined external memory access issue order (address), number of simultaneous issues, burst length, and internal buffer specifications. The circuit description is generated, for example, by storing an IP in a database that allows modification of the above parameters (external memory access issue order (address), number of simultaneous issues, burst length, internal buffer specifications). IP is an abbreviation for Intellectual Property. The circuit description is written in a circuit representation such as a high-level description or an RTL description.

[0056] 8 is a diagram showing an example of an external memory access circuit 702 generated by the circuit generation unit according to this embodiment. The circuit generation unit 120 generates the external memory access circuit 702 having the following: (1) a scheduler circuit that controls the access issuance order identified in step S105; (2) a transfer control circuit according to the number of simultaneous issuances of read / write requests, the burst length, and the bus width of each external memory access variable identified in step S105; and (3) an internal buffer that can hold data equal to the number of simultaneous issuances x burst length x bus width.

[0057] By connecting the external memory access circuit 702 generated by the circuit generation unit with funcA and funcB generated from the high-level description 61, a circuit having a configuration as shown in FIG. 8 is generated.

[0058] ***Other Configurations*** <Variation 1> In this embodiment, the functions of the scheduling unit 110 and the circuit generation unit 120 are realized by software. As a variation, the functions of the scheduling unit 110 and the circuit generation unit 120 may be realized by hardware. Specifically, the circuit design assistance device 100 includes an electronic circuit 909 instead of the processor 910.

[0059] 9 is a diagram showing an example of the configuration of a circuit design assistance device 100 according to a modified example of this embodiment. The electronic circuit 909 is a dedicated electronic circuit that realizes the functions of the scheduling unit 110 and the circuit generation unit 120. Specifically, the electronic circuit 909 is a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, a logic IC, a GA, an ASIC, or an FPGA. GA is an abbreviation for Gate Array. ASIC is an abbreviation for Application Specific Integrated Circuit. FPGA is an abbreviation for Field-Programmable Gate Array.

[0060] The functions of the scheduling unit 110 and the circuit generation unit 120 may be realized by a single electronic circuit, or may be realized by distributing them among a plurality of electronic circuits.

[0061] As another modification, some of the functions of the scheduling unit 110 and the circuit generation unit 120 may be realized by electronic circuits, and the remaining functions may be realized by software.Also, some or all of the functions of the scheduling unit 110 and the circuit generation unit 120 may be realized by firmware.

[0062] Each of the processor and the electronic circuit is also called processing circuitry. That is, the functions of the scheduling unit 110 and the circuit generation unit 120 are realized by the processing circuitry.

[0063] ***Explanation of Effects of the Present Embodiment*** Fig. 10 is a diagram showing a comparative example of the circuit design assistance device 100 according to the present embodiment. In Fig. 10, the right diagram shows a circuit to be designed in the circuit design assistance device 100 according to the present embodiment, and the left diagram shows a circuit of the comparative example for comparison with the present embodiment.

[0064] In the comparative example, the arbitration circuit must be designed (specified) manually. On the other hand, in the diagram on the right, a scheduler can be automatically generated based on the external memory access requirements of functions A and B. In the comparative example, for example, transfer control and buffer specifications are determined based on the access patterns of each function. Furthermore, when the arbitration circuit is determined manually, it is not possible to change the transfer control (number of simultaneous issues and burst length) or internal buffer size within the external memory access circuit based on the arbitration specifications. On the other hand, in the diagram on the right, the transfer control and buffer specifications for each function can be generated based on the scheduling results that take into account both functions A and B.

[0065] As described above, the circuit design assistance device 100 according to this embodiment automatically generates a scheduler circuit based on performance information of the external memory, thereby making it possible to obtain performance closer to the required performance. Furthermore, the circuit design assistance device 100 according to this embodiment generates a transfer control, internal buffer, and scheduler according to the scheduling results, thereby further improving performance and obtaining a circuit that makes high efficiency use of the external memory.

[0066] In the first embodiment described above, each unit of the circuit design assistance device has been described as an independent functional block. However, the configuration of the circuit design assistance device does not have to be the same as that of the above-described embodiment. The functional blocks of the circuit design assistance device may have any configuration as long as they can realize the functions described in the above-described embodiment. Furthermore, the circuit design assistance device may not be a single device, but may be a system composed of multiple devices. Furthermore, multiple parts of the first embodiment may be combined and implemented. Alternatively, only one part of this embodiment may be implemented. In addition, this embodiment may be combined in any way, either as a whole or in part. That is, in the first embodiment, the various embodiments may be freely combined, or any component of each embodiment may be modified, or any component of each embodiment may be omitted.

[0067] The above-described embodiments are essentially preferred examples and are not intended to limit the scope of the present disclosure, the scope of application of the present disclosure, or the scope of use of the present disclosure. The above-described embodiments can be modified in various ways as needed. For example, the procedures described using flow charts or sequence diagrams may be modified as appropriate.

[0068] 61 High-level description, 63 Circuit required performance, 64 External memory information, 65 Circuit description, 70 Minimum requirements, 71 Data flow, 72 Issue order, 100 Circuit design support device, 110 Scheduling unit, 111 Access variable extraction unit, 112 Access requirement determination unit, 113 Parallel access identification unit, 114 Order determination unit, 120 Circuit generation unit, 130 Storage unit, 701 Variable memory access circuit, 702 External memory access circuit, 909 Electronic circuit, 910 Processor, 921 Memory, 922 Auxiliary storage device, 930 Input interface, 940 Output interface, 950 Communication device.

Claims

1. A circuit design support device that supports the design of a circuit, comprising: a scheduling unit that identifies external memory accesses that operate in parallel in the circuit based on a high-level description of the circuit written in a high-level language, the high-level description including a plurality of external memory accesses indicating access to an external memory from each of a plurality of modules, circuit performance requirements that are the required performance of the circuit, and external memory information including specifications and performance of the external memory, and determines an issue order of the external memory accesses that operate in parallel so that the performance of the circuit satisfies the circuit performance requirements; and a circuit generation unit that generates a circuit description of an external memory access circuit that includes a scheduler circuit that issues the external memory accesses that operate in parallel in the issue order.

2. The circuit design support device according to claim 1, wherein, when the external memory accesses operating in parallel issued in the issue order do not satisfy the required circuit performance, the scheduling unit determines a different issue order so as to satisfy the required circuit performance.

3. The circuit design assistance device according to claim 2, wherein the scheduling unit comprises: an access variable extraction unit which extracts from the high-level description a plurality of external memory access variables corresponding to a plurality of external memory accesses; an access requirement determination unit which determines minimum requirements which are parameters of a variable memory access circuit which is a memory access circuit for each of the plurality of external memory access variables, the minimum requirements being parameters of the variable memory access circuit such that the variable memory access circuit satisfies the required performance of a module to which the variable memory access circuit corresponds and the circuit scale of the variable memory access circuit is smaller than a predetermined scale; a parallel access identification unit which creates a data flow including a flow of the plurality of external memory accesses based on the minimum requirements and the high-level description, and identifies the external memory accesses which operate in parallel; and an order determination unit which uses the minimum requirements as initial values ​​to determine the parameters of the variable memory access circuit for each of the external memory accesses which operate in parallel and the issue order so as to satisfy the circuit required performance.

4. The circuit design assistance device of claim 3, wherein the access requirement determination unit determines a plurality of minimum requirements as the minimum requirements, the parallel access identification unit identifies the external memory accesses that operate in parallel based on one of the plurality of minimum requirements and the high-level description, and the order determination unit uses the one minimum requirement as an initial value to determine parameters of variable memory access circuits and the issue order for each of the external memory accesses that operate in parallel so as to satisfy the required circuit performance.

5. The circuit design assistance device of claim 3, wherein the access requirement determination unit determines a plurality of minimum requirements as the minimum requirements and identifies one minimum requirement from the plurality of minimum requirements, and the order determination unit uses the one minimum requirement as an initial value to determine parameters of variable memory access circuits and the issue order for each of the external memory accesses operating in parallel so as to satisfy the required circuit performance.

6. A circuit design assistance device as claimed in any one of claims 3 to 5, wherein, if the required circuit performance is not satisfied by the determined parameters and issuance order, the order determination unit determines different parameters and issuance order so as to satisfy the required circuit performance.

7. A circuit design assistance device according to any one of claims 3 to 6, wherein the access requirement determination unit determines, as the minimum requirements, a burst length, a number of simultaneous issues, and an internal buffer size in the variable memory access circuit.

8. A circuit design support method used in a circuit design support device that supports the design of a circuit, comprising: a computer identifies external memory accesses that operate in parallel in the circuit based on a high-level description of the circuit described in a high-level language, the high-level description including a plurality of external memory accesses indicating access to an external memory from each of a plurality of modules, circuit performance requirements that are the required performance of the circuit, and external memory information including specifications and performance of the external memory, and determines an issue order of the external memory accesses that operate in parallel so that the performance of the circuit satisfies the circuit performance requirements; and a circuit design support method in which a computer generates a circuit description of an external memory access circuit having a scheduler circuit that issues the external memory accesses that operate in parallel in the issue order.

9. A circuit design support program used in a circuit design support device that supports the design of a circuit, the circuit design support program causing a computer to execute the following steps: a scheduling process that identifies external memory accesses that operate in parallel in the circuit based on a high-level description of the circuit written in a high-level language, the high-level description including multiple external memory accesses indicating access to an external memory from each of multiple modules, circuit performance requirements that are the required performance of the circuit, and external memory information including specifications and performance of the external memory, and determines an issue order of the external memory accesses that operate in parallel so that the performance of the circuit satisfies the circuit performance requirements; and a circuit generation process that generates a circuit description of an external memory access circuit having a scheduler circuit that issues the external memory accesses that operate in parallel in the issue order.

Citation Information

Patent Citations

  • Higher order synthesis method, thread generated by using the higher order synthesis method and method for generating circuit

    JP2003030261A

  • Pipeline high order synthesis system and method

    JP2007272797A

  • High-level synthesis device and high-level synthesis method

    JP2021002185A

  • Circuit design assistance device, circuit design assistance method, and circuit design assistance program

    WO2016162970A1