JPS6011970A - Data processor - Google Patents

Data processor

Info

Publication number
JPS6011970A
JPS6011970A JP58120837A JP12083783A JPS6011970A JP S6011970 A JPS6011970 A JP S6011970A JP 58120837 A JP58120837 A JP 58120837A JP 12083783 A JP12083783 A JP 12083783A JP S6011970 A JPS6011970 A JP S6011970A
Authority
JP
Japan
Prior art keywords
data
input
circuit
control circuit
circuits
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
JP58120837A
Other languages
Japanese (ja)
Inventor
Kazuhiro Iwase
岩瀬 和弘
Masahiro Ichieda
市枝 正博
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP58120837A priority Critical patent/JPS6011970A/en
Publication of JPS6011970A publication Critical patent/JPS6011970A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/40Data acquisition and logging

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To shorten the processing time for input of data by using a data collecting circuit to collect previously only effective data from all interface circuits. CONSTITUTION:The register circuits 5a-5g fetch the effective data input flags, end flags and input data out of corresponding interface circuits 2a-2g by the data input signal delivered from a control circuit 6. Then the contents of circuits 5b-5g and the circuit 5a are shifted successively to register circuits 5a-5f and the circuit 6 respectively by the data shift signal. The circuit 6 memories the input data if the effective data input flags are set. While the data shift signal is delivered to the circuits 5a-5g if the end flags are set in reset states 2a-2f, respectively. The above-mentioned processing is carried out until the input of the end flag in a set state.

Description

【発明の詳細な説明】 この発明は複数のインターフェイス回路が個々に入力し
たデータを1個所に集めるデータ収集回路を備えたデー
タ処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data processing device equipped with a data collection circuit that collects data individually input by a plurality of interface circuits into one place.

一般にプログラム内蔵形のデータ処理装置では、各種の
データを外部機器等から入力し、その入力データをもと
にデータ処理を行なうことが多い。
Generally, in a data processing device with a built-in program, various data are input from an external device, etc., and data processing is often performed based on the input data.

従ってプログラム内蔵形のデータ処理装置内に多数のイ
ンターフェイス回路を有する場合も起こり得る。
Therefore, a data processing device with a built-in program may include a large number of interface circuits.

従来、多数のインターフェイス回路を有する場合におい
てプログラム内蔵形のデータ処理装置は第1図に示す様
な構成であった。ただし第1図は1例としてデータを入
力するインターフェイス回路が7回路の場合を示す。図
において1は中央制御回路、2a〜2gはそれぞれ外部
機器等よりデータを入力するインターフェイス回路、3
は中央制御回路lとインターフェイス回路2a〜2gを
接続するデータ・バスで、データ・ライン、アドレス・
ラインおよび制御線で構成される。4a〜4gはそれぞ
れインターフェイス回路2a〜2gと外部機器等とを接
続するためのデータ・バスであり、外部機器等と各イン
ターフェイス回路2a〜2gとのインターフェイスに必
要なデータ・ラインと制御線で構成される。
Conventionally, a data processing device with a built-in program has a configuration as shown in FIG. 1 when it has a large number of interface circuits. However, FIG. 1 shows, as an example, a case where there are seven interface circuits for inputting data. In the figure, 1 is a central control circuit, 2a to 2g are interface circuits that input data from external devices, etc., and 3
is a data bus that connects the central control circuit l and the interface circuits 2a to 2g, and includes data lines, address lines,
Consists of lines and control lines. 4a to 4g are data buses for connecting the interface circuits 2a to 2g and external devices, respectively, and are composed of data lines and control lines necessary for interfacing the external devices and each interface circuit 2a to 2g. be done.

次に動作について説明する。各インターフェイス回路2
a〜2gはそれぞれデータ・バス4a〜4gを使用して
、外部機器等からデータを入力する。データを入力した
インターフェイス回路2a〜2gはそれを記憶すると同
時に有効データ入力フラグをセットする。
Next, the operation will be explained. Each interface circuit 2
Data buses a to 2g input data from external devices or the like using data buses 4a to 4g, respectively. The interface circuits 2a to 2g that have input the data store it and at the same time set a valid data input flag.

中央制御回路1はプログラムにより動作し、各インター
フェイス回路2a〜2gがそれぞれ持っているアドレス
を指定することにより、任意のインターフェイス回路か
ら、有効データ入力フラグとデータを入力することがで
きる。また有効データ入力フラグとデータはそれぞれ別
のアドレス指定により中央制御回路1が人力する構成を
とる場合が多い。
The central control circuit 1 operates according to a program, and by specifying the addresses that each of the interface circuits 2a to 2g has, it is possible to input a valid data input flag and data from any interface circuit. In many cases, the valid data input flag and data are manually assigned to the central control circuit 1 by specifying separate addresses.

従ってインターフェイス回路2a〜2gから有効データ
を入力する場合中央制御回路1のプログラムは第2図に
示すようなフローチャートとなる。
Therefore, when valid data is input from the interface circuits 2a to 2g, the program of the central control circuit 1 becomes a flowchart as shown in FIG.

図中T F(2a)〜I F(2g)はインターフェイ
ス回路2a〜2gの有効データ入力フラグを意味し、そ
の値が“1”のときは有効、“0”のときは無効である
。すなわち中央制御回路1は有効データのみを読み取る
場合において全てのインターフェイス回路2a〜2gよ
り有効データフラグを入力し、セットされていればその
インターフェイス回路からデータを読み込む。
In the figure, TF(2a) to IF(2g) mean valid data input flags of the interface circuits 2a to 2g, and when the value is "1", it is valid, and when the value is "0", it is invalid. That is, when reading only valid data, the central control circuit 1 inputs valid data flags from all interface circuits 2a to 2g, and if set, reads data from the interface circuits.

従来のプログラム内蔵形のデータ処理装置は以上のよう
に構成されているので、中央制御回路はインターフェイ
ス回路のそれぞれに対し、自効データの有無を確認する
ためにアクセスすることが必要で、また、このことが中
央制御回路が複数のインターフェイス回路から有効デー
タのみを読み込む処理に消費する時間を大きくする原因
となろなどの欠点があった。
Since the conventional data processing device with a built-in program is configured as described above, it is necessary for the central control circuit to access each of the interface circuits in order to confirm the presence or absence of self-effective data. This has the disadvantage that the central control circuit consumes a large amount of time in the process of reading only valid data from the plurality of interface circuits.

この発明は上記のような従来のものの欠点を除去するた
めになされたもので、データ収集回1洛を設け、これに
より全インターフェイス回路からあらかじめ有効データ
のみを収集し一ζおくことにより、中央制御回路がイン
ターフェイス回路のそれぞれに対し、有効データの有無
を確認することなく、すべてのインターフェイス回路か
らの有効データのみを読み込むことができるデータ処理
装置を提供することを目的としている。
This invention was made in order to eliminate the drawbacks of the conventional ones as described above, and by providing one data collection cycle and collecting only valid data from all interface circuits in advance, central control is possible. It is an object of the present invention to provide a data processing device that can read only valid data from all interface circuits without the circuit checking whether valid data exists in each interface circuit.

以下、この発明の一実施例を図について説明する。第3
図はこの発明の一実施例の構成であるが、1例としてデ
ータを入力するインターフェイス回路が7回路の場合を
示す。第3図においてlは中央制御回路、2a〜2gは
それぞれ外部機器等よりデータを入力するインターフェ
イス回路、3は中央制御回路lと後述する制御回路6を
接続するデータ・バスで、データ・ライン、アドレス・
ラインおよび制御線で構成される。4a〜4gはそれぞ
れインターフェイス回路2a〜2gと外部機器等とを接
続するためのデータ・バスであり、外部機器等と各イン
ターフェイス回路2a〜2gとのインターフェイスに必
要なデータ・ラインと制御線で構成される。5a〜5g
はインターフェイス回路2a〜2gよりデータを入力し
、記憶するレジスタ回路、6は各レジスタ回路5a〜5
gに制御信号を出力すると同時に、有効データのみを入
力する制御回路(データ収集回路)である。また、中央
制御回路1は制御回路6が入力した有効データを読み取
ることができる。
An embodiment of the present invention will be described below with reference to the drawings. Third
The figure shows the configuration of an embodiment of the present invention, and shows, as an example, a case where there are seven interface circuits for inputting data. In FIG. 3, l is a central control circuit, 2a to 2g are interface circuits for inputting data from external devices, etc., and 3 is a data bus that connects the central control circuit l and a control circuit 6, which will be described later. address·
Consists of lines and control lines. 4a to 4g are data buses for connecting the interface circuits 2a to 2g and external devices, respectively, and are composed of data lines and control lines necessary for interfacing the external devices and each interface circuit 2a to 2g. be done. 5a~5g
6 is a register circuit that inputs and stores data from the interface circuits 2a to 2g, and 6 is each register circuit 5a to 5.
This is a control circuit (data collection circuit) that outputs a control signal to g and at the same time inputs only valid data. Furthermore, the central control circuit 1 can read valid data input by the control circuit 6.

次に動作について説明する。各インターフェイス回路2
3〜2gはそれぞれデータ・バス4a〜4gを使用して
、外部機器等からデータを入力する。データを入力した
インターフェイス回路23〜2gはそれを記憶すると同
時に、有効データ入力フラグをセットする。またインタ
ーフェイス回路2gはエンド・フラグを富時セット状態
にしておき、他のインターフェイス回路2a〜2fはい
ずれも常時リセット状態にしておく。
Next, the operation will be explained. Each interface circuit 2
Data buses 3 to 2g input data from external devices and the like using data buses 4a to 4g, respectively. The interface circuits 23 to 2g that have input the data store it and at the same time set a valid data input flag. Further, the interface circuit 2g keeps the end flag in the full set state, and the other interface circuits 2a to 2f are always kept in the reset state.

制御回路6はまずデータ入力信号を各レジスタ回路5a
〜5gに出力する。これによりレジスタ回路5a〜5g
はそれぞれに対応するインターフェイス回路2a〜2g
より有効データ入力フラグ。
The control circuit 6 first sends the data input signal to each register circuit 5a.
Output to ~5g. As a result, register circuits 5a to 5g
are the corresponding interface circuits 2a to 2g, respectively.
More valid data input flag.

エンド・フラグおよび入力データを取り込み、記憶する
。次に制御回路6は、データ移動信野をレジスタ回路5
a〜5gに出力する。これによりレジスタ回路5gの記
憶しているフラグおよびデータはレジスタ回路5fに移
され、レジスタ回路5fの記憶しているフラグおよびデ
ータはレジスタ回路5eに移され、このようにして順次
フラグおよびデータが移される。さらにレジスタ回路5
aの記憶しているフラグおよびデータは制御回路6に移
される。制御回路6ば、有効データ入力フラグがセット
状態であれば入力したデータを記憶し、リセット状態で
あれば、入力したデータを記憶せず棄却する。またエン
ド・フラグがリセット状態であれば、データ移動信号を
レジスタ回路5a〜5gに出力する。以上の処理をセン
ト状態のエンド・フラグを入力するまで行なう。セット
状態のエンド・フラグを入力した制御回路6は有効デー
タ入力フラグの状態に従いデータの取り込み、または棄
却の処理を行なった後、データ入力信号をレジスタ回路
5a〜5gに出力する。以上の処理を繰り返し行なうこ
とにより、制御回路6には、インターフェイス回路2a
〜2gから有効データのみを取り込むことができる。
Capture and store end flag and input data. Next, the control circuit 6 transfers the data movement Shinno to the register circuit 5.
Output to a~5g. As a result, the flags and data stored in the register circuit 5g are transferred to the register circuit 5f, and the flags and data stored in the register circuit 5f are transferred to the register circuit 5e. In this way, the flags and data are sequentially transferred. It will be done. Furthermore, register circuit 5
The flag and data stored in a are transferred to the control circuit 6. The control circuit 6 stores the input data if the valid data input flag is in the set state, and discards the input data without storing it if it is in the reset state. Further, if the end flag is in a reset state, a data movement signal is output to register circuits 5a to 5g. The above processing is repeated until the end flag of the cent state is input. The control circuit 6, which has received the end flag in the set state, performs data capture or rejection processing according to the state of the valid data input flag, and then outputs data input signals to the register circuits 5a to 5g. By repeating the above processing, the control circuit 6 includes the interface circuit 2a.
Only valid data can be imported from ~2g.

制御回路6は入力した有効データを順次記憶し、有効デ
ータを保有していることを示すフラグをセットする。中
央制御回路1は制御回路6とインク−フェイスを行ない
、そのフラグがリセット状態になるまで、有効データを
読み取る。この場合、中央制御回路1のプログラムは第
4し1に示すようなフローチャートとなる。図中の■F
は制御回路6が有効データを保有していることを示すフ
ラグで、値が1″のとき有効、“0”のとき無効である
。なお本実施例では、インターフェイス回路2a〜2g
が外部機器等からデータを入力するタイミングと、レジ
スタ回路5a〜5gがインターフェイス回路2a〜2g
からフラグおよびデータを入力するタイミングは非同期
で行なう。また中央制御回路1が制御回路6とインター
フェイスを行なうタイミングと制御回路6がレジスタ回
路5aからフラグとデータを入力するタイミングも非同
期で行なう。
The control circuit 6 sequentially stores the input valid data and sets a flag indicating that it holds valid data. The central control circuit 1 ink-faces the control circuit 6 and reads valid data until its flag is in the reset state. In this case, the program of the central control circuit 1 becomes a flowchart as shown in No. 4-1. ■F in the diagram
is a flag indicating that the control circuit 6 holds valid data, and is valid when the value is 1" and invalid when the value is "0". In this embodiment, the interface circuits 2a to 2g
The register circuits 5a to 5g input data from an external device, etc., and the register circuits 5a to 5g input data from an external device etc.
The timing of inputting flags and data from the input terminals is done asynchronously. Further, the timing at which the central control circuit 1 interfaces with the control circuit 6 and the timing at which the control circuit 6 inputs the flag and data from the register circuit 5a are performed asynchronously.

なお上記実施例ではインターフェイス回路2a〜2gが
外部機器等からデータを入力するタイミングをレジスタ
回lf358〜5gに出力するタイミングと非同期で行
なうようにしたが、これは制御回路6からのデータ入力
信号等と同期させてもよい。同様に中央制御回路lが制
御回路6とインターフェイスを行なうタイミングと制御
回路6がレジスタ回路5aとインターフェイスを行なう
タイミングも非同期であるが、これも割り込み等を使用
し、同期させてもよい。
In the above embodiment, the timing at which the interface circuits 2a to 2g input data from external devices etc. is asynchronous to the timing at which data is output to the register circuits lf358 to 5g. It may be synchronized with Similarly, the timing at which the central control circuit 1 interfaces with the control circuit 6 and the timing at which the control circuit 6 interfaces with the register circuit 5a are asynchronous, but these may also be synchronized using an interrupt or the like.

また、上記実施例では中央制御回路にプログラマブルな
制御回路を用いた場合について説明したが、ハードウェ
アのみで構成した制御回路であってもよく、上記実施例
と同様の効果を奏する。
Further, in the above embodiment, a case has been described in which a programmable control circuit is used as the central control circuit, but a control circuit configured only by hardware may be used, and the same effects as in the above embodiment can be obtained.

以上のように、この発明によれば、データ処理装置にお
いて複数のインターフェイス回路から有効データのみを
1個所に収集するように構成したので、プログラム内蔵
形のデータ処理装置のデータ入力に関する処理時間を短
縮することができ、データ処理装置のより大きなデータ
処理能力を得られる効果がある。
As described above, according to the present invention, the data processing device is configured to collect only valid data from a plurality of interface circuits in one place, thereby reducing the processing time related to data input of the data processing device with a built-in program. This has the effect of increasing the data processing capacity of the data processing device.

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

第1図は従来のプログラム内蔵形のデータ処理装置の構
成図、第2図は従来のプログラム内蔵形のデータ処理装
置の動作説明のためのフローチャート図、第3図はこの
発明の一実施例によるプログラム内蔵形のデータ処理装
置の構成図、第4し1はこの発明の一実施例によるプロ
グラム内蔵形のデータ処理装置の動作説明のためのフロ
ーチャート図である。 l・・・中央制御回路、23〜2g・・・インターフェ
イス回路、5a〜5g・・・レジスタ回路、6・・・制
御回路(データ収集回路)。 なお図中、同一符号は同−又は相当部分を示す。 代理人、 大 岩 増 雄 第1図 第2図 第3図 汁 第4図
FIG. 1 is a block diagram of a conventional data processing device with a built-in program, FIG. 2 is a flowchart for explaining the operation of a conventional data processing device with a built-in program, and FIG. 3 is a diagram according to an embodiment of the present invention. FIG. 4 is a block diagram of a data processing device with a built-in program; FIG. 1... Central control circuit, 23-2g... Interface circuit, 5a-5g... Register circuit, 6... Control circuit (data acquisition circuit). In the drawings, the same reference numerals indicate the same or equivalent parts. Agent: Masuo Oiwa Figure 1 Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] (1) 中央制御回路と、この中央制御回路にデータの
入力を行なうための複数のインターフェイス回路とを備
えたデータ処理装置において、上記各インターフェイス
回路からのデータが入力される複数のレジスタ回路と、
該複数のレジスタ回路を相互に直列に接続するデータ・
バスおよび制御線を介して該すべてのレジスタ回路内の
有効なデータのみを収集しかつ該収集データを上記中央
制御回路に送り込むデータ収集回路とを備えたことを特
徴とするデータ処理装置。
(1) In a data processing device comprising a central control circuit and a plurality of interface circuits for inputting data to the central control circuit, a plurality of register circuits to which data from each of the interface circuits is input;
Data and data that connect the plurality of register circuits in series
A data processing device comprising: a data collection circuit that collects only valid data in all of the register circuits via a bus and a control line, and sends the collected data to the central control circuit.
JP58120837A 1983-06-30 1983-06-30 Data processor Pending JPS6011970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58120837A JPS6011970A (en) 1983-06-30 1983-06-30 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58120837A JPS6011970A (en) 1983-06-30 1983-06-30 Data processor

Publications (1)

Publication Number Publication Date
JPS6011970A true JPS6011970A (en) 1985-01-22

Family

ID=14796182

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58120837A Pending JPS6011970A (en) 1983-06-30 1983-06-30 Data processor

Country Status (1)

Country Link
JP (1) JPS6011970A (en)

Similar Documents

Publication Publication Date Title
EP0316609A2 (en) Integrated circuit with built-in trace data collecting circuit
JPS6011970A (en) Data processor
JP2555171B2 (en) Bit judgment method
RU2002104633A (en) DEVICE FOR DATA COLLECTION AND PROCESSING
KR950010828B1 (en) Programing supporting method in programinable timer
JPS6216691Y2 (en)
JPS6120172A (en) Multi-microprocessor system
JPS6022264A (en) Data processor
JPH0267665A (en) Interface circuit
SU991427A1 (en) Microcomputor memory addressing device
JP2000172307A (en) Method for updating process data collection device
KR920002667B1 (en) Local bus control subunit
CN114661633A (en) Data caching device and method, integrated circuit chip, computing device and board card
JPH01188959A (en) Information history memory
JPS62203246A (en) Collecting system for history information
JPH03240150A (en) Data receiving device
JPH0785234B2 (en) Data transfer method between processors
JPH04192051A (en) Asynchronous serial transmission/reception circuit
JPH0456592A (en) Information collection system
JPS62131356A (en) Peripheral control circuit of microprocessor system
JPH0642232B2 (en) Parallel processor
JPS6126998A (en) Memory device
JPH04329461A (en) Fault processing system
JPH07210496A (en) Data transfer equipment
JPH08106430A (en) Data transfer method