Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS597983B2 - Data guide - Google Patents
[go: Go Back, main page]

JPS597983B2 - Data guide - Google Patents

Data guide

Info

Publication number
JPS597983B2
JPS597983B2 JP13867875A JP13867875A JPS597983B2 JP S597983 B2 JPS597983 B2 JP S597983B2 JP 13867875 A JP13867875 A JP 13867875A JP 13867875 A JP13867875 A JP 13867875A JP S597983 B2 JPS597983 B2 JP S597983B2
Authority
JP
Japan
Prior art keywords
data
data processing
cycle
gate
memory unit
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
Application number
JP13867875A
Other languages
Japanese (ja)
Other versions
JPS5263640A (en
Inventor
勲 岡崎
勁 古井
明男 坂本
良雄 桜井
富秀 瀬尾
法作 中村
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
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP13867875A priority Critical patent/JPS597983B2/en
Publication of JPS5263640A publication Critical patent/JPS5263640A/en
Publication of JPS597983B2 publication Critical patent/JPS597983B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は定められたマシンサイクルタイムを持つデータ
処理装置とそのマシンサイクルタイムとは必ずしも同期
していない外部装置の間のデータの授受を制御するデー
タ処理方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data processing method for controlling the exchange of data between a data processing device having a predetermined machine cycle time and an external device whose machine cycle time is not necessarily synchronized. be.

ここにいう外部装置とはたとえばメモリユニットや入力
装置のように独立のタイミングで動作するユニットや装
置をいう。本発明は上記のようにマシンサイクルタイム
に関係があるので、はじめこの点につき説明しておくと
、データ処理装置の多くは或る定められたマシンサイク
ルを持つていて、1マシンサイクルに1つの基本動作を
行う。
The external device referred to here refers to a unit or device that operates at independent timing, such as a memory unit or an input device. Since the present invention is related to machine cycle time as mentioned above, let me explain this point first.Most data processing devices have a certain set of machine cycles, and one machine cycle per machine cycle. Perform basic movements.

この基本動作は制御記憶ユニットから読み出されたマイ
クロプログラムにより規定される。具体的にはマシンサ
イクルを周期としてくり返すタイミングパルスが作られ
、そのタイミングパルスによつて制御記憶ユニットにユ
ニット番地が送られ、その番地のデータが読み出され、
そのデータで示される動作が実行される。実行中または
実行結果は前記タイミングパルスによる各種レジスタや
フリツプフロツプの状態が変更されることにより基本動
作が実行される。このマシンサイクルは演算サイクルと
も呼ばれている。或る定められたマシンサイクルタイム
を持つデータ処理装置と或る決められたアクセスタイム
を持つメモリユニツトを組み合わせてデータ処理を行う
場合、メモリのアクセスタイムがデータ処理装置のマシ
ンサイクルタイムの整数倍になつていることが望ましい
。そして一般にメモリユニツトのアクセスタイムは一定
に作られている。しかしこのような構成にしてもデータ
処理装置から見たアクセスタイムは一定とはいえない。
それは、メモリユニツトにはデータ処理装置のほかにチ
ヤンネル装置などが接続されていて、データ処理装置か
らの使用要求は、チヤンネル装置などが使用中はそのア
クセスが終了するまで待たされることになるからである
。したがつてこのような構成の従来装置では、あとから
詳しく説明するが、マイク口プログラムが大きくなり又
作成にあたつてメモリユニツトのアクセスタイムとの関
係に深い注意を払わねばならず、またタイミングパルス
の停止によつて種々の不都合を生じていた。したがつて
本発明の目的は、マイクロプログラムが小さくてすみ而
も作成し易くし、またタイミングパルスを停止しなくて
すむデータ処理方式を提供しようとするものである。
This basic operation is defined by a microprogram read from the control storage unit. Specifically, a timing pulse is created that repeats every machine cycle, and the unit address is sent to the control storage unit by the timing pulse, and the data at that address is read out.
The operation indicated by the data is executed. During execution or as a result of execution, basic operations are executed by changing the states of various registers and flip-flops by the timing pulses. This machine cycle is also called an arithmetic cycle. When processing data by combining a data processing device with a certain machine cycle time and a memory unit with a certain access time, the memory access time is an integral multiple of the machine cycle time of the data processing device. It is desirable to be familiar. Generally, the access time of a memory unit is made constant. However, even with such a configuration, the access time seen from the data processing device cannot be said to be constant.
This is because, in addition to the data processing device, a channel device is connected to the memory unit, and if the data processing device is in use, a request for use from the data processing device will have to wait until the access by the channel device is completed. be. Therefore, in conventional devices with such a configuration, as will be explained in detail later, the microphone port program becomes large, and when creating it, careful attention must be paid to the relationship with the access time of the memory unit. Various inconveniences have been caused by stopping the pulse. SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a data processing method that makes it easy to create a small microprogram and eliminates the need to stop timing pulses.

本発明のデータ処理方式は、記憶素子を用いてデータを
格納するメモリユニツトにデータ処理装置から信号が送
られ、この信号に基づいて前記記憶素子からデータが読
出されデータ処理装置に送られるようにしてデータ処理
が行われるデータ処理方式において、読出し指定を主体
とするメモリユニツト起動信号をメモリユニツトに送出
する第51の信号送出手段(データ処理装置内)と、メ
モリユニツト起動信号に基づいて記憶素子から指定され
たデータを読み出しセツトとして記憶する第1の記憶手
段(メモリユニツト内ノと、前述のデータをセツトする
時刻よりも一定時間前に間もなくデータを第1の記憶手
段にセツトします」という予告である応答信号をデータ
処理装置に送出する第2の信号送出手段(メモリユニツ
ト内)と、この応答信号をセツトし記憶しておく第2の
記憶手段(データ処理装置内)と、この第2の記憶手段
に記憶手段が記憶されているか否かの判定を行う判定手
段(データ処理装置内)と、この状態判定の結果応答信
号が記憶されていると判断されたら、そのまま続いて或
いは任意のサイクルの演算のあと或いは任意の時間のあ
と、データ読取りゲート信号を主体とした信号を第1の
記憶手段に送出してこの記憶手段に記憶されているデー
タを読み取るようにしたデータ読取り手段(データ処理
装置内)を含んでいるデータ処理方式である。
In the data processing method of the present invention, a signal is sent from a data processing device to a memory unit that stores data using a storage element, and based on this signal, data is read from the storage element and sent to the data processing device. In a data processing method in which data processing is performed, a 51st signal sending means (within the data processing device) sends a memory unit starting signal mainly for reading instructions to the memory unit; A first storage means (inside the memory unit) that stores the data specified from the read set as a read set, and the data will be set in the first storage means shortly before the time at which the above-mentioned data is set. A second signal sending means (inside the memory unit) for sending out a response signal as a notice to the data processing device, a second storage means (inside the data processing device) for setting and storing this response signal, and a second signal sending means (inside the data processing device) for setting and storing this response signal. determination means (within the data processing device) for determining whether or not the storage means is stored in the storage means of No. 2; after the cycle of calculations or after an arbitrary time, a data reading means ( This is a data processing method that includes (within a data processing device).

上記のデータ処理装置において、第2の記憶手段の状態
を判定して応答信号が記憶されていないと判断されたと
きは、結果的にはデータを読み取ることにはならなくて
もデータ読取りゲート信号の送出と応答信号の記憶の有
無の判定を交互に繰返えすか、或いは応答信号の記憶の
有無の判定のみを繰返すかして、判定の結果応答信号が
記憶されていると判断されたときに至つて前述のデータ
読取り動作を行うようにしたものである。次に図面を参
照して詳細に述べる。
In the above data processing device, when the state of the second storage means is determined and it is determined that the response signal is not stored, the data read gate signal is sent even if the data is not read as a result. When it is determined that the response signal is stored by alternately repeating the sending of the response signal and determining whether the response signal is stored, or by repeating only the determination of whether the response signal is stored. The above-described data reading operation is then performed. Next, a detailed description will be given with reference to the drawings.

第1A図はおよび第1B図は本発明の特徴を明確にする
ために示した従来のデータ処理方式におけるアクセスタ
イムの1例を示した図である。
FIG. 1A and FIG. 1B are diagrams showing an example of access time in a conventional data processing system shown to clarify the features of the present invention.

第1A図において、マシンサイクル2の時刻aでメモリ
ユニツトに読み出し指定のメモリユニツト起動信号を送
出する。データ処理装置内のタイミングパルスは、サイ
クル2の後サイクル3、サイクル4、サイクル5、・・
・・・・と連続して発生する。但しメモリユニツトより
データを読み出すまですることがなくなつたならば、タ
イミングパルスは発生したままでデータ処理装置の実行
動作は停止する。サイクル5の途中時刻bでメモリユニ
ツトからデータが送られて来たとすれば、サイクル5に
は間に合わずサイクル6以後で使われる。サイクル6以
後で使用されるためにはサイクル6の開始時点でデータ
処理装置内のレジスタにデータがセツトされなければな
らない。サイクル6の開始時点でレジスタにセツトする
ためには、サイクル4の終了時点あるいはサイクル5の
開始時点で読み出されたマイクロプログラムによりセツ
トすべきレジスタのゲートが開かなければならない。そ
して実質上のアクセスタイムは2〜5の4サイクルとな
る。しかしこの方法はメモリアクセスタイムが常にたと
えば4サイクルと一定の間はよいが、その数値が異なつ
てくると問題が生じる。すなわちたとえば第1B図に示
すようにサイクル2の時刻aでメモリユニツトに読み出
し指定のメモリユニツト起動信号を送出し、サイクル4
の時刻bでメモリユニツトからデータが送られて来たと
すれば、サイクル4には間に合わずサイクル5以後で処
理されるが、サイクル5以後で処理されるためには第1
A図におけると同じ考え方でサイクル3の終了時点ある
いはサイクル4の開始時点で読み出されたマイクロプロ
グラムによりセツトすべきレジスタのゲートが開かなけ
ればならない。すなわち実質上のアクセスタイムは2〜
4の3サイクルとなる。図示されていないが同様にメモ
リアクセスタイムがサイクル6の時刻bまでかかつた場
合には、サイクル7の開始時点でレジスタにセツトする
ためには先と同じ考え方でサイクル5の終了時点で読み
出されたマイクロプログラムによりセツトすべきレジス
タのゲートが開かなければならず、実質上のアクセスタ
イムは2〜6の5サイクルとなる。この事はデータ処理
装置内のセツトすべきレジスタのゲートを開くべきマイ
クロプログラムをサイクル3の終了時点からサイクル5
の終了時点までくり返し読み出さなければならない欠点
があることを示している。別の言い方をすればメモリア
クセスタイムの最小時間から最大時間までの間常にレジ
スタのゲートを開けるマイクロプログラムを読み出さな
ければならず、したがつて大きなマイクロプログラム必
要とする欠点を有する事である。第1C図は従来のデー
タ処理方式におけるアクセスタイムの他の例を示したも
のである。
In FIG. 1A, at time a of machine cycle 2, a memory unit activation signal designating reading is sent to the memory unit. The timing pulses in the data processing device are cycle 2, cycle 3, cycle 4, cycle 5, etc.
...occurs continuously. However, if there is no longer any need to read data from the memory unit, the timing pulse continues to be generated and the execution operation of the data processing device is stopped. If data is sent from the memory unit at time b in the middle of cycle 5, it will not arrive in time for cycle 5 and will be used after cycle 6. In order to be used after cycle 6, data must be set in a register within the data processing device at the start of cycle 6. In order to set the register at the beginning of cycle 6, the gate of the register to be set must be opened by the microprogram read at the end of cycle 4 or at the beginning of cycle 5. The actual access time is 4 cycles from 2 to 5. However, this method is good as long as the memory access time is always constant, for example, 4 cycles, but problems arise when the value changes. That is, for example, as shown in FIG. 1B, at time a of cycle 2, a memory unit activation signal specifying readout is sent to the memory unit, and in cycle 4,
If data is sent from the memory unit at time b, it will not arrive in time for cycle 4 and will be processed after cycle 5, but in order to be processed after cycle 5, the first
Using the same concept as in Figure A, the gate of the register to be set must be opened by the microprogram read at the end of cycle 3 or the beginning of cycle 4. In other words, the actual access time is 2~
There will be 3 cycles of 4. Although not shown in the figure, if the memory access time takes until time b of cycle 6, in order to set it in the register at the start of cycle 7, read it at the end of cycle 5 using the same concept as before. The gate of the register to be set must be opened by the microprogram executed, and the actual access time is 5 cycles (2 to 6). This means that the microprogram that should open the gates of the registers to be set in the data processing device will start from the end of cycle 3 to cycle 5.
This shows that there is a drawback that the data must be read repeatedly until the end of the process. In other words, it is necessary to read out a microprogram that always opens the gate of the register from the minimum time to the maximum time of the memory access time, which has the disadvantage of requiring a large microprogram. FIG. 1C shows another example of access time in a conventional data processing system.

この方式では、サイクル2の時刻aでメモリユニツトに
読み出し指定のメモリユニツト起動信号を送出してから
一定時間後(図では2つ目のサイクル)あるいは図示し
てないが直ちにタイミングパルスを停止し、メモリユニ
ツトからデータが送られてくる時刻bでタイミングパル
スを再起動するようにしてある。この方式においてはタ
イミングパルスを停止させる必要があるので、メモリア
クセスタイム中にデータ処理装置内の他の回路でタイミ
ングパルスを必要とする場合には不都合となる。またメ
モリアクセスに関係するタイミングパルスのみ停止し他
のタイミングパルスは発生したままにしておく場合は、
メモリアクセスに関係するタイミングパルスと他のタイ
ミングパルスとの間に位相差が生じ、メモリアンサーデ
ータを他のタイミングパルスの回路で使用することが出
来なくなる欠点を有する。第1D図は本発明のデータ処
理方式におけるアクセスタイムの1例の図を示したもの
で、サイクル2の時刻aでメモリユニツトに読み出し指
定を主体とする、メモリユニツト起動信号を送出した後
もタイミングパルスを停止せず、サイクル3、サイクル
4・・・・・・と連続してタイミングパルスを発生する
In this method, the timing pulse is stopped after a certain period of time (the second cycle in the figure) or immediately after sending a memory unit activation signal specifying readout to the memory unit at time a of cycle 2, The timing pulse is restarted at time b when data is sent from the memory unit. In this method, it is necessary to stop the timing pulse, which is inconvenient if other circuits within the data processing device require the timing pulse during the memory access time. Also, if you want to stop only the timing pulses related to memory access and leave other timing pulses generated,
This has the disadvantage that a phase difference occurs between the timing pulse related to memory access and other timing pulses, making it impossible to use the memory answer data in circuits for other timing pulses. FIG. 1D shows an example of the access time in the data processing method of the present invention, and shows that even after the memory unit activation signal, which mainly specifies readout, is sent to the memory unit at time a of cycle 2, the timing remains unchanged. Timing pulses are generated continuously in cycle 3, cycle 4, etc. without stopping the pulse.

そしてメモリユニツトからデータが送られてくるサイク
ル4の時刻bより一定時間tだけ以前すなわちサイクル
4の開始時点でメモリユニツトから応答信号をもらう。
この応答信号はデータ処理装置で受け付けるのみで、何
ら処理装置内のデータ処理に能動的作用はしない。デー
タ処理装置内でメモリアクセス中に行うべき処理が終了
した時あるいはメモリアンサデータを使用する必要が生
じた時は、サイクル4の終了時あるいはサイタル5の開
始時点で、その時点で応答信号があつたことが分れば、
メモリアンサーデータをセツトすべきレジスタのグート
を開けるマイクロプログラムの入つている制御記憶ユニ
ツトのある番地(N)の内容を読み出すことによりただ
ちにメモリユニツトからのデータをデータ処理装置内の
レジスタにセツトできる回路を提供するものである。第
1E図は本発明のデータ処理方式におけるアクセスタイ
ムの更に他の例を示すもので、サイクル2の時刻aでメ
モリユニツトに読み出し指定のメモリユニツト起動信号
を送出した後タイミングパルスを停止することなくサイ
クル3、サイクル4・・・・・・と連続してタイミング
パルスを発生する。そしてメモリユニツトからデータが
送られてくる時刻bより一定時間tだけ前に応答信号を
もらう。この応答信号は第1D図の場合と同じようにデ
ータ処理装置で受け付けるのみで何らデータ処理装置内
のデータ処理に能動的作用はしない。第1E図における
応答信号はサイクル5の終了時点であり、第1D図にお
ける応答信号より2サイクル程長くなつている。この事
はデータ処理装置より見たメモリユニツトのアクセスタ
イムが延びた事を意味する。データ処理装置内でメモリ
アクセス中に行うべき処理が終了した時あるいはメモリ
アンサーデータを使用する必要が生じた時、すなわちサ
イクル4の終了時あるいはサイクル5の開始時点で、メ
モリアンサーデータをセツトすべきレジスタのデータを
開けるマイクロプログラムの入つている制御記憶ユニツ
トのある番地(N)の内容を読み出す。しかしこの時点
では応答信号がないのでメモリユニツトからのアンサー
データをデータ処理装置内のレジスタにセツトする事は
行わず、本発明の実施例で示す回路により再度制御記憶
ユニツトの番地(N)の内容を読み出す。これは応答信
号があるまで自動的に続けられる。そして第1E図に示
すようにサイクル5の終了時、サイクル6の開始時点で
応答信号があればデータ処理装置内のレジスタにサイク
ル6の終了時サイクル7の開始時点でメモリユニツトか
らのアンサーデータをセツトする。なおこの例および第
1D図の例において、メモリユニツトに最初に送る信号
として従来装置に使用されている信号と同じ表現の「読
み出し指定のメモリユニツト起動信号]を用いたが、上
記の説明から明らなように、本発明においては従来の信
号に含まれていた読み出しセツトしたデータをデータ処
理装置に送るための読取りゲート信号は必要ないことに
注意すべきであるoもつとも本発明において従来の信号
をそのまま用いることができるようにすることもできる
。第2図は本発明のデータ処理方式におけるデータ処理
装置を制御するマイクロプログラムの入つている制御記
憶ユニツトの一例を示した図である。アドレス作成10
0の入力はマイクロインストラクシヨンレジスタ(MI
R)103及びレジスタ(REG)101と接続されて
いる。アドレス作成100の出力は信号線200が「O
」の時はMIRlO3のあとの第3A図で説明されるN
A部を出力し、信号線200が「1」の時はREGlO
lを出力する。アドレス作成100の出力は、REGl
Olとの記憶部102に接続して記憶部102の番地と
なる。アドレス作成100で示された番地の内容は記憶
部102より読み出?虎1R103にセツトされる。R
EGlOlとMIRlO3は同一タイミングのI相のパ
ルスでセツトされる。1相のパルスについてはあとの第
6図の説明の所で説明する。
Then, a response signal is received from the memory unit a predetermined time t before time b of cycle 4 when data is sent from the memory unit, that is, at the start of cycle 4.
This response signal is only accepted by the data processing device and does not have any active effect on data processing within the processing device. When the processing to be performed during memory access in the data processing device is completed or when it becomes necessary to use memory answer data, a response signal is generated at the end of cycle 4 or the start of cycle 5. If you know that
A circuit that can immediately set data from a memory unit in a register in a data processing device by reading the contents of address (N) of a control storage unit containing a microprogram that opens the register in which memory answer data is to be set. It provides: FIG. 1E shows still another example of the access time in the data processing method of the present invention, in which the timing pulse is not stopped after the memory unit activation signal designating reading is sent to the memory unit at time a of cycle 2. Timing pulses are generated continuously in cycle 3, cycle 4, and so on. Then, a response signal is received a fixed time t before time b when data is sent from the memory unit. As in the case of FIG. 1D, this response signal is only accepted by the data processing device and does not have any active effect on data processing within the data processing device. The response signal in FIG. 1E is at the end of cycle 5 and is about two cycles longer than the response signal in FIG. 1D. This means that the access time of the memory unit as seen from the data processing device is extended. Memory answer data should be set when the processing to be performed during memory access in the data processing device is completed or when it becomes necessary to use memory answer data, that is, at the end of cycle 4 or at the beginning of cycle 5. The contents of the address (N) of the control storage unit containing the microprogram that opens the data in the register are read. However, since there is no response signal at this point, the answer data from the memory unit is not set in the register in the data processing device, and the contents of address (N) of the control storage unit are read again by the circuit shown in the embodiment of the present invention. Read out. This continues automatically until a response signal is received. As shown in FIG. 1E, if there is a response signal at the end of cycle 5 or the start of cycle 6, the answer data from the memory unit is stored in the register in the data processing device at the end of cycle 6 or the start of cycle 7. Set. In this example and the example shown in Figure 1D, we used the same expression as the signal used in conventional devices as the first signal sent to the memory unit, ``memory unit start signal for specifying readout'', but it is clear from the above explanation. It should be noted that the present invention does not require a read gate signal for sending the read set data to the data processing device, which was included in the conventional signal. It is also possible to use it as is. Figure 2 is a diagram showing an example of a control storage unit containing a microprogram for controlling a data processing device in the data processing system of the present invention. 10
0 input is the microinstruction register (MI
R) 103 and a register (REG) 101. The output of the address creation 100 is that the signal line 200 is
”, the N
When the A part is output and the signal line 200 is "1", REGlO
Output l. The output of address creation 100 is REGl
It is connected to the storage unit 102 with Ol and becomes the address of the storage unit 102. Are the contents of the address indicated in the address creation 100 read from the storage unit 102? It is set to Tiger 1R103. R
EGlOl and MIRlO3 are set by I-phase pulses at the same timing. The one-phase pulse will be explained later in the explanation of FIG. 6.

第3A−1図〜第3A−3図およびこれらに関連した第
3B図〜第3E図は第2図におけるMIRlO3にセツ
トされるマイクロインストラクシヨンの構成および各部
の指示内容をそれぞれ示したものであり、また第4図は
データ処理装置内のメモリユニツト制御回路を示したも
のである。
Figures 3A-1 to 3A-3 and related Figures 3B to 3E respectively show the configuration of the microinstruction set in MIR1O3 in Figure 2 and the contents of instructions for each part. Also, FIG. 4 shows a memory unit control circuit within the data processing device.

第3A1図〜第3A−3図の右端に示されているNA部
は次のマイクロインストラクシヨンのアドレスを示す。
M部は第3D図に示すように「O」ならメモリリクエス
トなし、「1]ならメモリリクエスト有りを示す。W部
は第3E図に示すように「00]なら指定なし、「01
」なら第4図中のIR2Ol指定、[10」なら第4図
中のバツフアーレジスタ(BR)202を指定する。A
C部は第3C図に示された様になつている。0P1部、
0P2部、およびD部については、第3B図に示された
様になつている。
The NA section shown at the right end of FIGS. 3A1 to 3A-3 indicates the address of the next microinstruction.
As shown in Fig. 3D, the M part indicates "O" indicating no memory request, and "1" indicates there is a memory request.The W part indicates "00" indicates no specification, and "01" indicates no specification, as shown in Fig. 3E.
” specifies the IR2Ol in FIG. 4, and “10” specifies the buffer register (BR) 202 in FIG. A
Section C is constructed as shown in FIG. 3C. 0P1 part,
The 0P2 part and the D part are arranged as shown in FIG. 3B.

また第3A−1ないし第3A−3図の左端の400は第
4図のアンドゲート203と第2入力ゲート218とに
接続されている。なお本発明に関係するマイクロインス
トラクシヨンの構成は第3A−1図及び第3A−2図に
示されたとおりである。第3A−3図はデータ処理装置
内でメモリユニツト関係制御以外の制御を行うのに使用
される。もちろん第3A−1図、第3A−2、第3A−
3図の区別が厳密に存在するわけではなく第3A−3図
で第3A−1を、又は第3A−3図で第3A−2図を同
時に実行しても一向にかまわない。本発明を説明するた
め便利上第3A−1図、第3A−2図、第3A−3図は
区別したまでである。第4図のメモリユニツト制御回路
自体の動作については、あとに他の説明と関連して所々
に説明してある。
Further, 400 at the left end in FIGS. 3A-1 to 3A-3 is connected to the AND gate 203 and the second input gate 218 in FIG. The structure of the microinstruction related to the present invention is as shown in FIGS. 3A-1 and 3A-2. FIG. 3A-3 is used to perform control other than memory unit related control within the data processing device. Of course, Figure 3A-1, Figure 3A-2, Figure 3A-
The distinction in FIG. 3 does not strictly exist, and there is no problem even if FIG. 3A-3 and FIG. 3A-1 or FIG. 3A-3 and FIG. 3A-2 are executed simultaneously. For convenience of explaining the present invention, Figures 3A-1, 3A-2, and 3A-3 have been distinguished. The operation of the memory unit control circuit itself of FIG. 4 will be explained at various points later in connection with other explanations.

第5図はメモリユニツト300を示す。FIG. 5 shows a memory unit 300.

メモリユニツトにはデータ処理装置及びチヤンネル装置
等が接続されているが、この図からは省略してある。メ
モリアドレス301はデータ処理装置内の図示していな
いメモリアドレスレジスタの出力であり、書込みデータ
320は記憶素子311にメモリアドレス301で示す
番地に書き込むデータであり、コントロール信号302
はメモリユニツトに対して読み取り動作又は書き込み動
作等を行わしめる指定をする信号であり、これらメモリ
アドレス、書き込みデータ、コントロール信号はいずれ
も必要に応じて図示されていないデータ処理装置より供
給される。メモリユニツト起動信号303は第4図のア
ンドゲート215を通つて送られてきたものである。読
み取りゲート信号304は、第4図の遅延型フリツプフ
ロツプ209の出力であり、制御回路310及びアンド
ゲート313に接続されている。制御回路310はメモ
リユニツト内の各種制御を行う。すなわちデータ処理装
置よりメモリユニツト起動信号303を受けとり、メモ
リアドレス301を記憶素子311に送り、記憶素子3
11からデータが読み出される時刻にレジスタ312の
ゲートを開いてそのデータをレジスタ312にセツトす
る等の制御を行う。アンドゲート313は信号線304
に読取りゲート信号があると、レジスタ312の内容を
信号線307に読み取りデータとして出力する。応答信
号306は制御回路310より出力され、第4図のアン
ドゲート213の第2入力ゲートに接続されている。第
6図はマシンサイクルタイムと、第4図中のゲート又は
フリツプフロツプ等のタイムチヤートを示した図である
。マシンサイクルタイムはI相のパルスから次のI相の
パルスまでの期間を言う。このI相のパルスから次のI
相のパルスまでを4等分し、その各々を順に相のパルス
、相のパルス、相のパルスを呼ぶ。第7A図は第6図の
タイムチヤートに合うマイクロプログラムのタイムチヤ
ートを示したものである。
A data processing device, a channel device, etc. are connected to the memory unit, but these are omitted from this figure. Memory address 301 is the output of a memory address register (not shown) in the data processing device, write data 320 is data to be written to the memory element 311 at the address indicated by memory address 301, and control signal 302
is a signal that instructs the memory unit to perform a read operation, a write operation, etc., and these memory addresses, write data, and control signals are all supplied from a data processing device (not shown) as necessary. Memory unit activation signal 303 is sent through AND gate 215 in FIG. Read gate signal 304 is the output of delay flip-flop 209 of FIG. 4 and is connected to control circuit 310 and AND gate 313. A control circuit 310 performs various controls within the memory unit. That is, it receives the memory unit start signal 303 from the data processing device, sends the memory address 301 to the memory element 311, and then sends the memory address 301 to the memory element 311.
Control is performed such as opening the gate of the register 312 at the time when data is read from the register 11 and setting the data in the register 312. AND gate 313 is signal line 304
When there is a read gate signal at , the contents of the register 312 are outputted to the signal line 307 as read data. The response signal 306 is output from the control circuit 310 and is connected to the second input gate of the AND gate 213 in FIG. FIG. 6 is a diagram showing machine cycle time and time charts of gates, flip-flops, etc. in FIG. 4. Machine cycle time refers to the period from one I-phase pulse to the next I-phase pulse. From this I-phase pulse to the next I
Divide up to the phase pulse into four equal parts, and call each of them, in order, a phase pulse, a phase pulse, and a phase pulse. FIG. 7A shows a time chart of a microprogram that matches the time chart of FIG. 6.

第6図と第7A図のサイクル1,2,3,4,・・・・
・・は同一時刻を示す。第7A図はサイクル1の時刻a
から時刻bまでかかつて第2図中のアドレス作成100
でn番地を作成し、時刻bから時刻cまでかかつてその
内容を記憶部102より読み出すことを示している。読
み出されたデータは時刻cで第2図中のMIRlO3に
セツトされてデータ処理装置内の各種制御に使用される
。また時刻cにおいて第2図のアドレス作成100の出
力をREGlOlにセツトする。サイクル1の時刻cは
サイクル2の時刻aと同一時刻であり、サイクル2にお
いてもサイクル1と同様時刻aから時刻bまでかかつて
X番地を作成し、その内容を時刻cで読み出すことを示
す。以下同様に、サイクル3、サイクル4、サイクル5
・・・・・・と順次マイクロプログラムを読み出してデ
ータ処理装置はデータの処理を実行していくが、詳細に
ついては次の実施例のあとに詳しく説明する。第7B図
は或る特別の場合lこおけるマイクロプログラムのタイ
ムチヤートを示すものであるが、ノ詳細については次の
実施例のあとに説明する。
Cycles 1, 2, 3, 4, etc. in Figures 6 and 7A
... indicates the same time. Figure 7A shows time a of cycle 1.
Address creation 100 in Figure 2 from to time b
It is shown that an address n is created in , and its contents are read from the storage unit 102 from time b to time c. The read data is set in MIRIO3 in FIG. 2 at time c and is used for various controls within the data processing device. Also, at time c, the output of address generation 100 in FIG. 2 is set to REGlOl. Time c of cycle 1 is the same time as time a of cycle 2, and in cycle 2, as in cycle 1, address X is created from time a to time b, and its contents are read at time c. Similarly, cycle 3, cycle 4, cycle 5
The data processing device sequentially reads out the microprograms and executes data processing, which will be explained in detail after the next embodiment. FIG. 7B shows a time chart of a microprogram in a special case, the details of which will be explained after the next embodiment.

次に本発明のデータ処理方式の動作を第2図から第7A
図を参照しながら第4図を中心に説明する。第2図のア
ドレス作成100でn番地を出力したとする。第7A図
のサイクル1でn番地は記憶部102に供給される。記
憶部102のn番地の内容が第7A図のサイクル1の時
刻cでMIRlO3に出力される。出力されたものが第
3A一1図で信号線400が「o」、Wが[00」、M
が[1」、NAがX番地を指しているものとする。Mが
「1]すなわちメモリリクエスト有りとなつているので
第4図の信号線210がイネーブルされる。信号線21
0はリクエスト制御回路250をイネーブルする。リク
エスト制御回路250は前回のメモリリクエストの制御
が終了しているかどうかを制御するものであるが、本発
明には無関係であり単なるスルー回路と考えてよい。こ
のリクエスト制御回路250の出力はアンドゲート21
5の第2入力ゲート及び遅延型フリツプフロツプ(以下
単にFFといい、図には単一の丸で画いてある)206
と接続してある。アンドゲート215の第1入力は相の
パルスであり、リクエスト制御回路250の出力がイネ
ーブルされて、相のパルスが出た時にメモリユニツト起
動信号線303はイネーブルされる。FF2O6はリク
エスト制御回路250の出力がイネーブルされてl相の
パルスが出た時にセツトし、その出力をセツトリセツト
型フリツプフロツプ(以下単にFFといい、図には二重
の丸で画いてある)207に伝える。
Next, the operation of the data processing method of the present invention will be explained in FIGS. 2 to 7A.
The explanation will be centered on FIG. 4 with reference to the drawings. Assume that address n is output in address creation 100 in FIG. In cycle 1 of FIG. 7A, address n is supplied to storage unit 102. The contents of address n of the storage unit 102 are output to the MIRlO3 at time c of cycle 1 in FIG. 7A. The output is shown in Figure 3A-1, where the signal line 400 is "o", W is [00], and M
is [1], and NA points to address X. Since M is "1", that is, there is a memory request, the signal line 210 in FIG. 4 is enabled.Signal line 21
0 enables request control circuit 250. The request control circuit 250 controls whether the control of the previous memory request has been completed, but it is not related to the present invention and can be considered as a mere through circuit. The output of this request control circuit 250 is the AND gate 21
5 second input gate and a delay type flip-flop (hereinafter simply referred to as FF, shown as a single circle in the figure) 206
It is connected to The first input of the AND gate 215 is a phase pulse, and when the output of the request control circuit 250 is enabled and the phase pulse is output, the memory unit activation signal line 303 is enabled. FF2O6 is set when the output of the request control circuit 250 is enabled and an l-phase pulse is output, and the output is sent to a set-reset type flip-flop (hereinafter simply referred to as FF, indicated by a double circle in the figure) 207. tell.

この第4図には遅延型フリツプフロツプとして前記20
6の他に208,209,204があり、セツトリセツ
ト型フリツプフロツプには前記207の他に205,2
01,202がある。FF2O7はその信号を保持する
とともに相のパルスが出たときに遅延型のFF2O8お
よびアンドゲート213の第1入力ゲートに伝える。F
F2O8はFF2O7がセツトされた後のl相のパルス
でセツトされる。アンドゲート213は応答信号306
が来るまで条件が成立せずセツトリセツト型のFF2O
5をセツトすることはない。FF2O8の出力はアンド
ゲ゛一ト211の第2入力ゲートおよびリクエスト制御
回路250に接続されている。アンドゲート211の第
1入力ゲート(古,FF2O5の出力である。FF2O
5は他にリクエスト制御回路250、アンドゲート21
8の第1入力ゲート、アンドゲート211の第1入力ゲ
ートとそれぞれ接続してある。FF2O5の入力はアン
ドゲート2・13の出力である。アンドゲート213の
.第1入カゲ゛一トはFF2O7であつて現在「1」で
あり、第2入力ゲートは信号線306であつて現在メモ
リより応答信号がないので「O」である。したがつてア
ンドゲート213は条件が成立せずFF2O5もセツト
されない。よつてアンドゲート211は、第2入力ゲー
トは208で「1」であるが第1入力ゲートが「o」の
ため、条件が成立しない。アンドゲ゛一ト211の出力
はオアゲ゛一ト212の第2入力ゲートに接続する。オ
アゲート212の第1入力ゲートはりセツト信号セあり
、この信号はこの回路に電源を投入した時等の本回路を
初期設定する場合にのみイネーブルする。すなわち初期
には「1」となつているが、本回路が正常に動作してい
る場合においては「o」である。すなわちオアゲート2
12の条件は成立せず、したがつてFF2O7はセツト
された状態を続ける。メモリユニツト起動信号線303
は第6図でよく分るようにサイクル2の相のパルスで、
第5図のメモリユニツト300中の制御回路310を起
動する。
In this figure, the above-mentioned 20
In addition to 6, there are 208, 209, and 204, and in addition to 207, there are 205 and 204 in the set-reset type flip-flop.
There are 01,202. FF2O7 holds the signal and transmits it to delay type FF2O8 and the first input gate of AND gate 213 when a phase pulse is generated. F
F2O8 is set by the l-phase pulse after FF2O7 is set. AND gate 213 is the response signal 306
The condition is not satisfied until FF2O is set-reset type.
It never sets 5. The output of FF2O8 is connected to the second input gate of AND gate 211 and request control circuit 250. The first input gate of AND gate 211 (old, is the output of FF2O5.FF2O
5 also includes a request control circuit 250 and an AND gate 21.
8 and the first input gate of AND gate 211, respectively. The input of FF2O5 is the output of AND gate 2.13. And Gate 213. The first input gate is FF2O7, which is currently "1", and the second input gate is the signal line 306, which is currently "O" since there is no response signal from the memory. Therefore, the condition of AND gate 213 is not satisfied and FF2O5 is not set. Therefore, in the AND gate 211, the second input gate 208 is "1", but the first input gate is "o", so the condition does not hold. The output of AND gate 211 is connected to the second input gate of OR gate 212 . The first input gate of OR gate 212 has a SET signal set, which is enabled only when initializing the circuit, such as when power is applied to the circuit. That is, initially it is "1", but when this circuit is operating normally, it is "o". i.e. orgate 2
Condition 12 is not satisfied, so FF2O7 continues to be set. Memory unit start signal line 303
As can be clearly seen in Figure 6, is the pulse of the cycle 2 phase,
Control circuit 310 in memory unit 300 in FIG. 5 is activated.

制御回路310はメモリアドレス301を記憶素子31
1に送るとともに、コントロール信号302によつて記
憶素子311に対し読み出し又は書き込みを制御する。
今コントロール信号は読み出し指定とする。また制御回
路310は、読み出し動作を開始した後素子自身の遅れ
で定まる一定時間後に読み出しデータをレジスタ312
にセツトすることができるから、その時刻を予測してそ
の一定時間前に応答信号306をデータ処理装置に送出
する。ここに注意すべきはメモリユニツト起動信号30
3よりこの応答信号306までの時間は一定していない
ことである〇それはメモリユニツトにデータ処理装置以
外にチヤネル装置等が接続されており、チヤネル装置等
が使用中はデータ処理装置からの使用要求は前記チヤネ
ル装置等のアクセスが終了するまで持ち合わせることに
よるためである。この持ち合せ制御は制御回路310に
より行われる。そこで応答信号306が第6図に示すよ
うにサイクル3の中程よりサイクル4の中程にかけてあ
るとすると、応答信号306は第4図のアンドゲート2
13の第2入力ゲートに接続されているので、アンドゲ
ート213の条件が成立し、I相のパルスでFF2O5
をセツトする。アンドゲート213の第1入力ゲートは
FF2O7の出力であつて「1」である。FF2O5の
出力はアンドゲート203の第1入力ゲート、FF2O
5の信号を反転してアンドゲート218の第1入力ゲー
ト、アンドゲート211の第1入力ゲート、及びリクエ
スト制御回路250と接続してある。アンドゲート21
1の第2入カゲ゛一トはFF2O8の出力であり、サイ
クル4の間セツトされているので、アンドゲート211
の条件は成立し、オアゲート212の第2入力ゲートに
入る。オアゲート212の第1入力ゲートはりセツト信
号であつて「o」である。よつて第2入力ゲートによつ
てオアゲート212の出力は発生し、その後の相のパル
スでFF2O7をりセツトする。FF2O7がりセツト
されるとアンドゲート213は以後条件が成立しない。
これは以後の応答信号306を受付けないようにする。
FF2O7がりセツトされたことによりFF2O8も次
のI相のパルスでリセツトされる。したがつてアンドゲ
ート211はこれ以後条件は成立しない。以上のタイム
チヤートは第6図にまとめられているが、この図におい
てFF2O5から207への矢印a−+bはFF2O5
によつてFF2O7がりセツトされることを示す。また
FF2O5はあとに述べるように応答信号306により
セツトされる。故に207がセツトされ続ける時間は応
答信号306があるまでである0次に第7A図を見ると
、さきにも説明したように、サイクル1でアドレス作成
100によつて示されたn番地の内容はサイクル2の最
初でMIRlO3にセツトされる。
The control circuit 310 stores the memory address 301 in the storage element 31.
1 and controls reading or writing to the storage element 311 by the control signal 302.
The control signal is now designated as read. Further, the control circuit 310 transfers the read data to the register 310 after a certain period of time determined by the delay of the element itself after starting the read operation.
Therefore, the time can be predicted and the response signal 306 is sent to the data processing device a certain period of time before that time. What you should pay attention to here is the memory unit activation signal 30.
3, the time until this response signal 306 is not constant. This is because a channel device, etc. is connected to the memory unit in addition to the data processing device, and while the channel device, etc. is in use, the time until this response signal 306 is not constant. This is because the information is held until the access of the channel device etc. is completed. This holding control is performed by the control circuit 310. Therefore, if the response signal 306 is from the middle of cycle 3 to the middle of cycle 4 as shown in FIG.
Since it is connected to the second input gate of FF2O5, the condition of AND gate 213 is satisfied, and the I-phase pulse causes FF2O5 to
Set. The first input gate of the AND gate 213 is the output of FF2O7, which is "1". The output of FF2O5 is the first input gate of AND gate 203, FF2O
5 is inverted and connected to the first input gate of the AND gate 218, the first input gate of the AND gate 211, and the request control circuit 250. and gate 21
The second input gate of 1 is the output of FF2O8 and is set during cycle 4, so the AND gate 211
The condition is satisfied and the second input gate of the OR gate 212 is entered. The first input gate of OR gate 212 is the reset signal, which is "o". Thus, the output of OR gate 212 is generated by the second input gate and resets FF2O7 with the pulse of the subsequent phase. When FF2O7 is reset, the condition of AND gate 213 is no longer satisfied.
This prevents future response signals 306 from being accepted.
Since FF2O7 is reset, FF2O8 is also reset by the next I-phase pulse. Therefore, the condition of the AND gate 211 is no longer satisfied. The above time chart is summarized in Figure 6. In this figure, the arrow a-+b from FF2O5 to 207 is FF2O5
This shows that FF2O7 is reset by FF2O7. Further, FF2O5 is set by a response signal 306 as described later. Therefore, the time that 207 continues to be set is until the response signal 306 is received. Next, looking at FIG. is set to MIRlO3 at the beginning of cycle 2.

セツトされたデータはサイクル2の期間でデータ処理装
置内の各種ゲート、フリツプフロツプ(FF)等を制御
するが、ここからあとについて詳しく説明すると、MI
RlO3にセツトされたデータは第3A−1図で示す構
成になつている。データ処理装置内においてメモリユニ
ツト読み出し中にメモリユニツトとは関係ない仕事があ
る場合には、マイクロプログラムのX番地、x+1番地
、x+2番地が実行されなければならない。よつてn番
地のデータ第3A−1図のNA部はx番地を示し、X番
地のデータのNA部はx+1番地を、x+1番地のデー
タのNA部はx+2番地をそれぞれ示す。X番地からx
+2番地のデータの構成は第3A−3図の様な構成をと
つており、400は「O」である。しかし第7A図のサ
イクル2、サイクル3、サイクル4においてマイクロプ
ログラムX番地、x+1番地、x+2番地のアドレスを
作成し、サイクル3、サイクル4、サイクル5において
データ処理装置内の各種ゲート、フリツプフロツプ等を
制御することにより、データ処理装置内において行うべ
き仕事がなくなつた場合、あるいはメモリユニツトから
のデータを使用する必要が生じた場合は、マイクロプロ
グラムのn+1番地が読み出される。n+1番地のマイ
クロプログラムはサイクル6の開始時点でMIRlO3
にセツトされる。MIRlO3にセツトされたデータは
第3A−2図で示す構成になつている。すなわち400
が「1」であり、W部にメモリユニツトからのデータを
セツトすべきレジスタを指定している。なお前記n+1
番地については必ずn+1番地である必要なく、何番地
であつてもよく、要は第3A−2図の様な構成になつて
いればよい。第4図のアンドゲート218及び203の
第2入力は信号線400を入力としているので信号線4
00が[0」の場合はいずれも条件は成立しない。第7
A図のサイクル6の始めlこはMIRlO3にn+1番
地の内容が読み出される。このn+1番地の内容を示し
た第3A−2図の400は「1」であり、信号線400
をイネーブルする。信号線400は第4図のアンドゲー
ト203の第2入力ゲートと接続してある。アンドゲー
ト203の第1入力ゲートはFF2O5であり、サイク
ル6の始めには第6図よりセツトされているのでアンド
ゲート203は条件が成立しアンドゲート204を次の
相のパルスでセツトする。アンドゲート218の第1入
力はFF2O5を反転したものであり、FF2O5がセ
ツトされておれば、すなわちメモリより応答信号があつ
た場合は、FF2O5が「1」となり218の第1入力
は「0」となる。
The set data controls various gates, flip-flops (FF), etc. in the data processing device during cycle 2.
The data set in RlO3 has the configuration shown in FIG. 3A-1. If there is work unrelated to the memory unit in the data processing device while the memory unit is being read, the microprograms at addresses X, x+1, and x+2 must be executed. Therefore, the NA section of the data at address n indicates address x in FIG. 3A-1, the NA section of the data at address X indicates address x+1, and the NA section of the data at address x+1 indicates address x+2. x from address x
The structure of the data at address +2 is as shown in FIG. 3A-3, where 400 is "O". However, in cycles 2, 3, and 4 of FIG. 7A, addresses of microprograms X, x+1, and x+2 are created, and various gates, flip-flops, etc. in the data processing device are created in cycles 3, 4, and 5. By controlling this, when there is no more work to be done in the data processing device, or when it becomes necessary to use data from the memory unit, address n+1 of the microprogram is read. The microprogram at address n+1 is MIRlO3 at the start of cycle 6.
is set to . The data set in MIRIO3 has the configuration shown in FIG. 3A-2. i.e. 400
is "1", and the register in which the data from the memory unit is to be set is specified in the W section. Note that the n+1
The address does not necessarily have to be the n+1 address, but may be any address, as long as it has the configuration as shown in FIG. 3A-2. The second inputs of AND gates 218 and 203 in FIG.
If 00 is [0], neither condition is satisfied. 7th
At the beginning of cycle 6 in Figure A, the contents of address n+1 are read to MIRIO3. 400 in FIG. 3A-2 showing the contents of this address n+1 is "1", and the signal line 400
enable. Signal line 400 is connected to the second input gate of AND gate 203 in FIG. The first input gate of the AND gate 203 is FF2O5, which is set as shown in FIG. 6 at the beginning of cycle 6, so the condition of the AND gate 203 is met and the AND gate 204 is set by the pulse of the next phase. The first input of AND gate 218 is an inversion of FF2O5, and if FF2O5 is set, that is, when a response signal is received from the memory, FF2O5 becomes "1" and the first input of 218 becomes "0". becomes.

よつて信号線200は「0]のままであり、n+1番地
のデータすなわち第3A−2図のNA部で示されるアド
レスがアドレス作成100の出力となり、データ処理装
置は先へ進んでいく。FF2O4がセツトされると、オ
アゲート214の第2入力ゲートをイネーブルする。オ
アゲート214の第1入力ゲートはリセツト信号であり
これは「o」である。よつてオアゲート214は第2入
力ゲートにより条件が成立し、FF2O5を次の相のパ
ルスでりセツトする。この様子は第6図の204から2
05への矢印C→Dで示してある。FF2O4はまたI
相のパルスでFF2O9をセツトする。FF2O9がセ
ツトされると信号線304をイネーブルする。信号線3
04は第5図のメモリユニツトへの読み取りゲート信号
となり、メモリユニツトのレジスタ312の内容を信号
線307に出力する。信号線307は第4図のアンドゲ
ート216と217の第2入力ゲートに接続されている
。一方アンドゲート216及び217の第1入力ゲート
は204と接続されている。第3A−2図のW部、くわ
しくいうならば第3A−2図が読み出された第2図のM
IRlO3のW部は、第4図のFF23O及び231を
セツト又はりセツトする。FF23O又.は231のデ
ータはデコーダー232によりデコードされて第3E図
の様に解釈され、IR指定の場合は信号線233をイネ
ーブルする。BR指定の場合は信号線234をイネーブ
ルする。信号線233はアンドゲート216の第3入力
ゲート、信号線234はアンドゲート217の第3入力
ゲートにそれぞれ接続されている。よつて第3A一2図
のデータが読み出されFF2O4がセツトされたことに
より、アンドゲート216又は217の条件が成立し、
IR2Ol又はBR2O2に第5図のメモリユニツト3
00からのデータがセツトされる。これらのタイムチヤ
ートもまた第6図に示されている。第7B図はデータ処
理装置内においてメモリユニツト読み出し中に行うべき
仕事がない場合、あるいは次のサイクルでメモリユニツ
トからのデータを使用する場合のタイムチヤートを示す
Therefore, the signal line 200 remains at "0", and the data at address n+1, that is, the address indicated by the NA part in FIG. 3A-2, becomes the output of the address generator 100, and the data processing device proceeds.FF2O4 When set, it enables the second input gate of OR gate 214. The first input gate of OR gate 214 is the reset signal, which is "o". Therefore, the condition of the OR gate 214 is satisfied by the second input gate, and FF2O5 is reset by the pulse of the next phase. This situation can be seen from 204 to 2 in Figure 6.
It is indicated by an arrow C→D pointing to 05. FF2O4 is also I
Set FF2O9 with phase pulse. When FF2O9 is set, signal line 304 is enabled. Signal line 3
04 is a read gate signal to the memory unit in FIG. 5, and outputs the contents of the register 312 of the memory unit to the signal line 307. Signal line 307 is connected to the second input gate of AND gates 216 and 217 in FIG. On the other hand, the first input gates of AND gates 216 and 217 are connected to 204. Part W in Figure 3A-2, more specifically, M in Figure 2 from which Figure 3A-2 was read out.
The W portion of IRlO3 sets or resets FFs 23O and 231 in FIG. FF23O again. The data in 231 is decoded by a decoder 232 and interpreted as shown in FIG. 3E, and in the case of IR designation, the signal line 233 is enabled. In the case of BR designation, the signal line 234 is enabled. The signal line 233 is connected to the third input gate of the AND gate 216, and the signal line 234 is connected to the third input gate of the AND gate 217. Therefore, since the data in FIG. 3A-2 is read and FF2O4 is set, the condition of AND gate 216 or 217 is satisfied,
Insert memory unit 3 in Figure 5 into IR2Ol or BR2O2.
Data from 00 is set. These time charts are also shown in FIG. FIG. 7B shows a time chart when there is no work to be done within the data processing device during a memory unit read, or when data from the memory unit is used in the next cycle.

サイクル1において第2図の記憶部102にn番地が指
定され、サイクル2の初めに第3A−1図がMIRlO
3に読み出される。第3A−1図の構成におけるマイク
ロプログラムの内容は、前記の場合と異なつてNA部が
n+1番地を示していることであり、他は同じである。
すなわち400が「o」、Wが「00」、Mが「1」で
ある。Mが「1」であるのでメモリリクエスト有りとい
うことになり、よつて第4の信号線210がイネーブル
される。信号線210はリクエスト制御回路250をイ
ネーブルする。以下第4図の動作は前記説明した第6図
のタイムチヤートの様に行われる。第5図のメモリユニ
ツト300からの応答信号306の返送されるタイミン
グも第6図と同様サイクル3の中程よりサイクル4の中
程とする。サイクル2においては第3A−1図の400
は「O」であるから、第4図のアンドゲート218の条
件は成立せず、信号線200は「O」である。信号線2
00が[0」であると、第2図のアドレス作成100は
MIRlO3のNA部を出力する。この場合NA部はn
+1番地を指定している。サイクル2においてn+1番
地が指定され、第7B図のサイクル3の初めに第3A−
2図がMIRlO3に読み出される。第3A−2図の4
00は「1」となつており、信号線400をイネーブル
する。信号線400は第4図のアンドゲート203及び
218に接続されている。アンドゲート218の第1入
力はFF2O5の反転信号である。サイクル3の初めに
おいては、第6図よりFF2O5はセツトされていない
ことが分る。FF2O5がセツトされていない時、すな
わちメモリより応答信号がない場合は、FF2O5は「
O」であるからアンドゲート218の第1入力ゲートは
FF2O5の反転で[1」となる。今信号線400は「
1」であるからアンドゲート218の条件が成立し、信
号線200は「1」となる。信号線200が「1」とな
るとアドレス作成100はサイクル3の初めにおいてR
EGlOlの内容を記憶部102に送る。REGlOl
はサイクル3においてはn+1番地を指示するデータが
入つており、再度n+1番地のデータがMIRlO3に
読み出される。これは第7B図においてサイクル3でア
ドレス作成100の出力がn+1で示されている事によ
り理解できる。n+1番地のデータは第3A−2図のデ
ータであるから、400は「1」となつており、再度信
号線400をイネーブルする。そして再度アンドゲート
218の条件が確められる。これはメモリユニツト30
0から応答信号があるまで自動的に続けられる。当然の
事ながらアンドゲート211はFF2O5がセツトされ
ない限り条件が成立せず、オアゲート212をイネーブ
ルしない。よつてFF2O7および208はセツトされ
たままの状態を保つ。同様にアンドゲート203も条件
が成立せず、したがつてFF2O4はセツトされないで
いる。サイクル3の中程よりサイクル4の中程にかけて
応答信号306があると、次のI相のパルスでFF2O
5がセツトされる。
In cycle 1, address n is specified in the storage unit 102 in FIG. 2, and at the beginning of cycle 2, the address in FIG.
3. The contents of the microprogram in the configuration shown in FIG. 3A-1 differ from the previous case in that the NA section indicates address n+1, but the rest is the same.
That is, 400 is "o", W is "00", and M is "1". Since M is "1", it means that there is a memory request, and therefore, the fourth signal line 210 is enabled. Signal line 210 enables request control circuit 250. Hereinafter, the operation shown in FIG. 4 is performed in the same manner as the time chart shown in FIG. 6 described above. The timing at which the response signal 306 is returned from the memory unit 300 in FIG. 5 is also set from the middle of cycle 3 to the middle of cycle 4, as in FIG. In cycle 2, 400 in Figure 3A-1
is "O", the condition of the AND gate 218 in FIG. 4 is not satisfied, and the signal line 200 is "O". Signal line 2
If 00 is [0], the address generator 100 of FIG. 2 outputs the NA portion of MIRlO3. In this case, the NA part is n
+1 address is specified. Address n+1 is specified in cycle 2, and address 3A- is specified at the beginning of cycle 3 in FIG. 7B.
2 is read out to MIRlO3. 4 in Figure 3A-2
00 is “1” and enables the signal line 400. Signal line 400 is connected to AND gates 203 and 218 in FIG. The first input of AND gate 218 is the inverted signal of FF2O5. At the beginning of cycle 3, it can be seen from FIG. 6 that FF2O5 is not set. When FF2O5 is not set, that is, when there is no response signal from the memory, FF2O5 becomes "
Since the first input gate of the AND gate 218 becomes [1] due to the inversion of FF2O5. Now the signal line 400 is “
Since the signal is "1", the condition of the AND gate 218 is satisfied, and the signal line 200 becomes "1". When the signal line 200 becomes "1", the address creation 100 is R at the beginning of cycle 3.
The contents of EGlOl are sent to the storage unit 102. REGlOl
In cycle 3, data indicating address n+1 is contained, and the data at address n+1 is read out to MIRlO3 again. This can be understood by the fact that the output of address creation 100 in cycle 3 is shown as n+1 in FIG. 7B. Since the data at address n+1 is the data shown in FIG. 3A-2, 400 is "1" and the signal line 400 is enabled again. Then, the conditions of the AND gate 218 are checked again. This is memory unit 30
It continues automatically from 0 until there is a response signal. Naturally, unless FF2O5 is set, the AND gate 211 does not satisfy the condition and does not enable the OR gate 212. Therefore, FF2O7 and 208 remain set. Similarly, the condition for AND gate 203 is not satisfied, so FF2O4 is not set. If there is a response signal 306 from the middle of cycle 3 to the middle of cycle 4, FF2O is activated by the next I-phase pulse.
5 is set.

アンドゲート218の第1入力ゲートは205を反転し
たものであるため、アンドゲート218は成立せずした
がつて信号線200をイネーブルしない。信号線200
が「0」であると第2図のアドレス作成100はMIR
lO3のNA部すなわち第3A−2図のNA部をその出
力とする。第3A−2図のNA部がX+3番地を指定し
ているとx+3番地がアドレス作成100の出力となる
。これは第7B図のサイタル4におけるアドレス100
の出力がx+3番地となつていることにより示される。
これら第7B図の動作は、n+1番地における制御記憶
ユニツトのデータはその時にメモリ応答信号306があ
ろうがなかろうが同一のものが可能であつてメモリユニ
ツトのアクセスタイムを意識せずにマイクロプログラム
を作成することが出来ることを示している。以上説明し
たように、本発明によれば次のような利点が得られる。
Since the first input gate of AND gate 218 is the inverse of 205, AND gate 218 fails and therefore does not enable signal line 200. signal line 200
is "0", the address creation 100 in FIG.
The NA part of lO3, ie, the NA part in FIG. 3A-2, is its output. If the NA part in FIG. 3A-2 specifies address X+3, address x+3 will be the output of address creation 100. This is address 100 at site 4 in Figure 7B.
This is shown by the output being at address x+3.
The operations shown in FIG. 7B are such that the data in the control storage unit at address n+1 can be the same whether or not there is a memory response signal 306 at that time, and the microprogram can be executed without being aware of the access time of the memory unit. This shows that it is possible to create . As explained above, according to the present invention, the following advantages can be obtained.

すなわちレジスタのゲートを開けるマイクロプログラム
の読出しをメモリアクセスタイムの最小時間から最大時
間まで同一構成のマイクロプログラムを用意し実行する
ような必要がないこと、すなわちマイクロプログラムが
少なくて済み、またタイミングパルスの停止を必要とし
ないところからそのタイミングパルスを使用する他の回
路を妨害することがなく、更にマイクロプログラムの作
成時にメモリユニツトのアクセスタイムを全く意識しな
くてすむ。なお更に他の利点としてマイクロプログラム
を任意の時間連続して実行しても或いは1語づつ区切つ
て実行しても、メモリアクセスを円滑に行うことが可能
となる。
In other words, there is no need to prepare and execute a microprogram with the same configuration from the minimum memory access time to the maximum memory access time when reading a microprogram that opens a register gate. There is no need to disturb other circuits that use the timing pulse since it does not require stopping, and furthermore, there is no need to be aware of the access time of the memory unit when creating a microprogram. Furthermore, another advantage is that memory access can be performed smoothly even if the microprogram is executed continuously for an arbitrary period of time or executed word by word.

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

第1A図、第1B図、第1C図は従来方法のアクセスタ
イムを示す図、第1D図、第1E図は本発明のアクセス
タイムを示す図、以下すべて本発明に関するもので、第
2図は制御記憶ユニツトの一例を示すプロツク図、第3
A−1図、第3A一2図、第3A−3図はマイクロプロ
グラムの構成を示す図、第3B図、第3C図、第3D図
、第3E図は第3A−1図、第3A−2図、第3A−3
図中の各部の指示内容をそれぞれ示す図、第4図はデー
タ処理装置内のメモリユニツト制御回路の一例を示した
図、第5図はメモリユニツトの一例を示した図、第6図
は第4図中のゲートおよびフリツプフロツプのタイムチ
ヤートを示した図、第7A図、第7B図はマイクロプロ
グラムのアドレスとそのデータのタイムチヤートを2つ
の例についてそれぞれ示した図である。 記号の説明:1〜8はサイクルの番号、100はアドレ
ス作成、101はレジスタ(REG)、102は記臆部
、103はマイクロインストラクシヨンレジスタ(MI
R)、200は信号線、201はインストラクシヨンレ
ジスタ(R)、202はバツフアレジスタ(BR)、2
10は信号線、250はリクエスト制御回路、300は
メモリユニツト、301はメモリアドレス、302はコ
ントロール信号、303はメモリユニツト起動信号、3
04は読取りゲート信号、306は応答信号、307は
読取りデータ、310は制御回路、311は記憶素子、
312はレジスタを示す。
FIGS. 1A, 1B, and 1C are diagrams showing the access time of the conventional method, and FIGS. 1D and 1E are diagrams showing the access time of the present invention. The following are all related to the present invention, and FIG. Block diagram illustrating an example of a control storage unit, Part 3
Figure A-1, Figure 3A-2, and Figure 3A-3 are diagrams showing the structure of the microprogram, Figures 3B, Figure 3C, Figure 3D, and Figure 3E are Figures 3A-1 and 3A-3. Figure 2, 3A-3
4 is a diagram showing an example of a memory unit control circuit in a data processing device, FIG. 5 is a diagram showing an example of a memory unit, and FIG. 6 is a diagram showing an example of a memory unit control circuit. FIG. 4 shows time charts of gates and flip-flops, and FIGS. 7A and 7B show time charts of microprogram addresses and their data in two examples, respectively. Explanation of symbols: 1 to 8 are cycle numbers, 100 is address creation, 101 is a register (REG), 102 is a memory section, 103 is a microinstruction register (MI
R), 200 is a signal line, 201 is an instruction register (R), 202 is a buffer register (BR), 2
10 is a signal line, 250 is a request control circuit, 300 is a memory unit, 301 is a memory address, 302 is a control signal, 303 is a memory unit activation signal, 3
04 is a read gate signal, 306 is a response signal, 307 is read data, 310 is a control circuit, 311 is a storage element,
312 indicates a register.

Claims (1)

【特許請求の範囲】[Claims] 1 記憶素子を用いてデータを格納するメモリユニット
にデータ処理装置から信号が送られ、この信号に基づき
前記記憶素子からデータが読み出され前記データ処理装
置に送られるようにしてデータ処理が行われるデータ処
理方式において、前記データ処理装置に設けられ、前記
メモリユニットにメモリユニット起動信号を送出する第
1の信号送出手段と、前記メモリユニットに設けられ、
前記メモリユニット起動信号に基づき前記記憶素子から
データを読み出してセットし記憶する第1の記憶手段と
、前記メモリユニットに設けられ、前記データをセット
するより一定時間前に、前記セットすることを予告する
応答信号を前記データ処理装置に送出する第2の信号送
出手段と、前記データ処理装置に設けられ、前記応答信
号をセットし記憶する第2の記憶手段と、前記データ処
理装置は設けられ、前記第2の記憶手段に前記応答信号
が記憶されているか否かの判定を行う判定手段と、前記
データ処理装置に設けられ、前記判定により前記応答信
号が記憶されていると判定されたあと、データ読取りゲ
ート信号を前記第1の記憶手段に送出してこの記憶手段
に記憶されているデータを読み取るデータ読取り手段を
含むことを特徴とするデータ処理方式。
1 A signal is sent from a data processing device to a memory unit that stores data using a storage element, and based on this signal, data is read from the storage element and sent to the data processing device, thereby performing data processing. In the data processing method, first signal sending means is provided in the data processing device and sends a memory unit activation signal to the memory unit, and a first signal sending means is provided in the memory unit,
a first storage means for reading, setting, and storing data from the storage element based on the memory unit activation signal; and a first storage means provided in the memory unit to give advance notice that the data will be set a certain period of time before the data is set. a second signal sending means for sending a response signal to the data processing device; a second storage means provided in the data processing device for setting and storing the response signal; a determining means for determining whether or not the response signal is stored in the second storage means; provided in the data processing device, after the determination determines that the response signal is stored; A data processing system characterized by comprising a data reading means for sending a data reading gate signal to the first storage means and reading data stored in the first storage means.
JP13867875A 1975-11-20 1975-11-20 Data guide Expired JPS597983B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13867875A JPS597983B2 (en) 1975-11-20 1975-11-20 Data guide

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13867875A JPS597983B2 (en) 1975-11-20 1975-11-20 Data guide

Publications (2)

Publication Number Publication Date
JPS5263640A JPS5263640A (en) 1977-05-26
JPS597983B2 true JPS597983B2 (en) 1984-02-22

Family

ID=15227537

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13867875A Expired JPS597983B2 (en) 1975-11-20 1975-11-20 Data guide

Country Status (1)

Country Link
JP (1) JPS597983B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0082903B1 (en) * 1981-12-29 1987-05-13 International Business Machines Corporation Control unit connectable to a pair of memories having different speeds

Also Published As

Publication number Publication date
JPS5263640A (en) 1977-05-26

Similar Documents

Publication Publication Date Title
US4870562A (en) Microcomputer capable of accessing internal memory at a desired variable access time
US4209839A (en) Shared synchronous memory multiprocessing arrangement
JPS6239780B2 (en)
JPS5914840B2 (en) Pattern generator for semiconductor memory testing
JPH0346850B2 (en)
JPH03204737A (en) Debug circuit of signal processing processor
JP2548428B2 (en) Timing generator
JPS5911921B2 (en) numerical control device
JPS597983B2 (en) Data guide
JPH051504B2 (en)
JPS6232812B2 (en)
JP2758624B2 (en) Speed control method of micro program
JPS6146552A (en) Information processor
JP3255429B2 (en) Memory interface circuit
JP2544015B2 (en) Micro program processor
JP2912090B2 (en) Time slot interchange circuit
JPH0561660B2 (en)
JPH0445862B2 (en)
JPS62209650A (en) Memory access system
JPS6218933B2 (en)
JPH0158528B2 (en)
JPH0218746B2 (en)
JPH0738156B2 (en) Micro command controller
JPS6395540A (en) Memory interface circuit
JPH0365735A (en) Vicarious execution system for diagnosis processing