Arithmetic device

The novel arithmetic device with oxide semiconductor transistors and non-volatile memory solutions addresses power and heat challenges in multi-core computing devices by enabling efficient power gating and heat management, ensuring low power consumption and high-speed operation.

JP2024119905AActive Publication Date: 2024-09-03SEMICON ENERGY LAB CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2024092113
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2017-09-06
Filing Date
2024-06-06
Publication Date
2024-09-03
Estimated Expiration
2038-08-28

AI Technical Summary

Technical Problem

Existing computing devices with multi-core technology and DVFS face challenges in power gating individual cores, leading to increased leakage current and power consumption, which in turn causes heat generation and performance issues.

Method used

The implementation of a novel arithmetic device with a first and second calculation unit, each comprising CPU and GPU cores, utilizing oxide semiconductor transistors for power gating and data retention circuits, along with non-volatile memory solutions like NOSRAM and DOSRAM, to manage power consumption and heat generation.

Benefits of technology

This configuration enables low power consumption, high-speed operation, and effective heat management in computing devices, particularly in SoC-based systems, by allowing independent power gating of CPU and GPU cores based on workload and temperature.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024119905000001
    Figure 2024119905000001
Patent Text Reader

Abstract

To provide an arithmetic device and an electronic apparatus having small power consumptions, an arithmetic device and an electronic apparatus allowing high-speed operation, and an arithmetic device and an electronic apparatus capable of preventing heat generation.SOLUTION: An arithmetic device 100A comprises: a host 10 including a first CPU core 11A and a second CPU core 11B; and a GPU 30 including a first GPU core 33A and a second GPU core 33B. The CPU core has a power gating function, and includes a first data holding circuit 13 connected to a flip-flop. The first GPU core includes a second data holding circuit 35A that holds an analog value and can read it as digital data of two bit or more while the second GPU core includes a third data holding circuit 35B that holds a digital value and can read it as digital data of one bit. Each of the first to third data holding circuits includes a transistor with oxide semiconductor and a capacitive element.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] One embodiment of the present invention relates to a computing device and an electronic device.

[0002] Note that one embodiment of the present invention is not limited to the above technical fields. The technical field of one embodiment of the present invention is a semiconductor device, an imaging device, a display device, a light-emitting device, a power storage device, Storage devices, display systems, electronic devices, lighting devices, input devices, input / output devices, and driving methods thereof or a method for producing the same.

[0003] In this specification and the like, a semiconductor device is a device that can function by utilizing semiconductor characteristics. A transistor, a semiconductor circuit, an arithmetic unit, a memory device, etc. are examples of semiconductor devices. In addition, the present invention is applicable to display devices, imaging devices, electro-optical devices, power generation devices (thin-film solar cells, organic thin-film In some cases, semiconductor devices are included in electronic devices, such as solar cells. [Background technology]

[0004] Electronic equipment that has a processor such as a CPU (Central Processing Unit) These electronic devices are widely used. They process large amounts of data at high speeds, There is active technological development to improve the performance of computing devices. For example, multi-core technology, DVFS (Dynamic Voltage and Frequency There is a technology called "Uency Scaling."

[0005] The computing device is an application such as a GPU (Graphics Processing Unit). SoC (System on Chip) is a system that tightly couples the accelerator and CPU. The SoC technology has improved the computing power of the processor. In this case, heat generation and increased power consumption become problems. To reduce the thermal load of the computer in which the device is installed by monitoring and controlling the current An invention is disclosed that relates to a method and system for [Prior art documents] [Patent documents]

[0006] [Patent Document 1] Special Publication No. 2014-516446 Summary of the Invention [Problem to be solved by the invention]

[0007] Multi-core technology and DVFS technology are effective in improving the performance of computing devices. However, in the SoC computing device, multi-core technology and DVFS technology are applied. In this case, it is difficult to perform power gating for each core, and power consumption is reduced due to leakage current. The power will increase.

[0008] In view of the above, an object of one embodiment of the present invention is to provide a novel arithmetic device and electronic device. Another embodiment of the present invention is to provide a computing device and an electronic device with low power consumption. Another object of the present invention is to provide an arithmetic device and an electronic device capable of high-speed operation. Another object of the present invention is to provide a computing device capable of suppressing heat generation. It is an object of the present invention to provide a device and an electronic device.

[0009] Note that one embodiment of the present invention does not necessarily have to solve all of the above problems. It is sufficient if the invention can solve one of the problems. In addition, the description of the problem above does not necessarily mean that there are other problems. Problems other than these are not necessarily based on the description, claims, drawings, etc. This will become self-evident from the description, claims, drawings, etc. It is possible to extract issues other than these. [Means for solving the problem]

[0010] One aspect of the present invention includes a first calculation unit and a second calculation unit. The second computing unit has a first CPU core and a second CPU core, and the second computing unit has a first GPU core and a and two GPU cores, and the first CPU core and the second CPU core are A first CPU core and a second CPU core have a function of being power-gated. Each of the cores has a first data retention circuit electrically connected to the flip-flop. The first GPU core holds the analog value and reads it as 2-bit or more digital data. The second GPU core has a second data retention circuit capable of reading out the digital value. and a third data retention circuit capable of retaining the data and reading it out as 1-bit digital data. The first to third data holding circuits each include a first transistor and a capacitance element. The first transistor has a function of controlling writing of data to the capacitor and a function of The data written is written by making the source and drain of the transistor non-conductive. The first transistor has a function of storing a charge according to the The present invention relates to a computing device including an oxide semiconductor.

[0011] One aspect of the present invention includes a first calculation unit and a plurality of second calculation units, the first calculation unit comprising: The first and second CPU cores are provided. A first GPU core and a second GPU core, and a first CPU core and a second CPU The first CPU core has a function capable of being power-gated. The first and second CPU cores are electrically connected to the flip-flops. a data holding circuit for holding an analog value and storing a data of 2 or more bits; a second data holding circuit capable of reading out the digital data; The third bit holds a digital value and can be read out as 1-bit digital data. The first to third data holding circuits each include a first transistor. a first transistor for controlling writing of data to the capacitor; and bringing the source and drain of the first transistor into a non-conductive state. The first transistor has a function of holding a charge according to data written in the first transistor. The channel formation region of the transistor is an arithmetic device having an oxide semiconductor.

[0012] In one embodiment of the present invention, the second data retention circuit and the third data retention circuit each include The first transistor has a source or a drain connected to a capacitor. A node to which one electrode of the capacitance element and the gate of the second transistor are electrically connected A calculation device having a function of holding a potential corresponding to an analog value or a digital value is preferable.

[0013] In one aspect of the present invention, either the first CPU core or the second CPU core is The state in which the arithmetic processing is executed and the state in which the other is power-gated are switched. The switching is based on the temperature of the area where the first or second CPU core is located. A computing device controlled by the processor is preferred.

[0014] In one embodiment of the present invention, the first GPU core and the second GPU core are The state in which the arithmetic processing is executed and the state in which the other is power-gated are switched. The switching is done by a scientific calculation or a neural network. It is preferable that the calculation process is based on inference using the above, or that the calculation device is controlled in response to the above.

[0015] Other aspects of the present invention will be described in the following embodiments. As shown in the drawings. Effect of the Invention

[0016] According to one embodiment of the present invention, a novel computing device and electronic device can be provided. According to one embodiment of the present invention, a computing device and an electronic device with low power consumption can be provided. According to another embodiment of the present invention, a computing device and an electronic device capable of high-speed operation are provided. According to one embodiment of the present invention, a computing device and an electronic device capable of suppressing heat generation can be provided. Equipment can be provided.

[0017] The description of these effects does not preclude the existence of other effects. An embodiment does not necessarily have to have all of these advantages. Other advantages may be included in the description. The above will be obvious from the description, claims, drawings, etc. Other effects can be extracted from the claims, drawings, etc. [Brief description of the drawings]

[0018] [Figure 1] FIG. 1 is a block diagram illustrating a configuration of one embodiment of the present invention. [Diagram 2] FIG. 1 is a block diagram illustrating a configuration of one embodiment of the present invention. [Diagram 3] FIG. 1 is a block diagram illustrating a configuration of one embodiment of the present invention. [Figure 4] FIG. 1 is a state transition diagram illustrating a configuration of one embodiment of the present invention. [Diagram 5] FIG. 1 illustrates a configuration of one embodiment of the present invention. [Figure 6] FIG. 1 illustrates a configuration of one embodiment of the present invention. [Figure 7] 1 is a flowchart illustrating a configuration of one embodiment of the present invention. [Figure 8] 1 is a flowchart illustrating a configuration of one embodiment of the present invention. [Figure 9] FIG. 1 is a block diagram illustrating a configuration of one embodiment of the present invention. [Figure 10] FIG. 1 is a block diagram illustrating a configuration of one embodiment of the present invention. [Figure 11] FIG. 1 is a block diagram showing an example of a power gating mechanism of a CPU. [Figure 12] A: Circuit diagram showing an example of a flip-flop configuration. B: A diagram showing an example of a stacked structure of a flip-flop. [Figure 13] 4 is a timing chart showing an example of the operation of a flip-flop. [Figure 14] A functional block diagram showing an example of the configuration of an osAI chip. [Figure 15] FIG. 1 is a circuit diagram showing an example of the configuration of a MAC array. [Figure 16] A functional block diagram showing an example of the configuration of an osAI chip. [Figure 17] FIG. 2 is a block diagram showing an example of the configuration of a computation array. [Figure 18] FIG. 4 is a circuit diagram showing a configuration example of an arithmetic circuit. [Figure 19] A: Circuit diagram showing an example of the configuration of a memory circuit B: Circuit diagram showing an example of the configuration of a memory cell. [Figure 20]FIG. 2 is a circuit diagram showing a configuration example of a memory circuit. [Figure 21] A and B are circuit diagrams showing examples of switch circuit configurations. [Figure 22] A: Functional block diagram showing an example of the configuration of a NOSRAM. B: Circuit diagram showing an example of the configuration of a memory cell. [Diagram 23] A: Circuit diagram showing an example of the configuration of a memory cell array. B, C: Circuit diagrams showing an example of the configuration of a memory cell. [Figure 24] 4 is a timing chart showing an example of the operation of NOSRAM. [Diagram 25] FIG. 1 is a functional block diagram showing an example of the configuration of an OSSRAM. [Figure 26] A: Circuit diagram showing an example of the configuration of a memory cell B: Timing chart showing an example of the operation of an OSSRAM. [Figure 27] FIG. 1 is a circuit diagram showing an example of the circuit configuration of an AD:os memory. [Figure 28] A schematic diagram showing an example of the configuration of the circuit section of an osAI chip. [Figure 29] FIG. 1 illustrates a configuration of one embodiment of the present invention. [Diagram 30] FIG. 1 illustrates a configuration of one embodiment of the present invention. [Diagram 31] FIG. 1 illustrates a configuration of one embodiment of the present invention. [Diagram 32] FIG. 1 illustrates a configuration of one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] Hereinafter, an embodiment of the present invention will be described. However, one embodiment of the present invention is not limited to the following description. The present invention is not limited to the above embodiment, and various modifications and variations in form and detail may be made without departing from the spirit and scope of the present invention. It will be readily apparent to those skilled in the art that modifications may be made thereto. Accordingly, one aspect of the present invention is The present invention is not to be construed as being limited to the description of the following embodiment.

[0020] The following embodiments can be combined as appropriate. In the embodiment, a plurality of configuration examples (including manufacturing method examples, operation method examples, and usage method examples) are shown. In this case, the configuration examples may be appropriately combined with each other, and the configuration examples may be appropriately combined with each other. Alternatively, a plurality of configuration examples may be appropriately combined.

[0021] In the drawings, the size, layer thickness, or area may be exaggerated for clarity. Therefore, the scale is not necessarily limited to that shown in the drawings. The figures are not limited to the shapes or values ​​shown in the drawings. For example, the signal due to noise may be Variations in signal, voltage, or current, or timing differences can include current variations, etc.

[0022] In this specification, the term "metal oxide" refers to a metal oxide in a broad sense. Metal oxides are oxide insulators and oxide conductors (including transparent oxide conductors). , oxide semiconductors (also called oxide semiconductors), etc. For example, when a metal oxide is used for the channel formation region of a transistor, the metal oxide In other words, metal oxides have amplifying, rectifying, and When the metal oxide has at least one switching function, the metal oxide is called a metal oxide semiconductor. (metal oxide semiconductor). A transistor that includes a metal oxide in a channel formation region is also referred to as an os transistor.

[0023] (Embodiment 1) The configuration, operation, and the like of a computing device according to one embodiment of the present invention will be described.

[0024] FIG. 1 is a block diagram of a computing device 100A. The computing device 100A shown in FIG. The host computer 10 (referred to as “Host” in the drawing), a bus 20 (referred to as “Bus” in the drawing), and a GPU 30. The processor 10 and the GPU 30 have the function of performing calculations to execute a program.

[0025] The host 10 executes the OS (Operating System), controls data, and It has a function to perform general-purpose processing such as calculation and program execution. In FIG. 1, as an example, two CPU cores, CPU core 11A and CPU core 11B, are used. The host 10 includes a memory 12. The memory 12 includes a memory It has an in-memory function or a data cache function.

[0026] The CPU core 11A and the CPU core 11B have a function of executing processes performed on the host 10. It is preferable that the CPU core 11A and the CPU core 11B have different processing capabilities. For example, the CPU core 11A has lower processing performance and consumes less power than the CPU core 11B. CPU core 11B has a higher processing performance than CPU core 11A. It is preferable that the host 10 has a core that is short and consumes a large amount of power. Depending on the amount and type of processing performed by the It is possible to select one or both of them to perform the process efficiently.

[0027] In addition, CPU core 11A and CPU core 11B have different circuit designs, so the processing power and power consumption are different. It is possible to configure the two processors with different power consumption. By applying DFVS technology to either or both of the CPU cores, processing The capacity and power consumption can be different. The voltage and frequency of one CPU core is increased to improve processing performance, while the other C By lowering the voltage and frequency of the PU core, power consumption is reduced, and the processing power mentioned above is improved. It is also possible to realize a configuration in which the power consumption is made different.

[0028] Each of the CPU cores 11A and 11B includes a data retention circuit 13. The data holding circuit 13 is a circuit that can hold data even if the supply of power supply voltage is stopped. The power supply voltage is supplied by electricity from the power domain via a power switch, etc. The power supply voltage is sometimes called the drive voltage. The data retention circuit 13 may be made of, for example, an oxide semiconductor. A meso-transistor having a transistor (os transistor) with a uctor in the channel formation region. In the following, OS memory is preferable.

[0029] Since the band gap of metal oxides is 2.5 eV or more, os transistors have a very small off-state As an example, when the voltage between the source and drain is 3.5 V and the temperature is 25°C, The off-current per 1 μm of channel width is 1×10 -20 Less than A, 1×10 -22 A Full or 1×10 -24 That is, the drain current on-state current can be less than 1 A. The on / off current ratio can be set to 20 to 150 digits. Therefore, the OS memory is The amount of charge leaking from the storage node through the os transistor is extremely small. Since sMemory can function as a non-volatile memory circuit, power gating of the computing device is possible. It becomes possible.

[0030] Metal oxides applied to os transistors are Zn oxide, Zn-Sn oxide, Ga-S n-oxide, In-Ga oxide, In-Zn oxide, In-M-Zn oxide (M is Ti, Ga, Y, Zr, La, Ce, Nd, Sn or Hf). Indium and Oxides containing zinc, aluminum, gallium, yttrium, copper, vanadium, and benzyl Lithium, boron, silicon, titanium, iron, nickel, germanium, zirconium, molybdenum Lithium, lanthanum, cerium, neodymium, hafnium, tantalum, tungsten, magnesium The metal may contain one or more elements selected from the group consisting of ruthenium, cadmium, and the like.

[0031] In order to improve the reliability and electrical characteristics of OS transistors, metal oxides are applied to the semiconductor layer. , CAAC-OS, CAC-OS, nc-OS, and other crystalline metal oxides. CAAC-OS is a c-axis-aligned crystallographic CAC-OS is an abbreviation for C-ine oxide semiconductor. loud-aligned composite oxide semiconductor nc-OS is an abbreviation of nanocrystalline oxide semiconductor. It is an abbreviation for emissive.

[0032] CAAC-OS has a c-axis orientation and multiple nanocrystals are connected in the ab-plane direction. The crystal structure has distortion. The distortion is caused by the area where multiple nanocrystals are connected. In the region, the orientation of the lattice arrangement is changed between a region with a uniform lattice arrangement and another region with a uniform lattice arrangement. This refers to the point where the sound changes.

[0033] CAC-OS has the function of flowing electrons (or holes) that act as carriers, and The function of allowing electrons to flow and the function of not allowing electrons to flow are separated. This allows the maximum functionality of both. By using this material in the channel formation region of a semiconductor device, it is possible to achieve both a high on-current and an extremely low off-current. It can be achieved.

[0034] Metal oxides have a large band gap, which makes it difficult for electrons to be excited, and the effective mass of holes is Due to the large current, os transistors have a higher anode current than conventional silicon transistors. Therefore, for example, avalanche breakdown may not occur easily. Hot carrier degradation can be suppressed. By suppressing hot carrier degradation, high drain The OS transistor can be driven by the input voltage.

[0035] An os transistor is an accumulation type transistor that uses electrons as the majority carrier. Compared with an inversion transistor (typically a Si transistor) that has a pn junction, Drain-Induced Barrier Loss (DIBL) is one of the channel effects. In other words, the influence of the thermal weld is smaller in OS transistors than in Si transistors. High resistance to short channel effects.

[0036] OS transistors have high resistance to short channel effects, so the signal quality of OS transistors is By using OS transistors, the channel length can be reduced without degrading the reliability. As the channel length becomes smaller, the drain electric field becomes stronger. However, as mentioned above, os transistors have a higher avalanche breakdown rate than Si transistors. Hard to wake up.

[0037] In addition, os transistors have a high resistance to short channel effects, making them superior to Si transistors. For example, the channel length and the channel width can be increased by Even for miniaturized transistors with a thickness of 50 nm or less, a gate insulating film as thick as 10 nm is required. In some cases, it may be possible to reduce parasitic capacitance by making the gate insulating film thicker. This allows the circuit to operate at a faster speed. This reduces the leakage current through the insulating film, which leads to a reduction in static current consumption.

[0038] From the above, the CPU core 11A and the CPU core 11B are the data retention circuit that is the OS memory. By having the circuit 13, data can be retained even if the supply of power supply voltage is stopped. Power gating of U core 11A and CPU core 11B is possible, reducing power consumption A significant reduction can be achieved.

[0039] The memory 12 stores data necessary for the processing performed by the CPU core 11A and the CPU core 11B. The memory 12 has a function of storing data. The memory may be volatile or non-volatile. Specifically, SRAM (Static Random Access Memory) , DRAM (Dynamic Random Access Memory), and Flash memory can be used. Or NOSRAM or DOSRAM can be used. It can also be used.

[0040] "NOSRAM (registered trademark)" means "Nonvolatile Oxide Semiconductor NOSRAM is an abbreviation for non-linear conductor RAM. A 2T or 3T gain cell with an access transistor. DOSRAM (registered trademark) is a memory in which the data is made of os transistors. It is an abbreviation for "Dynamic Oxide Semiconductor RAM." DOSRAM is a one-transistor, one-capacitor memory cell that consists of an OS transistor and a capacitance element. This refers to a memory that is a quantum dot type (1T1C) and whose access transistor is an OS transistor. NOSRAM and DOSRAM have an access transistor that is an os transistor. In the off state, the current that flows between the source and drain of an os transistor is called the relay. NOSRAM and DOSRAM have extremely low leakage current. By using this unique characteristic to hold an electric charge according to data in the memory cell, it becomes a non-volatile memory. It can be used as such.

[0041] The memory 12 is connected to the CPU core 11A and the CPU core 11B via a memory bus (not shown). The arithmetic device 100A is electrically connected to a CPU and a GPU. Since this is a heterogeneous system, the memory 12 may be referred to as a host memory.

[0042] The host 10 is electrically connected to the GPU 30 via a bus 20. Data can be transmitted to and from the GPU 30 via the bus 20 .

[0043] The GPU 30 includes a device memory 31, a shared memory 32A, a shared memory 32B, and a GPU. The device memory 31 and the shared memory 32 are included in the U-core 33A and the GPU core 33B. A and the shared memory 32B are sometimes referred to as on-site memory.

[0044] The GPU 30 has a function of executing a program called from a host program. The GPU 30 is used for, for example, parallel processing of matrix operations in graphic processing, neural network Parallel processing of multiply-and-accumulate operations in networks, and parallel processing of floating-point operations in scientific and technological calculations. It can be done.

[0045] The device memory 31 stores the program (kernel or kernel program) executed by the GPU 30. The device memory stores the data to be processed by the GPU 30. The memory 31 is connected to the shared memory 32A and the shared memory 32B via a memory bus (not shown). The data transfer between the device memory 31 and the memory 12 is performed by , via bus 20.

[0046] The shared memory 32A is electrically connected to the GPU core 33A and has a function of holding digital values. The shared memory 32B is electrically connected to the GPU core 33B and stores analog values. The digital value is binary, that is, 1-bit digital data. Analog values ​​are data with four or more values, and can be quantized to produce digital data with two or more bits. Therefore, the shared memory 32B can be handled as a simpler memory than the shared memory 32A. This allows for increased memory capacity per unit area.

[0047] The GPU core 33A has a function of performing arithmetic processing using digital values. Therefore, the GPU core 33A is suitable for applications that require high-precision calculation results. The GPU core 33A is suitable for performing arithmetic processing. do.

[0048] The arithmetic unit 34A has a data storage unit 35A for storing digital values. The data storage unit 34A performs integer arithmetic, single precision arithmetic, and the like, using the digital values ​​stored in the data storage unit 35A. It has the function of performing either floating-point arithmetic or double-precision floating-point arithmetic. The multiple arithmetic units 34A mounted on the PU core 33A basically execute the same instructions. To carry out.

[0049] The GPU core 33B has a function of performing arithmetic processing using analog values. By using analog values ​​as digital data for calculations, a huge amount of calculations need to be performed. This eliminates the need for a GPU core, and the circuit scale can be kept small. The GPU core 33B can reduce power consumption and heat generation. It has bit 34B.

[0050] The arithmetic unit 34B has a data storage unit 35B that stores an analog value. The data storage unit 34B quantizes the analog value stored in the data storage unit 35B to obtain a digital value. Using the data, integer arithmetic, single-precision floating-point arithmetic, double-precision floating-point arithmetic, etc. The GPU core 33B has a function of performing one of the following: The 34B essentially executes the same instructions.

[0051] The components that consume power in the computing device 100A shown in FIG. 1 are the host 10 and the GP U30. The host 10 and GPU3 with respect to the total power consumption of the computing device 100A. The proportion of 0 is relatively large. In particular, GPU30 is (Deep Learning), when performing huge calculations such as scientific and technical calculations that use floating-point arithmetic, Therefore, the power consumption of the GPU 30 is reduced as much as possible. It is preferable to make it as small as possible.

[0052] The arithmetic device 100A shown in FIG. 1 performs arithmetic operations using quantized analog values ​​in a GPU, and switching of calculations using digital values, and CPU core 11A and CPU core By switching between 11B and 12B, power consumption and heat generation can be reduced while accelerating calculation processing. This configuration can be implemented on a multi-CPU core and multi-GPU core. This is particularly effective in SoCs.

[0053] FIG. 2 is a block diagram of a modified example of the arithmetic device 100A shown in FIG. The device 100B includes two or more GPUs (GPU30_1 to GPU30_n (n is two or more 1 in that it has a natural number.

[0054] The bus 20 electrically connects the host 10 and the GPUs 30_1 to 30_n. The host 10 and the GPUs 30_1 to 30_n communicate with each other via a bus 20. For other configurations, refer to the configuration of the arithmetic device 100A.

[0055] The arithmetic device 100B has multiple GPUs, and therefore can perform processing more efficiently than the arithmetic device 100A. In addition, by switching the GPU that processes the data, the processing speed can be improved. This can suppress an increase in the temperature of the computing device 100B.

[0056] 3 is a block diagram of a modified example of the arithmetic device 100A shown in FIG. The device 100C includes a CPU 10A (CPU1), a CPU 10B (CPU2), and a bus 20. and GPU 30A (GPU1) and GPU 30B (GPU2). This differs from the arithmetic device 100A shown in FIG.

[0057] The CPU 10A has a CPU core 11A and a memory 12, and the CPU 10B has a CPU core The GPU 30A includes a device memory 31, a shared memory 32, and a memory 12. The GPU 30B includes a device memory 31, It has a shared memory 32B and a GPU core 33B.

[0058] The bus 20 electrically connects the CPU 10A, the CPU 10B, the GPU 30A, and the GPU 30B. CPU10A and CPU10B, GPU30A and GPU30B are connected to Data transmission can be performed via the bus 20. Please refer to the configuration of 100A.

[0059] FIG. 4 is a state transition diagram for explaining a plurality of states that the arithmetic device 100A shown in FIG. The arithmetic device 100A shown in FIG. G2, and states SPG1 to SPG4.

[0060] A state SC1 shown in FIG. 4 is a state in which processing is executed using the CPU core 11A (in the figure, The state SC2 corresponds to the state where the CPU core 11B executes the process. The SG1 state corresponds to the GPU core 33B. This corresponds to the state where the GPU core is used to execute processing (shown as GPU Core 1 in the figure). In this case, the GPU core 33A is used to execute the process (shown as GPU Core2 in the figure). handle.

[0061] The states SPG1 to SPG4 shown in FIG. For each core in G2, the power gating state (PG state, PG Mo in the figure) Power gating is a function that limits the supply of power to a circuit. By controlling the supply, for example, the supply of power voltage to unused circuits can be stopped. It is a technique.

[0062] For example, if you want to change only CPU core 11A to PG state, CPU core 11A will change from state SC1 to state The other configurations, CPU core 11B, GPU core 33A, and The GPU core 33B is in a state SC2, a state SG2, and a state SG1 in which the power supply voltage is supplied. As another example, the CPU core 11A and the GPU core 33B are in the PG state. In this case, CPU core 11A transitions from state SC1 to state SPG1, and GPU core CPU core 33B transitions from state SG1 to state SPG3, and the other configuration, CPU core 11B The GPU core 33A remains in the state SC2 and state SG2 in which the power supply voltage is supplied. It becomes.

[0063] The arithmetic device 100A performs the calculation based on the type of instruction and the amount of calculation described in the host program. Then, the selection of state SC1 or state SPG1, and state SC2 or state SPG2, i.e. Processing is performed using either CPU core 11A or CPU core 11B, or both. Also, if the host program contains a kernel program, Based on the type and amount of calculation of the kernel program, state SG1 or state SPG3, and Selection of state SG2 or state SPG4, i.e., GPU core 33A or GPU core 33B Depending on the configuration, each core can select whether to use one or both of the following: Since it is possible to put each device into the PG state independently, power consumption of the entire computing device is reduced. It is possible.

[0064] FIG. 5 is a diagram for explaining an example of transition to each state shown in the state transition diagram explained in FIG. Specifically, the operation of each core for five commands (command 1 to command 5) will be explained. In 5, the core that is being supplied with power and is ready for operation is indicated as "EXE.", A core in a PG state where the voltage supply is stopped is written as "PG."

[0065] In the explanation of Figure 5, CPU core 1 (illustrated as CPU Core1) is CPU core 2 (CPU Compared to Core2, it has lower computing performance and consumes less power. PU core 2 is a core with higher computing performance and higher power consumption than CPU core 1. GPU core 1 (illustrated as GPU Core1) is a digital signal obtained by quantizing analog values. It is a GPU core that performs calculations using digital values ​​(multi-value data), and it has high calculation speed and The accuracy is low, but the heat generation is small. ) is a GPU core that performs calculations using digital values, and is capable of processing speed and accuracy. is high, but the fever is large.

[0066] ↓ Instruction 1 (in the figure, Instruction 1) achieves high processing speed without parallel processing. For example, electronic equipment equipped with a computing device or parallel The computer may be in sleep mode (sleep in the figure). In such a case, the CPU Only core 1 is active, and other cores are in PG state. CPU core 1 consumes less power, Since the other cores are in the PG state and do not consume power, the power consumption and output of the arithmetic device 100A are Command 1 can be executed while suppressing heat.

[0067] Instruction 2 (in the figure, Instruction 2) cannot be executed in parallel. These are instructions that require fast processing. For example, they are executed when the operating system is booting or when the In some cases, multiple programs may be executed at the same time (busy in the figure). Only core 2 is active, and other cores are in PG state. CPU core 2 has high processing performance and other cores are in PG state. The core is in the PG state and does not consume power. This reduces the power consumption of the arithmetic device 100A. While this is done, instruction 2 can be executed at high speed.

[0068] Instruction 3 (instruction 3 in the figure) can execute processes in parallel, and is highly These are instructions that do not require high processing performance. For example, when performing inference processing based on machine learning (see Figure 1). In this case, there is one CPU core and one GPU core. The other cores are in PG state. CPU core 1 inputs data to the memory on GPU core 1. Transfer data and call kernel programs to have GPU core 1 execute the processing. When the processing is completed, the output data is transferred to the memory on the CPU core. and GPU core 1 consumes little power, while the other cores are in PG state and do not consume any power. As a result, the arithmetic device 100A can execute the instruction 3 while suppressing power consumption and heat generation. In addition, when GPU core 1 is processing, if CPU core 1 does not need to operate, During the period in which the process is being performed, the CPU core 1 may be switched to the PG state. By switching frequently, power consumption and heat generation can be reduced.

[0069] Instruction 4 (instruction 4 in the figure) can execute processes in parallel, resulting in high speed. For example, when performing scientific calculations (calcul In such a case, CPU core 2 and GPU core 2 are operated, The other cores are in PG state. CPU core 2 transfers input data to the memory on GPU core 2. Then, the kernel program is called, causing GPU core 2 to execute the processing. Once the process is complete, the output data is transferred to the memory on the CPU core. CPU core 2 and GPU core 2 have high processing performance and can execute a part of the Since the arithmetic device 100A is in the PG state and does not consume power, the power consumption of the arithmetic device 100A is suppressed while the life When GPU core 2 is processing, CPU If core 2 is not required to operate, switch CPU core 2 to PG state during the period in which the process is being performed. By switching to the PG state frequently, power consumption and heat generation can be reduced. It is possible.

[0070] Compared to instruction 4, instruction 5 (instruction 5 in the figure) has a larger amount of calculations and is This is an instruction that requires high-speed processing. In this case, two CPU cores, one GPU core, and one GPU core, If only one core is used for processing, these cores will generate heat, causing the temperature of the board to rise, and the processor In such a case, the drive (in the figure, For example, it is effective to cool all cores (CPU core 1, CPU core The PG status and the state of supplying power to the GPU cores (GPU core 2, GPU core 1, and GPU core 2) are By switching between these states frequently, it is possible to continue executing instructions while suppressing heat generation. .

[0071] As described above, the types of instructions and the amount of calculations written in the host program, Select the appropriate combination of cores to use based on the type of kernel program and the amount of calculations. By setting the unselected cores in PG state, it is possible to reduce power consumption while executing instructions at high speed. can be executed.

[0072] Figure 6 (A) and (B) show the performance of multiple CPU cores or multiple GPU cores depending on the board temperature. When using the PG state, the state of calculation is changed to the PG state, and the state of calculation is changed from the PG state to the 11 is a diagram illustrating an operation for switching to a different mode. FIG.

[0073] In Figure 6(A), the calculations of two CPU cores (CPU Core1, CPU Core2) This is an example of how to switch between the PG state and the CPU core state. Supply power to 1 to make it ready for calculation (CPU Core1 Exe.), and The supply of power voltage to PU Core2 is stopped and the state is changed to PG. In the graph, the horizontal axis represents time and the vertical axis represents the surface temperature of the area where the CPU cores are located.

[0074] In CPU Core1, current flows due to calculations, so the placement of CPU Core1 The heat generated is centered on the area where CPU Core1 is located. The temperature of the area where CPU Core1 is located reaches the threshold temperature T th When it reaches C In the PU Core2, the power supply voltage is supplied from the PG state, and the (CPU Core2 Exe.)

[0075] The computing power of CPU Core1 is smaller than that of CPU Core2. Specifically, in the case of CPU Core2, DVFS technology is applied to the CPU The computing power is increased from Core 1. When Core1 is used more aggressively than CPU Core2, The heat generated in the area where the CPU Core 2 is located is less than that generated in the area where the CPU Core 3 is located. This reduces power consumption, suppresses heat generation, and reduces the frequency of switching to the PG state. The degree can be reduced.

[0076] Eventually, the area where CPU Core1 is located will heat up and the area where CPU Core1 is located will The temperature of the area is the critical temperature T lim When this is reached, the power supply voltage to CPU Core1 is Stop and put it into PG state (CPU Core1 PG). Then, CPU Core2 CPU Core2 starts the calculation with CPU C Heat is generated around the area where ore2 is placed. Note that during the period t1 shown in FIG. 6(A), PU Core2 has been switched from the PG state to a state where it supplies power voltage, but Since it is in an automatic state, heat generation is small.

[0077] The temperature of the area where CPU Core2 is located rises due to heat generation. While the temperature of the area where re2 is located rises, CPU Core1 is in PG state. Therefore, the area where CPU Core1 is located can be cooled. This can suppress the temperature rise of Core 2. As a result, the temperature of the entire computing device is increased. This can suppress the rise in temperature, making it possible to reduce the need for cooling mechanisms such as fans. And the temperature of the area where CPU Core2 is located is the threshold temperature T th When it reaches C In PU Core1, the power supply voltage is supplied from the PG state, and the Switch to standby mode for processing (CPU Core1 Exe.).

[0078] Eventually, the area where CPU Core2 is located will heat up and the area where CPU Core2 is located will The temperature of the area is the critical temperature T lim When this is reached, the power supply voltage to the CPU Core2 is Stop and put it into PG state (CPU Core2 PG). Then, CPU Core1 CPU Core1 starts the calculation with the current flowing by the calculation. Heat is generated around the area where ore1 is placed. Note that during the period t2 shown in FIG. 6(A), PU Core1 has been switched from the PG state to a state where it supplies power voltage, but is in standby Since it is in this state, heat generation is small.

[0079] Due to heat generation, the temperature of the area where CPU Core1 is located rises again. While the temperature of the area where Core1 is located rises, CPU Core2 is in the PG state. By doing so, the area where the CPU Core2 is located can be cooled. This suppresses the temperature rise of the PU Core 1. As a result, the temperature of the entire computing device is This can suppress the rise in temperature, making it possible to reduce the need for cooling mechanisms such as fans. can.

[0080] Similarly, in Figure 6(B), two GPU cores (GPU Core1 and GPU Core2) This is an example of how the GPU C operates by switching the PG state. Supply power to ore1 and make it ready for calculation (GPU Core1 Exe.) Then, the supply of power voltage to GPU Core2 is stopped and the GPU is put into the PG state. The graph shown shows the time on the horizontal axis and the surface temperature of the area where the GPU core is located on the vertical axis. .

[0081] In GPU Core 1, current flows due to calculations, so the arrangement of GPU Core 1 The heat generated is centered on the area where GPU Core 1 is located. The temperature of the area where GPU Core 1 is located reaches the threshold temperature T th When it reaches G In the PU Core2, the power supply voltage is supplied from the PG state, and the Switch to standby state for GPU Core2 Exe.

[0082] Note that the calculation volume using GPU Core1 is larger than that using GPU Core2. Therefore, GPU Core1 can be made smaller than GPU Core2. By actively using it, power consumption can be reduced, heat generation can be suppressed, and switching to PG state can be performed. This can reduce the frequency of switching.

[0083] Eventually, the area where GPU Core 1 is located will heat up and the area where GPU Core 1 is located will The temperature of the area is the critical temperature T lim When this is reached, the supply of power to GPU Core1 is Stop and put it into PG state (GPU Core1 PG). Then, GPU Core2 Since GPU Core2 uses current for calculations, Heat is generated around the area where ore2 is placed. Note that during period t3 shown in FIG. 6(B), PU Core2 has been switched from the PG state to a state where it supplies power voltage, but Since it is in an automatic state, heat generation is small.

[0084] The temperature of the area where the GPU Core2 is located rises due to heat generation. While the temperature of the area where re2 is located increases, GPU Core1 is in the PG state. Therefore, the area where GPU Core 1 is located can be cooled. This can suppress the temperature rise of Core 2. As a result, the temperature of the entire computing device is increased. This can suppress the rise in temperature, making it possible to reduce the need for cooling mechanisms such as fans. And the temperature of the area where GPU Core2 is located reaches the threshold temperature T th When it reaches G In PU Core1, the power supply voltage is supplied from the PG state, and the Switch to standby state for GPU Core1 Exe.

[0085] Eventually, the area where GPU Core2 is located becomes hot and the area where GPU Core2 is located becomes hot. The temperature of the area is the critical temperature T lim When this is reached, the supply of power to the GPU Core2 Stop it and put it in PG state (GPU Core2 PG). Then, GPU Core1 Since GPU Core 1 draws current due to calculations, Heat is generated around the area where ore1 is placed. Note that during period t4 shown in FIG. 6(B), PU Core1 has been switched from the PG state to a state where it supplies power voltage, but is in standby Since it is in this state, heat generation is small.

[0086] Due to heat generation, the temperature of the area where GPU Core 1 is located rises again. While the temperature of the area where Core1 is located rises, GPU Core2 is in the PG state. By doing so, the area where the GPU Core2 is located can be cooled. This suppresses the temperature rise of the PU Core 1. As a result, the temperature of the entire computing device is This can suppress the rise in temperature, making it possible to reduce the need for cooling mechanisms such as fans. can.

[0087] Figure 7 shows CPU core 1 (or CPU core 2. In the following explanation of Figure 7, we will use CPU core 1). Part of the program calculations executed by GPU core 1 (or GPU core 2. See Figure 7 below. FIG. 1 is a diagram illustrating an example of the operation when the GPU core 1 is executed. .

[0088] The host program is executed on CPU Core 1 (CPU Core1) (step S 1). At this time, GPU Core 1 is in the PG state (the supply of power voltage is stopped). (a state in which the

[0089] CPU core 1 allocates the data area required for calculations using the GPU on the device. When the instruction to secure the data in the memory is confirmed (step S2), the data area is allocated to the device. The data is allocated in the memory (step S3).

[0090] Next, the CPU core 1 transmits the input data from the main memory to the device memory ( Step S4). The device memory receives the input data and stores the input data in step S5. The data is stored in the area secured in step S2 (step S5).

[0091] When the CPU core 1 confirms the instruction to start the kernel program (step S6 ), GPU core 1 switches from the PG state to a state in which it performs calculations (a state in which power supply voltage is supplied). Then, the kernel program starts to be executed (step S7).

[0092] Immediately after GPU core 1 starts executing the kernel program, CPU core 1 is In this case, the GPU core may switch from the kernel state to the PG state (step S8). Just before the execution of the kernel program ends, CPU core 1 changes from the PG state to the calculation state. (Step S9). During the period from Step S8 to Step S9, the CPU By putting core 1 into PG state, power consumption and heat generation of the entire computing device can be reduced. can be done.

[0093] When GPU core 1 finishes executing the kernel program, the output data is After that, the GPU core 1 changes the state of the calculation to the PG can be switched to the status.

[0094] After the execution of the kernel program is completed, CPU core 1 reads the When a command to transmit output data to the main memory is confirmed (step S11), The output data is transmitted to the main memory and stored in the main memory (step S12).

[0095] CPU core 1 confirms an instruction to release the data area allocated in the device memory. If so (step S13), the area secured on the device memory is released (step Step S14).

[0096] By repeating the above steps S1 to S14, CPU core 1 and GPU core 1, while suppressing power consumption and heat generation of the CPU core 1. Some of the RAM calculations can be executed on GPU core 1.

[0097] Figure 8 shows the CPU core 1 (or CPU core 2) in the same way as Figure 7. When part of the calculations of a program executed by the GPU core (explained as A1), One of the operations when switching the GPU core used for calculation depending on the type of calculation performed by the GPU core. FIG. 1 is a diagram for explaining an example in which one GPU core (for example, GPU core 1) is an analog By quantizing the value, it is possible to perform calculations as digital data of 2 or more bits. The other GPU core (e.g., GPU core 2) performs calculations using digital values. It is a GPU core capable of processing.

[0098] The operations from step S21 to step S25 shown in FIG. 8 are the same as those shown in FIG. Please refer to the explanation of the operations from step S1 to step S5.

[0099] CPU Core 1 confirms the instruction to start the kernel program. If so (step S26), depending on the type of kernel program, Select the optimal GPU core. The selected GPU core goes from the PG state to the state where it performs the calculation. and starts executing the kernel program. After the completion of the calculation, the GPU core is switched from the calculation state to the PG state. During the period when the GPU core is performing calculations, the CPU core 1 may be in the PG state. This makes it possible to reduce power consumption and heat generation in the entire computing device.

[0100] For example, if the kernel program is an inference process based on machine learning (step S27 ), GPU Core 1 is selected and starts executing the kernel program. When the execution of the kernel program is completed, the output data is Then, the GPU core 1 stores the data in the memory (step S31). to PG state.

[0101] Also, for example, if the kernel program is a scientific and technical calculation (step S28), G PU core 2 (GPU Core 2) is selected and starts executing the kernel program ( Step S30). When the execution of the kernel program is completed, the output data is written to the device memory. After that, the GPU core 2 changes from the state of performing the calculation to the state of P It can be switched to G state.

[0102] The operations from step S33 to step S36 shown in FIG. 8 are the same as those shown in FIG. The explanation of the operations from step S11 to step S14 can be referred to.

[0103] Through the above steps, the GPU core to be used for the calculation is selected according to the type of calculation to be performed on the GPU core. By switching, part of the calculations of the program executed by CPU core 1 is performed by the GPU core. It is possible.

[0104] FIG. 9 is an example of a block diagram for explaining a more specific configuration of the arithmetic unit.

[0105] The arithmetic device 100D shown in FIG. 31, DMAC (Direct Memory Access Controller) 141, power supply circuit 160, power management unit (PMU) 142, security - Circuit 147, memory controller 143, DDR SDRAM (Double Data a Rate Synchronous Dynamic Random Access Memory) Controller 144, USB (Universal Serial B us) interface circuit 145, display interface circuit 146, bridge A buffer circuit 150, an interrupt control circuit 151, an interface circuit 152, a battery control Circuit 153, and ADC (Analog-to-digital converter ) / DAC(Digital-to-analog converter) interface The input / output circuit 154 is a ground circuit.

[0106] The CPU 110 includes a CPU core 111, an instruction cache 112, a data cache 113, and a bus interface circuit 114. The GPU 120 includes a GPU core 121, It has an on-site memory 122, an ADC / DAC 123, and a control circuit 124.

[0107] The CPU core 111 includes a plurality of CPU cores. For example, as described with reference to FIG. The instruction cache 112 may be configured to include a core 11A and a CPU core 11B. A circuit configuration for temporarily storing instructions to be executed by the CPU core 11A and the CPU core 11B. The data cache 113 is configured as follows: If the circuit configuration temporarily stores the data to be processed or the data obtained by processing, The bus interface circuit 114 connects the CPU 110 to other circuits in the computing device. A circuit configuration that can transmit and receive signals such as data and addresses with a bus for connection. That's good.

[0108] The GPU core 121 includes a plurality of GPU cores. For example, as described with reference to FIG. The on-site memory 122 may be configured to include a core 33A and a GPU core 33B. indicates data to be processed by the GPU core 33A and the GPU core 33B and data to be executed by the GPU 30. The ADC / DAC 123 is a circuit configuration that temporarily stores a program to be processed. The circuit configuration can be such that the analog and digital values ​​of the data to be processed can be converted back and forth. The control circuit 124 may have a circuit configuration for controlling the circuits within the GPU 120.

[0109] The high-speed bus 140A is connected to the CPU 110, the GPU 120, the on-chip memory 131, the DMAC 141, power management unit 142, security circuit 147, memory controller controller 143, DDR SDRAM controller 144, USB interface circuit 1 45, and the display interface circuit 146. An example is the AMBA (Advanced Microcontroller Architecture). oroller Bus Artcitecture)-AHB(Advanced H A light-performance bus can be used as the bus.

[0110] The on-chip memory 131 is a circuit included in the arithmetic device 100D, such as the CPU 110 or It has a circuit configuration for storing data or programs to be input to and output from the GPU 120.

[0111] The DMAC 141 is a direct memory access controller. By doing so, peripheral devices other than the CPU 110 can access the on-chip memory without going through the CPU 110. 131 can be accessed.

[0112] The power management unit 142 controls the GPU core and the CPU core of the arithmetic device 100D. The power gating circuit has a circuit configuration for controlling power gating of a circuit such as a power amplifier.

[0113] The security circuit 147 encrypts and transmits signals between the arithmetic device 100D and an external circuit. It has a circuit configuration for increasing the confidentiality of signals, such as transmitting and receiving signals.

[0114] The memory controller 143 receives the CP from a program memory external to the computing device 100D. Write or read programs to be executed on the U110 or GPU120. The circuit configuration is for this purpose.

[0115] The DDR SDRAM controller 144 controls the DRAM, etc., external to the computing device 100D. It has a circuit configuration for writing and reading data to and from the main memory.

[0116] The USB interface circuit 145 is a circuit that connects the arithmetic device 100D to a USB terminal. The circuit configuration is for transmitting and receiving data via the

[0117] The display interface circuit 146 interfaces with a display external to the computing device 100D. The device has a circuit configuration for transmitting and receiving data to and from the device.

[0118] The power supply circuit 160 is a circuit for generating a voltage used in the arithmetic device 100D. For example, a negative voltage is applied to the back gate of an OS transistor to stabilize its electrical characteristics. This is the circuit that generates it.

[0119] The low-speed bus 140B includes an interrupt control circuit 151, an interface circuit 152, a battery -Various signals between the control circuit 153 and the ADC / DAC interface circuit 154 A bus for transmitting and receiving data at low speeds. One example is the AMBA-APB (Advance Multimedia Broadcasting (AMBA-APB)). d Peripheral Bus) can be used as a bus. Express bus 140 A bridge circuit 150 is used to transmit and receive various signals between A and the low-speed bus 140B.

[0120] The interrupt control circuit 151 performs interrupt processing in response to requests received from peripheral devices. The circuit configuration is for this purpose.

[0121] The interface circuit 152 is a UART (Universal Asynchronous Receiver us Receiver / Transmitter), I2C (Inter-Inte rated Circuit), SPI (Serial Peripheral In The device has a circuit configuration for functioning interfaces such as a USB 3.0 jack and a USB 3.0 jack.

[0122] The battery control circuit 153 controls the charging and discharging of a battery external to the arithmetic device 100D. The device has a circuit configuration for transmitting and receiving data.

[0123] The ADC / DAC interface circuit 154 is a MEMS (Micro Electro Mechanical Systems) devices, etc. It has a circuit configuration for transmitting and receiving data to and from a device that outputs an analog signal.

[0124] 10A and 10B are diagrams showing an example of the layout of circuit blocks when implemented as an SoC. As shown in FIG. 10A, the components shown in the block diagram of FIG. 9 are the same as those in the arithmetic device 100D shown in FIG. , the regions can be divided and arranged on the chip.

[0125] The on-chip memory 131 described in FIG. 9 and the on-site memory of the GPU 120 122 can be configured with OS memory, such as NOSRAM. The on-site memory 131 and the on-site memory 122 have the same circuit configuration. When the C-based arithmetic device 100E is implemented, the on-chip memory 131 It is also possible to integrate the on-site memory 122 and place it in the same area.

[0126] According to one embodiment of the present invention described above, a novel arithmetic device and electronic device can be provided. According to one embodiment of the present invention, a computing device and an electronic device with low power consumption can be provided. According to one embodiment of the present invention, a calculation device and an electronic device capable of high speed operation can be provided. According to one embodiment of the present invention, a computing device capable of suppressing heat generation can be provided. and electronic devices.

[0127] (Embodiment 2) In this embodiment, an example of a CPU having a CPU core capable of power gating will be described. He explains.

[0128] < <cpu190>> FIG. 11 shows an example of the configuration of the CPU 190. The CPU 190 includes a CPU core (CPU Cor e) 200, L1 (level 1) cache memory device (L1 Cache) 202, L2 Cache memory device (L2 Cache) 203, bus interface unit (Bus I / F 205, power switches 210 to 212, and a level shifter (LS) 214. The CPU core 200 includes a flip-flop 220 .

[0129] The bus interface unit 205 controls the CPU core 200 and the L1 cache memory device. The L2 cache memory device 202 and the L2 cache memory device 203 are electrically connected to each other.

[0130] Interrupts input from the outside, signals issued by the CPU 190 In response to the signal SLEEP1, the PMU193 outputs the clock signal GCLK1, various PG Generates (power gating) control signals (PG control signals) The clock signal GCLK1 and the PG control signal are input to the CPU 190. controls the power switches 210 to 212 and the flip-flop 220.

[0131] The power switches 210 and 211 are connected to a virtual power line V_VDD (hereinafter referred to as the V_VDD line). The power switch 212 controls the supply of the voltages VDDD and VDD1 to the virtual It controls the supply of voltage VDDH to the power supply line V_VDH (hereinafter referred to as the V_VDH line). The voltage VSSS is input to the CPU190 and PMU193 without going through a power switch. The voltage VDDD is input to the PMU193 without passing through a power switch.

[0132] Voltages VDDD and VDD1 are drive voltages for the CMOS circuit. Voltage VDD1 is voltage VDD D is the drive voltage in the sleep state. The voltage VDDH is for the os transistors. This is the drive voltage and is higher than the voltage VDDD.

[0133] L1 cache memory device 202, L2 cache memory device 203, bus interface Each of the base units 205 has at least one power domain that can be power gated. A power-gating capable power domain has one or more power switches. These power switches are controlled by a PG control signal.

[0134] The flip-flop 220 is used as a register. A backup circuit is provided. The backup circuit is made up of OS memory. The flip-flop 220 will be described below.

[0135] <Flip-flop 220> 12 shows an example of the circuit configuration of the flip-flop 220. The flip-flop 220 is a scan Scan Flip-flop 221, Backup circuit (Bu ckup Circuit) 222.

[0136] (Scan Flip-Flop 221) The scan flip-flop 221 is connected to the nodes D1, Q1, SD, SE, RT, CK, and The clock buffer circuit 221A is provided.

[0137] Node D1 is a data input node, and node Q1 is a data output node. The node SD is an input node for scan test data. The node SE is a signal SCE The node CK is the input node for the clock signal GCLK1. The clock signal GCLK1 is input to the clock buffer circuit 221A. The analog switch of the chip 221 is connected to the nodes CK1 and CK B1. The node RT is electrically connected to the reset signal. This is an input node.

[0138] The signal SCE is a scan enable signal and is generated by the PMU 193. The level shifter 214 level-shifts the signals BK and RC. , generate signals BKH and RCH. Signals BK and RC are backup and recovery signals. be.

[0139] The circuit configuration of the scan flip-flop 221 is not limited to that shown in FIG. It is possible to apply flip-flops provided in the library.

[0140] (Backup circuit 222) The backup circuit 222 includes the nodes SD_IN, SN11, and transistors M11 to M13. , and a capacitive element C11.

[0141] The node SD_IN is the input node for scan test data and is connected to the scan flip-flop. The node SN11 is electrically connected to the node Q1 of the backup circuit 221. 22. Capacitor C11 is a storage node for storing the voltage of node SN11. Capacity.

[0142] The transistor M11 controls the conduction state between the node Q1 and the node SN11. The transistor M12 controls the conduction state between the node SN11 and the node SD. The transistor M13 The transistors M11 and M13 control the conduction state between the node SD_IN and the node SD. The on / off of the transistor M11 is controlled by the signal BKH, and the on / off of the transistor M12 is controlled by the signal RCH. can be.

[0143] The transistors M11 to M13 each have a back gate, similar to the transistor M1 described later. The back gates of the transistors M11 to M13 are connected to a voltage VB Electrically connected to the power line that supplies G1.

[0144] At least the transistors M11 and M12 are preferably os transistors. Due to the feature of the os transistor that the current is extremely small, the voltage of the node SN11 is low. Since it can suppress the power consumption and consumes almost no power to hold data, The backup circuit 222 has non-volatile characteristics. Data is written by charging and discharging the capacitance element C11. Therefore, the backup circuit 222 is theoretically not limited in the number of times it can be rewritten, and is low-energy. It is possible to write and read data at high speed.

[0145] It is highly preferred that all transistors in the backup circuit 222 be os transistors. As shown in FIG. 12(B), a scan flip-flop consisting of a silicon CMOS circuit is used. A backup circuit 222 can be stacked on the flop 221 .

[0146] The backup circuit 222 has a much larger number of elements than the scan flip-flop 221. Since the number of scan flip-flops 221 is small, the backup circuit 222 is stacked. In other words, the backup circuit 222 is a general-purpose This is a highly versatile backup circuit. In addition, the scan flip-flop 221 is Since the backup circuit 222 can be provided in the area where the backup Even if the circuit 222 is incorporated, the area overhead of the flip-flop 220 is zero. Therefore, the backup circuit 222 is provided in the flip-flop 220. This enables power gating of CPU core 200. Since less energy is required, the 200 CPU cores can be power-gated efficiently. is possible.

[0147] By providing the backup circuit 222, the parasitic capacitance of the transistor M11 is reduced. However, the parasitic capacitance of the logic circuit connected to node Q1 is Since it is relatively small, it does not affect the operation of the scan flip-flop 221. The provision of backup circuit 222 does not substantially degrade the performance of flip-flop 220. .

[0148] <Low power consumption state> The low power consumption state of the CPU core 200 may be, for example, a clock gating state, a power The PMU193 can set the gating state and the hibernation state. Based on the signal SLEEP1, etc., the low power consumption mode of the CPU core 200 is selected. For example, When transitioning from normal operation to clock gating state, the PMU193 The generation of the signal GCLK1 is stopped.

[0149] For example, when going from normal operation to hibernation, the PMU193 will For example, when performing voltage scaling, the PMU193 , the power switch 210 is turned off to input the voltage VDD1 to the CPU core 200, The power switch 211 is turned on. The voltage VDD1 is applied to the scan flip-flop 221. When frequency scaling is performed, the PMU193 uses the clock The frequency of the clock signal GCLK1 is reduced.

[0150] When the CPU core 200 is shifted from a normal operation state to a power gating state, An operation of backing up the data of the flip-flop 221 to the backup circuit 222 When the CPU core 200 is returned from the power gating state to the normal operation state, In this case, the data in the backup circuit 222 is written back to the scan flip-flop 221. A cover operation is performed.

[0151] FIG. 13 shows an example of a power gating sequence of the CPU core 200. In FIG. 3, t1 to t7 represent time. Signals PSE0 to PSE2 are This is a control signal for the switches 210 to 212 and is generated by the PMU 193. When the signal PSE1 and PSE2 are low, the power switch 210 is on / off. The same is true for

[0152] (Normal Operation) Before time t1, the normal operation state is established. The power switch 210 is on and the CPU core A voltage VDDD is input to 200. The scan flip-flop 221 performs normal operation. At this time, since the level shifter 214 does not need to be operated, the power switch 212 is off, and the signals SCE, BK, and RC are "L". Since the node SE is "L", The scan flip-flop 221 stores the data of the node D1. Now, at time t1, node SN11 of backup circuit 222 is "L".

[0153] (Backup) At time t1, the PMU 193 stops the clock signal GCLK1 and sets the signals PSE2 and BK to " The level shifter 214 becomes active and backs up the signal BKH at "H". The signal is output to the loop circuit 222.

[0154] The transistor M11 of the backup circuit 222 is turned on, and the scan flip-flop Data at node Q1 of 221 is written to node SN11 of backup circuit 222. If node Q1 of scan flip-flop 221 is "L", node SN11 is " If the signal remains at "L" and the node Q1 is at "H", the node SN11 becomes "H".

[0155] The PMU 193 sets the signals PSE2 and BK to "L" at time t2, and sets the signal PSE0 to "L" at time t3. At time t3, the state of the CPU core 200 transitions to the power gating state. The signal PSE0 may fall at the same timing as the signal BK falls.

[0156] (Power-gating) When the signal PSE0 goes low, the voltage on the V_VDD line drops, causing the de-energization of node Q1. The node SN11 continues to hold the data of the node Q1 at time t3.

[0157] (Recovery) At time t4, the PMU193 changes the signal PSE0 to "H" to enter the power gating state. The V_VDD line starts charging and the voltage on the V_VDD line rises to When the power supply reaches VDD (time t5), the PMU193 outputs the signals PSE2, RC, and SCE as Set it to H”.

[0158] The transistor M12 is turned on, and the charge of the capacitance element C11 is transferred to the nodes SN11 and SD If the node SN11 is "H", the voltage of the node SD rises. Since the node SE is "H", the node is notified to the input side latch circuit of the scan flip-flop 221. At time t6, the clock signal GCLK1 is input to the node CK. Then, the data in the input latch circuit is written to node Q1. That is, the data in node SN This means that 11 pieces of data have been written to node Q1.

[0159] At time t7, the PMU193 sets the signals PSE2, SCE, and RC to "L" and the recovery operation begins. Finish.

[0160] The backup circuit 222 using os transistors has both dynamic and static low power consumption. Because of their small size, they are well suited for normally-off computing. Even with 220 cores installed, there is almost no performance degradation or increase in dynamic power compared to the 200 CPU cores. It can be made to not happen.

[0161] The CPU core 200 may have multiple power domains that can be power gated. Multiple power domains may have one or more power switches to control the voltage inputs. The CPU core 200 is provided with one or more power gating switches. For example, power gating may not be performed. The power domain controls the flip-flop 220 and the power switches 210 to 212. A power gating control circuit may be provided to

[0162] The application of the flip-flop 220 is not limited to the CPU 190. A flip-flop is connected to a register provided in a power domain capable of being power-gated. 220 can be applied.

[0163] (Embodiment 3) In this embodiment, an integrated circuit (hereinafter, A specific example of the configuration of the osAI chip will be explained below. An osAI chip (analog) that holds analog values ​​and performs calculations (also called analog calculations) The analog osAI chip will be described later in the fourth embodiment. A digital value is stored in a data storage circuit and calculations (also called digital calculations) are performed. osAI chip (programmable osAI chip) and osAI chip integrated into one SoC It can be used as a top.

[0164] <<Analog os AI chip>> Here, we will introduce the osAI chip 4, which is capable of massively parallel computing using analogue calculations. The osAI chip 400 is a fully connected neural network (F It is very advantageous for CNN. It is easy to understand the configuration and operation method of the osAI chip 400. In order to achieve this, we assume that FCNN is composed of a circuit. FCNN has one hidden layer. The number of units in the input layer, hidden layer, and output layer is 1024, 128, and 32, respectively. The activation function used is ReLU (Rectified Linear Unit). The FCNN of the osAI chip 400 is applicable to handwritten character recognition and general-purpose AI, for example. will be done.

[0165] FIG. 14 is a functional block diagram showing a configuration example of the OSAI chip 400. The sAI chip (osAI chip) 400 includes a receiver (RX) 401, a digital Analog converters (DACs) 403 and 404, multiply-accumulate (MAC) array (MAC and As shown in the figure, 405, 406, gate driver 407, analog - It has an analog-to-digital converter (ADC) 408 and a transmitter (TX) 409 .

[0166] The data transmission method of the osAI chip 400 is a differential transmission method. For example, the receiver 401 LVDS (Low Voltage Differential Signaling) 409 is used as transmitter and 409 is used as transmitter. An S transmitter is used.

[0167] The reset signal reset_n resets the osAI chip 400 .

[0168] Data in_w[7:0] is learned data. Example For example, it is an 8-bit digital signal that represents the weighting coefficient. In response to the clock signal dclk_w, the DAC 404 outputs the data in_w[7:0] to the analog The gate driver 407 converts analog inputs and outputs to the MAC arrays 405 and 406. The gate driver 407 controls the writing of data. A width control signal gpwc and a start pulse signal gsp are input.

[0169] The data processed by the osAI chip 400 is 8-bit digital data, and is transmitted using a differential transmission method. For example, an LVDS receiver is used as the receiver 401. The differential clock signal rx_clp and rx_cln are input to the buffer 401, and the differential clock signal rx_d p[7:0], rx_dn[7:0] are converted to single-ended 8-bit data. The DAC403 converts this 8-bit data into analog data. The output analog data is written sequentially to the MAC array 405 .

[0170] <MACアレイ405、406> An example of the circuit configuration of the MAC array 405 will be described with reference to FIG. The multiplication circuits 40 are arranged in a matrix of 1024 rows and 144 columns. The circuit configuration is the same as that of the OS memory 382 in FIG. The circuit functions as both a local path and a non-volatile local memory circuit that stores weighting coefficients. The OSAI chip 400 has a much smaller number of transistors than a GPU, allowing it to run super fast. Parallel processing can be achieved. The reduction in the number of transistors allows for the miniaturization of the osAI chip 400 and the consumption This leads to reduced power consumption.

[0171] In the MAC array 405, gate lines GL1 and data lines RX The data line WD1 is connected to the multiplication circuit 40 The data line WD1 is used to input analog data from the DAC404. The gate line GL1 is used to select the multiplication circuit 40 to which the weighting coefficient data is input. The gate line GL 1 , which is a signal line, is driven by a gate driver 407 .

[0172] By writing the weighting coefficient data w0 to the multiplication circuit 40, the holding node (read The voltage of the gate of the transistor becomes a voltage Vw0 according to the weighting coefficient data.

[0173] The data line RX1 is an input line for data to be processed by the CFNN. Analog data is input from the DAC 403. The data line RD1 is connected to the multiplication circuit 40. The calculation result is read out. A current source 42 and an offset circuit 43 are electrically connected to the data line RD1. are connected to the network.

[0174] The current I0 flowing through the multiplication circuit 40 is a function of the voltage Vw0 of the hold node and the voltage Vx of the data line RX1. 0. In other words, the current I0 represents the product of the weighting coefficient and the input data. In other words, the current I1 is proportional to the product of the voltages Vw1 and Vx1 at the retention nodes. Path 40 may calculate the product of the weighting factor data and the input data.

[0175] 1024 multiplication circuits 40 are electrically connected to each data line RD1. The current Iout input to the offset circuit 43 is generated by the reference The current Imac is the difference between the current Iref and the current Imac. The current Imac is calculated by multiplying the current Iref by 1024 multiplier circuits 4 It is the sum of the currents flowing through 0, and represents the sum of the products of the weighting coefficients and the input data. Reference current I By taking the difference between ref and Imac, the noise component of the current Iout can be reduced.

[0176] The offset circuit 43 converts the current Iout into a voltage Vout and outputs a reference voltage Vref and a voltage This reduces the noise component of the voltage Vout. The offset circuit 43 amplifies the differential voltage between Vref and Vout and outputs it to the activation function circuit 44. Activation function circuit 44 outputs the processed data to MAC array 406.

[0177] It should be noted that 16 of the 144 columns of the MAC array 405 do not contribute to the generation of the current Iout. Holds reference data used in multiply-and-accumulate operations.

[0178] The MAC array 406 has the same configuration as the MAC array 405. In the MAC array 406, four of the 36 rows are does not contribute to the generation of the current Iout, but is used to hold reference data.

[0179] The enable signal en_cm shown in FIG. 14 is used for the current sources 42 of the MAC arrays 405 and 406. The enable signal en_abs is an enable signal for the MAC arrays 405 and 406. The signals osp1, osn1, and en_re are enable signals for the offset circuit 43. s1 is a control signal for the offset circuit 43 of the MAC array 405, and signals osp2, os n2 and en_res2 are control signals for the offset circuit 43 of the MAC array 406.

[0180] <ADC408、トランスミッタ409> The ADC 408 receives 32 analog data in parallel from the MAC array 406 . The ADC408 has a register at the output stage to perform serial-to-parallel conversion. 408 outputs one channel of 8-bit digital data.

[0181] The signals clk_sar, res_ser, go, and stby_adc are the ADC4 08 clock signal, reset signal, enable signal, and standby signal. Signal d clk_p2s, en_p2s_per, and en_p2s_ser are registers. The ADC408 has 32 clock signals, latch signals, and output enable signals. Analog data is input and 8-bit digital data is output to the transmitter 409. The signal stby_tx is the standby signal for the transmitter 409.

[0182] The transmitter 409 transmits and receives 8-bit digital data in response to the signal dclk_p2s. Convert the data to minute format tx_dp[7:0], tx_dn[7:0], output, and signal d Convert clk_p2s to differential clock signals tx_clp and tx_cln and output them. The differential data tx_dp[7:0] and tx_dn[7:0] are the 3 There are two types of inference data.

[0183] The input and output data of the MAC arrays 405 and 406 are analog data. Compared with the case where the input data is digital data, the number of wirings of the MAC arrays 405 and 406 is The multiplication circuit 40 has a multiplication function and a function of holding weight coefficient data. Since both are provided, data is not read during calculation. There is virtually no time penalty or power penalty for data exchange.

[0184] GPUs are known as processors with parallel processing architecture. As with U, the data transfer between the calculation unit and the memory unit is considered to be a bottleneck in calculation efficiency. In contrast, the osAI chip 400 does not have such problems.

[0185] The multiplication circuit 40 has the same circuit configuration as a 2T gain cell, and can be realized by using a small number of transistors. Therefore, a large number of multiplication circuits 40 can be used to multiply analog data. By configuring the multiply-and-accumulate part, we have developed an osAI chip that is capable of massively parallel processing with low power consumption. For example, the number of multiplication circuits 40 may be 10. 6 〜10 8 about 1 piece When the operating frequency is 3 MHz or 30 MHz, the arithmetic performance of the osAI chip 400 is Noh is 3TOPS (Tera Operations Per Second) or 3P It is about OPS (Peta OPS).

[0186] (Embodiment 4) <<Programmable OS AI chip>> The osAI chip 450 shown here can configure programmable neural networks. The data that the osAI chip 450 processes is in digital format. The arithmetic circuit 50 has a dedicated non-volatile local memory circuit, and the non-volatile local memory is composed of os memory. Neural network composed on osAI chip 450 The work is, for example, various image processing (e.g., noise removal, high resolution), object recognition, general purpose It can be used as AI.

[0187] FIG. 16 is a functional block diagram showing a configuration example of the osAI chip 450. The OSAl chip 450 is a controller 460, I2 C module (I2C) 462, receiver (RX) 463, transmitter (TX) 46 4. Data driver 466. Word driver The controller 460 includes an arithmetic circuit array 470 and an arithmetic unit 4 71, an SRAM 472, selectors 474 and 475, and a demultiplexer 476.

[0188] The input data for the osAI chip 450 includes operation set data. ting data, learned data, pipeline configuration Pipeline construction data, arithmetic circuit array There is data (input data) that 470 processes. The configuration data is stored in the osAI This is input to chip 450.

[0189] The data sda is the operation setting data in serial format and is written to the I2C module 462. The I2C module 462 transmits the written operation setting data to the controller 460. The signals i2c_clk, i2c_resetb, and scl are respectively the I2C Controller clock signal, I2C reset signal, I2C clock signal. Signal O _SAVE, O_LOAD, and OS_USE are used to control the backup of operation setting data. can be done.

[0190] The data DATA0 is input to the data driver 466. The data driver 466 outputs a signal nSTATUS. The signal nSTATUS indicates the configuration status.

[0191] There are two methods for transmitting data to the osAI chip 450: single-ended and LVDS. The data din[7:0] is the single-ended input data. The receiver 463 is similar to the receiver of the osAI chip 400. The differential input data rx is generated according to the differential clock signals rx_clp and rx_cln. _dp[7:0], rx_dn[7:0] are single-ended data rx_ds[7 :0] and output to the selector 474. The signals stby_rx and hpe_rx are These are standby signals for the receiver 463.

[0192] The signals nCONFIG and DCLK are input to the controller 460. The signals nCONFIG and DCLK are the configuration The signal CON is a configuration start signal and a configuration clock signal. F_DONE is a signal that indicates that configuration is complete.

[0193] Signals sys_clk, sys_resetb, user_resetb, context _ex[5:0] are the system clock signal, the system reset signal, and the user The signal data_en is a reset signal and an external context signal. These signals are used to set the period during which input data is transmitted to the control The controller 460 receives the signals State[2:0], subs tate[2:0]. Signals State[2:0], substate[2:0 ] respectively represent states and sub-states within the controller 460.

[0194] The output data of the selector 475 is input to the arithmetic circuit array 470. The processor 470 outputs the processed data to the processor 471. The output data of the processor 471 is SRA The data read from SRAM472 is temporarily stored in SRAM472. 75, and is output to a demultiplexer 476. A selector 475 selects the output of the selector 474 The arithmetic circuit array 470 outputs either the data or the output data of the SRAM 472 .

[0195] The demultiplexer 476 has a function of selecting the output format of the data. One output data of 476 is single-ended data dout[7:0]. The other output data is processed by the transmitter 464. The differential data is converted to tx_dp[7:0] and tx_dn[7:0], and The signal is output to the outside of the AI ​​chip 450.

[0196] <Analysis Circuit Array 470> The arithmetic circuit array 470 will be described with reference to FIGS. In the arithmetic circuit array 470, a plurality of arithmetic circuits 61 and a plurality of switch circuits 62 are arranged in a matrix. The arithmetic circuit 61 and the switch circuit 62 are programmable circuits. The arithmetic circuit 61 is configured in accordance with the processing contents of the path array 470. The circuit configuration of the switch circuit 62 is changed according to the processing contents of the arithmetic operation 470. The connections of the circuit 61 are changed.

[0197] In addition, "U", "D", "L", and "R" in FIG. 17 are names of wiring of the switch circuit 62. , and indicates the connection direction (up, down, left, right).

[0198] 18 shows an example of the configuration of the arithmetic circuit 61. The arithmetic circuit 61 includes an input register 51, a memory circuit 52, multiplication circuit 53, addition circuit 54, output registers 55A and 55B, selectors 56A to 5 The memory circuits 52, 57A to 57C are arithmetic circuits The circuit 61 is a non-volatile local memory circuit, to which an OS memory is applied.

[0199] Data sin is input to the input register 51. The input register 51 latches a signal sl The data sin is held under the control of at. The input register 51 transfers the held data to the data sou t to the selector 56A. 6A selects either data sin or data sout, and outputs the selected data as data The data sout is output to the multiplication circuit 53 as sdata. By providing an input register 51, the data sin is temporarily input to the input register 51. By holding the data sin in a constant manner, the data sout obtained by shifting the data sin can be output. .

[0200] The memory circuit 52 receives the context signal context_W[1:0]. The text signal context_W[1:0] is The memory circuit 52 stores a plurality of weighting coefficient data. The weighting coefficient data is stored in the configuration data. The configuration data is written in the memory circuit 52. The signal data is transmitted from the data driver 466.

[0201] As shown in FIG. 19A, the memory circuit 52 includes a flip-flop 71, a decoder 72, The memory cell includes memory cells 73_0 to 73_3, a transistor 77, and a latch circuit 78. The modules 73_0 to 73_3 have the same circuit configuration as the OS memory 383 (see FIG. 27(C)). , a gain cell consisting of three OS transistors.

[0202] The signals word0 to word3 are generated by the word driver 467. One memory cell is selected by ord3, and the configuration is written to the selected memory cell. Configuration data is written.

[0203] The flip-flop 71 holds the context signal context_W[1:0]. The decoder 72 decodes the context signal context_W[1:0] and switches The control signal c generates and outputs the switching signals context_W0 to context_W3. Context_W0 to Context_W3 are memory cells that output weight coefficient data. The weight data read from the selected memory cell is out to the multiplication circuit 53. The transistor 77 is It has the function of precharging the wiring that is output to the voltage Vpr. The transistor 77 precharges the line.

[0204] FIG. 19B shows another example of the configuration of a memory cell. A memory cell 74 shown in FIG. This is a modified example of the memory cell 73_0, in which two inverter circuits are connected to the gate of the read transistor. For example, these inverter circuits are n-channel type This is a CMOS circuit consisting of Si transistors and p-channel Si transistors.

[0205] 20 shows an example of the configuration of the memory circuit 57A. The memory circuit 57A includes memory cells 91_0, The memory circuit 57A includes a Configuration data, switching signal c ontext_A0, context_A1, signal wordA0, wordB0, wor dA1 and wordB1 are input.

[0206] The memory cells 91_0 and 91_1 are each two OS memories 382 (FIG. 27(B)). When writing configuration data "1" to memory cell 91_0, In this case, signal wordA0 is set to "H" and signals wordB0, wordA1, and wordB1 are set to "H". Set to "L". Write configuration data "0" to memory cell 91_0. In this case, signal wordB0 is set to "H" and signals wordA0, wordA1, and wordB Set 1 to "L".

[0207] While the control signal is being output to the selector 56A, the transistor 93 is in an off state. The transistors 92_0 and 92_1 are connected to the input terminals 92_0 and 92_2 by the signals context_A0 and context_A1. 2_1 is turned on. For example, when the transistor 92_0 is turned on, A control signal of a logic corresponding to the data held in the memory cell 91_0 is output to the selector 56A. do.

[0208] The memory circuits 57B and 57C have the same circuit configuration as the memory circuit 57A.

[0209] The multiplication circuit 53 calculates the product of the data sdata and the data cmout, and represents the calculation result. The data mout is output to the adder circuit 54 and the selector 56B. Be encouraged.

[0210] The data ain is the output data of another arithmetic circuit 61 or the output data of the selector 475. The adder circuit 54 calculates the sum of the data ain and the data mout, and displays the calculation result. The data aout is output to the selectors 56B and 56C.

[0211] The output register 55A holds the output data of the selector 56B, and the output register 55B holds the output data of the selector 56B. The output registers 55A and 55B are provided to hold the output data of the signal This can prevent calculation errors caused by delays. The signal res_rg is input to the output register 55A, This is the reset signal for 55B.

[0212] The output register 55A outputs the held data to the selector 56D. The output data of the input register 55B is output from the arithmetic circuit 61 as data acout. .

[0213] Since the arithmetic circuit array 470 has the arithmetic circuits 61 arranged in a matrix, can function as a multiply-accumulate unit.

[0214] The output data of the arithmetic circuit array 470 is input to the arithmetic unit 471. For example, 1 has the functionality of an activation function and / or a pooling layer.

[0215] <Configuration of Switch Circuit 62> The switch circuit 62 will be described with reference to FIG. 21(A) and FIG. 21(B). As shown, the switch circuit 62 is provided with eight switch circuits 65. The output wiring 66S of sout is electrically connected to any one of the wirings U, D, L, and R. The same applies to the output wiring 67A of the data acout.

[0216] As shown in FIG. 21B, the switch circuit 65 includes a flip-flop 80, a decoder 81, and a , memory cells 83_0 and 83_1, and a wiring 87. The wiring 87 is connected to wirings L, R, U, or In Figure 21(B), a switch for transmitting 4-bit data is shown. The switch circuit 65 is shown.

[0217] The flip-flop 80 holds the context signal context_C. 1 decodes the context signal context_C and outputs the switching signal context _C0 and context_C1 are generated in the memory cell 83_0. _C0, word0 are input, and the memory cell 83_1 is supplied with signals context_C1, w ord1 is entered.

[0218] The write transistor of the memory cell 83_0 is an os transistor having a back gate. In the memory cell 83_0, the transistors other than the write transistor are back-transistors. The memory cell 83_0 is an n-channel type Si transistor having no gate. The same applies to the memory cell 83_1. It seems that.

[0219] The signal word0 turns on the write transistor, thereby writing data to memory cell 83. Configuration data is written to _0. The memory cell 83_0 is selected by the switching signal context_C0. In this case, the wiring is The connection state between 87 and the arithmetic circuit 61 is determined.

[0220] The arithmetic circuit 61 and the switch circuit 62 each have a built-in non-volatile local memory circuit. The arithmetic circuit 61 and the switch circuit 62 are connected to the external memory of the OSAI chip 450 during the calculation. Therefore, neither the osAI chip 450 nor the osAI chip 40 needs to access the remote device. As with 0, data transfer between the arithmetic unit and the memory unit does not become a bottleneck in the calculation efficiency. Since data transfer and arithmetic processing are performed sequentially between the circuits 61, arithmetic operations can be performed with high efficiency. can.

[0221] The arithmetic circuit 61 and the switch circuit 62 are programmable circuits of a multi-context type. This makes it possible to efficiently execute massively parallel computations using fewer hardware resources. In addition, various neural networks are implemented on the hardware of the osAI chip 450. This can be realized.

[0222] (Embodiment 5) The L1 cache memory device 202 and the L2 cache memory device 203 are configured with OS memory. OS memory is a type of memory that uses OS transistors in memory cells. For example, the L1 cache memory device 202 and the L2 cache memory device 203 is made up of NOSRAM (registered trademark) or OSSRAM. OSSRAM is: This is an SRAM that has a backup circuit made up of OS transistors. Below are examples of NOSRAM and OSSRAM configurations.

[0223] <nosram> FIG. 22A is a block diagram showing an example of the configuration of the NOSRAM. In addition, power domains 242 and 243 and power switches 245 to 247 are provided. The word domain 242 includes a memory cell array 2 50 is provided, and the power domain 243 is provided with peripheral circuits for the NOSRAM 240. The peripheral circuits are a control circuit 251, a row circuit (Ro Column Circuit 253 .

[0224] External voltages VDDD, VSSS, VDHW, VDHR, VBG2 to NOSRAM240 , clock signal GCLK2, address signal Address, signals CE, WE, and PSE5. The signals CE and WE are a chip enable signal and a write enable signal, respectively. The signal PSE5 is generated by the PMU 193 and is the The power switches 245 to 247 control the voltage to the power domain 243. Controls the inputs of VDDD, VDHW, and VDHR respectively.

[0225] The voltages, signals, etc. input to the NOSRAM 240 are determined by the circuit configuration of the NOSRAM 240. For example, power gating is applied to NOSRAM240. A power gating control circuit that generates a signal PSE5 is provided. It may be provided.

[0226] The memory cell array 250 includes memory cells 260, write word lines WWL, read word lines RWL, a write bit line WBL, a read bit line RBL, and a source line SL.

[0227] As shown in FIG. 22B, the memory cell 260 is of the 2T1C (2 transistors, 1 capacitor) type. The gain cell includes a node SN1, transistors M1 and M2, and a capacitance element C1. The transistor M1 is a write transistor and is an os transistor having a back gate. The back gate of the transistor M1 is connected to the wiring BGL2 that supplies the voltage VBG2. The transistor M2 is a read transistor and is a p-channel S The capacitance element C1 is a storage capacitance that holds the voltage of the node SN1.

[0228] The voltages VDDD and VSSS represent data "1" and "0". The high level voltages of the lines WWL and RWL are VDHW and VDHR, respectively. do.

[0229] 23A shows a configuration example of a memory cell array 250. In the array 250, two adjacent columns are supplied with one source line.

[0230] The memory cell 260 is theoretically unlimited in the number of times it can be rewritten, and data can be rewritten with low energy. The transistor M1 operates at a very low off-state current and does not consume any power to hold the data. Being a transistor, the memory cell 260 is capable of retaining data for a long period of time. Therefore, in the NOSRAM 240, the L1 cache memory device 202, the L2 cache memory By configuring the L1 cache memory device 202 and the L2 cache memory device 203, The storage device 203 can be a non-volatile, low power consumption memory device.

[0231] The circuit configuration of the memory cell 260 is not limited to the circuit configuration of FIG. The transistor M2 is an os transistor having a back gate or an n-channel S Alternatively, memory cell 260 may be a 3T gain cell. 3(B) and 23(C) show an example of a 3T type gain cell. The memory cell shown in FIG. 262 includes transistors M3 to M5, a capacitance element C3, and a node SN3. The transistors M3 to M5 are a write transistor, a read transistor, and a selection transistor. The transistor M3 is an os transistor having a back gate, and the transistor M4, M5 is a p-channel Si transistor. Transistors M4 and M5 are n-channel The transistor may be a silicon transistor or an os transistor with a back gate. In the memory cell 263 shown in FIG. 3(C), the three transistors are oscillating transistors having back gates. It consists of transistors.

[0232] The node SN3 is a holding node. The capacitance element C3 is a capacitor for holding the voltage of the node SN3. The capacitance element C3 is not provided intentionally, but is held by the gate capacitance of the transistor M4, etc. The wiring PDL is a wiring that replaces the source line SL, and the wiring PLD A fixed voltage (for example, voltage VDDD) is input to

[0233] The control circuit 251 has a function of controlling the overall operation of the NOSRAM 240. For example, The control circuit 251 performs a logical operation on the signals CE and WE to determine whether an external access is a write access. The access is determined as either a request or a read access.

[0234] The row circuit 252 connects the write word line of the selected row designated by the address signal Address. The column circuit 253 has a function of selecting the read word line WWL and the read word line RWL. The function to write data to the write bit line WBL of the specified column and the function to read data from the read bit line WBL of the specified column. It has the function of reading data from the RBL line.

[0235] <Example of operation> An example of the operation of the NOSRAM 240 will be described with reference to FIG. 4 is a timing chart showing an example of the operation of the write operation state (Write), read operation state (Read) In the operating state (Read) and standby state (Standby), the power The switches 245 to 247 are on, and the power domain 243 is supplied with the voltages VDDD, VDHW , VDHR is entered.

[0236] <Write> When the signal CE at "H" and the signal WE at "H" are input, the NOSRAM 240 is written. The word line WWL of the row selected by the row circuit 252 is at "H" level. The bit line RWL is at "L". The voltage at node SN1 of the selected memory cell 260 is When data "1" is written, it becomes VDDD, and when data "0" is written, it becomes VS It becomes SS.

[0237] <Read> When the signal CE is "H" and the signal WE is "L", the NOSRAM 240 is read. The column circuit 253 precharges the bit line RBL to the voltage VSSS, and then Then, the source line SL is set to "H". Then, the word line of the row selected by the row circuit 252 is RWL becomes "L". When the memory cell 260 in the selected row holds data "0", Since the voltage VSSS is input to the gate of transistor M2, A large current flows between the source and drain. Therefore, the bit line RBL is quickly charged. The memory cell 260 in the selected row stores data "1". When the voltage Vdd is held, the gate of the transistor M2 is supplied with the voltage Vdd. The transistor M2 barely passes any drain current. Therefore, the bit line RBL is Maintains the charge voltage (VSSS).

[0238] <Standby> The write word line WWL and the source line SL are at "L" and the read word line RWL is at "H". The transistor M1 of the memory cell 260 is in an off state.

[0239] For example, if the NOSRAM240 is in standby mode for a certain period of time, the PMU 193 turns off the power switches 245 to 247 and also turns off the clock signal GCLK2. This stops the input to the power domain 243, and the NOS The standby power consumption of the RAM 240 can be reduced.

[0240] <ossram> Next, the OSSRAM will be described with reference to FIG. 25 and FIG.

[0241] As shown in FIG. 25, the OSSRAM 300 includes power domains 301 to 303, The power domain 301 is provided with switches 310 to 314. This is a power domain that is not connected to the power supply, and a power gating control circuit 330 is provided. The power domains 302 and 303 are power domains that can be power gated. The main 302 includes a memory cell array 320, and the power domain 303 includes a control control circuit 331, row circuit 332, column circuit 333, backup and recovery driver 335 is provided.

[0242] The memory cell array 320 includes a cell 270, a word line WL, a bit line BL, a bit line BLB, a gate The bit lines BL and BLB can also be called local bit lines. A wiring pair consisting of a bit line BL and a bit line BLB provided in the same column is called a bit line pair ( These are sometimes called BL, BLB).

[0243] The OSSRAM300 includes the voltages VDDD, VSSS, VDDM, VDML, VSSM, and V DHB, VBG3, clock signal GCLK3, address signal Address, signal RS T, CE, GW, and BW are entered.

[0244] The signals RST, CE, GW, and BW are the reset signal, the chip enable signal, and the ground signal, respectively. These signals are the global write enable signal and the byte write enable signal. Based on this, the control circuit 331 controls the OSSRAM 300. A register may be provided to temporarily store the

[0245] The row circuit 332 selects the word line WL of the selected row designated by the address signal Address. The column circuit 333 has a function of selecting the bit line pair (BL, The function of writing data to the bit line pair (BL, BLB) and the function of reading data from the bit line pair (BL, BLB) It has a read function.

[0246] In the OSSRAM 300, each circuit, each signal, and each voltage can be appropriately selected or omitted as necessary. Alternatively, other circuits or other signals may be added. The structure of the input and output signals of the RAM300 depends on the operating mode of the OSSRAM300 and and is set based on the configuration of the memory cell array 320, etc.

[0247] The power gating control circuit 330, based on the PG control signal generated by the PMU 193, Signals PSE11 to PSE13, as well as the row circuit 332, the column circuit 333, the backup and A control signal for the recovery driver 335 is generated. The power switches 310 and 311 control the on / off of the switches 310 to 314. They respectively control the input of voltages VDDD and VDHB to the power domain 303. Switches 312 to 314 are power domains 30 for voltages VDDM, VDML, and VSSM, respectively. Controls the input to 2.

[0248] (Cell 270) FIG. 26A shows an example of a circuit configuration of a cell 270. The cell 270 includes a memory cell 271, a buffer The memory cell 271 has a standard 6T (transistor) SR It has the same circuit configuration as the AM cell, and includes a bistable circuit 275 and transistors MT1 and MT2. The bistable circuit 275 is connected to the word line WL, the bit lines BL and BLB, and the virtual power line V_VDM. (hereafter referred to as the V_VDM line) and V_VSM (hereafter referred to as the V_VSM line). The V_VDM line is connected to the power supply 312 and 313. The V_VSM line is an input-controlled virtual power line. The V_VSM line is This is a virtual power supply line that controls the input of voltage. The voltage VDHB is the high level of the gate line OGL. This voltage is higher than the voltage VDDM.

[0249] In the example of FIG. 26(A), the bistable circuit 275 is a wrapper consisting of two CMOS inverter circuits. The nodes Q and Qb are the input and output terminals of two CMOS inverters, respectively. This is the connection point with the terminal and is the node that holds the complementary data. Node Q / Qb is "H" / "L When the node Q / Qb becomes "L" / "H", the bistable circuit 275 becomes stable. The transistors MT1 and MT2 are transfer transistors. T1 controls the conduction state between the bit line BL and node Q, and transistor MT2 This controls the conduction state between the bit line BLB and the node Qb.

[0250] The backup circuit 272 is a circuit for backing up the data in the memory cell 271. By providing a backup circuit 272 for each cell 270, Power gating becomes possible.

[0251] The backup circuit 272 includes transistors M21 and M22 and capacitance elements C21 and C22. That is, the backup circuit 272 has two 1T1C type memory cells. The retention nodes of these memory cells are nodes SN21 and SN22.

[0252] The transistors M21 and M22 are os transistors having back gates. The voltage VBG3 is input to the gate of the transistor M21. Since the backup circuit 272 is a static circuit, it can retain data for a long period of time. The transistors M21 and M22 are os transistors, so that the Si transistors Since the backup circuit 272 can be stacked on the memory cell 271, The area overhead of the cell 270 due to the provision of the up-down circuit 272 can be suppressed. Cut.

[0253] <Low power consumption state> OSSRAM300 has four low power consumption states: (1) bit line floating state; (2) resting state, (3) cell array domain PG state, and (4) all domain PG state. The power gating control circuit 330 controls the power consumption to be low based on the PG signal of the PMU 193. Manages the operation of the OSSRAM 300 under power conditions.

[0254] (Bit line floating state) In the bit line floating state, the bit line pair (BL, BLB) is set to the floating state. The data in the memory cell 271 is not lost.

[0255] (Sleep state) In the sleep state, a voltage VDML lower than the voltage VDDM is supplied to the power domain 302. The voltage VDML is set to a value that does not erase the data in the memory cell 271. The pair (BL, BLB) is in a floating state.

[0256] (Cell array domain PG state) The power switches 312 to 314 are turned off to supply the voltage VDDM to the power domain 302. Stop the supply of VDML and VSSM. The bit line pair (BL, BLB) is in a floating state. The data in the memory cell 271 is lost.

[0257] (All domains in PG state) The all-domain PG state is when all domains that can be power-gated are power-gated. The power switches 310 to 314 are in an OFF state.

[0258] The four low power consumption states have different break-even times (BET) for reducing power consumption. By having multiple low-power consumption states with different BETs, the power consumption of OSSRAM300 is can be efficiently reduced.

[0259] <Power gating sequence> FIG. 26B shows an example of a power gating sequence for the power domain 302. In FIG. 26(B), t1, t2, etc. represent times.

[0260] (Normal Operation) Before time t1, the OSSRAM 300 is in the normal operating state (write or read). The OSSRAM300 operates normally like a single-port SRAM. The power switches 310 to 312 and 314 are on, and the power switch 313 is off. It is F.

[0261] (Backup) Based on the control signal of the power gating control circuit 330, the backup operation starts at time t1. The backup and recovery driver 335 sets all wiring OGL to "H". Here, at time t1, nodes Q / Qb are “H” / “L”, and nodes SN21 / SN2 Since the voltage at node S2 is "L" / "H", when the transistors M21 and M22 are turned on, The voltage of N21 rises from VSSM to VDDM, and the voltage of node SN22 rises from VDDM to V At time t2, the OGL line is set to "L" to terminate the backup operation. The data of nodes Q / Qb at time t1 is written to nodes SN21 / SN22. Can be enjoyed.

[0262] (Power-gating) At time t2, the power gating control circuit 330 sets the signal PSE12 to "L" to turn off the power. By turning off the switches 312 and 314, the power domain 302 is power-gated. The voltage difference between the V_VDM line and the V_VSM line decreases, causing the memory cell 271 The data in the memory cell 271 is lost, but the backup circuit 27 2 continues to hold the data.

[0263] For example, while the power domain 302 is powered off, the bit line pair (BL, BLB) is The power gating control circuit 330 outputs a control signal to the column Transmit to circuit 333.

[0264] (Recovery) The row circuit 332, the column circuit 333, and the backup and recovery driver 335 are The recovery operation is performed according to the control signal of the recovery control circuit 330. The stabilize circuit 275 functions as a sense amplifier to sense the data at the node Q / Qb. First, the reset operation of the nodes Q and Qb is performed. At time t3, the column circuit 333 Precharge the bit line pairs (BL, BLB). All bit line pairs (BL, BLB) The row circuit 332 selects all the word lines WL. The V_VDM and V_VSM lines are precharged to the voltage Vpr2, and the nodes Q and Qb The voltage is fixed at Vpr2.

[0265] At time t4, the backup and recovery driver 335 sets all wirings OGL to "H". The transistors M21 and M22 are turned on. The charge of the capacitance element C21 is transferred to the nodes Q and SN21, and the charge of the capacitance element C22 is distributed to the node Qb and the node SN22. A voltage difference occurs between node Q and node Qb.

[0266] At time t5, the power switches 312 and 314 are turned on to supply power to the power domain 302. When the bistable circuit 275 becomes active, the input of the voltages VDDM and VSSM is resumed. The voltage difference between node Q and node Qb is amplified. Finally, the voltages of nodes Q and SN21 are The voltages of nodes Qb and SN22 are VSSM. In other words, the state of nodes Q / Qb is At time t7, the recovery operation is completed. .

[0267] The L1 cache memory device 202 and the L2 cache memory device 203 have different configurations. For example, the L1 cache memory device 202 may be an OSSRAM, and the L2 cache memory device 203 may be an OSSRAM. The cache memory device 203 is a non-volatile RAM. Alternatively, the L1 cache memory device The device 202 uses a non-volatile random access memory (NOSRAM) composed of memory cells 260, and the L2 cache memory The memory device 203 uses a non-volatile random access memory (NOSRAM) that is composed of memory cells 263. In the cache memory device 203, the memory cell array is stacked on the peripheral circuit. This allows the area of ​​the L2 cache memory device 203 to be reduced, making it possible to increase the capacity. Advantageously, the memory cell 260 has a read transistor which is a Si transistor. Because of its fast read speed, it is suitable for the L1 cache memory device 202.

[0268] <osAIチップ390> The osAI chip 390 is an IC chip that uses os transistors and is capable of AI arithmetic processing. The data used by the osAI chip 390 includes weight coefficient data (learnable The results of the calculations of the osAI chip 390 are, for example, For example, it is output as inference data.

[0269] The feature of the osAI chip 390 is that the data used for calculations (typically, weighting coefficient data) The memory circuit for storing the data is provided close to the arithmetic circuit. In this specification, a mechatronic device having an OS transistor is described. The memory is sometimes called "os memory". Figures 27(A) to 27(D) show the structure of os memory. An example of a circuit configuration is shown.

[0270] The os memory 381 shown in FIG. 27(A) has the same circuit configuration as the 2T gain cell. The read transistor MW1, the read transistor MR1, and the capacitance element CS1. The gate of the write transistor MW1 is the hold node SN. The transistors MR1 ​​are each an os transistor.

[0271] The node SN of the OS memory 381 is charged through the write transistor MW1. Since the os transistor has a very small off-current, the write transistor MW1 Therefore, the OS memory 381 is a non-volatile memory circuit. Therefore, the OS memory 381 can function as a non-volatile analog circuit and can be easily multi-valued. The log memory circuit can be provided in the osAI chip 390.

[0272] By changing the back gate voltage of the write transistor MW1, The threshold voltage of MW1 can be changed. The write transistor MW1 is back-gained. The same applies to the read transistor MR1. .

[0273] Metal oxides have a large energy gap, which makes it difficult for electrons to be excited, and the effective number of holes is high. Due to their large mass, os transistors have a smaller capacity than conventional silicon transistors. Therefore, for example, avalanche breakdown may not occur easily. By suppressing hot carrier degradation, high The drain voltage can drive the os transistor. Therefore, the write transistor Because MW1 is an os transistor, it is possible to apply a high voltage to node SN. Therefore, it is easy to make the OS memory 381 multi-valued.

[0274] The OS memory 382 shown in FIG. 27B is a modified example of the OS memory 381. The read transistor MR2 is a p-channel Si transistor. A channel type Si transistor may also be used.

[0275] The os memory 383 shown in FIG. 27(C) is a three-transistor type gain cell. Transistor MW3, read transistor MR3, selection transistor MS3, capacitance element CS 3. Write transistor MW3, read transistor MR3, select transistor MS3 is an os transistor having a back gate. Some or all of the transistors may be OS transistors without a backgate.

[0276] The OS memory 384 shown in FIG. 27(D) is a modified example of the OS memory 383. The transistor MR4 and the selection transistor MS4 are n-channel Si transistors. Either or both of the read transistor MR4 and the selection transistor MS4 are p-channel. A silicon type transistor may also be used.

[0277] In principle, the OS memory 381 rewrites data by charging and discharging the capacitance element CS1. There is no limit to the number of times it can be rewritten, and data can be written and read using low energy. Therefore, the OS memory 381 is not consumed power to hold data. By incorporating it into the 390, it will be possible to provide a low-power AI chip. The memories 382 to 384 have the same characteristics as the OS memory 381.

[0278] FIG. 28A shows a schematic diagram of a laminated structure of a circuit section 391A of an osAI chip 390. The path portion 391A has a laminated structure, and includes a Si transistor layer 1011, a wiring layer 1012, an os The os transistor layer 1013 is divided into a Si transistor layer 1014 and a Since it can be stacked on 1011, the area of ​​the OSAI chip 390 can be reduced. It is possible.

[0279] As shown in FIG. 28B and FIG. 28C, the circuit portion 391B and the circuit portion 391C are A plurality of os transistor layers 1013 may be provided. Unlike 391B, the Si transistor layer 1011 is not provided. The number of os transistor layers 1013 may be one.

[0280] A more specific circuit configuration of the osAI chip 390 will be described in the third and fourth embodiments. As mentioned above, the calculation part of the osAI chip 390 is operated with a small number of elements and wiring. This is advantageous for integration because it is possible to configure a single part. The OSAI chip 390 can handle more than 1000 GPUs, so it can handle more than 1000 GPUs. Or it may be possible to achieve even higher computing performance.

[0281] For example, if the operating frequency of a commercially available GPU chip is 3 GHz and the number of parallel multiplication processes is 10 3 is In this case, the computing performance of the GPU chip is 3×10 12 OPS = 3Tera OPS (TOPS) For example, the osAI chip 390 is 10 6 〜10 8 Approximately one calculation circuit is provided. This allows the number of parallel multiplications to be 10. 6 〜10 8 In this case, os Even if the operating frequency of the AI ​​is reduced to 3MHz or 30MHz, the calculation of the osAI chip 390 The performance is comparable to that of a GPU. Reducing the operating frequency reduces the dynamic power consumption of the IC chip. Very effective.

[0282] In addition, GPU chips operate at high frequencies to perform large-scale computations such as AI calculations. This consumes a lot of power and causes high temperatures. The OSAI chip 390 operates at a low frequency. This reduces the amount of heat generated by the OSAI chip 390. In this configuration, the heat dissipation mechanism of the OSAI chip 390 is made simpler than that of the GPU chip. It is possible.

[0283] As mentioned above, the relationship between improved computing performance, power saving, and heat suppression in GPU chips is The relationship between the operating frequency and the frequency is a trade-off. Therefore, the OSAI chip 390 can reduce the time while minimizing the degradation of the calculation performance. It is possible to perform large-scale computational processing with high efficiency in terms of power.

[0284] (Embodiment 6) In this embodiment, electronic devices to which the arithmetic device described in the above embodiment can be applied, The mobile object and the computing system will be described with reference to FIGS.

[0285] FIG. 29(A) shows an external view of an automobile as an example of a moving object. FIG. 29(B) shows an external view of an automobile as an example of a moving object. A simplified diagram of data exchange within a car. 91, etc. Also, the car 590 has infrared radar, millimeter wave radar, laser radar, etc. The device is equipped with various sensors (not shown) such as a radar.

[0286] In the automobile 590, the above-mentioned osAI chip 390 can be used for the camera 591, etc. The vehicle 590 is configured to display a plurality of images captured by a camera 591 in a plurality of imaging directions 592. The OSA1 chip 390 described in the embodiment processes the data, and the OSA1 chip 390 ... outputs the data to the host computer via a bus 593 or the like. By analyzing multiple images taken by a camera such as the Torora 594, guardrails and pedestrians can be detected. It can determine the surrounding traffic conditions, such as the presence or absence of obstacles, and perform autonomous driving. This can be used in systems that perform risk prediction, etc.

[0287] The osAI chip 390 processes the obtained image data using neural networks and other calculations. By processing the image, for example, it is possible to increase the resolution of the image, reduce image noise, and perform face recognition (for crime prevention purposes, etc.). ), object recognition (for autonomous driving, etc.), image compression, image correction (wide dynamic range) , image restoration of lensless image sensors, positioning, character recognition, reduction of reflected light, etc. Processing can be performed.

[0288] In the above description, an automobile is used as an example of a moving object. For example, the moving object may be a train, a monorail, a ship, or an aircraft (helicopter). , unmanned aerial vehicles (drones), airplanes, rockets, etc. Applying a computer according to one embodiment of the present invention to a body gives it a system that utilizes artificial intelligence. It is possible.

[0289] FIG. 30(A) is an external view showing an example of a portable electronic device. FIG. 30(B) is an external view showing an example of a portable electronic device. A simplified diagram of data exchange within a child device. A wiring board 596, a speaker 597, a camera 598, a microphone 599, etc. .

[0290] In a portable electronic device 595, the osAI chip 390 is mounted on a printed wiring board 596. The portable electronic device 595 may include a speaker 597, a camera 598, a microphone, and a The data obtained from the Clofon 599 and other devices is then transferred to the osAI chip described in the above embodiment. 390, the convenience of the user can be improved. It can be used in systems that provide voice guidance, image searches, etc.

[0291] The osAI chip 390 processes the obtained image data using neural networks and other calculations. By processing the image, for example, it is possible to increase the resolution of the image, reduce image noise, and perform face recognition (for crime prevention purposes, etc.). ), object recognition (for autonomous driving, etc.), image compression, image correction (wide dynamic range) , image restoration of lensless image sensors, positioning, character recognition, reduction of reflected light, etc. Processing can be performed.

[0292] The portable game machine 1100 shown in FIG. 31(A) includes a housing 1101, a housing 1102, and a housing 1103. 1103, a display unit 1104, a connection unit 1105, an operation key 1107, etc. The housing 1102 and the housing 1103 can be removed. By attaching the connector 1105 to the housing 1108, the image displayed on the display unit 1104 can be displayed. The video recorded in the housing 1102 and the housing 110 can be output to another video device. 3 is attached to the housing 1109, the housings 1102 and 1103 are integrated, and the operation The chips provided on the substrates of the housings 1102 and 1103 function as operating parts. The osAI chip 390 shown in the previous embodiment can be incorporated in such a device.

[0293] FIG. 31B shows a stick-type electronic device 1120 that can be connected via USB. 120 includes a housing 1121, a cap 1122, a USB connector 1123, and a board 112 The substrate 1124 is housed in the housing 1121. For example, The board 1 is provided with a memory chip 1125 and a controller chip 1126. The controller chip 1126 of 124 is connected to the OSA I chip 390 shown in the previous embodiment. can be incorporated.

[0294] FIG. 31C shows a humanoid robot 1130. The robot 1130 has a sensor 2101. 2106 and a control circuit 2110. For example, the control circuit 2110 includes The osAI chip 390 shown in the embodiment can be incorporated.

[0295] The osAI chip 390 described in the above embodiment is not built into the electronic device, but is It can also be used for a server that communicates with the device. In this case, the electronic device and the server An example of the configuration of a system 3000 is shown in FIG.

[0296] The system 3000 includes an electronic device 3001 and a server 3002. Communication between the device 3001 and the server 3002 is performed via the Internet line 3003. It is possible.

[0297] The server 3002 includes a plurality of racks 3004. The racks include a plurality of boards On the substrate 3005, the osAI chip 3 described in the above embodiment is provided. 90. This allows the server 3002 to have a neural network The server 3002 is connected to the electronic device 3001 via an Internet line. Performing neural network calculations using data input via 3003 The results of the calculations performed by the server 3002 can be transmitted via the Internet line 300 03 to the electronic device 3001. This can reduce the computational burden in the

[0298] This embodiment mode can be appropriately combined with the descriptions of other embodiment modes. [Explanation of symbols]

[0299] SC1:Status, SC2:Status, SG1:Status, SG2:Status, SPG1:Status, SPG2 :Status, SPG3:Status, SPG4:Status, 10:Host, 10A:CPU, 10B:C PU, 11A: CPU core, 11B: CPU core, 12: memory, 13: data retention circuit ,20:bus,30:GPU,30_1:GPU,30_n:GPU,30A:GPU, 30B: GPU, 31: device memory, 32A: shared memory, 32B: shared memory, 3 3A: GPU core, 33B: GPU core, 34A: arithmetic unit, 34B: arithmetic unit , 35A: data holding unit, 35B: data holding unit, 40: multiplication circuit, 42: current source, 43 : offset circuit, 44: activation function circuit, 51: input register, 52: memory circuit, 5 3: multiplication circuit, 54: addition circuit, 55A: output register, 55B: output register, 56A : Selector, 56B: Selector, 56C: Selector, 56D: Selector, 57A: Memory circuit, 57B: memory circuit, 57C: memory circuit, 61: arithmetic circuit, 62: switch circuit ,65: switch circuit, 66S: wiring, 67A: wiring, 71: flip-flop, 72: Decoder, 73_0: memory cell, 73_1: memory cell, 73_2: memory cell, 73 _3: memory cell, 74: memory cell, 77: transistor, 78: latch circuit, 80: Flip-flop, 81: decoder, 83_0: memory cell, 83_1: memory cell, 8 7: wiring, 91_0: memory cell, 91_1: memory cell, 92_0: transistor, 9 2_1: transistor, 93: transistor, 100A: arithmetic unit, 100B: arithmetic unit , 100C: Arithmetic unit, 100D: Arithmetic unit, 100E: Arithmetic unit, 110: CPU, 1 11: CPU core, 112: instruction cache, 113: data cache, 114: bus Interface circuit, 120: GPU, 121: GPU core, 122: On-site memo 123: ADC / DAC, 124: control circuit, 131: on-chip memory, 140A :High-speed bus, 140B:Low-speed bus, 141:DMAC, 142:Power management unit 143: Memory controller, 144: DDR SDRAM controller, 145: :USB interface circuit, 146:display interface circuit, 147: Security circuit, 150: bridge circuit, 151: interrupt control circuit, 152: interrupt 153: Battery control circuit, 154: ADC / DAC interface base circuit, 160: power supply circuit, 190: CPU, 193: PMU, 200: CPU core, 202: L1 cache memory device, 203: L2 cache memory device, 205: bus Interface section, 210: power switch, 211: power switch, 212: power switch, 214: level shifter, 220: flip-flop, 221: scan flip 221A: clock buffer circuit; 222: backup circuit; 240: NOSRAM, 242: Power domain, 243: Power domain, 245: Power switch switch, 246: power switch, 247: power switch, 250: memory cell array, 251: control circuit, 252: row circuit, 253: column circuit, 260: memory cell, 262: memory cell, 263: memory cell, 270: cell, 271: memory cell, 272: backup 275: Bistable circuit, 300: OSSRAM, 301: Power domain, 30 2: Power domain, 303: Power domain, 310: Power switch, 311: Power switch, 312: power switch, 313: power switch, 314: power switch 320: memory cell array; 330: power gating control circuit; 331: control circuit 332: row circuit; 333: column circuit; 335: backup and recovery driver; 81: OS memory, 382: OS memory, 383: OS memory, 384: OS memory, 3 90: osAI chip, 391A: circuit section, 391B: circuit section, 391C: circuit section, 40 0:osAI chip, 401:receiver, 403:DAC, 404:DAC, 405:M AC array, 406: MAC array, 407: Gate driver, 408: ADC, 409 :Transmitter, 450:osAI chip, 460:Controller, 462:I2C module module, 463: receiver, 464: transmitter, 466: data driver, 46 7: word driver, 470: arithmetic circuit array, 471: arithmetic unit, 472: SRAM, 4 74: selector, 475: selector, 476: demultiplexer, 590: automobile, 59 1: camera, 592: imaging direction, 593: bus, 594: host controller, 595: Portable electronic device, 596: Printed wiring board, 597: Speaker, 598: Camera, 5 99: microphone, 1100: portable game machine, 1101: housing, 1102: housing, 1103: housing, 1104: display unit, 115: connection unit, 1107: operation keys, 1108: Housing, 1109: Housing, 1120: Electronic device, 1121: Housing, 1122: Cap, 1 123: USB connector, 1124: board, 1125: memory chip, 1126: controller Roller chip, 1130: robot, 2101: sensor, 2106: sensor, 2110: Control circuit, 3000: system, 3001: electronic device, 3002: server, 3003: Internet line, 3004: Rack,< / ossram> < / nosram>

Claims

[Claim 1] A first calculation unit; A second calculation unit, the first computing unit has a first CPU core and a second CPU core; the second computing unit includes a first GPU core and a second GPU core; the first CPU core and the second CPU core each have a function capable of power gating; each of the first and second CPU cores has a first data retention circuit electrically connected to a flip-flop; the first GPU core has a second data retention circuit capable of retaining an analog value and reading out the analog value as digital data of 2 or more bits; the second GPU core has a third data retention circuit that retains a digital value and can read the digital value as 1-bit digital data; each of the first to third data holding circuits includes a first transistor and a capacitance element; The first transistor is electrically connected to the capacitive element. A computing device, wherein a channel formation region of the first transistor includes an oxide semiconductor.

Citation Information

Patent Citations

  • Semiconductor device and semiconductor device control method

    JP2015035073A

  • Memory device, semiconductor device, and electronic device

    JP2015195331A

  • Computing and Electronic Devices

    JP7237839B2

  • Dynamic scaling of graphics processor execution resources

    US20160054782A1

  • Method of forming an electromechanical power switch for controlling power to integrated circuit devices and related devices

    US8786130B1