Semiconductor Devices

By designing the core output driver, pad input driver and arithmetic result data generation circuit in the neural network semiconductor device, the problems of data transmission and processing complexity and low efficiency are solved, and efficient arithmetic operations of the neural network are realized.

CN112308218BActive Publication Date: 2024-08-23SK HYNIX INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911333701.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-07-24
Filing Date
2019-12-23
Publication Date
2024-08-23
Estimated Expiration
2039-12-23

AI Technical Summary

Technical Problem

When existing neural network semiconductor devices perform arithmetic operations, data transmission and processing have problems of complexity and low efficiency, making it difficult to effectively support efficient operations of neural networks.

Method used

A semiconductor device is designed, including a core output driver, a pad input driver and an arithmetic result data generation circuit. Data transmission and processing are carried out through global I/O lines to achieve synchronous processing of core data and pad data, and to execute the neural network arithmetic operations.

Benefits of technology

It improves the efficiency of data transmission and processing, supports efficient operations of neural networks, and enhances the performance and flexibility of arithmetic operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112308218B_ABST
    Figure CN112308218B_ABST
Patent Text Reader

Abstract

A semiconductor device includes a core output driver, a pad input driver and an arithmetic result data generation circuit. When performing an arithmetic operation, the core output driver transfers the first data output from the core area to the global input / output (I / O) line. When performing an arithmetic operation, the pad input driver transfers the second data input through the pad area to the global I / O line. The arithmetic result data generation circuit sequentially receives the first data and the second data through the global I / O line to generate core data and pad data. The arithmetic result data generation circuit also performs arithmetic operations used in a neural network based on the core data and the pad data to generate arithmetic data.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of Korean Application No. 10-2019-0089879 filed on July 24, 2019, in the Korean Intellectual Property Office, which is hereby incorporated by reference in its entirety. Technical Field

[0003] Embodiments of the present disclosure relate to semiconductor devices that provide a neural network. Background Art

[0004] In a neural network, neurons, which are mathematically modeled similar to the human brain, are connected to each other to form a network. Recently, neural network technology has been rapidly developed. As a result, a lot of work has focused on using neural network technology in various electronic devices to analyze input data and extract useful information. Summary of the invention

[0005] According to one embodiment, a semiconductor device includes a core output driver, a pad input driver, and an arithmetic result data generation circuit. The core output driver is configured to: when performing an arithmetic operation, transfer the first data output from the core area to the global input / output (I / O) line. The pad input driver is configured to: when performing an arithmetic operation, transfer the second data input through the pad area to the global I / O line. The arithmetic result data generation circuit is configured to: sequentially receive the first data and the second data through the global I / O line to generate core data and pad data respectively, and in addition, the arithmetic result data generation circuit is configured to perform arithmetic operations used in a neural network based on the core data and the pad data to generate arithmetic data.

[0006] According to another embodiment, a semiconductor device includes a first core output driver, a second core output driver, a pad input driver, and an arithmetic result data generation circuit. The first core output driver is configured to: transfer the first data output from the first core area to the first global input / output (I / O) line when performing an arithmetic operation. The second core output driver is configured to: transfer the second data output from the second core area to the second global I / O line when performing an arithmetic operation. The pad input driver is configured to: transfer the third data input through the pad area to the first global I / O line and the second global I / O line when performing an arithmetic operation. The arithmetic result data generation circuit is configured to receive the first data and the second data through the first global I / O line and the second global I / O line to generate core data; is configured to receive the third data through the first global I / O line and the second global I / O line to generate pad data; and is configured to perform an arithmetic operation used in a neural network based on the core data and the pad data to generate arithmetic data.

[0007] According to another embodiment, a semiconductor system includes a command decoder and a neural network circuit. The command decoder is configured to generate a core output pulse, a first latch control pulse, a pad input pulse, a second latch control pulse, and a third latch control pulse when performing an arithmetic operation. The neural network circuit is configured to transfer the first data stored in the core region to the global input / output (I / O) line when the core output pulse is created; to latch the first data transferred to the global I / O when the first latch control pulse is created to generate core data; to transfer the second data input through the pad region to the global I / O line when the pad input pulse is created; and to latch the second data transferred to the global I / O line when the second latch control pulse is created to generate pad data.

[0008] According to another embodiment, a semiconductor system includes a command decoder and a neural network circuit. The command decoder is configured to generate a selection signal, a core output pulse, a first latch control pulse, a pad input pulse, a second latch control pulse, and a third latch control pulse when performing an arithmetic operation. The neural network circuit is configured to transfer the first data stored in the first core region to the first global input / output (I / O) line when the core output pulse is created, or to transfer the second data stored in the second core region to the second global I / O line; is configured to latch the first data transferred to the first global I / O line to generate core data when the first latch control pulse is created, or to latch the second data transferred to the second global I / O line to generate core data; is configured to transfer the third data input through the pad region to the first global I / O line and the second global I / O line when the pad input pulse is created; and is configured to latch the third data transferred to the first global I / O line and the second global I / O line to generate pad data when the second latch control pulse is created. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 A block diagram showing a configuration of a semiconductor device according to an embodiment of the present disclosure.

[0010] Figure 2 Shown included in Figure 1 An example of a neural network circuit in a semiconductor device.

[0011] Figures 3 to 6 Shows Figure 1 and Figure 2 A timing diagram of various operations of the semiconductor device is shown.

[0012] Figure 7 A block diagram showing a configuration of a semiconductor device according to another embodiment of the present disclosure.

[0013] Figure 8 Shown included in Figure 7 An example of a neural network circuit in a semiconductor device.

[0014] Fig. 9 and Fig.10 Shows Figure 7 and Figure 8 A timing diagram of various operations of the semiconductor device is shown. DETAILED DESCRIPTION

[0015] Various embodiments of the present disclosure will be described below with reference to the accompanying drawings. However, the embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the present disclosure.

[0016] The terms used in this application are only used to describe specific embodiments and are not intended to limit the present disclosure. Unless the context clearly indicates otherwise, the singular form in the present disclosure is also intended to include the plural form. It will also be understood that terms such as "including" or "having" are intended to indicate the presence of features, numbers, operations, actions, components, parts or combinations thereof disclosed in the specification, and are not intended to exclude the possibility that one or more other features, numbers, operations, actions, components, parts or combinations thereof may be added.

[0017] like Figure 1 As shown, the semiconductor device 100 according to the embodiment may include a command decoder 10 and a neural network circuit 11 .

[0018] The command decoder 10 may decode the control signal CA<1:L> to generate and output a core output pulse COP, a latch output pulse LOP, a pad output pulse POP, a pad input pulse PIP, a core input pulse CIP, a first latch control pulse LCP1, a second latch control pulse LCP2, and a third latch control pulse LCP3 to the neural network circuit 11. The control signal CA<1:L> may include at least one of a command and an address. When a read command for performing a read operation is input to the command decoder 10 through the control signal CA<1:L>, the command decoder 10 may generate a core output pulse COP and a pad output pulse POP. When an arithmetic command for performing an arithmetic operation used in a neural network (i.e., the neural network circuit 11) is input to the command decoder 10 through the control signal CA<1:L>, the command decoder 10 may generate a core output pulse COP, a pad input pulse PIP, a first latch control pulse LCP1, a second latch control pulse LCP2, and a third latch control pulse LCP3. When an arithmetic read command for performing an arithmetic read operation is input to the command decoder 10, the command decoder 10 may generate a latch output pulse LOP and a pad output pulse POP to cause the arithmetic result data ( LOP ) generated by the arithmetic operation of the neural network circuit 11 to be latched. Figure 2 LFD) output.

[0019] When the command decoder 10 generates a core output pulse COP and a pad output pulse POP based on a read command, the neural network circuit 11 can Figure 2 21) generates the first data and transmits it to the pad area ( Figure 2 23). When the command decoder 10 generates a core output pulse COP, a pad input pulse PIP, a first latch control pulse LCP1, a second latch control pulse LCP2, and a third latch control pulse LCP3 based on the arithmetic command, the neural network circuit 11 can be based on the core area ( Figure 2 21) outputs the first data and the first data outputted through the pad area ( Figure 2 23) input second data to perform the arithmetic operation used in the neural network to generate arithmetic result data ( Figure 2 When performing a read operation or an arithmetic operation, the core area ( Figure 2 When the command decoder 10 generates a latch output pulse LOP and a pad output pulse POP based on the arithmetic read command, the neural network circuit 11 can output the first data stored therein through the pad area ( Figure 2 23) Output arithmetic result data ( Figure 2LFD). The arithmetic operation may include at least one of a multiplication operation and an addition operation for the feature value and the weighted value. The arithmetic operation may be performed to sort the features included in the input layer into the result values ​​included in the output layer. The arithmetic operation may be performed by using various functions such as SIGMOID, Tanh, or ReLU. The feature value may be a value corresponding to the feature included in the input layer, and the weighted value may be a value that affects the sorting of the features included in the input layer into the result values ​​included in the output layer. The first data may be set as the feature value used in the neural network, and the second data may be set as the weighted value used in the neural network. Alternatively, the first data may be set as the weighted value, and the second data may be set as the feature value.

[0020] refer to Figure 2 The neural network circuit 11 may include a core region 21 , a core input / output (I / O) circuit 22 , a pad region 23 , a pad I / O circuit 24 , an arithmetic result data generation circuit 27 , and an arithmetic result output driver 29 .

[0021] The core region 21 may include a memory cell array (not shown), and may output first data stored in the memory cell array to the local I / O lines LIO<1:M> when performing a read operation or an arithmetic operation. The first data stored in the core region 21 may include information about a feature value or a weighted value. The number "M" of the local I / O lines LIO<1:M> may be set to a natural number equal to or greater than 2. When performing a read operation or an arithmetic operation, the number of first data bits output from the core region 21 through the local I / O lines LIO<1:M> may be equal to or less than the number "M".

[0022] The core I / O circuit 22 may include a core output driver 221 and a core input driver 223. When a read operation is performed, the core output driver 221 may be activated by a core output pulse COP to output data loaded on the local I / O line LIO<1:M> to the global I / O line GIO<1:M>. When a write operation is performed, the core input driver 223 may be activated by a core input pulse CIP to output data loaded on the global I / O line GIO<1:M> to the local I / O line LIO<1:M>. In other words, when a read operation is performed, the core I / O circuit 22 may output data loaded on the local I / O line LIO<1:M> to the global I / O line GIO<1:M>. On the other hand, when a write operation is performed, the core I / O circuit 22 may output data loaded on the global I / O line GIO<1:M> to the local I / O line LIO<1:M>.

[0023] The pad region 23 may include a plurality of pads (not shown). When a read operation is performed, the first data may be transmitted to the pad region 23 through the local I / O line LIO<1:M>, the global I / O line GIO<1:M>, and the pad I / O line PIO<1:M>. When an arithmetic operation is performed, the second data may be transmitted to the pad I / O line PIO<1:M> and the global I / O line GIO<1:M>. When an arithmetic read operation is performed, the arithmetic result data LFD may be output to the pad region 23 through the global I / O line GIO<1:M> and the pad I / O line PIO<1:M>. The second data may include a feature value or a weighted value.

[0024] The pad I / O circuit 24 may include a pad input driver 241 and a pad output driver 243. The pad input driver 241 may be activated by a pad input pulse PIP created when performing an arithmetic operation to transfer the second data to the pad I / O line PIO<1:M> and the global I / O line GIO<1:M>. The pad output driver 243 may be activated by a pad output pulse POP created when performing a read operation to transfer the first data to the pad region 23 through the local I / O line LIO<1:M>, the global I / O line GIO<1:M>, and the pad I / O line PIO<1:M>. The pad output driver 243 may be activated by a pad output pulse POP created when performing an arithmetic read operation to transfer the arithmetic result data LFD to the pad region 23 through the global I / O line GIO<1:M> and the pad I / O line PIO<1:M>. In other words, when performing an arithmetic operation, the pad I / O circuit 24 may transmit the second data to the pad I / O line PIO<1:M> and the global I / O line GIO<1:M>. On the other hand, when performing a read operation, the pad I / O circuit 24 may transmit the first data to the pad region 23 through the local I / O line LIO<1:M>, the global I / O line GIO<1:M>, and the pad I / O line PIO<1:M>. In addition, when performing an arithmetic read operation, the pad I / O circuit 24 may transmit the arithmetic result data LFD to the pad region 23 through the global I / O line GIO<1:M> and the pad I / O line PIO<1:M>.

[0025] The arithmetic result data generating circuit 27 may include a first input data latch 271, a second input data latch 273, an arithmetic circuit 275, and a data output latch 277. The first input data latch 271 may be synchronized with a first latch control pulse LCP1 created when performing an arithmetic operation. The first input data latch 271 and the first latch control pulse LCP1 synchronously receive and latch the first data through the global I / O line GIO<1:M>, and output the latched first data as core data CD. The second input data latch 273 may be synchronized with a second latch control pulse LCP2 created when performing an arithmetic operation. The second input data latch 273 and the second latch control pulse LCP2 synchronously receive and latch the second data input through the pad region 23 and the global I / O line GIO<1:M>, and output the latched second data as pad data PD. The arithmetic circuit 275 may receive the core data CD and the pad data PD, and may perform an arithmetic operation to generate arithmetic data LD. The data output latch 277 may be synchronized with the third latch control pulse LCP3 created when performing an arithmetic operation. The third input data latch 277 and the third latch control pulse LCP3 synchronously latch the arithmetic data LD and output the latched data of the arithmetic data LD as the arithmetic result data LFD. The arithmetic result data generating circuit 27 may receive the core data CD and the pad data PD when performing an arithmetic operation, and may perform an arithmetic operation to generate the arithmetic result data LFD.

[0026] Based on the latch output pulse LOP created when performing the arithmetic read operation, the arithmetic result output driver 29 can receive the arithmetic result data LFD to drive the global I / O line GIO<1:M>. When performing the arithmetic read operation, the arithmetic result output driver 29 can output the arithmetic result data LFD to the global I / O line GIO<1:M>.

[0027] The following will refer to Figure 3 The read operation of the semiconductor device 100 is described in more detail.

[0028] When a read command RD for a read operation is input to the command decoder 10 through the control signal CA<1:L>, the command decoder 10 may sequentially generate a core output pulse COP and a pad output pulse POP. When the core output pulse COP and the pad output pulse POP are generated, the neural network circuit 11 may transmit the first data output from the core region 21 to the pad region 23 through the local I / O line LIO<1:M>, the global I / O line GIO<1:M>, and the pad I / O line PIO<1:M>.

[0029] The following will refer to Figure 4 An example of an arithmetic operation of the semiconductor device 100 is described in detail.

[0030] When an arithmetic command MAC for an arithmetic operation is input to the command decoder 10 through the control signal CA<1:L>, the command decoder 10 may sequentially generate a core output pulse COP, a first latch control pulse LCP1, a pad input pulse PIP, a second latch control pulse LCP2, and a third latch control pulse LCP3. When the core output pulse COP and the first latch control pulse LCP1 are created, the neural network circuit 11 may latch the first data to generate the core data CD. When the pad input pulse PIP and the second latch control pulse LCP2 are created, the neural network circuit 11 may latch the second data to generate the pad data PD. The neural network circuit 11 may receive the core data CD and the pad data PD, and may perform an arithmetic operation to generate the arithmetic data LD. When the third latch control pulse LCP3 is created, the neural network circuit 11 may latch the arithmetic data LD, and may output the latched data of the arithmetic data LD as the arithmetic result data LFD.

[0031] Semiconductor device 100 may be configured to generate core data CD including information related to feature values ​​from first data, may be configured to generate pad data PD including information related to weighted values ​​from second data input through pad area 23, and may be configured to generate arithmetic result data LFD based on core data CD and pad data PD. Alternatively, semiconductor device 100 may be configured to generate core data CD including information related to weighted values ​​from first data, may be configured to generate pad data PD including information related to feature values ​​from second data input through pad area 23, and may be configured to generate arithmetic result data LFD based on core data CD and pad data PD.

[0032] The following will refer to Figure 5 Another example of the arithmetic operation of the semiconductor device 100 is described in detail.

[0033] When an arithmetic command MAC for an arithmetic operation is input to the command decoder 10 through the control signal CA<1:L>, the command decoder 10 may sequentially generate a pad input pulse PIP, a second latch control pulse LCP2, a core output pulse COP, a first latch control pulse LCP1, and a third latch control pulse LCP3. When the pad input pulse PIP and the second latch control pulse LCP2 are created, the neural network circuit 11 may latch the second data input through the pad area 23 to generate the pad data PD. When the core output pulse COP and the first latch control pulse LCP1 are created, the neural network circuit 11 may latch the first data to generate the core data CD. The neural network circuit 11 may receive the core data CD and the pad data PD, and may perform an arithmetic operation to generate the arithmetic data LD. When the third latch control pulse LCP3 is created, the neural network circuit 11 may latch the arithmetic data LD, and may output the latched data of the arithmetic data LD as the arithmetic result data LFD.

[0034] Semiconductor device 100 may be configured to generate pad data PD including information related to a weighted value from second data input through pad region 23, may be configured to generate core data CD including information related to a feature value from first data, and may be configured to generate arithmetic result data LFD based on core data CD and pad data PD. Alternatively, semiconductor device 100 may be configured to generate pad data PD including information related to a feature value from second data input through pad region 23, may be configured to generate core data CD including information related to a weighted value from first data, and may be configured to generate arithmetic result data LFD based on core data CD and pad data PD.

[0035] In the following we will refer to Figure 6 The arithmetic read operation of the semiconductor device 100 is described in detail.

[0036] When the arithmetic read command LRD is input to the command decoder 10 through the control signal CA<1:L>, the command decoder 10 can sequentially generate a latch output pulse LOP and a pad output pulse POP. When the latch output pulse LOP and the pad output pulse POP are generated, the neural network circuit 11 transmits the arithmetic result data LFD to the pad area 23 through the global I / O line GIO<1:M> and the pad I / O line PIO<1:M>.

[0037] like Figure 7 As shown, a semiconductor device 300 according to another embodiment may include a command decoder 30 and a neural network circuit 31 .

[0038] The command decoder 30 may decode the control signal CA<1:L> to generate and output a core output pulse COP, a latch output pulse LOP, a pad output pulse POP, a pad input pulse PIP, a core input pulse CIP, a first latch control pulse LCP1, a second latch control pulse LCP2, a selection signal SEL, and a third latch control pulse LCP3 to the neural network circuit 31. The control signal CA<1:L> may include at least one of a command and an address. When a read command for performing a read operation is input to the command decoder 30 through the control signal CA<1:L>, the command decoder 30 may generate a core output pulse COP and a pad output pulse POP. When an arithmetic command for performing an arithmetic operation used in a neural network is input to the command decoder 30 through the control signal CA<1:L>, the command decoder 30 may generate a core output pulse COP, a pad input pulse PIP, a first latch control pulse LCP1, a second latch control pulse LCP2, a selection signal SEL, and a third latch control pulse LCP3. When an arithmetic read command for performing an arithmetic read operation is input to the command decoder 30 , the command decoder 30 may generate a latch output pulse LOP and a pad output pulse POP to output arithmetic result data generated by the arithmetic operation of the neural network circuit 31 .

[0039] When the command decoder 30 generates a core output pulse COP and a pad output pulse POP based on the read command, the neural network circuit 31 may transmit the signal generated by the first core region ( Figure 8 411) generates the first data to the pad area ( Figure 8 43), and can be transmitted by the second core area ( Figure 8 413) generates the second data to the pad area ( Figure 8 43). When the command decoder 30 receives an arithmetic command to generate a core output pulse COP, a pad input pulse PIP, a first latch control pulse LCP1, a second latch control pulse LCP2, and a third latch control pulse LCP3, the neural network circuit 31 may generate a core output pulse COP, a pad input pulse PIP, a first latch control pulse LCP1, a second latch control pulse LCP2, and a third latch control pulse LCP3 based on the data stored in the first core region ( Figure 8 411) in the data and through the pad area ( Figure 8 43) input data to perform arithmetic operations used in the neural network to generate arithmetic result data ( Figure 8 When the command decoder 30 receives an arithmetic command to generate a core output pulse COP, a pad input pulse PIP, a first latch control pulse LCP1, a second latch control pulse LCP2, a selection signal SEL, and a third latch control pulse LCP3, the neural network circuit 31 can generate a core output pulse COP, a pad input pulse PIP, a first latch control pulse LCP1, a second latch control pulse LCP2, a selection signal SEL, and a third latch control pulse LCP3 based on the LFD stored in the second core area ( Figure 8 413) and through the pad area ( Figure 8 43) input data to perform arithmetic operations to generate arithmetic result data ( Figure 8 When the command decoder 30 receives the arithmetic read command to generate the latch output pulse LOP and the pad output pulse POP, the neural network circuit 31 can generate the latch output pulse LOP and the pad output pulse POP through the pad area ( Figure 8 43) output arithmetic result data ( Figure 8 of LFD).

[0040] refer to Figure 8 The neural network circuit 31 may include a first core region 411, a first core output driver 421, a second core region 413, a second core output driver 423, a pad region 43, a pad I / O circuit 44, an arithmetic result data generation circuit 47 and an arithmetic result output driver 49.

[0041] The first core region 411 may include a memory cell array (not shown), and may output first data stored in the memory cell array to the first local I / O line LIO<1:M> when a read operation or an arithmetic operation is performed. The first data stored in the first core region 411 may include information related to a feature value or a weighted value used in a neural network. The number "M" of the first local I / O line LIO<1:M> may be set to a natural number equal to or greater than 2. When a read operation or an arithmetic operation is performed, the number of first data bits output from the first core region 411 through the first local I / O line LIO<1:M> may be equal to or less than the number "M".

[0042] When a read operation is performed, the first core output driver 421 may be activated by the core output pulse COP to output data loaded on the first local I / O line LIO<1:M> to the first global I / O line GIO<1:M>.

[0043] The second core region 413 may include a memory cell array (not shown), and may output second data stored in the memory cell array to the second local I / O line LIO when a read operation or an arithmetic operation is performed.<M+1:2M> The second data stored in the second core area 413 may include information related to the feature value or the weight value. When a read operation or an arithmetic operation is performed, the second local I / O line LIO<M+1:2M> The number of second data bits output from the second core region 413 may be equal to or less than the number “M”.

[0044] When a read operation is performed, the second core output driver 423 may be activated by the core output pulse COP to load the second local I / O line LIO.<M+1:2M> The data on the output is output to the second global I / O line GIO<M+1:2M> .

[0045] The pad region 43 may include a plurality of pads (not shown). When a read operation is performed, the first data output from the first core region 411 may be transmitted to the pad region 43 through the first local I / O line LIO<1:M>, the first global I / O line GIO<1:M>, and the pad I / O line PIO<1:2M>. When a read operation is performed, the second data may be transmitted to the pad region 43 through the second local I / O line LIO<1:M>.<M+1:2M> , the second global I / O line GIO<M+1:2M> and pad I / O lines PIO<1:2M> and are transmitted to pad region 43. When an arithmetic operation is performed, the third data input through pad region 43 may be transmitted to pad I / O lines PIO<1:2M>, first global I / O lines GIO<1:M>, and second global I / O lines GIO<1:M>.<M+1:2M> When the arithmetic read operation is performed, the arithmetic result data LFD may be output to the pad region 43 through the global I / O lines GIO<1:2M> and the pad I / O lines PIO<1:2M>. The third data may include a feature value or a weighted value.

[0046] The pad I / O circuit 44 may include a pad input driver 441 and a pad output driver 443. The pad input driver 441 may be activated by a pad input pulse PIP created when an arithmetic operation is performed to transmit the third data to the pad I / O line PIO<1:2M>, the first global I / O line GIO<1:M>, and the second global I / O line GIO<1:M>.<M+1:2M> The pad output driver 443 may be activated by the pad output pulse POP created when the read operation is performed to transmit the first data to the pad region 43 through the first local I / O line LIO<1:M>, the first global I / O line GIO<1:M> and the pad I / O line PIO<1:2M>. The pad output driver 443 may be activated by the pad output pulse POP created when the read operation is performed to transmit the second data to the pad region 43 through the second local I / O line LIO<1:M>.<M+1:2M> Transmitted to pad area 43, second global I / O line GIO<M+1:2M> and pad I / O lines PIO<1:2M>. The pad output driver 443 can be activated by the pad output pulse POP created when the arithmetic read operation is performed to transmit the arithmetic result data LFD to the pad area 43 through the global I / O lines GIO<1:2M> and the pad I / O lines PIO<1:2M>. When performing an arithmetic operation, the pad I / O circuit 44 can transmit the third data to the pad I / O lines PIO<1:2M>, the first global I / O lines GIO<1:M>, and the second global I / O lines GIO<1:M>.<M+1:2M> When performing a read operation, the pad I / O circuit 44 may transmit the first data to the pad region 43 through the first local I / O line LIO<1:M>, the first global I / O line GIO<1:M>, and the pad I / O line PIO<1:2M>. When performing a read operation, the pad I / O circuit 44 may transmit the first data to the pad region 43 through the second local I / O line LIO<1:M>, the first global I / O line GIO<1:M>, and the pad I / O line PIO<1:2M>.<M+1:2M> , the second global I / O line GIO<M+1:2M> and pad I / O lines PIO<1:2M> to transfer the second data to pad region 43. When performing an arithmetic read operation, pad I / O circuit 44 may transfer arithmetic result data LFD to pad region 43 through global I / O lines GIO<1:2M> and pad I / O lines PIO<1:2M>.

[0047] The arithmetic result data generation circuit 47 may include a first core data latch 471 , a second core data latch 473 , a first data selector 475 , a first pad data latch 477 , a second pad data latch 479 , a second data selector 481 , an arithmetic circuit 483 and a data output latch 485 .

[0048] The first core data latch 471 may be synchronized with the first latch control pulse LCP1 created when an arithmetic operation is performed to receive and latch the first data through the first local I / O line LIO<1:M> and the first global I / O line GIO<1:M>, and output the latched first data as the first core data CD1. The second core data latch 473 may be synchronized with the first latch control pulse LCP1 created when an arithmetic operation is performed to receive and latch the first data through the second local I / O line LIO<1:M> and the first global I / O line GIO<1:M>, and output the latched first data as the first core data CD1.<M+1:2M> and the second global I / O line GIO<M+1:2M> The second data is received and latched, and the latched second data is output as the second core data CD2. The first data selector 475 outputs the first core data CD1 or the second core data CD2 as the selected core data CDS based on the selection signal SEL.

[0049] The first pad data latch 477 may be synchronized with the second latch control pulse LCP2 created when the arithmetic operation is performed to receive and latch the third data through the pad I / O line PIO<1:2M> and the first global I / O line GIO<1:M>, and output the latched third data as the first pad data PD1. The second pad data latch 479 may be synchronized with the second latch control pulse LCP2 created when the arithmetic operation is performed to receive and latch the third data through the pad I / O line PIO<1:2M> and the second global I / O line GIO<1:M>.<M+1:2M> The third data is received and latched, and the latched third data is output as the second pad data PD2. The second data selector 481 outputs the first pad data PD1 or the second pad data PD2 as the selected pad data PDS based on the selection signal SEL.

[0050] The arithmetic circuit 483 may receive the selected core data CDS and the selected pad data PDS and may perform an arithmetic operation to generate arithmetic data LD. The data output latch 485 may be synchronized with the third latch control pulse LCP3 created when performing the arithmetic operation to latch the arithmetic data LD and output the latched data of the arithmetic data LD as the arithmetic result data LFD.

[0051] When an arithmetic read operation is performed, the arithmetic result output driver 49 may receive the arithmetic result data LFD to drive the first global I / O line GIO<1:M> and the second global I / O line GIO<1:M> based on the created latch output pulse LOP.<M+1:2M> When performing an arithmetic read operation, the arithmetic result output driver 49 may output the arithmetic result data LFD to the first global I / O line GIO<1:M> and the second global I / O line GIO<1:M>.<M+1:2M> .

[0052] The following will refer to Fig. 9 An example of an arithmetic operation of the semiconductor device 300 is described in detail.

[0053] When the arithmetic command MAC for an arithmetic operation is first input to the command decoder 30 through the control signal CA<1:L>, the command decoder 30 may sequentially generate a selection signal SEL, a core output pulse COP, a first latch control pulse LCP1, a pad input pulse PIP, a second latch control pulse LCP2, and a third latch control pulse LCP3. When the selection signal SEL is generated as a logic "low level" and the core output pulse COP and the first latch control pulse LCP1 are created, the neural network circuit 31 may latch the first data to generate the first core data CD1. When the selection signal SEL is generated as a logic "low level", the neural network circuit 31 may output the first core data CD1 as the selected core data CDS. When the pad input pulse PIP and the second latch control pulse LCP2 are created, the neural network circuit 31 may latch the third data to generate the first pad data PD1. When the selection signal SEL is generated as a logic "low" level, the neural network circuit 31 may output the first pad data PD1 as the selected pad data PDS. The neural network circuit 31 may receive the selected core data CDS and the selected pad data PDS and may perform an arithmetic operation to generate arithmetic data LD. The neural network circuit 31 may latch the arithmetic data LD when the third latch control pulse LCP3 is created and may output the latched data of the arithmetic data LD as arithmetic result data LFD.

[0054] When the arithmetic command MAC for the arithmetic operation is input to the command decoder 30 for the second time through the control signal CA<1:L>, the command decoder 30 may sequentially generate a selection signal SEL, a core output pulse COP, a first latch control pulse LCP1, a pad input pulse PIP, a second latch control pulse LCP2, and a third latch control pulse LCP3. When the selection signal SEL is generated as a logic "high" level and the core output pulse COP and the first latch control pulse LCP1 are created, the neural network circuit 31 may latch the second data to generate the second core data CD2. When the selection signal SEL is generated as a logic "high" level, the neural network circuit 31 may output the second core data CD2 as the selected core data CDS. When the pad input pulse PIP and the second latch control pulse LCP2 are created, the neural network circuit 31 may latch the third data to generate the second pad data PD2. When the selection signal SEL is created as a logic "high" level, the neural network circuit 31 may output the second pad data PD2 as the selected pad data PDS. The neural network circuit 31 may receive the selected core data CDS and the selected pad data PDS and may perform an arithmetic operation to generate arithmetic data LD. When the third latch control pulse LCP3 is created, the neural network circuit 31 may latch the arithmetic data LD and may output the latched data of the arithmetic data LD as arithmetic result data LFD.

[0055] The semiconductor device 300 may be configured to generate selected core data CDS including information related to a feature value from the first data or the second data, may be configured to generate selected pad data PDS including information related to a weighted value from the third data input through the pad area 43, and may be configured to generate arithmetic result data LFD based on the selected core data CDS and the selected pad data PDS. Alternatively, the semiconductor device 300 may be configured to generate selected core data CDS including information related to a weighted value k from the first data or the second data, may be configured to generate selected pad data PDS including information related to a feature value from the third data input through the pad area 43, and may be configured to generate arithmetic result data LFD based on the selected core data CDS and the selected pad data PDS.

[0056] The following will refer to Fig.10 Another example of the arithmetic operation of the semiconductor device 300 is described in detail.

[0057] When the arithmetic command MAC for an arithmetic operation is first input to the command decoder 30 through the control signal CA<1:L>, the command decoder 30 may sequentially generate a pad input pulse PIP, a second latch control pulse LCP2, a selection signal SEL, a core output pulse COP, a first latch control pulse LCP1, and a third latch control pulse LCP3. When the pad input pulse PIP and the second latch control pulse LCP2 are created, the neural network circuit 31 may latch the third data input through the pad area 43 to generate the first pad data PD1. When the selection signal SEL is generated as a logic "low" level, the neural network circuit 31 may output the first pad data PD1 as the selected pad data PDS. When the selection signal SEL is generated as a logic "low" level and the core output pulse COP and the first latch control pulse LCP1 are created, the neural network circuit 31 may latch the first data to generate the first core data CD1. When the selection signal SEL is generated as a logic "low" level, the neural network circuit 31 can output the first core data CD1 as the selected core data CDS. The neural network circuit 31 can receive the selected core data CDS and the selected pad data PDS, and can perform an arithmetic operation to generate arithmetic data LD. The neural network circuit 31 can latch the arithmetic data LD when the third latch control pulse LCP3 is created, and can output the latched data of the arithmetic data LD as the arithmetic result data LFD.

[0058] When the arithmetic command MAC for the arithmetic operation is input to the command decoder 30 for the second time through the control signal CA<1:L>, the command decoder 30 may sequentially generate a pad input pulse PIP, a second latch control pulse LCP2, a selection signal SEL, a core output pulse COP, a first latch control pulse LCP1, and a third latch control pulse LCP3. When the pad input pulse PIP and the second latch control pulse LCP2 are created, the neural network circuit 31 may latch the third data input through the pad area 43 to generate the second pad data PD2. When the selection signal SEL is generated as a logic "high" level, the neural network circuit 31 may output the second pad data PD2 as the selected pad data PDS. When the selection signal SEL is generated as a logic "high" level and the core output pulse COP and the first latch control pulse LCP1 are created, the neural network circuit 31 may latch the second data to generate the second core data CD2. When the selection signal SEL is generated as a logic "high" level, the neural network circuit 31 can output the second core data CD2 as the selected core data CDS. The neural network circuit 31 can receive the selected core data CDS and the selected pad data PDS, and can perform an arithmetic operation to generate arithmetic data LD. The neural network circuit 31 can latch the arithmetic data LD when the third latch control pulse LCP3 is created, and can output the latched data of the arithmetic data LD as the arithmetic result data LFD.

[0059] The semiconductor device 300 may be configured to generate selected pad data PDS including information related to a weighted value from the third data input through the pad region 43, may be configured to generate selected core data CDS including information related to a feature value from the first data or the second data, and may be configured to generate arithmetic result data LFD based on the selected core data CDS and the selected pad data PDS. Alternatively, the semiconductor device 300 may be configured to generate selected pad data PDS including information related to a feature value from the third data input through the pad region 43, may be configured to generate selected core data CDS including information related to a weighted value from the first data or the second data, and may be configured to generate arithmetic result data LFD based on the selected core data CDS and the selected pad data PDS.

[0060] As described above, the semiconductor device according to the embodiment can sequentially receive the feature value and the weight value according to the arithmetic command to control so that the arithmetic operation used in the neural network is performed. Therefore, the neural network can be applied to the semiconductor device.

Claims

1. A semiconductor device comprising: a core output driver configured to: when performing an arithmetic operation, transmit first data output from the core region to a global input / output I / O line; a pad input driver configured to: transfer second data input through the pad region to the global I / O line when performing an arithmetic operation; and An arithmetic result data generating circuit is configured to sequentially receive the first data and the second data through a global I / O line to generate core data and pad data respectively, and is configured to perform an arithmetic operation used in a neural network based on the core data and the pad data to generate arithmetic data.

2. The semiconductor device according to claim 1, wherein The first data is set to have a weight value used in the neural network, and the second data is set to have a feature value used in the neural network.

3. The semiconductor device according to claim 1, wherein The first data is set to have feature values ​​used in the neural network, and the second data is set to have weight values ​​used in the neural network.

4. The semiconductor device according to claim 1, in, When a core output pulse is created, the core output driver transmits the first data to the global I / O line, wherein when a pad input pulse is created, the pad input driver transmits the second data to the global I / O line, and Wherein, the pad input pulse is created after the core output pulse is created.

5. The semiconductor device according to claim 1, wherein The arithmetic result data generating circuit is configured to: when a first latch control pulse is created, latch the first data transmitted to the global I / O line to generate the core data; and is configured to: when a second latch control pulse is created, latch the second data transmitted to the global I / O line to generate the pad data.

6. The semiconductor device according to claim 5, in, The first latch control pulse is created based on a core output pulse; and Wherein, the second latch control pulse is created based on the pad input pulse.

7. The semiconductor device according to claim 1, in, When a pad input pulse is created, the pad input driver transmits the second data to the global I / O line, wherein when a core output pulse is created, the core output driver outputs the first data to the global I / O line, and Wherein, the core output pulse is created after the pad input pulse is created.

8. The semiconductor device according to claim 1, wherein The arithmetic result data generating circuit latches the arithmetic data based on a third latch control pulse to output the latched arithmetic data as arithmetic result data. 9 . The semiconductor device according to claim 8 , further comprising an arithmetic result output driver configured to transmit the arithmetic result data to the global I / O line when an arithmetic read operation is performed. 10 . The semiconductor device according to claim 9 , further comprising a pad output driver configured to transfer data loaded on the global I / O line to the pad region when the arithmetic read operation is performed.

11. A semiconductor device comprising: a first core output driver configured to: transfer first data output from the first core region to a first global input / output I / O line when performing an arithmetic operation; a second core output driver configured to: transfer second data output from the second core region to a second global I / O line when performing an arithmetic operation; a pad input driver configured to: transfer third data input through the pad region to the first global I / O line and the second global I / O line when performing an arithmetic operation; and An arithmetic result data generating circuit is configured to receive the first data and the second data through the first global I / O line and the second global I / O line to generate core data, is configured to receive the third data through the first global I / O line and the second global I / O line to generate pad data, and is configured to perform an arithmetic operation used in a neural network based on the core data and the pad data to generate arithmetic data.

12. The semiconductor device according to claim 11, wherein The first data and the second data are set to have weight values ​​used in the neural network, and the third data is set to have feature values ​​used in the neural network.

13. The semiconductor device according to claim 11, wherein The first data and the second data are set to have feature values ​​used in the neural network, and the third data is set to have weight values ​​used in the neural network.

14. The semiconductor device according to claim 11, in, When a core output pulse is created, the first core output driver transmits the first data to the first global I / O line, wherein when a pad input pulse is created, the pad input driver transmits third data to the first global I / O line and the second global I / O line, and Wherein, the pad input pulse is created after the core output pulse is created.

15. The semiconductor device according to claim 11, in, When a core output pulse is created, the second core output driver transmits the second data to the second global I / O line, wherein when a pad input pulse is created, the pad input driver transmits the third data to the first global I / O line and the second global I / O line, and Wherein, the pad input pulse is created after the core output pulse is created.

16. The semiconductor device according to claim 11, wherein The arithmetic result data generating circuit is configured to: when a first latch control pulse is created, latch the first data transmitted to the first global I / O line to generate the core data; and is configured to: when a second latch control pulse is created, latch the third data transmitted to the first global I / O line to generate the pad data.

17. The semiconductor device according to claim 16, in, The first latch control pulse is created based on a core output pulse; and Wherein, the second latch control pulse is created based on the pad input pulse.

18. The semiconductor device according to claim 11, wherein The arithmetic result data generating circuit is configured to: when a first latch control pulse is created, latch the second data transmitted to the second global I / O line to generate the core data; and is configured to: when a second latch control pulse is created, latch the third data transmitted to the second global I / O line to generate pad data.

19. The semiconductor device according to claim 11, in, When a pad input pulse is created, the pad input driver transmits the third data to the first global I / O line and the second global I / O line, wherein when a core output pulse is created, the first core output driver transmits the first data to the first global I / O line, and Wherein, the core output pulse is created after the pad input pulse is created.

20. The semiconductor device according to claim 11, in, When a pad input pulse is created, the pad input driver transmits the third data to the first global I / O line and the second global I / O line, wherein when a core output pulse is created, the second core output driver transmits the second data to the second global I / O line, and Wherein, the core output pulse is created after the pad input pulse is created.

21. The semiconductor device according to claim 11, wherein The arithmetic result data generating circuit latches the arithmetic data based on a third latch control pulse to output the latched arithmetic data as arithmetic result data. 22 . The semiconductor device according to claim 21 , further comprising an arithmetic result output driver configured to transmit the arithmetic result data to the first global I / O line and the second global I / O line when an arithmetic read operation is performed. 23 . The semiconductor device according to claim 22 , further comprising a pad output driver configured to transfer data loaded on the first global I / O line and the second global I / O line to the pad region when an arithmetic read operation is performed.

24. A semiconductor device comprising: a command decoder configured to: generate a core output pulse, a first latch control pulse, a pad input pulse, a second latch control pulse, and a third latch control pulse when performing an arithmetic operation; as well as A neural network circuit is configured to: when a core output pulse is created, transfer the first data stored in the core area to the global input / output I / O line; when a first latch control pulse is created, latch the first data transferred to the global I / O line to generate core data; when a pad input pulse is created, transfer the second data input through the pad area to the global I / O line, and when a second latch control pulse is created, latch the second data transferred to the global I / O line to generate pad data.

25. The semiconductor device according to claim 24, wherein: The first data is set to have a weight value used in a neural network, and the second data is set to have a feature value used in the neural network.

26. The semiconductor device according to claim 24, wherein: The first data is set to have feature values ​​used in a neural network, and the second data is set to have weight values ​​used in the neural network.

27. The semiconductor device according to claim 24, in, The pad input pulse is created after the core output pulse is created, wherein the first latch control pulse is created based on the core output pulse, and Wherein, the second latch control pulse is created based on the pad input pulse.

28. The semiconductor device according to claim 24, in, The core output pulse is created after the pad input pulse is created, wherein the first latch control pulse is created based on the core output pulse, and Wherein, the second latch control pulse is created based on the pad input pulse.

29. The semiconductor device according to claim 24, wherein: The neural network circuit is configured to perform the arithmetic operation used in the neural network based on the core data and the pad data to generate arithmetic data.

30. The semiconductor device according to claim 29, wherein The neural network circuit is configured to latch the arithmetic data based on the third latch control pulse to output the latched arithmetic data as arithmetic result data.

31. The semiconductor device according to claim 30, in, When performing an arithmetic read operation, the command decoder generates latch output pulses, and Wherein, the neural network circuit outputs the arithmetic result data to the global I / O line based on the latch output pulse.

32. A semiconductor device comprising: a command decoder configured to generate a selection signal, a core output pulse, a first latch control pulse, a pad input pulse, a second latch control pulse, and a third latch control pulse when performing an arithmetic operation; as well as A neural network circuit, configured to: when the core output pulse is created, transfer the first data stored in the first core area to the first global input / output I / O line, or transfer the second data stored in the second core area to the second global I / O line; configured to: when the first latch control pulse is created, latch the first data transferred to the first global I / O line to generate core data, or latch the second data transferred to the second global I / O line to generate the core data; configured to: when the pad input pulse is created, transfer the third data input through the pad area to the first global I / O line and the second global I / O line; and configured to: when the second latch control pulse is created, latch the third data transferred to the first global I / O line and the second global I / O line to generate pad data.