JPS6051923A - Synchronizing system - Google Patents

Synchronizing system

Info

Publication number
JPS6051923A
JPS6051923A JP58160029A JP16002983A JPS6051923A JP S6051923 A JPS6051923 A JP S6051923A JP 58160029 A JP58160029 A JP 58160029A JP 16002983 A JP16002983 A JP 16002983A JP S6051923 A JPS6051923 A JP S6051923A
Authority
JP
Japan
Prior art keywords
timing
signal
address
mem
circuit
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
JP58160029A
Other languages
Japanese (ja)
Inventor
Fujio Sekiya
関谷 冨士男
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 JP58160029A priority Critical patent/JPS6051923A/en
Publication of JPS6051923A publication Critical patent/JPS6051923A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To take easily timing by constituting a titled system so that a CPU stops its processing until a prescribed timing signal comes, and executes immediately the next operation when the timing signal is received. CONSTITUTION:A titled system is provided with a register 10 for setting an MEM address to a main storage device MEM by a program, and an MEM address coincidence controlling circuit 15 for monitoring the MEM address when transferring data and sending out an MEM address coincidence signal when said address coincides with the contents of the register 10. A CPU is provided with an MEM address coincidence signal holding register 20 for holding the MEM address coincidence signal, and an instruction processing circuit 21 for processing an instruction. The circuit 21 refers to the register 20, and timing is taken so that unless the MEM address coincidence signal is reported, processing of a synchronizing instruction is stopped until said signal is reported, and when the coincidence signal is reported, the next operation is executed immediately after resetting its signal.

Description

【発明の詳細な説明】 本発明は、同期方式に関し、詳しくは、データ処理装置
の試験機能において、特に、複数装置間の微妙なタイミ
ングの試験を容易にする同期方式%式% 従来、この種の試験において、例えば、装置と中央処理
装置c以下OPUと呼ぶ)間の入出力動作試験として、
装置の入出力動作中にOJ?Uから入出力命令を起動し
て何らかの結果を期待する場合には、該入出力命令を起
動するタイミングを決定する方法として入出力装置の性
能を見計なって計算した時間後にタイミングを設定する
方法を採っていた。しかl−ながら、装置性能が変った
場合及び性能のばらつきにより期待17たタイミングで
入出力命令を起動することが離しいという欠点があった
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a synchronization method, and more particularly, to a synchronization method that facilitates testing of delicate timing between multiple devices in a test function of a data processing device. In the test, for example, as an input/output operation test between the device and the central processing unit (hereinafter referred to as OPU),
OJ during input/output operation of the device? When starting an input/output command from U and expecting some kind of result, a method for determining the timing to start the input/output command is to set the timing after a time calculated based on the performance of the input/output device. was taken. However, there is a drawback that it is difficult to start an input/output command at the expected timing when the device performance changes or due to variations in performance.

更に、装置と主記憶装置間のデータ転送制御を行うチャ
ネルコマンドワードの7機能である該チャネルコマンド
ワードが起動されると割込を発生させるプログラム制御
割込発生の指定を行いかつaチャネルコマンドワード内
の主記憶装置データ転送開始アドレスをタイミングに対
応させておいた状態で入出力命令により該チャネルコマ
ンドワードを起動して、プログラム制御割込が発生した
時点を入出力命令を起動するタイミングと見做す方法も
あるが、割込発生時の割込リセット及び各種状態のりカ
バをプログラムにより行う必要があシ、入出力命令を起
動するタイミングが遅れてしまう欠点があった。
Furthermore, the a channel command word specifies the generation of a program control interrupt that generates an interrupt when the channel command word, which is one of the seven functions of the channel command word that controls data transfer between the device and the main memory, is activated. The channel command word is activated by an input/output instruction with the main memory data transfer start address in the memory corresponding to the timing, and the time when a program control interrupt occurs is considered as the timing to activate the input/output instruction. Although there is a method to do this, it is necessary to reset the interrupt when an interrupt occurs and cover various states by a program, which has the drawback that the timing of starting the input/output command is delayed.

本発明は従来の上記事情に鑑みてなされたものであシ、
従って本発明の目的は、 OPUが装置とタイミングを
取シたい時点で停止し、装置が動作中の所定のタイミン
グをOPUへ報告し、それに応じてOPUが直ちに次の
動作を行わしめるととにより前記欠点を解決し、装置の
動作中に期待するタイミングでCPUから入出力命令を
起動する新規な手段を提供することにある。
The present invention has been made in view of the above-mentioned conventional circumstances.
Therefore, an object of the present invention is to stop the OPU at the point when it wants to exchange timing with the device, report the predetermined timing while the device is operating to the OPU, and have the OPU immediately perform the next operation in response. It is an object of the present invention to solve the above-mentioned drawbacks and to provide a new means for activating input/output commands from the CPU at expected timings during operation of the device.

上記目的を達成する為に、本発明に係る同期方式は、外
部又はプログラムで設定可能なタイミング設定回路と、
前記タイミング設定回路に設定された条件でタイミング
を発生するタイミング発生回路と、中央処理装置に付帯
して前記タイミング発生回路の出力を受信する受信回路
と、同期命令処理回路とを含み構成され、前記同期命令
処理回路は前記受信回路に前記タイミング発生回路の出
力を受信する迄同期命令処理を止めることを特徴とする
In order to achieve the above object, the synchronization method according to the present invention includes a timing setting circuit that can be set externally or by a program,
The timing generating circuit includes a timing generating circuit that generates timing under conditions set in the timing setting circuit, a receiving circuit that is attached to a central processing unit and receives the output of the timing generating circuit, and a synchronization command processing circuit, The synchronous command processing circuit is characterized in that it stops processing the synchronous command until the receiving circuit receives the output of the timing generation circuit.

次に本発明をその好ましい一実施例について図面を参照
して詳細に説明する。
Next, a preferred embodiment of the present invention will be explained in detail with reference to the drawings.

第1図は本発明の一実施例を示すブロック構成図である
。第1図に3いて、本発明に係る同期方式の一実施例は
、プログラムによシ主記憶装置のアドレス(以下MEM
アドレスと呼ぶ)全設定するMFiM ’fドレス設定
レしスタlO及びデータ転送時のMKMアドレスがMF
iMアドレス設定レジスし/θの内容と一致することを
監視し一致するとMFiMアドレス一致信号を送出する
MEMアドレス一致制御回路/3とを有する主記憶装置
MEMと、 MF!Mアドレス一致の信号を保持するM
EMアドレス一致信号保持レジスタJ及び命令を処理す
る命令処理回路2/(同期命令処理回路を含む)を有す
る中央処理装置(2)とから構成される。なお、命令処
理回路コ/は、ロアドレス一致信号保持レジスタ〃を参
照してMEMアドレス一致信号が報告されていれば該信
号をリセットした後に命令実行終了となり、該信号が報
告されていなければ報告される迄停止状態となる機能の
同期命令を処理する。
FIG. 1 is a block diagram showing one embodiment of the present invention. 3 in FIG. 1, one embodiment of the synchronization method according to the present invention is programmed to address the main memory (hereinafter referred to as MEM).
MFiM 'f address setting register lO and MKM address at the time of data transfer are MF
A main memory device MEM having an MEM address matching control circuit /3 that monitors whether the iM address setting register matches the contents of /θ and sends out an MFiM address matching signal when they match, and MF! M that holds the M address match signal
It is composed of a central processing unit (2) having an EM address match signal holding register J and an instruction processing circuit 2/(including a synchronous instruction processing circuit) for processing instructions. Note that the instruction processing circuit refers to the lower address match signal holding register, and if the MEM address match signal is reported, the instruction execution ends after resetting the signal, and if the signal is not reported, the instruction execution ends. Processes synchronization commands for functions that remain in a stopped state until

(3) 第一図に装置JOの試験フローを示す。プログラムは、
装置30と主記憶装置MIIIM間でデータ転送を実行
させ九時に、次に起動すべき入出力命令コを起動するタ
イミングに対応するMルMアドレスを、MEMアドレス
設定レジしタIOへ設定する(10θ及び101 )。
(3) Figure 1 shows the test flow of the device JO. The program is
Data transfer is executed between the device 30 and the main memory MIIIM, and at 9 o'clock, the M address corresponding to the timing to start the next input/output instruction to be started is set in the MEM address setting register IO ( 10θ and 101).

プログ2ムは入出力命令lを起動後(10コ)に、続く
同期命令を実行する( toy )。入出力命令lによ
り装置30と主記憶装置111IiM間でデータ転送が
行われ、主記憶装置Ml!!Mのアクセスアドレスが更
新されると、更新されたアドレスが聰アドレス設定レジ
スタ10の内容と一致することによj5.Ml!!Mア
ドレス一致制御回路15はMFiMアドレス一致信号を
M11iMアドレス一致信号保持レジスタにへ報告する
。アドレス一致信号を待って停止していた同期命令は直
ちに実行終了となシ、続く入出力命令コが起動される(
 toy )。すなわち、入出力命令−の直前の同期命
令がアドレス−欽迄の時間を吸収しかつタイミングを検
出すると極めて短時間に実行終了することによシ、期待
するタイミングを入手することができる。
After activating the input/output command 1 (10 commands), the program 2 executes the following synchronous command (toy). Data transfer is performed between the device 30 and the main storage device 111IiM according to the input/output command l, and the main storage device Ml! ! When the access address of M is updated, the updated address matches the contents of the address setting register 10, so that j5. Ml! ! The M address match control circuit 15 reports the MFiM address match signal to the M11iM address match signal holding register. The synchronous instruction that was stopped waiting for the address match signal will not immediately finish executing, and the following input/output instruction will be started (
toy). That is, the synchronization command immediately preceding the input/output command absorbs the time required to reach the address, and when the timing is detected, the execution is completed in a very short time, so that the expected timing can be obtained.

(グ) 以上本発明をその良好な一実施例について詳細に説明し
たが、それは単なる例示的なものであり、ここで説明さ
れた実施例によってのみ本願発明が限定されるものでは
なく、その範囲が逸脱することなく種々の変形、変更が
容易である。例えば、上記一実施例では、Ml!Mアド
レスによりタイミングを設定したが、 MKMアドレス
に限る必要はない。
(g) Although the present invention has been described in detail with respect to one preferred embodiment thereof, this is merely an example, and the present invention is not limited only by the embodiment described herein, and its scope is limited. It is easy to make various modifications and changes without deviation. For example, in the above embodiment, Ml! Although the timing is set using the M address, it is not necessary to limit it to the MKM address.

例えば、装置がある状態(データ転送開始状態等)に遷
移すると装置自身がタイミング信号をOPUへ送り、C
PUは次の動作を行うようにしてもよい。
For example, when the device transitions to a certain state (data transfer start state, etc.), the device itself sends a timing signal to the OPU, and the
The PU may perform the following operations.

本発明は、以上説明したように、 CPUに同期命令を
設け、 aptyが同期命令を実行すると、所定のタイ
ミング信号が来る迄はOPUが停止し、タイミング信号
を受けると、即、次の動作を実行することにより、タイ
ミングを容易に採ることができるという効果がある。
As explained above, the present invention provides a synchronization command in the CPU, and when apty executes the synchronization command, the OPU stops until a predetermined timing signal arrives, and when it receives the timing signal, it immediately starts the next operation. By executing this, the effect is that the timing can be easily determined.

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

第1図鉱本発明の一実施例を示したブロック構成図、第
一図は本発明の試験フローチャートである。 10・・・MEMアドレス設定レジスタ、15・・・M
IICMアドレス−数制御回路、〃・・・MEMアドレ
ス一致信号保持レジスタ、コバ・・命令処理回路 特許出願人 日本電気株式会社 代 理 人 弁理士 熊谷雄太部 (り)
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 1 is a test flowchart of the present invention. 10...MEM address setting register, 15...M
IICM address-number control circuit, MEM address match signal holding register, instruction processing circuit Patent applicant NEC Corporation Representative Patent attorney Yutabe Kumagai

Claims (1)

【特許請求の範囲】[Claims] 外部又はプログラムで設定可能なタイミング設定回路と
、前記タイミング設定回路に設定された条件でタイミン
グを発生するタイミング発生回路と、中央処理装置に付
帯して前記タイミング発生回路の出力を受信する受信回
路と、同期命令処理回路とを具備し、前記同期命令処理
回路は前記受信回路に前記タイミング発生回路の出力を
受信する迄同期命令処理を止めることを特徴とする同期
方式。
a timing setting circuit that can be set externally or by a program; a timing generation circuit that generates timing according to conditions set in the timing setting circuit; and a receiving circuit that is attached to a central processing unit and receives the output of the timing generation circuit. , and a synchronous command processing circuit, wherein the synchronous command processing circuit stops processing the synchronous command until the receiving circuit receives the output of the timing generation circuit.
JP58160029A 1983-08-30 1983-08-30 Synchronizing system Pending JPS6051923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58160029A JPS6051923A (en) 1983-08-30 1983-08-30 Synchronizing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58160029A JPS6051923A (en) 1983-08-30 1983-08-30 Synchronizing system

Publications (1)

Publication Number Publication Date
JPS6051923A true JPS6051923A (en) 1985-03-23

Family

ID=15706414

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58160029A Pending JPS6051923A (en) 1983-08-30 1983-08-30 Synchronizing system

Country Status (1)

Country Link
JP (1) JPS6051923A (en)

Similar Documents

Publication Publication Date Title
KR950005217B1 (en) Clock signal control method and data processing system
JP2655615B2 (en) Information processing device
JPH0721021A (en) Information processor
US5928348A (en) Method of processing interrupt requests and information processing apparatus using the method
US7945718B2 (en) Microcontroller waveform generation
JPS6051923A (en) Synchronizing system
JPS59133655A (en) Address stop control circuit
JPS5916054A (en) Microprocessor
JPH0573296A (en) Microcomputer
JPH0588933A (en) Parallel processing system with debugging function
JP2844624B2 (en) Data processing device
JPS6114548B2 (en)
JPH04242413A (en) Microcomputer
JPS62117054A (en) Confirmation system for state of input and output device
JP2002215421A (en) Debugging device and breaking method for debugging device
JPS61294552A (en) Control system for processing mode of information processing device
JPS6263345A (en) Program debugging device
JP2001159987A (en) Emulation circuit
JPH02115963A (en) Pre-charge time control circuit
JPS6149260A (en) Channel processing device
JPS58168150A (en) Program counter controlling system with loop counter
JPS61165138A (en) Interruption controlling system
JPH07287608A (en) Dual synchronous controller of programmable controller
JPH04215112A (en) Microcomputer
JPH06242964A (en) Interruption processing system and microcomputer