JP4150703B2 - Semiconductor device - Google Patents
Semiconductor device Download PDFInfo
- Publication number
- JP4150703B2 JP4150703B2 JP2004208733A JP2004208733A JP4150703B2 JP 4150703 B2 JP4150703 B2 JP 4150703B2 JP 2004208733 A JP2004208733 A JP 2004208733A JP 2004208733 A JP2004208733 A JP 2004208733A JP 4150703 B2 JP4150703 B2 JP 4150703B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- read
- memory cell
- semiconductor device
- path
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 239000004065 semiconductor Substances 0.000 title claims description 53
- 230000015654 memory Effects 0.000 claims description 143
- 238000004364 calculation method Methods 0.000 claims description 18
- 238000010586 diagram Methods 0.000 description 11
- 238000000034 method Methods 0.000 description 8
- 101000629937 Homo sapiens Translocon-associated protein subunit alpha Proteins 0.000 description 6
- 102100026231 Translocon-associated protein subunit alpha Human genes 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 5
- 102100029329 Somatostatin receptor type 1 Human genes 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 108010082379 somatostatin receptor type 1 Proteins 0.000 description 5
- 101000878595 Arabidopsis thaliana Squalene synthase 1 Proteins 0.000 description 3
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 229910052710 silicon Inorganic materials 0.000 description 2
- 239000010703 silicon Substances 0.000 description 2
- CIWBSHSKHKDKBQ-JLAZNSOCSA-N Ascorbic acid Chemical compound OC[C@H](O)[C@H]1OC(=O)C(O)=C1O CIWBSHSKHKDKBQ-JLAZNSOCSA-N 0.000 description 1
- 101100422415 Dictyostelium discoideum ssrp1 gene Proteins 0.000 description 1
- 101150084576 Ssrp gene Proteins 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000003071 parasitic effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Images
Landscapes
- Memory System (AREA)
- Dram (AREA)
- Static Random-Access Memory (AREA)
Description
この発明は半導体装置に係り、特に高集積メモリと複数の演算回路を1チップ上に実現したデータ処理に好適な半導体装置に関する。 The present invention relates to a semiconductor device, and more particularly to a semiconductor device suitable for data processing in which a highly integrated memory and a plurality of arithmetic circuits are realized on one chip.
従来、画像処理のような大量のデータを処理するためにプロセッサとメモリを1ボードに搭載し、専用の処理システムとして用いることによって高速に処理を行う半導体装置が知られている。この従来例では、メモリとプロセッサがバスを介して接続されるためバスアビトレーションが必要で、更に大量のデータにリード/演算/ライトを繰り返すと図3Cに示したように、リード/ライト及びその切り替えに多くの時間がかかり、データ処理の効率が上がらなかった。 2. Description of the Related Art Conventionally, there has been known a semiconductor device in which a processor and a memory are mounted on one board for processing a large amount of data such as image processing and used as a dedicated processing system to perform processing at high speed. In this conventional example, since a memory and a processor are connected via a bus, bus arbitration is required. When a large amount of data is repeatedly read / calculated / written, as shown in FIG. Switching took a lot of time and the data processing efficiency did not increase.
また、更に進んだ従来例として、複数の演算回路とメモリセルアレイとを同一のチップ上に搭載し、メモリセルアレイ内の1本のワード線上のメモリセルのデータを並列に読み出して、この読み出されたデータの演算処理を並列に実行する半導体装置が知られている。この種の半導体装置としては、例えば、「相本、他 ”メモリ集積型プロセッサIMAP LSIのメモリ部回路方式” 1994年電子情報通信学会 春季大会講演論文集5−261 C−693」(非特許文献1)に記載されたものがある。 Further, as a further advanced example, a plurality of arithmetic circuits and a memory cell array are mounted on the same chip, and data of memory cells on one word line in the memory cell array are read in parallel and read out. 2. Description of the Related Art Semiconductor devices that execute parallel data processing are known. As this type of semiconductor device, for example, “Aimoto, et al.“ Memory Unit Circuit Method of Memory Integrated Processor IMAP LSI ”, 1994 IEICE Spring Conference Proceedings 5-261 C-693” (Non-patent Document 1) ).
上記従来例では、2MbのSRAMと64個の並列演算回路を集積し、SIMD(Single Instruction stream Multiple Data stream)方式により演算回路を並列に動作させている。このような半導体装置においては、メモリセルアレイと同一のチップ上に搭載した複数の演算回路を1つの命令で並列に動作させ、これを繰返し実行することにより、様々な画像データ処理を行うことができる。この画像データ処理を行う場合、データ処理に必要な演算自体はさほど難しくないが、処理すべきデータ量が膨大なため同じ計算を何回も繰り返す必要がある。 In the above conventional example, a 2 Mb SRAM and 64 parallel arithmetic circuits are integrated, and the arithmetic circuits are operated in parallel by the SIMD (Single Instruction Stream Multiple Data Stream) method. In such a semiconductor device, various image data processing can be performed by operating a plurality of arithmetic circuits mounted on the same chip as the memory cell array in parallel with one instruction and repeatedly executing them. . When performing this image data processing, the calculation itself necessary for the data processing is not so difficult, but since the amount of data to be processed is enormous, it is necessary to repeat the same calculation many times.
上記複数の演算回路とメモリセルアレイとを搭載した従来の半導体装置を用いて画像データを処理する場合、まず、メモリセルに書き込まれているデータを読み出し、次にSIMD型演算回路を用いて必要な演算を行い、最後に、演算結果をメモリセルに書き込むという動作が繰り返し実行される。ここで、読み出しに必要な時間をtr、演算に必要な時間をtc、書き込みに必要な時間をtwとする。上記従来の半導体装置では、読み出し、演算、書き込みの一連の動作を逐次行なうとすると、所要時間は合計で(tr+tc+tw)となり、これをm回繰り返し行なった場合に必要な時間はm×(tr+tc+tw)となる。
今後、半導体製造技術の進展により微細化が進んで演算回路の高速動作が期待できるので、演算内容が同じなら演算に必要な時間tcの短縮は可能である。
When processing image data using a conventional semiconductor device equipped with the plurality of arithmetic circuits and the memory cell array, first, the data written in the memory cell is read, and then the necessary data is used using the SIMD type arithmetic circuit. The operation of performing the operation and finally writing the operation result to the memory cell is repeatedly executed. Here, it is assumed that the time required for reading is tr, the time required for calculation is tc, and the time required for writing is tw. In the conventional semiconductor device, if a series of operations of reading, calculation, and writing are sequentially performed, the total time required is (tr + tc + tw), and the required time when this is repeated m times is m × (tr + tc + tw). It becomes.
In the future, as the semiconductor manufacturing technology advances, miniaturization advances and high-speed operation of the arithmetic circuit can be expected. Therefore, if the operation contents are the same, the time tc required for the operation can be shortened.
しかしながら、前述した複数の演算回路とメモリセルアレイを同一チップ上に集積した従来の半導体装置によれば、半導体製造技術の進展により微細化が進んだとしても、メモリセルアレイに関しては、演算回路の場合とは逆に微細になればなるほど、メモリセルからの信号量を大きくとることが困難となるため、読み出し、書き込みに要する時間tr及びtwをあまり短縮することができない。このため、メモリセルから読み出したデータに演算処理を加え、同じメモリセルに書き戻す動作を繰返す画像データ処理の場合には、読み出し時間tr、書き込み時間twによってデータ処理の動作が律速されてしまうという問題点がある。 However, according to the conventional semiconductor device in which the plurality of arithmetic circuits and the memory cell array are integrated on the same chip, the memory cell array is the same as the case of the arithmetic circuit even if the miniaturization is advanced by the progress of the semiconductor manufacturing technology. On the other hand, as the size becomes smaller, it becomes more difficult to increase the signal amount from the memory cell, so that the time tr and tw required for reading and writing cannot be shortened much. For this reason, in the case of image data processing in which arithmetic processing is applied to data read from the memory cell and writing back to the same memory cell is repeated, the data processing operation is limited by the reading time tr and the writing time tw. There is a problem.
そこで、本発明の目的は、画像データ処理のように繰り返し同じ演算をする場合のデータ処理時間の高速化を図ることができると共に、消費電力の低減も可能な半導体装置を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a semiconductor device that can increase the data processing time when the same calculation is repeatedly performed as in image data processing and can reduce power consumption.
また、本発明の他の目的は、画像データ処理専用のみならず通常のメモリとして主記憶にも使用できたり、或いは画像データ処理部分と通常のメモリ部分との分割使用もできる多用途に使用可能な半導体装置を提供することにある。 Another object of the present invention can be used not only for image data processing but also as a main memory as a normal memory, or can be used for various purposes in which an image data processing part and a normal memory part can be divided. And providing a simple semiconductor device.
前述した課題を解決するため、本発明に係る半導体装置は、複数のデータ線と複数のワード線の交差部に配置された複数のメモリセルを有するメモリセルアレイと、該メモリセルアレイ内の異なる複数のメモリセルに記憶されている情報をワード線に交差する異なる複数のデータ線に読み出すためにワード線の少なくとも1本を選択するデコーダと、少なくとも1つの演算回路と、該演算回路とメモリセルアレイとの間のデータ転送を行なうデータ転送回路と、少なくともデータ転送回路とデコーダと演算回路を制御する制御回路とを1チップに集積した半導体装置において、前記データ転送回路が、前記デコーダにより選択されたワード線と交差する複数のデータ線の内の一部のデータ線への書き込みと他の一部のデータ線からの読み出しとを少なくとも一部同一時間内に行なうことができるように、リードパスとライトパスをそれぞれ独立して有することを特徴とするものである。 In order to solve the above-described problem, a semiconductor device according to the present invention includes a memory cell array having a plurality of memory cells arranged at intersections of a plurality of data lines and a plurality of word lines, and a plurality of different memory cells in the memory cell array. A decoder that selects at least one of the word lines to read information stored in the memory cell to a plurality of different data lines intersecting the word line; at least one arithmetic circuit; and the arithmetic circuit and the memory cell array. In a semiconductor device in which a data transfer circuit for transferring data between them and at least a data transfer circuit, a decoder, and a control circuit for controlling an arithmetic circuit are integrated on one chip, the data transfer circuit is connected to a word line selected by the decoder. Write to some data lines and read from some other data lines As can be performed in at least a portion same in one hour, it is characterized in that it has been independently the read path and the write path.
前記半導体装置において、前記データ転送回路は、複数のデータ線の内の所要本数のデータ線を選んで、該データ線上に読み出された各データを演算回路へ読出す機能と、該読み出し機能とは独立に、前記複数のデータ線の内の所要本数のデータ線を選んで、該データ線を介して演算回路からメモリセルへ書き込む機能とを有することができる。 In the semiconductor device, the data transfer circuit selects a required number of data lines from among the plurality of data lines, reads each data read on the data line to the arithmetic circuit, and the read function. Can independently have a function of selecting a required number of data lines out of the plurality of data lines and writing from the arithmetic circuit to the memory cell via the data lines.
また、前記データ線上に読み出された各データを演算回路へ読出す機能は、リードパスと各データ線との間にそれぞれ設けた前記制御回路からの信号により制御されるスイッチからなり、前記データ線を介して演算回路からメモリセルへ演算結果を書き込む機能は、ライトパスと各データ線との間にそれぞれ設けた前記制御回路からの信号により制御されるスイッチから構成することができる。 The function of reading each data read on the data line to the arithmetic circuit includes a switch controlled by a signal from the control circuit provided between the read path and each data line, and the data line The function of writing the operation result from the operation circuit to the memory cell via the switch can be constituted by a switch controlled by a signal from the control circuit provided between the write path and each data line.
更に、前記データ転送回路は、複数のデータ線を所要本数ずつに分割して構成した複数のブロックと、各ブロックに対し設けられた1本もしくは1対のリードパス及び1本もしくは1対のライトパスと、各ブロック内のそれぞれのデータ線と各ブロックのリードパス及びライトパスとの間にそれぞれ設けたリードパスへの接続、ライトパスへの接続、オープンのいずれかの接続状態に前記制御回路により制御されるスイッチとから構成すれば好適である。 Further, the data transfer circuit includes a plurality of blocks formed by dividing a plurality of data lines into a required number, one or a pair of read paths and one or a pair of write paths provided for each block. In addition, the control circuit controls the connection state to any one of a connection to a read path, a connection to a write path, and an open state provided between each data line in each block and the read path and the write path of each block. It is suitable if it comprises a switch.
また更に、前記データ転送回路は、前記各ブロックがそれぞれ更に少ない本数ずつのデータ線に分割した小ブロックに分割されると共に、各小ブロック内のそれぞれのデータ線と各小ブロックのリードパス側及びライトパス側にそれぞれ設けたリードパス接続線への接続、ライトパス接続線への接続、オープンのいずれかの接続状態に前記制御回路により制御されるスイッチと、各小ブロックの前記各リードパス接続線とリードパスとの間にそれぞれ設けた前記制御回路によりオン/オフするスイッチと、各小ブロックの前記各ライトパス接続線とライトパスとの間にそれぞれ設けた前記制御回路によりオン/オフするスイッチとから構成してもよい。 Further, the data transfer circuit is divided into small blocks obtained by dividing each block into a smaller number of data lines, and each data line in each small block and the read path side and write of each small block are written. A switch controlled by the control circuit to any one of a connection state to a lead path connection line, a connection to a write path connection line, and an open state provided on the path side, and each lead path connection line and lead path of each small block And a switch that is turned on / off by the control circuit provided between each light path connection line and the light path of each small block. May be.
また、前記半導体装置のいずれにおいても、前記メモリセルアレイに記憶したデータを外部から直接アクセスする機能を備えるように構成することもできる。 In any of the semiconductor devices, a function of directly accessing data stored in the memory cell array from the outside can be provided.
更に、本発明に係る半導体装置は、ワード線と、該ワード線に交差する第1及び第2のデータ線と、前記ワード線と第1及び第2のデータ線との交点にそれぞれ設けられた第1及び第2のメモリセルと、演算回路と、該演算回路の入力端子に接続されたリードパスと、前記演算回路の出力端子に接続されたライトパスと、前記第1のデータ線と前記リードパス又はライトパスとの接続を行う第1のスイッチ手段と、前記第2のデータ線と前記リードパス又はライトパスとの接続を行う第2のスイッチ手段とを具備し、前記ワード線が活性化されている間に、前記第1のスイッチ手段は前記第1のデータ線と前記リードパスとの接続を行い、前記第2のスイッチ手段は前記第2のデータ線と前記ライトパスとの接続を行うことを特徴とするものである。
[作用]
本発明に係る半導体装置によれば、データを保持しておくメモリセルアレイとデータを受取り演算を行う演算回路との間で、データ転送回路はメモリセルのデータを演算回路へ送るリードパスと演算回路からメモリセルへデータを送るライトパスを別々に持つことによって、メモリセルアレイの出力を演算回路に転送すると同時に演算回路の出力をメモリセルアレイへ転送することを可能とする。すなわち、リードパスとライトパスが独立していることにより、メモリセルアレイと演算回路間で別々のデータ線を選択して読み出し動作と書き込み動作を一部同一時間内に重なりあってそれぞれ実行することができる。従って、メモリセルからデータを読み出し、演算を行い、結果をメモリセルに書き戻すという処理を繰返し行う場合において、リードパスとライトパスを別々に持っているのでデータの読み出しと書込みを同時に行うことができる。このため、一連の処理をm回繰り返す場合に従来必要であった処理時間m×(tr+tc+tw)を、例えば読み出しと書き込みを演算時間tc内に行なうことによって見かけ上tr+m×tc+twに短縮することが可能となる。
Further, the semiconductor device according to the present invention is provided at each of the word line, the first and second data lines intersecting the word line, and the intersection of the word line and the first and second data lines. First and second memory cells, an arithmetic circuit, a read path connected to an input terminal of the arithmetic circuit, a write path connected to an output terminal of the arithmetic circuit, the first data line, and the read path Or a first switch means for connecting to the write path, and a second switch means for connecting the second data line to the read path or the write path, and the word line is activated. The first switch means connects the first data line and the read path, and the second switch means connects the second data line and the write path. Features A.
[Action]
According to the semiconductor device of the present invention, the data transfer circuit is connected between the memory cell array that holds data and the arithmetic circuit that receives the data and performs the arithmetic operation. By having separate write paths for sending data to the memory cells, it is possible to transfer the output of the memory cell array to the arithmetic circuit and simultaneously transfer the output of the arithmetic circuit to the memory cell array. That is, since the read path and the write path are independent, it is possible to select different data lines between the memory cell array and the arithmetic circuit and execute the read operation and the write operation partially overlapping each other in the same time. . Therefore, when the process of reading data from the memory cell, performing an operation, and writing back the result to the memory cell is repeatedly performed, since the read path and the write path are separately provided, the data can be read and written simultaneously. . For this reason, the processing time m × (tr + tc + tw) conventionally required when a series of processing is repeated m times can be apparently shortened to tr + m × tc + tw by performing, for example, reading and writing within the calculation time tc. It becomes.
また、リードパスと各データ線との間にそれぞれ設けた前記制御回路からの信号により制御されるスイッチは、リードパスとデータ線とを接続することによって、前記複数のデータ線の内の選択された所要本数のデータ線上に読み出されたデータを演算回路へ読出すことができ、ライトパスと各データ線との間にそれぞれ設けた前記制御回路からの信号により制御されるスイッチは、前記複数のデータ線の内の選択された所要本数のデータ線を介して演算回路からメモリセルへ演算結果を書き込むことができる。 Further, the switch controlled by a signal from the control circuit provided between the lead path and each data line connects the lead path and the data line, thereby selecting the required requirements among the plurality of data lines. The data read on the number of data lines can be read out to the arithmetic circuit, and the switch controlled by the signal from the control circuit provided between the write path and each data line is the plurality of data The calculation result can be written from the arithmetic circuit to the memory cell through the selected required number of data lines among the lines.
更に、前記データ転送回路は、複数のデータ線を所要本数ずつに分割して構成した複数のブロックと、各ブロックに対し設けられた1本もしくは1対のリードパス及び1本もしくは1対のライトパスと、各ブロック内のそれぞれのデータ線と各ブロックのリードパス及びライトパスとの間にそれぞれ設けた制御回路によりリードパスへの接続、ライトパスへの接続、オープンのいずれかの接続状態に制御されるスイッチとから構成することにより、1つのブロックからのデータ線をリードパスに接続してメモリセルからデータを読み出すことができると同時に、同一ブロック内のデータ線をライトパスに接続して演算回路の演算結果をメモリセルに書き込むことができる。 Further, the data transfer circuit includes a plurality of blocks formed by dividing a plurality of data lines into a required number, one or a pair of read paths and one or a pair of write paths provided for each block. And a control circuit provided between each data line in each block and the read path and write path of each block, the connection state to the read path, the connection to the write path, or the open state is controlled. By configuring the switch, the data line from one block can be connected to the read path to read data from the memory cell, and at the same time, the data line in the same block can be connected to the write path to perform the operation of the arithmetic circuit. The result can be written into the memory cell.
また更に、前記データ転送回路は、前記各ブロックがそれぞれ更に少ない本数ずつのデータ線に分割した小ブロックに分割されると共に、各小ブロック内のそれぞれのデータ線と各小ブロックのリードパス側及びライトパス側にそれぞれ設けたリードパス接続線への接続、ライトパス接続線への接続、オープンのいずれかの接続状態に前記制御回路により制御されるスイッチと、各小ブロックの前記各リードパス接続線とリードパスとの間にそれぞれ設けた前記制御回路によりオン/オフするスイッチと、各小ブロックの前記各ライトパス接続線とライトパスとの間にそれぞれ設けた前記制御回路によりオン/オフするスイッチとから構成してリードパスとライトパスとが階層化され、スイッチを制御するための信号線の数を少なくすることができる。 Further, the data transfer circuit is divided into small blocks obtained by dividing each block into a smaller number of data lines, and each data line in each small block and the read path side and write of each small block are written. A switch controlled by the control circuit to any one of a connection state to a lead path connection line, a connection to a write path connection line, and an open state provided on the path side, and each lead path connection line and lead path of each small block And a switch that is turned on / off by the control circuit provided between each light path connection line and the light path of each small block. Thus, the read path and write path are hierarchized, and the number of signal lines for controlling the switch is reduced. It can be.
また、前記メモリセルアレイに記憶したデータを外部から直接アクセスする機能を備えることにより、本発明に係る半導体装置を画像処理専用に用いると共に、必要に応じて通常のメモリとしても使用でき、或いはメモリセルアレイのうち画像処理に必要な数のメモリセルだけを演算回路専用に用い、残りの部分を通常のメモリに使用するなどの多用途に1チップで対応することができる。 Further, by providing a function for directly accessing the data stored in the memory cell array from the outside, the semiconductor device according to the present invention can be used exclusively for image processing, and can be used as a normal memory as needed, or the memory cell array Of these, only the number of memory cells required for image processing can be used exclusively for the arithmetic circuit, and the remaining portion can be used for a normal memory.
実施例の説明から明らかなように、本発明の半導体装置によれば、メモリセルアレイと演算回路との間に設けたデータ転送回路に、メモリセルからのデータ読み出し、メモリへセルへの書き込みのパスをそれぞれ独立して設けて、読み出し/書き込み動作を同時に行なえるように構成したことにより、データ処理にかかる時間m×(tr+tc+tw)を、(m×tr+tc+tw)、又は(tr+m×tc+tw)、又は(tr+tc+m×tw)等に短縮でき、大幅な高速化が可能となると共に一旦立ち上げたワード線上にあるメモリセル内のデータ処理を順次行うことによってワード線の立ち上げ回数を減らして消費電力の低減を図ることができる。 As is apparent from the description of the embodiments, according to the semiconductor device of the present invention, the data transfer circuit provided between the memory cell array and the arithmetic circuit has a path for reading data from the memory cell and writing to the memory into the cell. Are provided independently so that read / write operations can be performed simultaneously, so that the time required for data processing m × (tr + tc + tw) is (m × tr + tc + tw), (tr + m × tc + tw), or ( tr + tc + m × tw), etc., and it is possible to significantly increase the speed and reduce the power consumption by reducing the number of word line start-ups by sequentially performing the data processing in the memory cells on the word lines once started up. Can be achieved.
次に本発明に係る半導体装置の実施例について、添付図面を参照しながら以下詳細に説明する。 Next, embodiments of the semiconductor device according to the present invention will be described in detail with reference to the accompanying drawings.
図1は、本発明に係る半導体装置の一実施例を示す基本的な回路構成のブロック図である。図1において参照符号10はメモリセルアレイを示し、このメモリセルアレイ10はn本のワード線WLi(i=1〜n)とm本のデータ線DLj(j=1〜m)の各交点に配置されたi行j列のメモリセルCijから構成されるDRAMセルアレイであり、各ワード線WLiはメモリセルアレイ10内のアクティブとなるメモリセルCijを選択するためのデコーダ70に接続される。また、デコーダ70には、外部からアドレス指定が可能なように入力ポート71が接続される。各データ線DLjは、I/Oポート61を介して外部とのデータ転送を行うシリアルアクセスメモリ60に接続されると共に、メモリセルアレイ10から読出した信号を増幅および保持するセンスアンプ20を介して複数のブロックに分割され、そして各ブロックに対応した複数のデータ転送回路30に接続される。各データ転送回路30は、対応する各演算回路40に接続されて、メモリセルアレイ10から読み出したデータをそれぞれの演算回路40に転送する。各演算回路40は、I/Oポート51を介して外部とのデータの転送を行うシリアルアクセスメモリ50に接続される。さらに、全体を制御する制御回路80がI/Oポート81を介して外部と接続されると共に上記各回路20,30,40,50,60,70に接続される。そして、上記各回路やI/Oポート等が1つのシリコンチップ90上に集積化されている。
FIG. 1 is a block diagram of a basic circuit configuration showing an embodiment of a semiconductor device according to the present invention. In FIG. 1, reference numeral 10 denotes a memory cell array, and this memory cell array 10 is arranged at each intersection of n word lines WLi (i = 1 to n) and m data lines DLj (j = 1 to m). i-rows and j is a memory cell DRAM cell array composed of C ij column, each word line WLi is connected to a
このように構成される本発明に係る半導体装置の動作を、以下に説明する。
この半導体装置は、チップ90の外部からI/Oポート51及びシリアルアクセスメモリ50を介して入力されたデータと、メモリセルアレイ10内のデータに対して、演算回路40を用いてデータ処理を行うことができる。I/Oポート81を通して外部から命令とクロックを受けた制御回路80は、クロックに従ってデコーダ70、センスアンプ20、データ転送回路30、演算回路40、シリアルアクセスメモリ50、シリアルアクセスメモリ60の動作を制御する。制御回路80から命令を受けたデコーダ70は、入力ポート71又は制御回路80により指定されたアドレスに従って選択されたワード線WLiを立ち上げて、メモリセルアレイ10内のi行のメモリセル列Ci1,Ci2,Ci3,……Cimをアクティブにする。アクティブとなったメモリセルの内容は、各メモリセルと接続されたそれぞれのデータ線DL1〜DLmを介して取り出され、センスアンプ20によって増幅されると共に保持される。各データ転送回路30は、制御回路80によって選択された信号線SS1,SS2,SS3,……SSqに従ってi行のメモリセル列Ci1,Ci2,Ci3,……Cimの内容を演算回路40に送る。
The operation of the semiconductor device according to the present invention configured as described above will be described below.
This semiconductor device performs data processing on data input from the outside of the
ここで、データ転送回路30の詳細な構成を図2に示す。尚、図1における複数のデータ転送回路30の1つ分だけを示した。データ転送回路30は、リードパスとライトパスを各1本ずつとq本のデータ線とを1ブロックとして、全体でpブロックから構成される。各ブロックは、ブロック内のq本のデータ線の中からリードパスとライトパスにそれぞれ1本ずつ接続できる。
A detailed configuration of the
1本のワード線WLiが立ち上げられてi行のメモリセル列Ci1〜Cimの内容がデータ線DL1〜DLmにより取り出され、センスアンプ20によって増幅されると共に保持されると、センスアンプ20を介して各データ転送回路30に接続された各データ線DL1〜DLm上にデータが現れる。図2に示したデータ転送回路30には、データ線DL1〜DLpqのp×q本が接続されているので、データ線DL1〜DLpq上にデータが現れる。
When one word line WLi is activated and the contents of i rows of memory cell columns C i1 to C im are taken out by the data lines DL1 to DLm and amplified and held by the
例えば、制御回路80から出力された信号線SS1の信号に従って第1ブロック〜第pブロック内の各スイッチS11,S21,S31,……Sp1が、それぞれリードパスR1,R2,R3,……Rp側に接続されるとする。これにより、データ線DL1,DLq+1,DL2q+1,……DL(p-1)q+1上のデータがリードパスR1,R2,R3,……Rpを通して演算回路40に転送される。演算回路40は、データ転送回路30から送られてきたデータと、チップ90の外部からI/Oポート51を介してシリアルアクセスメモリ50へ入力されたデータとを用いて所要の演算を行い、演算結果をそれぞれのライトパスW1,W2,W3,……Wpに出力する。
For example, the
演算結果のデータを、読み出してきた各メモリセルにデータを書き戻す場合は、その演算に対して予め決められた所定の演算時間が経過したら、制御回路80は信号線SS1に信号を送り、上記各スイッチS11,S21,S31,……Sp1をそれぞれライトパスW1,W2,W3,……Wp側に接続する。これにより、演算回路40はデータ転送回路30を通して各メモリセルCi1,Ci(q+1),Ci(2q+1),……Ci((p−1)q+1)に演算結果の書き込みを行う。
When the data of the operation result is written back to each read memory cell, the control circuit 80 sends a signal to the signal line SS1 after a predetermined operation time determined in advance for the operation. Each
尚、各スイッチS11,S21,S31,……Sp1は、制御回路80からの信号に応じてリードパス側、ライトパス側、及びオープンのいずれかの接続状態をとるスイッチであり、通常はオープン状態である。また、所定の演算時間が経過した時に制御回路80が信号線SS1〜SSqに信号を送る代わりに、演算が終了したことを示す信号を制御回路80へ送るように演算回路40を構成してもよい。その場合、この演算終了信号によって制御回路80による信号線SS1〜SSqの制御が容易になるため、制御回路80の設計が簡略化できる。すなわち、演算回路40に複雑な演算を行えるように変更した場合でも、予めその複雑な演算の所要時間を見積り、設計し直すという必要が無くなり、制御回路80をそのまま変更せずに使用することができる。
Switch It should be noted that the switches S 1 1, S 2 1, S 3 1, ......
ここでは、読み出しを行なったメモリセルにデータを書き戻す場合について説明したが、他のメモリセルに書き込むことも容易である。その場合は、信号線SS1,SS2,……SSqによって所要のデータ線に接続するスイッチを選択すればよい。さらに、複数のメモリセルに同じデータを書き込む場合は、複数の信号線SS1,SS2,……SSqによって複数のスイッチを1つのライトパスに接続すればよい。 Although the case where data is written back to the memory cell from which reading has been described has been described here, writing to another memory cell is also easy. In that case, a switch connected to a required data line may be selected by the signal lines SS1, SS2,. Further, when writing the same data to a plurality of memory cells, a plurality of switches may be connected to one write path by a plurality of signal lines SS1, SS2,.
このように、本実施例の半導体装置によれば、演算回路がライトパスを介してメモリセルに書き込みを行っている最中に、リードパスを用いて別のメモリセルから必要なデータを読み出して来ることができる。例えば、各データ転送回路30は、それぞれのライトパスW1,W2,W3,……Wpを通してメモリセルCi1,Ci(q+1),Ci(2q+1),……Ci((p−1)q+1)にデータの書き込みを行うための経路を、制御回路80からの信号線SS1の信号により、各スイッチS11,S21,S31,……Sp1をそれぞれのライトパス側に接続すると同時に、信号線SS2の信号により各スイッチS12,S22,S32,……Sp2をそれぞれのリードパス側に接続し、データ線DL2,DLq+2,DL2q+2,……DL(p-1)q+2をリードパスR1,R2,R3,……Rpに接続する。これにより、メモリセルCi2,Ci(q+2),Ci(2q+2),……Ci((p−1)q+2)のデータを読み出し演算回路40に転送することができる。必要に応じて、このような書き込み及び読み出し動作を順次繰り返して、デコーダ70により選択されたワード線WLiによってアクティブとなっているi行のメモリセル列Ci1,Ci2,Ci3,……Cimにあるデータの処理を行えばよい。更に、他のワード線を立ち上げて他の行のメモリセル列についても同様に処理を行うことにより、メモリセルアレイ10内の全てのデータについて処理を行うことができる。
Thus, according to the semiconductor device of the present embodiment, necessary data is read from another memory cell using the read path while the arithmetic circuit is writing to the memory cell via the write path. be able to. For example, each
1本のワード線を立ち上げることにより、アクティブとなった各メモリセル内にあるデータが、前述したように順次処理されて行く様子の一例を、図3Aに模式的に示す。同図において、横軸は時間の経過を表し、上段にはリードパスR1に接続されるデータ線名と読み出しにかかる時間、中段には演算回路40によるデータ処理時間、および下段にはライトパスW1に接続されるデータ線名と書き込みにかかる時間がそれぞれ示されている。
FIG. 3A schematically shows an example of how data in each memory cell that has been activated by sequentially raising one word line is sequentially processed as described above. In the figure, the horizontal axis represents the passage of time, the upper line shows the name of the data line connected to the read path R1 and the time required for reading, the middle stage shows the data processing time by the
データの流れは破線の矢印で示されていて、例えばリードパスR1に接続されたデータ線DL1からtr時間かけてメモリセルから読み出されたデータは、演算回路40でtc時間の間に処理され、ライトパスW1及びデータ線DL1を通してtw時間かかって再びメモリセルに書き込まれる。図3Aを縦方向にデータの流れで見ると、例えば、リードパスR1にデータ線DL3が接続されているときに、演算回路40ではデータ線DL2から転送されたデータを処理しており、ライトパスW1ではデータ線DL1から転送されて演算回路40で処理されたデータをデータ線DL1に転送している。すなわち、メモリセルからの読み出し、データの演算、メモリセルへの書き込みの一連の動作が一度に行われており、見かけ上データ処理に要する時間が短縮されている。
The flow of data is indicated by dashed arrows. For example, data read from the memory cell over the time tr from the data line DL1 connected to the read path R1 is processed by the
メモリセルからの読み出し時間tr、データの演算時間tc、メモリセルへの書き込み時間twのうち、データの演算時間tcが最も長いとすれば、1ブロック分のq本のデータ線DL1,DL2,……DLq上に現れているq個のデータを全て処理するのにかかる時間は、(tr+q×tc+tw)となり、高速なデータ処理が可能である。また、読み出し時間tr、演算時間tc、書き込み時間twのうち、読み出し時間trあるいは書き込み時間twが最も長い場合の処理時間は、それぞれ(q×tr+tc+tw)、(tr+tc+q×tw)となり、いずれにしても前述した従来例の半導体装置の場合には処理時間が、q×(tr+tc+tw)となるのに比べて高速なデータ処理が可能である。 If the data calculation time tc is the longest among the read time tr from the memory cell, the data calculation time tc, and the write time tw to the memory cell, q data lines DL1, DL2,. ... The time required to process all q data appearing on DLq is (tr + q × tc + tw), and high-speed data processing is possible. Of the read time tr, calculation time tc, and write time tw, the processing times when the read time tr or the write time tw is the longest are (q × tr + tc + tw) and (tr + tc + q × tw), respectively. In the case of the semiconductor device of the conventional example described above, the processing time is higher than that of q × (tr + tc + tw).
図3Bには、上記処理を行った場合のタイミングチャートを示した。1本のワード線が立ち上がっている間に、リードパス/ライトパスを通して読出し/書込みが一部同時に行われている。例えば、データ線DL3からのデータが演算回路のリードパスR1に伝達されているのと同時に演算回路のライトパスW1からデータ線DL1に演算結果のデータが伝達されている。なお、この動作は先にデータ線DL2から読みだしたデータを演算回路で処理する動作と並行して行われている。 FIG. 3B shows a timing chart when the above processing is performed. While one word line is rising, a part of read / write is simultaneously performed through the read pass / write pass. For example, data from the data line DL3 is transmitted to the read path R1 of the arithmetic circuit, and at the same time, the data of the arithmetic result is transmitted from the write path W1 of the arithmetic circuit to the data line DL1. This operation is performed in parallel with the operation of processing the data previously read from the data line DL2 by the arithmetic circuit.
一方、従来例の図3Cを見ると、ワード線を立ち上げてデータ線DL1'からのデータをリードし、ワード線を立ち下げ、プロセッサがデータ処理をした後、再度ワード線を立ち上げてライトを行い、ワード線を立ち下げて、またワード線を立ち上げて次のデータ線DL2'からのデータをリードするという作業を行っている。このような作業は、バスアビトレーションにより行われるものであり、通常のメモリチップとプロセッサチップがバスで接続されている場合には避けられないものである。 On the other hand, referring to FIG. 3C of the conventional example, the word line is raised to read data from the data line DL1 ', the word line is lowered, the processor processes the data, and then the word line is raised again to write. The word line is lowered and the word line is raised to read data from the next data line DL2 ′. Such work is performed by bus arbitration, and cannot be avoided when a normal memory chip and a processor chip are connected by a bus.
従って、本発明における動作を従来例と比べると、本発明ではバスアビトレーションの必要がなく、リード/ライトの切り替え時間が必要ないこと、ワード線の再立ち上げの必要がないこと等の利点があげられる。従って、本発明は高速なデータ処理が可能であることがわかる。 Therefore, when the operation of the present invention is compared with the conventional example, the present invention has advantages such as no need for bus arbitration, no read / write switching time, and no need to restart the word line. can give. Therefore, it can be seen that the present invention is capable of high-speed data processing.
更に、データ転送回路30では読み出しと書き込みを独立に行うことができるので、目的に合わせてここで説明した以外のタイミングで動作させることも容易である。例えば、データ線DL1,DL2,DL3から連続してデータを読み出し、3つのデータを用いて演算を行った後にデータ線DL1に書き込むと言ったタイミングでの動作も可能であり、これは画像のフィルタ処理の場合に適している。
Furthermore, since the
また、画像用メモリには、画面をクリアするために高速にメモリセルに一定のデータを書き込みたいという要求があるが、この要求を満足するためにもデータ転送回路30は有効である。この場合は、予め書き込みたいデータをライトパスに出力しておき、複数のデータ線を同時にライトパスに接続させればよい。これによって、一度に複数のメモリセルに同時にデータを書き込むことができる。必要ならば複数のワード線を同時に立ち上げることによって、さらに多くのメモリセルに同時に一度にデータを書き込むことも可能となるので、画面のクリアを高速化することができる。
In addition, the image memory has a request to write constant data to the memory cell at high speed in order to clear the screen. The
本実施例のデータ転送回路30によれば、一旦立ち上げたワード線によってアクティブとなったメモリセル列内のデータを、ワード線を立ち上げたまま順次処理することができるので、ワード線の立上げ回数とセンスアンプの動作回数を減らすことになり、データ処理の高速化と消費電力の低減に効果がある。また、例えば、信号線SS1により接続される一連のデータ線DL1,DLq+1,DL2q+1,……DL(p-1)q+1で選択されたメモリセル群からデータを読み出すと同時に、別の信号線SS2により接続される一連のデータ線DL2,DLq+2,DL2q+2,……DL(p-1)q+2で選択されたメモリセル群に対して書き込みを行うことができるため、演算回路40に読み出し/書き込みのための時間待ちをさせる必要がなく、高速なデータ処理ができる。
According to the
更に、チップ90のレイアウト上で、メモリセルアレイ10のデータ線のピッチと、1つの演算回路40の幅とに大きな隔たりがある場合は、実際にチップ90を設計する上で、データ線のピッチを演算回路40の幅に合わせる必要が生ずるが、本実施例の半導体装置によれば、データ転送回路30によってデータ線ピッチがq対2に緩和できる。したがって、この比をピッチの隔たりに合わせて設定することにより、演算回路40とメモリセルアレイ10を高密度にレイアウトすることができる。
Further, when there is a large gap between the pitch of the data lines of the memory cell array 10 and the width of one
また、本実施例の半導体装置は通常のメモリとして用いることも可能である。その場合、制御回路80がI/Oポート81を通して外部から制御信号とクロックを受け取り、クロックに従ってセンスアンプ20、デコーダ70、シリアルアクセスメモリ50及び60を制御する。アドレスは入力ポート71より入力され、データの入出力はシリアルアクセスメモリ50及び60によってI/Oポート51及び61を通して行われる。従って、本実施例の半導体装置を普段は画像処理専用にしておいて、必要が生じたときには通常のメモリとしてシステムの主記憶に用いる等といった時分割で用途を変える使い方も可能であり、この半導体装置を用いることによってより小さなシステム構成が可能である。
The semiconductor device of this embodiment can also be used as a normal memory. In this case, the control circuit 80 receives a control signal and a clock from the outside through the I / O port 81, and controls the
さらに、メモリセルアレイ10の領域を通常のメモリとして用いる部分と演算回路40で専用に用いる部分とに分けて使用することもできる。例えば、画像処理に応用した場合は処理する画像の性質、画面のサイズ、表示するスピード等に対応するために、演算回路40で専用に用いるメモリサイズをシステムによって変更したいことがある。そのような場合は全体のメモリサイズの内、画像処理に必要なメモリだけを演算回路専用に用いて画像処理を行ない、残りの部分を通常のメモリとしてシステムの主記憶に用いればよい。
Further, the area of the memory cell array 10 can be divided into a part that is used as a normal memory and a part that is used exclusively by the
このように、1チップで多様な用途に対応できるため、チップ設計にかかる労力、時間を節約できる。しかも、不要なメモリをシステムの主記憶用に使えるため、より小さなシステム構成が可能な他、画像処理を本実施例の半導体装置と他のプロセッサとで並列に行うことができ、より高速な処理が可能である。 In this way, since one chip can be used for various applications, it is possible to save labor and time for chip design. In addition, since unnecessary memory can be used for the main memory of the system, a smaller system configuration is possible, and image processing can be performed in parallel with the semiconductor device of this embodiment and another processor, resulting in faster processing. Is possible.
また、画像をディスプレイに表示する場合や、メモリに格納されている画像データを逐次処理していくような場合には、メモリセルアレイ10全体に対してデータ処理が行なわれる。通常はメモリセルにDRAMを用いるとリフレッシュが必要となるが、上記のような場合でメモリセルの情報保持時間よりメモリセルアレイ全体をアクセスする時間が短い場合にはリフレッシュを行なう必要がない。従って、この様な場合にはメモリセルにDRAMを用いてもリフレッシュサイクルが不要なため、より高速な動作が期待できる上に、リフレッシュのための回路が必要なくなるため、リフレッシュ回路を省略してチップサイズを低減することもできる。 Further, when an image is displayed on a display or when image data stored in a memory is sequentially processed, data processing is performed on the entire memory cell array 10. Normally, when DRAM is used for a memory cell, refresh is required. However, in the above case, it is not necessary to perform refresh if the time for accessing the entire memory cell array is shorter than the information holding time of the memory cell. Therefore, in such a case, even if a DRAM is used for the memory cell, a refresh cycle is unnecessary, so that a higher speed operation can be expected and a refresh circuit is not necessary. The size can also be reduced.
ここで、図2に示したデータ転送回路30で使用するスイッチSjk(j=1〜p,k=1〜q)をMOSトランジスタを用いて構成した場合について、スイッチS11を例として図6に示す。図6においてスイッチS11は、2つのMOSトランジスタTrRとTrWから構成される。この構成例では、スイッチS11を制御する信号線SS1は、各MOSトランジスタのゲートに入力される必要があるので、リードパス接続用の信号線SS1Rとライトパス接続用の信号線SS1Wの2本となる。信号線SS1RによってMOSトランジスタTrRがオンになるとデータ線DL1がリードパスR1に接続され、信号線SS1WによってMOSトランジスタTrWがオンになるとデータ線DL1がライトパスW1に接続される。
Here, when configured with a switch S j k (j = 1~p, k = 1~q) a MOS transistor used in the
また、本実施例の半導体装置において、センスアンプ20に差動増幅器を用いて、データ線DL1,DL2,……DLqを、それぞれ2本1組としたデータ線対DL1T,DL1B,DL2T,DL2B,……DLqT,DLqBにして、相異なった信号を転送する構成としたい場合がある。このような場合には、データ転送回路30で使用するスイッチSjk(j=1〜p,k=1〜q)として、図7に示す構成とすることができる。尚、図7はスイッチS11を例として示してある。この場合スイッチS11は、4つのMOSトランジスタTrRT,TrWT,TrRB,TrWBから構成される。データ線対DL1T,DL1Bに対応して、リードパスR1及びライトパスW1も、それぞれリードパス対R1T,R1B及びライトパス対W1T,W1Bの2本ずつとなる。信号線SS1は、図6と同様にリードパス接続用の信号線SS1Rとライトパス接続用の信号線SS1Wの2本となる。MOSトランジスタTrRTとTrRBが共に信号線SS1Rによってオンとなると、データ線対DL1TとDL1Bがそれぞれ対応するリードパス対R1T,R1Bに接続される。データ線対DL1TとDL1Bをそれぞれ対応するライトパス対W1T,W1Bに接続するには、信号線SS1WによってMOSトランジスタTrWT,TrWBを共にオンさせれば良い。
Further, in the semiconductor device of this embodiment, a differential amplifier is used as the
また、リードパスとライトパスの両方共対にする必要がない場合には、スイッチS11は図8に示した構成にしても良い。図8の構成は、データ線対のピッチが狭く、図7の構成例ではトランジスタを配線配置しにくい場合に好適である。ここでは、リードパスを対に、ライトパスを1本の場合を示したが、必要に応じてリードパスを1本、ライトパスを対にしても良いことは勿論である。 Further, in the case where it is not necessary to make both the read path and the write path both, the switch S 11 may be configured as shown in FIG. The configuration of FIG. 8 is suitable when the pitch of the data line pair is narrow and the transistor is difficult to arrange in the configuration example of FIG. Here, the case where the read path is paired and the write path is one is shown, but it goes without saying that one read path and one write path may be paired if necessary.
以上、図6〜図8を用いて、nMOSトランジスタを用いてスイッチSjk(j=1〜p,k=1〜q)を構成した場合を例に示したが、必要に応じてpMOSトランジスタを用いても良いし、CMOSトランジスタによる構成にしても良いことは言うまでもない。 As described above, the case where the switch S j k (j = 1 to p, k = 1 to q) is configured using nMOS transistors has been described as an example with reference to FIGS. 6 to 8. Needless to say, it may be used, or a CMOS transistor may be used.
図4は、本発明に係る半導体装置の別の実施例を示す基本的な回路構成のブロック図である。なお、実施例1の図1に示した構成部分と同一の構成部分には、説明の便宜上、同一の参照符号を付してその詳細な説明は省略する。すなわち、本実施例では、データ転送回路の構成と、これを制御する制御回路にp本の信号線SSR1〜SSRpとp本の信号線SSW1〜SSWpとを追加して、リードパスとライトパスを階層化している点が相違する。 FIG. 4 is a block diagram of a basic circuit configuration showing another embodiment of the semiconductor device according to the present invention. For the sake of convenience, the same reference numerals are given to the same components as those shown in FIG. 1 of the first embodiment, and the detailed description thereof will be omitted. That is, in this embodiment, the configuration of the data transfer circuit and the control circuit that controls the data transfer circuit are added with p signal lines SSR1 to SSRp and p signal lines SSW1 to SSWp, and the read path and the write path are hierarchized. The difference is that.
ここで、本実施例のデータ転送回路32の詳細な構成を図5に示す。尚、図5に示した転送回路32は、図4における複数のデータ転送回路32の1つ分のうちの一部だけであり、実施例1の図2に示したデータ転送回路30のブロック1つ分(一例として、図2の第1ブロックを示す。)に相当する。このデータ転送回路32は、q本のデータ線を更にy本ずつの小ブロックとして全体でx個の小ブロックから構成し、各小ブロックのy本のデータ線は、制御回路82からの信号線SSR1〜SSRxの信号により、接続又は開放の2状態をとるそれぞれの小ブロックに対応する各1個のスイッチSR1〜SRxを介して1本のリードパスR1に接続され、信号線SSW1〜SSWxの信号により同様の動作をするそれぞれ各1個のスイッチSW1〜SWxを介して1本のライトパスW1に接続される。従って、各小ブロックは、制御回路82の信号線SS1〜SSyの信号によって各小ブロック内のxy(=q)本のデータ線の中から所要のデータ線が選択されてそれぞれに対応するスイッチS11〜SXyのリードパス側接続線又はライトパス側接続線に接続され、選択されたデータ線は信号線SSR1〜SSRx又はSSW1〜SSWxの信号により、スイッチSR1〜SRx又はスイッチSW1〜SWxが閉じて、対応するリードパスR1又はライトパスW1に接続することができる。
Here, the detailed configuration of the
このようにリードパスおよびライトパスを階層化することにより、本実施例の制御回路82は新たに全部で2x本の信号線SSR1〜SSRxおよびSSW1〜SSWxの制御が必要となるが、次のような利点がある。
すなわち、図2に示したデータ転送回路30の構成では1本のリードパス又はライトパスに接続されるデータ線の数はq本であるが、図5に示した本実施例のデータ転送回路32は1つのリードパスまたはライトパスに接続されるデータ線の数をq本より少なくすることもできる。このデータ線の数があまり多いと信号線SS1〜SSqの数も増えてリードパス、ライトパス上に現れる容量が増加して動作速度が遅くなるけれども、そのような場合に、データ転送回路32は階層化に伴って必要となった信号線SSR1〜SSRxおよびSSW1〜SSWxを制御回路82によって制御し、接続不要の小ブロックに対応するスイッチSR1〜SRx又はスイッチSW1〜SWxを開くことにより、1つのリードパス、ライトパス上に現れる負荷容量を増やすことなく、より多くのデータ線を1つのリードパス、ライトパスに接続することができるので、読み出し、書き込み動作の高速化が可能である。
By hierarchizing the read path and the write path in this way, the control circuit 82 of the present embodiment newly needs to control a total of 2x signal lines SSR1 to SSRx and SSW1 to SSWx. There are advantages.
That is, in the configuration of the
階層化された構成のデータ転送回路32が、図2のデータ転送回路30に比べて負荷容量が軽くなることを簡単に説明する。ここでは各スイッチS11〜Sxy,S11〜SpqをそれぞれMOSトランジスタ2個で構成し、各スイッチSR1〜SRx,SW1〜SWxをそれぞれMOSトランジスタ1個で構成した場合を例に説明する。
It will be briefly described that the
リードパスR1に、データ線DL1を接続する場合のおおよその負荷容量を、それぞれのデータ転送回路30,32に対して見積もる。
MOSトランジスタのソース/ドレイン容量をCdとすると、リードパスR1から見た負荷容量は図2のデータ転送回路30の場合、スイッチS11がオフの状態ではCd×qである。なお、Cdにはゲートとの寄生容量も含むものとする。スイッチS11がオン状態になると、更にCdが加わるので、合計の容量CFIG2はCd×(q+1)となる。これに対して、図5のデータ転送回路32の場合、リードパスR1から見た負荷容量は、スイッチSR1〜SRxがオフの状態ではCd×xである。スイッチSR1がオン状態になると、更にCd×(y+1)が加わり、スイッチS11がオン状態になって更にCdが加わるので、合計の容量CFIG5はCd×(x+y+2)となる。
The approximate load capacity when the data line DL1 is connected to the lead path R1 is estimated for each of the
When the source / drain capacitance of the MOS transistor and Cd, the load capacitance seen from the read path R1 in the case of the
ここで、容量CFIG2と容量CFIG5の比をとり、CFIG2/CFIG5=Kが1より小さくなる条件、すなわち、容量CFIG5が容量CFIG2より大きくなる場合を考えると、x,yは共に正の整数であるから次式が得られる。 Here, taking the ratio of the capacitance C FIG2 and the capacitance C FIG5 and assuming that C FIG2 / C FIG5 = K is smaller than 1, that is, the case where the capacitance C FIG5 is larger than the capacitance C FIG2 , x and y are Since both are positive integers, the following equation is obtained.
また、本実施例のデータ転送回路32では、図2のデータ転送回路30においてq本のデータ線を1ブロックとする構成を、x本からなるy個の小ブロックに分けた構成とするので、データ転送回路30では制御回路80からのスイッチを制御する信号線の数がx×y(=q)本であるのに対して、データ転送回路32では制御回路82からの信号線はy+2x本である。このため、本実施例のデータ転送回路32の構成を用いることにより、データ線の数が増加した場合に信号線の数の増加を抑えることができるのでチップ面積の縮小に役立つほか、1本のライトパス、リードパスに接続できるデータ線数の選択の幅が広がるので設計の自由度が向上する。なお、各スイッチS11〜Sxy,S11〜SpqをそれぞれMOSトランジスタ2個で構成した場合には、各ゲートに信号線が入力される必要があるので、上述した制御回路80,82からの各信号線SS1〜SSy,SS1〜SSqの数は2倍の数となる。
Further, in the
前記実施例1と同様に本実施例の半導体装置も、通常のメモリとして用いることも可能であり、普段は画像処理専用として用い、必要が生じたときには通常のメモリとしてシステムの主記憶に用いる等といった時分割で用途を変える使い方も可能である。また、メモリセルアレイの領域を通常のメモリとして用いる部分と演算回路で専用に用いる部分と分けて使用することもできる等、実施例1と同様の効果を有することは言うまでもない。 Similar to the first embodiment, the semiconductor device of this embodiment can also be used as a normal memory, and is usually used exclusively for image processing. When necessary, it is used as a main memory for the main memory of the system. It is also possible to change the usage by time division. Needless to say, the memory cell array region can be used separately from a portion used as a normal memory and a portion used exclusively in an arithmetic circuit.
また、図5に示したデータ転送回路32で使用する各スイッチS11〜SxyのMOSトランジスタによる具体的な構成は、実施例1と同様に、図6〜図8に示したいずれかの構成を必要に応じて使用すれば良い。
In addition, the specific configuration by MOS transistors of the
以上、本発明の好適な実施例について説明したが、本発明は前記実施例に限定されることなく、本発明の精神を逸脱しない範囲内において種々の設計変更をなし得ることは勿論である。 The preferred embodiments of the present invention have been described above. However, the present invention is not limited to the above-described embodiments, and various design changes can be made without departing from the spirit of the present invention.
10…メモリセルアレイ、
20…センスアンプ、
30…データ転送回路、
32…データ転送回路、
40…演算回路、
50…シリアルアクセスメモリ、
51…I/Oポート、
60…シリアルアクセスメモリ、
61…I/Oポート、
70…デコーダ、
71…入力ポート、
80…制御回路、
81…I/Oポート、
82…制御回路、
90…シリコンチップ、
Cij(i=1〜n,j=0〜m)…メモリセル、
DLj,DLj'(j=1〜m)…データ線、
DL1B,DL1T…データ線、
WLi(i=1〜n)…ワード線、
Sjk(j=1〜p,k=1〜q)…スイッチ、
SR1〜SRx…スイッチ、
SW1〜SWy…スイッチ、
SSj(j=1〜q),SS1R,SS1W…信号線、
SSR1〜SSRy…信号線、
SSW1〜SSWx…信号線、
TrR,TrRB,TrRT…トランジスタ、
TrW,TrWB,TrWT…トランジスタ、
Rj(j=1〜p),R1B,R1T…リードパス、
Wj(j=1〜p),W1B,W1T…ライトパス。
10: Memory cell array,
20 ... sense amplifier,
30: Data transfer circuit,
32. Data transfer circuit,
40. Arithmetic circuit,
50 ... Serial access memory,
51 ... I / O port,
60 ... serial access memory,
61 ... I / O port,
70: Decoder,
71: Input port,
80 ... control circuit,
81 ... I / O port,
82 ... control circuit,
90 ... silicon chip,
C ij (i = 1 to n, j = 0 to m)... Memory cell
DLj, DLj '(j = 1 to m) ... data line,
DL1B, DL1T ... data lines,
WLi (i = 1 to n) ... word line,
S j k (j = 1 to p, k = 1 to q)... Switch
SR1-SRx ... switch,
SW1 to SWy ... switch
SSj (j = 1 to q), SS1R, SS1W... Signal line,
SSR1 to SSRy ... signal line,
SSW1 to SSWx: signal lines,
TrR, TrRB, TrRT ... transistor,
TrW, TrWB, TrWT ... transistor,
Rj (j = 1 to p), R1B, R1T ... lead path,
Wj (j = 1 to p), W1B, W1T... Write path.
Claims (4)
演算回路と、
前記演算回路に接続されるP個のリードパス及びP個のライトパスと、
前記複数のビット線のうちP個を前記P個のリードパスに接続し、前記複数のビット線のうち他のP個を前記P個のライトパスに接続するためのスイッチ回路とを1つのチップ上に集積化した半導体装置であって、
前記半導体装置は、前記メモリセルアレイから前記P個のリードパスを通してPビットのデータを前記演算回路へ転送するリード動作と、前記データを前記演算回路で処理する演算動作と、前記演算回路から前記P個のライトパスを通して前記演算動作の演算結果を前記メモリセルアレイへ転送するライト動作と、を実行することが可能であり、
前記リード動作は、前記複数のワード線のうちの1つのワード線によって選択されたメモリセルから、前記複数のビット線のうちのP個を前記スイッチ回路を介して前記P個のリードパスに接続することによって、データを読み出す動作であり、
前記演算動作は、前記リード動作によって前記メモリセルアレイから読み出されたデータに基づいて実行されるものであり、
前記ライト動作は、前記リード動作と同一の前記1つのワード線によって選択されたメモリセルに、前記複数のビット線のうちの前記リード動作の対象となっていないP個を、前記スイッチ回路を介して前記P個のライトパスに接続することによって、前記演算動作の演算結果を書き込む動作であり、
前記半導体装置は、前記リード動作と前記ライト動作を前記1つのワード線によって選択された期間内に並列に行うものであり、
前記リード動作、前記演算動作、及び、前記ライト動作の夫々は、1クロックサイクル内に行われ、
前記半導体装置は、第1クロックサイクルにおいて、第1データに対する前記リード動作を行い、前記第1クロックサイクルに続く第2クロックサイクルにおいて、前記第1データに基づく演算動作、及び、前記第1データとは異なる第2データに対する前記リード動作を行い、前記第2クロックサイクルに続く第3クロックサイクルにおいて、前記第1データに基づく演算結果に対する前記ライト動作、前記第2データに基づく前記演算動作、及び、前記第1及び第2データとは異なる第3データに対する前記リード動作を行い、
前記第1クロックサイクルのリード動作の対象となるP個のビット線と前記第3クロックサイクルのライト動作の対象となるP個のビット線は、同じビット線であることを特徴とする半導体装置。 A memory cell array including a plurality of word lines, a plurality of bit lines, and a plurality of memory cells;
An arithmetic circuit;
P read paths and P write paths connected to the arithmetic circuit;
Wherein the plurality of connecting P number of the bit lines to the P number of the read path, the plurality of one switch circuit for the bit line sac Chi other of P and is connected to the P number of light paths of the chip A semiconductor device integrated on the top,
The semiconductor device includes a read operation to transfer the data of P bits to the arithmetic circuit through the P number of read path from said memory cell array, an arithmetic operation for processing the data in the arithmetic circuit, the P number from said arithmetic circuit a of the operation result of the arithmetic operation through the light path can be executed, and the write operation for transfer to said memory cell array,
In the read operation, P bits of the plurality of bit lines are connected to the P read paths through the switch circuit from a memory cell selected by one word line of the plurality of word lines. Is an operation to read data,
The arithmetic operation is executed based on data read from the memory cell array by the read operation,
In the write operation, the P memory cells selected by the one word line that is the same as the read operation are transferred to the memory cells selected by the single word line via the switch circuit. And writing the calculation result of the calculation operation by connecting to the P light paths,
The semiconductor device performs the read operation and the write operation in parallel within a period selected by the one word line,
Each of the read operation, the arithmetic operation, and the write operation is performed within one clock cycle,
The semiconductor device performs the read operation on the first data in a first clock cycle, and an arithmetic operation based on the first data in a second clock cycle following the first clock cycle, and the first data and Performs the read operation on different second data, and in the third clock cycle following the second clock cycle, the write operation on the calculation result based on the first data, the calculation operation based on the second data, and Performing the read operation on third data different from the first and second data;
The semiconductor device according to claim 1, wherein the P bit lines subject to the read operation in the first clock cycle and the P bit lines subject to the write operation in the third clock cycle are the same bit line .
前記第1のシリアルアクセスメモリは、前記メモリセルアレイから周期的にデータを順次読み出し、外部に接続される画像表示手段へ出することを特徴とする請求項1記載の半導体装置。 A first serial access memory connected to the memory cell array for inputting / outputting data via an I / O port;
2. The semiconductor device according to claim 1, wherein the first serial access memory sequentially reads out data sequentially from the memory cell array and outputs the data to image display means connected to the outside.
前記アドレスデコーダは、アドレスをデコードした結果、前記メモリセルアレイ上のアドレスを指定するものであることを特徴とする請求項1記載の半導体装置。 An address decoder;
2. The semiconductor device according to claim 1, wherein the address decoder designates an address on the memory cell array as a result of decoding the address.
前記演算動作は、前記リード動作によって前記メモリセルアレイから読み出されたデータと前記第2のシリアルアクセスメモリに与えられたデータの間で実行されることを特徴とする請求項1乃至3の何れか1項記載の半導体装置。 A second serial access memory connected to the arithmetic circuit;
4. The calculation operation according to claim 1, wherein the arithmetic operation is executed between data read from the memory cell array by the read operation and data given to the second serial access memory. The semiconductor device according to 1 .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004208733A JP4150703B2 (en) | 1994-11-22 | 2004-07-15 | Semiconductor device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28766094 | 1994-11-22 | ||
| JP2004208733A JP4150703B2 (en) | 1994-11-22 | 2004-07-15 | Semiconductor device |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22320795A Division JP3601883B2 (en) | 1994-11-22 | 1995-08-31 | Semiconductor device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004362765A JP2004362765A (en) | 2004-12-24 |
| JP4150703B2 true JP4150703B2 (en) | 2008-09-17 |
Family
ID=34066724
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004208733A Expired - Fee Related JP4150703B2 (en) | 1994-11-22 | 2004-07-15 | Semiconductor device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4150703B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019057053A (en) * | 2017-09-20 | 2019-04-11 | 東芝メモリ株式会社 | Semiconductor memory device |
| KR102836541B1 (en) * | 2018-11-28 | 2025-07-23 | 삼성전자주식회사 | Semiconductor memory device and operating method of semiconductor memory device |
-
2004
- 2004-07-15 JP JP2004208733A patent/JP4150703B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004362765A (en) | 2004-12-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100380681B1 (en) | Semiconductor device | |
| JP2882370B2 (en) | Semiconductor storage device | |
| JP3248617B2 (en) | Semiconductor storage device | |
| US6661731B2 (en) | Semiconductor memory, semiconductor integrated circuit and semiconductor mounted device | |
| US6256681B1 (en) | Data buffer for programmable memory | |
| US5781493A (en) | Semiconductor memory device having block write function | |
| JP3601883B2 (en) | Semiconductor device | |
| JP4150703B2 (en) | Semiconductor device | |
| JPH0315278B2 (en) | ||
| KR100718533B1 (en) | Semiconductor Memory and Control Method | |
| JP3872922B2 (en) | Semiconductor memory device and memory embedded logic LSI | |
| JP2535911B2 (en) | Semiconductor memory device | |
| JP3565290B2 (en) | Multi-port memory | |
| JP3405663B2 (en) | Semiconductor storage device | |
| JPS61246996A (en) | Orthogonal memory | |
| JPH0730075A (en) | Semiconductor memory device and logic circuit including this memory device | |
| JPH06223597A (en) | Semiconductor device | |
| JP3277539B2 (en) | Semiconductor storage device | |
| JPS60171696A (en) | Semiconductor memory device | |
| JPH05267605A (en) | Semiconductor memory device | |
| JPH05182464A (en) | Semiconductor storage device | |
| JPH0628862A (en) | Semiconductor memory circuit device | |
| JPH04370969A (en) | Semiconductor integrated circuit | |
| JPH08221976A (en) | Semiconductor memory | |
| JPH01277945A (en) | semiconductor storage device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070904 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070911 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071108 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20071108 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080603 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080630 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110704 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110704 Year of fee payment: 3 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110704 Year of fee payment: 3 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120704 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130704 Year of fee payment: 5 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |