JPS58146949A - General logical circuit - Google Patents

General logical circuit

Info

Publication number
JPS58146949A
JPS58146949A JP57030327A JP3032782A JPS58146949A JP S58146949 A JPS58146949 A JP S58146949A JP 57030327 A JP57030327 A JP 57030327A JP 3032782 A JP3032782 A JP 3032782A JP S58146949 A JPS58146949 A JP S58146949A
Authority
JP
Japan
Prior art keywords
memory
data
gate
register
multiplexer
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.)
Pending
Application number
JP57030327A
Other languages
Japanese (ja)
Inventor
Kenji Omori
健児 大森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP57030327A priority Critical patent/JPS58146949A/en
Publication of JPS58146949A publication Critical patent/JPS58146949A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To utilize the titled circuit as a means for simulation or one custom LSI, by controlling the whole circuit on the basis of a starting signal from the external, and sending an end signal to the external at the completion of the processing. CONSTITUTION:Data applied from the external are applied to a control part 7 through a bus buffer 1 and a multiplexer 2 and stored in a register specified by the control part 7. Receiving a starting signal, the control part 7 applies the block No. to a decoder memory 4 and a gate selection memory 6. The decoder memory 4 outputs the contents of an input applied to the address on the basis of a bit pattern of the block. A gate memory 5 executes logical operation applied from the gate selection memory 6 in accordance with bits. The operated result of the memory 5 is sent to a register specified by the control part 7 and stored in the register.

Description

【発明の詳細な説明】 本発明はカスタムLSIのシェミレータアルいはカスタ
ムL8Iとしても利用可能な汎用論理回路に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a general-purpose logic circuit that can be used as a semi-real of a custom LSI or as a custom L8I.

カスタムL8Iの普及に伴なって、利用者がゲート回路
で記述した論理回路図をそのま11つのICで実現しよ
うという動きが強まってきたが、一方でカスタムLSI
化するためには周到な準備を余儀なくされ、二の足を踏
む場合が少なくない。
With the spread of custom L8I, there has been a growing movement to realize logic circuit diagrams written by users using gate circuits using just 11 ICs.
In order to achieve this goal, thorough preparations are required, and there are many cases of second-guessing.

カスタムLSI化を促進するためには、カスタムLSI
化するに先だち、実現された回路図をなんらかの形でシ
ミュレートする道具を必要とする。
In order to promote custom LSI, custom LSI
Before converting into a circuit, a tool is needed to simulate the realized circuit diagram in some way.

あるいは、又、カスタムL8Iの中に実現し九論履を書
き変えられるよう’&ICの実現が望まれている。
Alternatively, it is desired to realize '&IC so that it can be realized in a custom L8I and the nine logic can be rewritten.

本発明の目的は、このような要望に答える九め0%0で
、シミエレーシ讐ンの道具としてもあるここでは、まず
汎用論理回路の原理について説明する。
The purpose of the present invention is to meet these demands, and also serves as a tool for simulation.Here, we will first explain the principle of a general-purpose logic circuit.

第1図は、カスタムL8Iとして実現しようとしている
4ビツト全加算器の論理回路図である。
FIG. 1 is a logic circuit diagram of a 4-bit full adder that is being implemented as a custom L8I.

汎用論理回路においては、回路図が与えられたとき、そ
れを信号の伝播時間に従ってその回路図を実現しようと
する。第1図の論理回路図においては信号が伝帳する最
大のゲートの段数は4であるので、汎用論理回路におい
てはこの4つのレベルに対して実現が試みられる0次に
各レベルの実現に対して、そのレベルに対する入力線と
出力線の数が調べられる。今の場合、−回の操作で実現
可能な範囲は、入力線は8、出力線は4以下であり、の
とする。
In general-purpose logic circuits, when a circuit diagram is given, it is attempted to realize the circuit diagram according to the signal propagation time. In the logic circuit diagram shown in Figure 1, the maximum number of gate stages through which signals are transmitted is 4, so in a general-purpose logic circuit, the realization of each level of the 0th order is attempted for these four levels. Then, the number of input and output lines for that level is determined. In this case, it is assumed that the range that can be achieved by - operations is 8 for input lines and 4 or less for output lines.

これからしばらくの間、各レベルの回路のシミュレーシ
璽ンをするにあたり、入力と出力をどのような組にして
選らんだらよいかについて説明する。1番目のレイルの
回路を実現することを考える。ここでは、入力はCo、
AlへA4.Bl〜B4O9ケあるので、I 1=(C
O,AlへA3゜B1〜B3)、!2=(ム4.B4)
の2つの組If、I2に分ける。汎用論理回路では組か
ら信号を得たとき、この組の信号の全であるいはそのう
ちのいくつかを用いて記述した論理式を4ケまで実現で
きるものとし、その論理式の値はある組の前半あるいは
後半の要素とすることができるものとする。このとき、
値の入ってこなかった後半あるいは前半は元の信号が残
っているものとする。
For the next few moments, I will explain what pairs of inputs and outputs should be selected when simulating circuits at each level. Consider implementing the first rail circuit. Here, the input is Co,
A4 to Al. Since there are 9 Bl to B4O, I 1 = (C
O, Al to A3°B1~B3),! 2=(Mu4.B4)
It is divided into two groups If and I2. In a general-purpose logic circuit, when a signal is obtained from a set, it is assumed that up to four logical formulas can be realized using all or some of the signals of this set, and the value of the logical formula is the first half of a certain set. Alternatively, it can be used as an element in the latter half. At this time,
It is assumed that the original signal remains in the second half or the first half where no value is received.

以下ではこれを*で表わす。又、Δは不定とする。Below, this will be represented by *. Also, Δ is assumed to be indefinite.

レベルlでは、3つの操作に分けて実現することができ
る。即ち、工1よりJlの前半J1=(Jl=CO,j
2=AI+81.I3−AI・B1.I4−ム2+B2
.*、*、*、* )  を得るもの、11よシJlの
後半J1=(*、*、*、*、j5=A2−B2.j6
=A3+B3.j7=A3・B3.Δ)を得るもの、I
2よりI2の前半J2=(j8=A4+B4.I9−ム
4・B4.Δ、Δ、*、 *、 *、 *  )を得る
ものを実現する。
At level l, it can be realized by dividing into three operations. That is, from engineering 1, the first half of Jl is J1 = (Jl = CO, j
2=AI+81. I3-AI・B1. I4-mu2+B2
.. *, *, *, * ), the second half of 11, Jl = (*, *, *, *, j5 = A2 - B2.j6
=A3+B3. j7=A3・B3. Δ), I
2, we realize the first half of I2, J2=(j8=A4+B4.I9-M4・B4.Δ, Δ, *, *, *, *).

レベル2への準備として組の中の信号の入れかえを行な
う、入れかえも先の場合と同じである組の信号を受けと
り、それをある他の組の前半あるいは後半に任意の順序
で入れることができる。このとき、信号の入ってこなか
った部分けもとのままである。管ず、JlよりJ 1’
= (I5. I6. I7.Δ。
In preparation for level 2, the signals in the set are swapped.The swap also allows you to receive the same set of signals as the previous one and put them in the first or second half of some other set in any order. . At this time, the part where the signal did not come in remains as it is. Tubezu, J 1' from Jl
= (I5. I6. I7.Δ.

*、 *、 *、 *>、I2よりJ1’=(*、 *
、 31:。
*, *, *, *>, From I2, J1'=(*, *
, 31:.

*、I9.Δ、△、△)を作成し、次に、11′よりJ
1=(*、*、*、*、I5.I6. I7.I9)を
作る。この結果、J 1=(jl、 I2. I3. 
I4.I5. I6゜I7.I9)、J 2=(I8.
 I9.Δ、Δ、Δ、Δ、Δ。
*, I9. Δ, △, △), then J from 11'
Create 1 = (*, *, *, *, I5.I6. I7.I9). As a result, J 1 = (jl, I2. I3.
I4. I5. I6゜I7. I9), J2=(I8.
I9. Δ, Δ, Δ, Δ, Δ.

Δ)となっている。Δ).

次KJ1.J2を用いてレベル2の実現を行なう、レベ
ル2でtli7つの操作に分けて行なう、即ち、Jlよ
りに1=(kl、に2.  △、△、 *、 *。
Next KJ1. Level 2 is realized using J2. At level 2, tli is divided into seven operations, that is, 1 = (kl, 2. △, △, *, *.

* 、* )、に1=(*、*、*、*、に3.に4.
に5.Δ)。
* , * ), 1 = (*, *, *, *, 3. and 4.
5. Δ).

K2=(k6.に7.に8.に9.*、* 、*、*)
、に3=(klo、kll、kx2.kla、*、*、
*、:t−)、に4= (kl5.kl6.kl7.k
l8.l *、*、*)を、I2よりに3=(*、l 
*、l kl4.Δ、Δ。
K2=(k6. to 7. to 8. to 9.*,*,*,*)
, to 3=(klo, kll, kx2.kla, *, *,
*, :t-), ni4= (kl5.kl6.kl7.k
l8. l *, *, *) by I2, 3=(*, l
*, l kl4. Δ, Δ.

△、△)、に4=(*、  *、*、*、kl9.  
Δ、△。
△, △), 4=(*, *, *, *, kl9.
Δ, △.

△、△)を得るものを実現する。この結果、K1=(k
l、 k2.△、Δ、 k3. k4. k5.Δ) 
、 K2=(k6゜k7. kg、 kg、△、△、△
、△)、に3=(klo。
△, △). As a result, K1=(k
l, k2. △, Δ, k3. k4. k5. Δ)
, K2=(k6゜k7. kg, kg, △, △, △
, Δ), to 3=(klo.

kll、kl2.kl3.kl4.Δ、Δ、Δ) 、に
4=(kl5゜kl6.kl7.kl8.kl9.△、
△、△)を得る。
kll, kl2. kl3. kl4. Δ, Δ, Δ), ni4=(kl5゜kl6.kl7.kl8.kl9.△,
△, △) are obtained.

次にK1.に2.に3.に4 を用いてレベル3の実現
を行なう。レベル2の出力の中KIIi、レベル3を通
らずレベル4の入力となっているものがあるが、汎用論
理回路では線上に1人力のANDゲートがあるように見
せかけ、レベル3の出力信号を作りだす6例えば、k5
Fiレベル4への入力となっているが、ANDゲートが
あるように見せかけ、t4=tSの信号を作る。レベル
3でFi4っに分けて行なう、即ち、Kl ! vL 
1=(tl、 A2゜ts、 A4.*、*、*、*)
、に2よりL1=(*、*。
Next, K1. 2. 3. Level 3 is realized using 4. Some of the level 2 outputs do not pass through KIIi and level 3 and are input to level 4, but in a general-purpose logic circuit, it is made to look like there is a single-handed AND gate on the line, and a level 3 output signal is created. 6 For example, k5
Although it is an input to Fi level 4, it is made to look like there is an AND gate and a signal of t4=tS is created. Divided into Fi4 at level 3, that is, Kl! vL
1=(tl, A2゜ts, A4.*, *, *, *)
, by 2, L1=(*,*.

*、 *、 ts、 ts、△、Δ)、に3よりL2=
 C17゜tS、Δ、Δ、*、*、*、*)、に4より
B2−(*。
*, *, ts, ts, △, Δ), from 3, L2=
C17゜tS, Δ, Δ, *, *, *, *), from 4 to B2-(*.

*、 *、 *、 A9.Δ、Δ、Δ)を得るものを実
現する。
*, *, *, A9. Δ, Δ, Δ).

最後に、Ll、B2を用いてレベル4の実at行なう、
レベル3では2つに分けて行々う。即ち、LlよりM1
=(Σ1.Σ2.Σ3.Δ、 *、 *、 *。
Finally, perform level 4 actual using Ll and B2,
At level 3, we will divide it into two parts. That is, M1 from Ll
=(Σ1.Σ2.Σ3.Δ, *, *, *.

ネ)をB2よりMl冨(Δ、Δ、Δ、Δ、Σ4.C4゜
*、ネ)を得る0次にMlを用いてならぺかえを行なう
、即ち、MlよりM1’=(Σ1.Σ2.Σ3゜Σ4.
*、*、*、*)、M1’=(*、*、*、*、C4゜
Δ、Δ、Δ)を得る。この結果、M1’には(Σ1゜Σ
2.Σ3.Σ4. C4,ヘムΔ)を得る。
(ne) is obtained from B2 to obtain the Ml value (Δ, Δ, Δ, Δ, Σ4.C4゜*, n). .Σ3゜Σ4.
*, *, *, *), M1'=(*, *, *, *, C4°Δ, Δ, Δ) are obtained. As a result, M1' has (Σ1゜Σ
2. Σ3. Σ4. C4, heme Δ) is obtained.

次にある組からある組への変換を16×4ビツトのメモ
リ素子と、ムND、NAND、IOR,NlORのゲー
トで実現することを考える。例として、II=(Co、
A1.A2.ム3.B1.B2.B3.△)より、J 
1=(jl=cO,j2=Al+81.j3=3=・こ
とを考える。16X4ビツトのメモリ素子は2ケ用いる
とし、第1のメモリ素子のアドレスにはCO,A1.A
2.A3を、第2のメモリ素子のアドレスKFiBI、
B2.B3.・を入れ、第1のメモリ素子の出力と第2
のメモリ素子の出方をビット対応で別々KAND、NA
ND、NORあるいはNRORのゲートへの入力とする
ことKする。Jlの組はjl=cO,j2=A1 ・B
1.j3=A1 ・B1.j4=4=・B2のように表
わすことができる。そこで、第1のメモリ素子において
、アドレスKCOが与えられたとき、出力の第1番目の
ビットが真になるように、アVレスKA丁が与えられた
とき、出力の第2番目のビットが真になるように、アド
レスにAIが与えられたとき、出方の第3番目のビット
が真になるように、アドレスにA2が与えられたとき、
出力の第4番目のビットが真になるように、そして他の
部分は偽になるようにビットパターンを書き込む、第2
図は、真を1、偽を〇とし、第1番目の出力を81とし
たとき第1のメモリ素子にビットパターンを書き込んだ
ときの例を示す図である。第3図は、第2のメモリ素子
について同様に第1番目の出力をT1としたときのビッ
トパターンの例を示す図である。さらに第4図はSlと
T1の出力はANDゲートへの入力とし、82とT2の
出力は別のANDゲートへの入力とし、83とT3の出
力はNANDゲートへの入力とし、84とT4の出力は
さらに別のANDゲートへの入力とすると、ゲートの出
力は、jl。
Next, consider realizing conversion from one set to another using a 16×4 bit memory element and MND, NAND, IOR, and NlOR gates. As an example, II=(Co,
A1. A2. Mu3. B1. B2. B3. △), J
1 = (jl = cO, j2 = Al + 81.
2. A3 is the address KFiBI of the second memory element,
B2. B3.・The output of the first memory element and the second
Separate KAND and NA memory elements depending on bits
It is assumed that it is an input to the gate of ND, NOR or NROR. The set of Jl is jl=cO, j2=A1 ・B
1. j3=A1・B1. It can be expressed as j4=4=·B2. Therefore, in the first memory element, when the address KCO is given, the first bit of the output becomes true, and when the address KCO is given, the second bit of the output becomes true. When AI is given to the address so that it is true, when A2 is given to the address so that the third bit of the output is true,
The second part writes the bit pattern so that the fourth bit of the output is true and the other parts are false.
The figure is a diagram showing an example when a bit pattern is written into the first memory element when true is set to 1, false is set to 0, and the first output is set to 81. FIG. 3 is a diagram showing an example of a bit pattern for the second memory element when the first output is T1. Furthermore, in Figure 4, the outputs of Sl and T1 are inputs to an AND gate, the outputs of 82 and T2 are inputs to another AND gate, the outputs of 83 and T3 are inputs to a NAND gate, and the outputs of 84 and T4 are inputs to a NAND gate. If the output is further input to another AND gate, the output of the gate is jl.

A2.13.A4そのものとなる例を示した本発明の原
理を示すブロック図である。
A2.13. It is a block diagram showing the principle of the present invention showing an example of A4 itself.

一般に論理ゲート(即ち、iN D 、 NAND、 
pn。
Generally logic gates (i.e. iN D , NAND,
pn.

NOR,IOR,NPCOR,入力の反転を含む)で構
成された論理回路においては、ある組からある組への変
換H116X4ビットのメモリ素子2ケとムND、NA
ND、IOR,N1?ORゲートにより実現が可能であ
ることを証明できるので、先に挙げえある組からある組
への変換及び信号の々らべかえは、全て例にあげた方法
により実現できる。しかし、全ての組の変換に対してこ
のような素子を備えることは、不経済であるし、柔軟性
にも欠けるので、どの組の変換を行なっているかにより
メモリブロックの選択とゲートの選択を行なってくれる
ハードウェアが望ましい、これが本発明の汎用論理回路
である。
In a logic circuit composed of NOR, IOR, NPCOR, and input inversion), conversion from one set to another H116 x 2 memory elements of 4 bits, ND, NA
ND, IOR, N1? Since it can be proven that it can be realized using an OR gate, the conversion from one set to another and the reversal of signals can all be realized by the method mentioned above. However, it is uneconomical and inflexible to provide such an element for every set of transformations, so the selection of memory blocks and gates may depend on which set of transformations is being performed. It is desirable to have hardware that can do this, and this is the general-purpose logic circuit of the present invention.

従って、メモリ素子においては大容量の4のを選び、そ
れを16アドレスずつのブロックに分け、変換毎に1つ
のブロックを割夛当てることが望ましい。即ち、ブロッ
クに#i、それに割り当てられた変換に対するビットパ
ターンを書き込んておき、変換を行なうとき、ブロック
を選択し、組からの入力信号によって、そのブロック内
の1つのアドレスを指定し、その内容を出方する。これ
によって、1つのメモリ素子でいくつもの変換を行なう
ことができる。又、メモリ素子の出力はビット対応で論
理演算を行なうが、これに対する1つの方法としては、
AND、NAND、IOR,Nl!i0Rゲートを用意
しておき、その中の1つを選ぶという方法がある。第4
図の場合KFi2つのメモリ素子で考えていたが、大規
模な汎用論理回路を実現する場合Kti使用するメモリ
素子の数が多くなり、ゲート回路への入力数が多く表る
。このように入力数が多くなり九とき、いくつものゲー
ト回路を必要とするので経済的ではない。従って、この
論理をメモリで実現するのがよい。即ち、第5図に示す
ように、メモリに出力のビットに対応して、ムND、N
AND、IOR,NBORの論理を書き込んでおき、ど
の演算を行なうかを外側よシ与え、T1と81によって
、その論理演算の結果を与える。これをゲートメモリと
呼ぶがこれは第4図のゲート回路と同じ機能を与える。
Therefore, it is desirable to select 4 large-capacity memory elements, divide them into blocks of 16 addresses each, and allocate one block for each conversion. That is, write #i and the bit pattern for the conversion assigned to it in a block, and when performing conversion, select the block, specify one address in that block by the input signal from the set, and write its contents. to appear. This allows multiple conversions to be performed with one memory element. Also, the output of the memory element is subjected to logical operations on a bit-by-bit basis, and one method for this is as follows.
AND, NAND, IOR, Nl! There is a method of preparing i0R gates and selecting one of them. Fourth
In the case of the figure, two memory elements KFi were considered, but when realizing a large-scale general-purpose logic circuit, the number of memory elements used Kti increases, and the number of inputs to the gate circuit increases. When the number of inputs increases in this way, many gate circuits are required, which is not economical. Therefore, it is better to implement this logic in memory. That is, as shown in FIG. 5, MND, N
The logic of AND, IOR, and NBOR is written in advance, and the operation to be performed is given to the outside, and the result of the logical operation is given by T1 and 81. This is called a gate memory and provides the same function as the gate circuit of FIG.

これは、例えば、メモリ素子が8つになったときでも、
ゲートを実現しているメモリの容量を大きくすることに
よシ、同様に実現することができる。
For example, even when there are eight memory elements,
The same can be achieved by increasing the capacity of the memory that implements the gate.

本発明の汎用論理回路は、外部と入出力データのやりと
りを行なう丸めのパスバッファと、ノ2スバッ7アから
のデータと後述するゲートメモリからのデータとをマル
チプレクスするマルチプレクサと、マルチプレクサから
のデータを記憶するためのレジスタセットと、レジスタ
からのデータに基づいて、そのデータのデコードを行な
うデコードメモリと、デコードメモリの出力についてビ
ット対応で論理演算を行なうゲートメモリと、その論理
演算の穫類を与えるゲート選択メモリと、マルチプロフ
サからのデータを入力すべきレジスタの選択をし、デコ
ードメモリへの入力となるべきレジスタの選択をし、パ
スバッファとマルチプレクサの制御をし、デコードメモ
リ及びゲート選択メモリに処理の番号を指定するととも
に外部からの開始信号に基づいて全体のコントロールを
行ない、処理の終了に伴なって外部へ終了信号を送る制
御部とで構成される。
The general-purpose logic circuit of the present invention includes a round pass buffer that exchanges input/output data with the outside, a multiplexer that multiplexes data from the nozzle buffer and data from a gate memory (described later), and a A register set for storing data, a decode memory that decodes the data based on the data from the register, a gate memory that performs bitwise logical operations on the output of the decode memory, and a variety of logical operations. selects the gate selection memory that provides the input data, selects the register that should input data from the multiprouser, selects the register that should be input to the decode memory, controls the path buffer and multiplexer, and controls the decode memory and gate. It is composed of a control section that specifies the processing number in the selection memory, performs overall control based on a start signal from the outside, and sends an end signal to the outside upon completion of the processing.

第6図は本発明の1つの実施例を示すブロック図である
。図において、lFiパスバッファ、2#iマルチプレ
クサ、3はレジスタセット、4はデコードメモリ、5は
ゲートメモリ、6はゲート選択メモリ、7は制御部であ
る。パスバッファ1は外部と入出力データのやりとりを
行なう、このとき、    ゛゛データ流れる方向は制
御部7により制御され、入力データのときは外部より汎
用論理回路へ、出力データのときは汎用論理回路より外
部へとデータは流れる。マルチプレクサ2はパスバッフ
ァ1からのデータあるいはデコードメモリ4からのデー
タのマルチプレクスを行なう。どちらのデータを選択す
るかは制御部7により制御される。即ち、処理を開始す
るときはバッファ1からのデータを処理の途中ではデコ
ードメモリ5からのデータを選択する。又、制御部7K
Fiコントロール用のメ毫りがあり、そこKは処理の進
行に伴ない、どのレジスタをデコードメモリへの入力と
し、どのレジスタをデコードメモリからの出力とするか
の情報を外部より書き込める。バ艮バッファ1からのデ
ータの場合には、パスバッファIK入力されたデータが
、又、デコードメモリ4からのデータの場合にはゲート
メモリ5からのデータがマルチブレクf2を通過するが
、ゲートメモリ5からの場合には、上側と下側のマルチ
プレクサに対して各々ゲートメモリ5の出力が与えられ
る。即ち、上側と下側のマルチプレクサの出力Fi、ゲ
ートメモリ5側からのデータを選択をしている場合同じ
である。マルチプレクサ2からの出力はレジスタセット
4内のいずれかのレジスタに書き込まれる。
FIG. 6 is a block diagram showing one embodiment of the present invention. In the figure, 1Fi path buffer, 2#i multiplexer, 3 is a register set, 4 is a decode memory, 5 is a gate memory, 6 is a gate selection memory, and 7 is a control section. The path buffer 1 exchanges input/output data with the outside. At this time, the direction in which the data flows is controlled by the control unit 7. Input data is sent from the outside to the general-purpose logic circuit, and output data is sent from the general-purpose logic circuit to the outside. Data flows externally. Multiplexer 2 multiplexes data from path buffer 1 or data from decode memory 4. Which data to select is controlled by the control unit 7. That is, data from buffer 1 is selected when processing is started, and data from decode memory 5 is selected during processing. Also, the control unit 7K
There is a message for Fi control, in which K can externally write information about which registers are used as inputs to the decode memory and which registers are used as outputs from the decode memory as processing progresses. In the case of data from the pass buffer 1, the data input to the pass buffer IK passes through the multi-break f2, and in the case of data from the decode memory 4, the data from the gate memory 5 passes through the multi-break f2. , the output of the gate memory 5 is given to the upper and lower multiplexers, respectively. That is, the same is true when selecting the outputs Fi of the upper and lower multiplexers and the data from the gate memory 5 side. The output from multiplexer 2 is written to any register in register set 4.

どのレジスタに書き込むべきかは制御部7により与えら
れる。レジスタに書き込むべきデータが外部より与えら
れている場合には、制御部7により指定されたレジスタ
にそのデータが書き込まれる。
The control unit 7 determines which register to write into. If data to be written into the register is provided from outside, the data is written into the register specified by the control unit 7.

レジスタに書き込むべきデータがゲートメモリ5より与
えられている場合には、制御@7によりレジスタが指定
されるだけでなく、その上半分であるか下半分であるか
が指定されるので、その指示にもとづいて指定されたレ
ジスタの指定された手分に書き込まれる。あるレジスタ
の出力はデコードメモリ4に与えられる。デコードメモ
リ4に出力を与えるべきレジスタは制御部7により与え
られる。デコードメモリ4は、いくつかのメモリ素子か
ら成り立つ、(図では2ケのメモリ素子から成り立つ、
)メモリ素子のアドレスにはレジスタの出力が与えられ
るが、メモリ素子はそのアドレスの内容を出力する。メ
モリ素子の出力は、ゲートメモリ5への入力となる。ゲ
ートメモリ5Fiいくつかの部分に分割されているが(
図では4つ)1番目の部分KI/i各メモサメモリ素子
目の出力が入力となる。ゲートメモリ5に対してゲート
選択メモリ6は論理演算AND、NAND、EOR。
When the data to be written to the register is given from the gate memory 5, the control @7 not only specifies the register, but also specifies whether it is in the upper half or the lower half. The specified hand of the specified register is written based on the specified register. The output of a certain register is given to decode memory 4. A register to provide an output to the decode memory 4 is provided by the control section 7. The decode memory 4 consists of several memory elements (two memory elements in the figure).
) The address of a memory element is given the output of a register, but the memory element outputs the contents of that address. The output of the memory element becomes the input to the gate memory 5. Although the gate memory 5Fi is divided into several parts (
In the figure, the output of each memosa memory element (4) in the first part KI/i becomes the input. The gate selection memory 6 for the gate memory 5 performs logical operations AND, NAND, and EOR.

NBORのいずれのゲートを選ぶべきかをゲートメモリ
50部分毎に与える。ゲートメモリ5の各部分では、ゲ
ート選択メモリ6からの指示にもとづいて、デコードメ
モリ4内の各メモリ素子からの入力に対して指定された
論理演算を行なう。この結果は、マルチプレクサ2に送
られる。ゲート選択メモリ6は制御部7からの指示にも
とづいてゲートメモリ5の各部分での論理演算を指定す
る。
Which gate of NBOR should be selected is given for each gate memory 50 section. Each part of gate memory 5 performs a specified logical operation on the input from each memory element in decode memory 4 based on instructions from gate selection memory 6. This result is sent to multiplexer 2. The gate selection memory 6 specifies logical operations in each part of the gate memory 5 based on instructions from the control section 7.

デコードメモリ4内のメモリ素子は、先の例で述べたよ
りは大容量のメモリであり、ある組からある組への変換
を行なうときに利用するビットパターンを複数個書き込
めるようになっている。このビットパターンの書き込み
は外部よシ行なうことができる。又、どの組からどの組
への変換を示すビットパターンを使用するかは制御部7
が示す。
The memory element in the decode memory 4 has a larger capacity than that described in the previous example, and is designed to be able to write a plurality of bit patterns used when converting from one set to another. This bit pattern can be written externally. Further, the control unit 7 determines which bit pattern to use to indicate conversion from which set to which set.
shows.

制御部7には外部より処理に応じてどのレジスタゲート
選択メモリ6は、やはり、ある組からある組への変換を
行なうとき、各メモリ素子の出力に対してどのような論
理演算を行なうかを決めるものであるが、これも外部よ
り書き込みを行なうことができる。今、4ビツト全加算
器の例で説明する。先の例では、ある組からある組への
変換には次のものであった。II−+Ji前、11→J
1後。
The control unit 7 is provided with an external command to determine which register gate selection memory 6 is to perform a logical operation on the output of each memory element when converting from one set to another according to the processing. However, this can also be written from outside. An example of a 4-bit full adder will now be explained. In the previous example, the conversion from one set to another was as follows: II-+Ji before, 11→J
1 later.

I2→J2前、J1→J 1’前、J2→J1後、J1
′→Jl後、J1→に1前、J1→に1後、J1→に2
前。
I2→Before J2, J1→Before J1', J2→After J1, J1
'→After Jl, 1 before J1→, 1 after J1→, 2 before J1→
Before.

J1→に3前、Jl→に4前、J2→に3後、J2→に
4後、に1→L1前、に2→L1後、に3→L2前。
J1→3 before, Jl→4 before, J2→3 after, J2→4 after, 1→L1 before, 2→L1 after, 3→L2 before.

K3→L2後、LX→M1前、L2→M1後、Ml→M
l’前、Ml→Ml’後、そこで、これらのビットパタ
ーンを、メモリ素子を16アドレスのブロックに分けて
それを書き込む。これをどのブロックに書いたかは制御
部7に与えておく。又、これらの変換の中で使用された
論理演算を、例えば、工1→J1前のときのAND、A
ND、NAND、ANDを、示す符号を、ゲート選択メ
モリ6を27ドレスのブロックに分け、メモリ素子と同
じブロック番号のときにこれを書き込む、又、制御部7
には11〜M1’に対してレジスタ番号を与え、それを
与えておく。
K3 → after L2, LX → before M1, L2 → after M1, Ml → M
Before l', after Ml→Ml', these bit patterns are written by dividing the memory element into blocks of 16 addresses. In which block this is written is given to the control unit 7. Also, the logical operations used in these conversions, for example, AND, A before
The control unit 7 divides the gate selection memory 6 into blocks of 27 addresses and writes codes indicating ND, NAND, and AND when the block number is the same as that of the memory element.
The register numbers are given to 11 to M1'.

次に汎用論理回路の動作を説明する。外部よりデータが
与えられると、それは、パスバッファ1゜マルチプレク
サ2を得て制御部7により指定されえレジスタに記憶さ
れる。次に、制御部7に開始信号が外部より与えられる
と、制御部7はレジスタセットにデコードメモリ4に対
して出力すべきレジスタを、デコードメモリ4とゲート
選択メモリ6に対してブロック番号を与える。デコード
メモリ4では、ブロックでのビットパターンにもとづい
て、アドレスに与えられたその人力に対する内容を出力
する。ゲートメモリ5では、ゲート選択メモリ6から与
えられた論理演算に従って、ビット対応でその演算を行
なう。その結果Fi、制御部7で指定されたレジスタに
送られ、そこに記憶される。先の4ビツト加算器の場合
には、11→J1前の操作が行なわれ九ことKiる。次
に、II→J1後の操作を行なうために、制御部7Fi
デコードメモリ4に対して出力するレジスタを指定する
とともにデコードメモリとゲート選択メモリにブロック
番号を与える。そして、これを最後の操作を行なうまで
実行し、それが終了したとき、外部に終了信号を送り、
パスバッファよりデータを出力する。
Next, the operation of the general-purpose logic circuit will be explained. When data is supplied from the outside, it is stored in a register that is specified by the control unit 7 through a path buffer 1° multiplexer 2. Next, when a start signal is given to the control unit 7 from the outside, the control unit 7 gives the register to be output to the decode memory 4 to the register set, and the block number to the decode memory 4 and the gate selection memory 6. . The decode memory 4 outputs the contents corresponding to the input given to the address based on the bit pattern in the block. The gate memory 5 performs bitwise operations according to the logical operations given from the gate selection memory 6. The result Fi is sent to the register designated by the control unit 7 and stored there. In the case of the previous 4-bit adder, the operation 11→J1 is performed, resulting in 9 times. Next, in order to perform the operation after II→J1, control section 7Fi
The register to be outputted to the decode memory 4 is designated, and a block number is given to the decode memory and gate selection memory. Then, it executes this until the last operation is performed, and when it is finished, it sends a termination signal to the outside,
Output data from the path buffer.

今までの説明は、簡単にするために、1つの操作が8人
力、4出力の場合について述べたが、これは任意の場合
について実現することができる。
For the sake of simplicity, the explanation so far has been based on the case where one operation requires eight human power and four outputs, but this can be realized in any case.

例えば、32人力、16出力の場合には、8ケのメモリ
素子を使用することによって同様に実現できる。
For example, in the case of 32 human power and 16 outputs, this can be similarly achieved by using 8 memory elements.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は4ビツト全加算器の図、第2図と第3図は汎用
論理回路に書き込むべき4ビツト全加算器のビットパタ
ーンの例を示す図、第4図は汎用論理回路の原理を示す
ブロック図、第5図はゲートを実現する丸めのメモリの
図であシ、第6図は本発明の汎用論理回路の一実施例を
示すブロック図である。 1、パスバッファ 2、マルチプレクサ 3、レジスタセット 4、デコードメモリ 5、ゲートメモリ 6、ゲート選択メモリ 7%制御部 代理人弁理士 白眉  晋 □ f j 記 t 3 口 f 4 図 jl   誹273jり 第5図
Figure 1 is a diagram of a 4-bit full adder, Figures 2 and 3 are diagrams showing examples of bit patterns of a 4-bit full adder to be written to a general-purpose logic circuit, and Figure 4 shows the principle of a general-purpose logic circuit. The block diagram shown in FIG. 5 is a diagram of a rounding memory realizing a gate, and FIG. 6 is a block diagram showing an embodiment of a general-purpose logic circuit of the present invention. 1, Pass buffer 2, Multiplexer 3, Register set 4, Decode memory 5, Gate memory 6, Gate selection memory 7% Control Department Representative Patent Attorney Susumu Hakubi figure

Claims (1)

【特許請求の範囲】[Claims] 論理機能を実現する丸めの手段として、外部と入出力デ
ータのやりとりを行なうためのパスバッファと、パスバ
ッファからのデータと後述するゲートメモリからのデー
タとをマルチプレクサするマルチプレクサと、マルチプ
レクサからのデータを記憶するためのレジスタの集合か
らなるレジスタセットと、レジスタからのデータに基づ
いて、そのデータのデコードを行なうデコードメモリと
、デコードメモリの出力についてビット対応で論理演算
を行なうゲートメモリと、その論理演算の種類を与える
ゲート選択メモリと、制御部内に記憶されている内部情
報によりマルチプロフサからのデータを入力すべきレジ
スタの選択をレジスタセットよりし、デコードメモリへ
の入力となるべきレジスタの選択をレジスタセットより
し、パスバッファとマルチプレクサの制御をし、デコー
ドメモリ及びゲート選択メモリに処理の番号を指定する
とともに外部からの開始信号に基づいて全体のコントロ
ールを行ない、処理の終了に伴々って外部へ終了信号を
送る制御部とで構成されることを特徴とする汎用論理回
路。
As a rounding means for realizing logical functions, there is a path buffer for exchanging input/output data with the outside, a multiplexer for multiplexing data from the path buffer and data from a gate memory (described later), and a multiplexer for multiplexing data from the multiplexer. A register set consisting of a set of registers for storage, a decode memory that decodes data based on the data from the register, a gate memory that performs bitwise logical operations on the output of the decode memory, and the logical operations. The gate selection memory that gives the type of data and the internal information stored in the control unit select the register to which the data from the multiprouser should be input from the register set, and select the register to be input to the decode memory. It controls the path buffer and multiplexer from the register set, specifies the processing number in the decode memory and gate selection memory, and performs overall control based on the start signal from the outside. 1. A general-purpose logic circuit characterized by comprising a control section that sends a termination signal to the outside.
JP57030327A 1982-02-26 1982-02-26 General logical circuit Pending JPS58146949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57030327A JPS58146949A (en) 1982-02-26 1982-02-26 General logical circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57030327A JPS58146949A (en) 1982-02-26 1982-02-26 General logical circuit

Publications (1)

Publication Number Publication Date
JPS58146949A true JPS58146949A (en) 1983-09-01

Family

ID=12300710

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57030327A Pending JPS58146949A (en) 1982-02-26 1982-02-26 General logical circuit

Country Status (1)

Country Link
JP (1) JPS58146949A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6125906U (en) * 1984-07-21 1986-02-15 山崎 慶市郎 drinking water purification equipment
JPS6438828A (en) * 1987-08-05 1989-02-09 Fuji Facom Corp Lsi circuit with multiswitching mode

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6125906U (en) * 1984-07-21 1986-02-15 山崎 慶市郎 drinking water purification equipment
JPH043602Y2 (en) * 1984-12-04 1992-02-04
JPS6438828A (en) * 1987-08-05 1989-02-09 Fuji Facom Corp Lsi circuit with multiswitching mode

Similar Documents

Publication Publication Date Title
US4541071A (en) Dynamic gate array whereby an assembly of gates is simulated by logic operations on variables selected according to the gates
JPS618785A (en) Access control system for storage device
JPS6142040A (en) Logical simulator
EP0747905A1 (en) Memory testing apparatus for microelectronic integrated circuit
JPS6252392B2 (en)
WO1984002222A1 (en) Multiple simultaneous access memory
JPS58146949A (en) General logical circuit
US5155826A (en) Memory paging method and apparatus
US4101967A (en) Single bit logic microprocessor
JPH0256760B2 (en)
US7386650B2 (en) Memory test circuit with data expander
US20090167346A1 (en) Reconfigurable circuit, configuration method and program
JP2001155496A (en) Pattern generating method, pattern generator, and memory test device
JPH0887441A (en) Flash memory access system
JP3201423B2 (en) Memory test equipment
JPH0644051A (en) Microcomputer
JPS63108747A (en) Gate array integrated circuit
JP2769384B2 (en) Arithmetic control IC and information processing device
JP2513219B2 (en) Processor for data processing
JP3107595B2 (en) Memory access control device and memory access control method
JP3557895B2 (en) Memory clear device
JPS62276636A (en) Memory control circuit
JPS592584Y2 (en) Microprogram expansion test equipment
JPS62145339A (en) Interleaving type storage device
JPS6083153A (en) Data memory