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
JPS6134181B2 - - Google Patents
[go: Go Back, main page]

JPS6134181B2 - - Google Patents

Info

Publication number
JPS6134181B2
JPS6134181B2 JP52140509A JP14050977A JPS6134181B2 JP S6134181 B2 JPS6134181 B2 JP S6134181B2 JP 52140509 A JP52140509 A JP 52140509A JP 14050977 A JP14050977 A JP 14050977A JP S6134181 B2 JPS6134181 B2 JP S6134181B2
Authority
JP
Japan
Prior art keywords
input
processing
program
buffer memory
information
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
JP52140509A
Other languages
Japanese (ja)
Other versions
JPS5472643A (en
Inventor
Tsutomu Hosokawa
Kenji Inoe
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 JP14050977A priority Critical patent/JPS5472643A/en
Publication of JPS5472643A publication Critical patent/JPS5472643A/en
Publication of JPS6134181B2 publication Critical patent/JPS6134181B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】 この発明はプログラム制御される演算回路にお
ける二つ以上の非同期な関係にある情報を同時に
実時間処理する場合の異速度多入力処理装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a multi-input processing device at different speeds for simultaneously processing two or more pieces of asynchronous information in a program-controlled arithmetic circuit in real time.

プログラム制御される演算回路(特に、マイク
ロプロセツサ回路)において、二つ以上の非同期
な関係にある入力情報を処理する方法として割込
み方式が一般的に考えられる。この方式では、演
算回路の演算周期(プログラム周期)を上記二つ
以上の情報の内の任意な一つに同期させ、その他
の入力情報に関しては、その入力情報が入つた時
点で割込み要求を演算回路に出し、割込みによつ
て入力情報の処理を行なうものである。従つて、
割込み情報の処理がすぐにできるという利点はあ
るが、割込み処理用のハードウエア及び任意の時
点での割込みを可能とするためのプログラム上の
配慮が必要であり、複雑となる。一方、従来より
異速度信号の多重化にはスタツフイング方式が考
えられており、この方式はPCMの多様化等に使
われている。
In program-controlled arithmetic circuits (particularly microprocessor circuits), an interrupt method is generally considered as a method for processing two or more pieces of asynchronous input information. In this method, the calculation cycle (program cycle) of the calculation circuit is synchronized with any one of the above two or more pieces of information, and for other input information, an interrupt request is calculated when that input information is received. The input information is processed by interrupts. Therefore,
Although there is an advantage that interrupt information can be processed immediately, it is complicated because it requires hardware for interrupt processing and consideration in programming to enable interrupts at arbitrary times. On the other hand, a stuffing method has been considered for multiplexing signals of different speeds, and this method is used for diversifying PCM, etc.

本発明の目的はプログラム制御される演算回路
(マイクロプロセツサ等)を利用して入力情報の
速度が異なる二つ以上の信号を同時に実時間処理
する場合にその速度のずれを容易に補償する方法
として従来のスタツフイング方をプログラム制御
される演算回路の中に組み入れた異速度多入力処
理装置を提供することにある。
An object of the present invention is to easily compensate for speed differences when two or more signals having different speeds of input information are simultaneously processed in real time using a program-controlled arithmetic circuit (microprocessor, etc.). Another object of the present invention is to provide a multi-input processing device with different speeds in which a conventional stuffing method is incorporated into a program-controlled arithmetic circuit.

次に図面を参照して本発明を詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

まず、本発明による速度の異なる二つの入力を
実時間で同時に処理する場合の一実施例を第1図
に示す。参照数字5,6はそれぞれ入力A,Bの
入力端子(互いに入力速度が異なる)であり、プ
ログラム記憶素子2はROM(読出し専用メモ
リ)により構成され、演算回路1はマイクロプロ
セツサによつて構成されている。このROM2に
は入力Aの処理プログラムおよび入力Bの処理プ
ログラムが記憶され、入力Aの処理プログラムの
実行周期は入力Aの入力速度に同期している。従
つて、演算回路1の演算周期は入力Aの入力速度
と同期しており、入力Aからの情報は過不足なく
処理され、その結果は出力端子10へ出力され
る。一方、入力Bの情報は一度バツフアメモリ3
に蓄えられる。また参照数字4はバツフアメモリ
であり、結線7および9はそれぞれバツフアメモ
リ3,4の読出しクロツクおよび書込みクロツク
である。バツフアメモリ4の出力は出力端子11
へ出力される。バツフアメモリ3は結線8によつ
てメモリ中の情報の有無を演算回路1に知らせ
る。この結線8の信号により演算回路1は第2図
のフローチヤートに従つて入力Bの情報を処理す
る。
First, FIG. 1 shows an embodiment in which two inputs having different speeds are simultaneously processed in real time according to the present invention. Reference numerals 5 and 6 are input terminals for inputs A and B (each having different input speeds), the program storage element 2 is constituted by a ROM (read-only memory), and the arithmetic circuit 1 is constituted by a microprocessor. has been done. This ROM 2 stores an input A processing program and an input B processing program, and the execution cycle of the input A processing program is synchronized with the input speed of input A. Therefore, the calculation period of the calculation circuit 1 is synchronized with the input speed of the input A, and the information from the input A is processed without excess or deficiency, and the result is output to the output terminal 10. On the other hand, the information of input B is once buffered in buffer memory 3.
is stored in Reference numeral 4 is a buffer memory, and connections 7 and 9 are the read and write clocks for the buffer memories 3 and 4, respectively. The output of buffer memory 4 is output terminal 11
Output to. The buffer memory 3 notifies the arithmetic circuit 1 through a connection 8 of the presence or absence of information in the memory. The signal on connection 8 causes arithmetic circuit 1 to process information on input B according to the flowchart shown in FIG.

第2図のフローチヤートにおいて、入力Aが必
要とする実行処理時間内に入力Aの処理プログラ
ムは一回行なわれる。一方、入力Bの処理は、バ
ツフアメモリ3の中の情報の有無を示す結線8の
信号により情報が入つていれば、入力Bの処理プ
ログラムを行ない、空であればその処理プログラ
ムを飛ばすように行なう。従つて、入力Aの速度
と入力Bの速度とが完全に一致していれば、入力
Bの処理プログラムはプログラム周期の一周期中
に一回だけ行なわれるが、入力Aの速度が入力B
の速度より小さい時には、入力Bの処理プログラ
ムはプログラム周期の一周期中に二回行なわれる
ことになる。この第2図のように、プログラム周
期中の入力Bの処理プログラムを二回呼び出せる
場合は、入力Bの速度が入力Aの速度の二倍以下
の範囲内で、入力A,Bともに実時間処理が可能
である。
In the flowchart of FIG. 2, the processing program for input A is executed once within the execution processing time required for input A. On the other hand, the processing of input B is executed according to the signal of the connection 8 indicating the presence or absence of information in the buffer memory 3. If the information is present, the processing program of input B is executed, and if the buffer memory 3 is empty, the processing program is skipped. Let's do it. Therefore, if the speed of input A and the speed of input B completely match, the processing program for input B will be executed only once in one program cycle, but the speed of input A will be the same as that of input B.
, the processing program for input B will be executed twice during one program cycle. As shown in Figure 2, if the processing program for input B can be called twice during a program cycle, both inputs A and B can be processed in real time as long as the speed of input B is less than twice the speed of input A. is possible.

これを拡張し、n回入力Bの処理プログラムの
呼び出しを行なえば、入力Bの速度が入力Aの速
度のn倍以下の範囲内で入力A,Bの実時間処理
が可能となる。
By extending this and calling the processing program for input B n times, it becomes possible to process inputs A and B in real time within a range where the speed of input B is n times the speed of input A or less.

入力Bの情報の処理結果を入力Bと同じ速度ま
たは整数倍の速度で出力端子11から出すために
バツフアメモリ4を演算回路1の出力部に置く。
すなわち、結線12によつてバツフアメモリに読
出しクロツクを加え、任意のタイミングで演算回
路1より出される処理結果をその読出しクロツク
の周期で出力端子11に出力する。
A buffer memory 4 is placed at the output section of the arithmetic circuit 1 in order to output the processing result of the information on the input B from the output terminal 11 at the same speed as the input B or at an integral multiple thereof.
That is, a read clock is applied to the buffer memory through the connection 12, and the processing result output from the arithmetic circuit 1 at an arbitrary timing is outputted to the output terminal 11 at the cycle of the read clock.

更に、上記の方法を多入力の場合に拡張したの
が第3図である。すなわち、参照数字1および2
はそれぞれ演算処理回路およびプログラム記憶素
子であり、参照数字3,4はバツフアメモリであ
る。メインプログラム中に、入力Aの処理プログ
ラムと入力B,C,…,Nのそれぞれの処理プロ
グラムの呼び出し命令を必要な回数だけ書くこと
により入力A,B,…,Nの情報をすべて実時間
処理することが可能である。
Furthermore, FIG. 3 shows an extension of the above method to the case of multiple inputs. i.e. reference numerals 1 and 2
are an arithmetic processing circuit and a program storage element, respectively, and reference numerals 3 and 4 are buffer memories. By writing call instructions for the processing program for input A and the processing programs for inputs B, C, ..., N as many times as necessary in the main program, all information on inputs A, B, ..., N can be processed in real time. It is possible to do so.

以上説明したように、本発明は従来のスタツフ
イング方式の応用により二つ以上の同期のずれた
情報をプログラム制御される演算処理回路を使つ
て同時に実時間処理する場合に効果がある。
As described above, the present invention is effective when two or more pieces of out-of-synchronization information are simultaneously processed in real time using a program-controlled arithmetic processing circuit by applying the conventional stuffing method.

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

第1図は本発明の一実施例を示すブロツク図、
第2図は第1図の演算処理回路の動作を示すフロ
ーチヤートおよび第3図は本発明の他の実施例を
示すブロツク図を示す。 第1図および第3図において、1…演算処理回
路、2…プログラム記憶素子、3,4…バツフア
メモリ回路、5,6…入力端子、7,12…読出
しクロツク、8…結線、9…書込みクロツク、1
0,11…出力端子。
FIG. 1 is a block diagram showing one embodiment of the present invention;
FIG. 2 is a flowchart showing the operation of the arithmetic processing circuit of FIG. 1, and FIG. 3 is a block diagram showing another embodiment of the present invention. 1 and 3, 1... Arithmetic processing circuit, 2... Program storage element, 3, 4... Buffer memory circuit, 5, 6... Input terminal, 7, 12... Read clock, 8... Connection, 9... Write clock ,1
0, 11...Output terminal.

Claims (1)

【特許請求の範囲】[Claims] 1 第1の入力信号を受ける第1の入力端子と、
この第1の入力信号の速度より速くかつN倍(N
は正の整数でN>1)以下の速度を有する第2の
入力信号を受ける第2の入力端子と、前記第2の
入力信号を一時格納するバツフアメモリと、前記
第1の入力信号を処理する手段と、前記バツフア
メモリの空きおよび塞がりをN回検出する手段
と、この検出手段の塞がりを示す信号に応答して
前記バツフアから読出された前記第2の入力信号
を処理する手段とから構成されたことを特徴とす
る異速度多入力処理装置。
1 a first input terminal receiving a first input signal;
faster than the speed of this first input signal and N times (N
is a positive integer and has a speed equal to or lower than N>1), a buffer memory for temporarily storing the second input signal, and a buffer memory for processing the first input signal. means for detecting whether the buffer memory is empty or full N times; and means for processing the second input signal read from the buffer in response to a signal indicating that the buffer memory is full. A multi-input processing device with different speeds.
JP14050977A 1977-11-21 1977-11-21 Processing system for different speed multi-input operation Granted JPS5472643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14050977A JPS5472643A (en) 1977-11-21 1977-11-21 Processing system for different speed multi-input operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14050977A JPS5472643A (en) 1977-11-21 1977-11-21 Processing system for different speed multi-input operation

Publications (2)

Publication Number Publication Date
JPS5472643A JPS5472643A (en) 1979-06-11
JPS6134181B2 true JPS6134181B2 (en) 1986-08-06

Family

ID=15270294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14050977A Granted JPS5472643A (en) 1977-11-21 1977-11-21 Processing system for different speed multi-input operation

Country Status (1)

Country Link
JP (1) JPS5472643A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0258284U (en) * 1988-10-18 1990-04-26

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0258284U (en) * 1988-10-18 1990-04-26

Also Published As

Publication number Publication date
JPS5472643A (en) 1979-06-11

Similar Documents

Publication Publication Date Title
JPS6243744A (en) Microcomputer
US4318172A (en) Store data buffer control system
US5499348A (en) Digital processor capable of concurrently executing external memory access and internal instructions
JPS6134181B2 (en)
SU1695319A1 (en) Matrix computing device
JPH0573296A (en) Microcomputer
JPH04205152A (en) Monitor device for controller
JPS6348989Y2 (en)
KR940000206Y1 (en) Processor of timer command
JPS60107152A (en) Memory controller
JP2778066B2 (en) Microprocessor with capture mechanism
JP2567982B2 (en) Bus trace control method
JPS6175436A (en) Microprogram controller
JPS61170831A (en) Instruction execution control device of central processor
JPS6120139A (en) Interruption control system
JPH0561660B2 (en)
JPS61255422A (en) Timer controlling circuit
JPH0340116A (en) Timer circuit
JPS59221710A (en) Measuring system for arithmetic processing time of sequence program
JPH01265351A (en) MPU system
JPH04275635A (en) Constant cycle processing system
JPH0194437A (en) Information processor
JPH05276020A (en) Timer counter
JPH044614B2 (en)
JPS62216454A (en) Signal processing method