JPS6315620B2 - - Google Patents

Info

Publication number
JPS6315620B2
JPS6315620B2 JP54149834A JP14983479A JPS6315620B2 JP S6315620 B2 JPS6315620 B2 JP S6315620B2 JP 54149834 A JP54149834 A JP 54149834A JP 14983479 A JP14983479 A JP 14983479A JP S6315620 B2 JPS6315620 B2 JP S6315620B2
Authority
JP
Japan
Prior art keywords
priority
input
output
storage device
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.)
Expired
Application number
JP54149834A
Other languages
Japanese (ja)
Other versions
JPS5672745A (en
Inventor
Hisao Nagata
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 JP14983479A priority Critical patent/JPS5672745A/en
Publication of JPS5672745A publication Critical patent/JPS5672745A/en
Publication of JPS6315620B2 publication Critical patent/JPS6315620B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Logic Circuits (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は電子計算機等に用いられる優先回路に
関する。 入力端子に対して各々の異なる優先順位を持つ
複数の入力端子に信号が加わつた時、最も高い順
先順位を有する入力端子に対応した出力端子に信
号が出力される優先入力順位判定回路の従来例を
第1図に示す。互に異なる優先順位を持つ3本の
入力端子1,2,3の優先順位が1>2>3であ
るとき入力端子1,2,3と各入力端子に対応し
た出力端子11,12,13の真理値表は次の様
になる。
The present invention relates to a priority circuit used in electronic computers and the like. Conventional priority input order determination circuit in which when a signal is applied to multiple input terminals each having a different priority order, the signal is output to the output terminal corresponding to the input terminal with the highest order priority. An example is shown in FIG. When the priorities of three input terminals 1, 2, and 3 having mutually different priorities are 1>2>3, the input terminals 1, 2, and 3 and the output terminals 11, 12, and 13 corresponding to each input terminal The truth table of is as follows.

【表】 入力2及び入力3に示した×印は、論理1又は
0いずれの場合も成り立つ事を示す。優先順位の
高い入力信号が論理1であると、より低い優先順
位の信号にかかわらず出力が決定される事がわか
る。この例では入力の優先順位は1>2>3であ
るから、入力1が論理1であれば1に対応した出
力11は論理1であるが、他の論理出力12,1
3は論理0となる。第1図の回路では、優先順位
は1>2>3であり、最も高い優先順位の入力1
が論理1であると出力11は論理1であるが他の
アンドゲート12,13の入力に入力1の反転出
力14による論理0が加わるためアンドゲート出
力12=13=論理0となる。第1図に示す優先
入力順位判定回路では、優先順位の決定された入
力端子に所定の入力信号を接続すれば良い。しか
しその反面入力信号の優先順位を変更しようとす
るとたとえば、優先順位を1>2>3を2>1>
3とするには第2図の様に接続を変更しなければ
ならず、電子部品を搭載したプリント基板上の配
線を変更する事は事実上不可能に近く、またプリ
ント板の入力端子線を変更するのは非常に繁雑で
ある。 本発明の目的は優先順位を任意に設定する事が
できるとともに、優先順位の異なる複数の入力信
号が同時に入力されても定められた優先順位に従
つて判定出力を出すことが可能な優先回路を提供
することである。 本発明によれば、n(n≧2)個の優先入力信
号の組み合わせがアドレスとして印加され、これ
に応答してn個の判定出力信号を出力する記憶装
置と、該記憶装置の各アドレスに前記優先入力信
号の優先順位に従つた真理値表を書き込む回路と
を有し、前記記憶装置に印加される前記優先入力
信号の組み合せによつて指定されたアドレスに記
憶されているN個の情報が前記判定出力信号とし
て出力されることを特徴とする優先回路が得られ
る。 上記記憶装置の真理値表は任意に書き換えるこ
とができ、かつ優先順位の異なる複数の入力信号
が記憶装置に同時に印加されたとしても、その中
で最も順位が高いと定められた信号だけが真理値
表に従つて判定出力として出力されるから、同時
に多重の入力信号の存在を許し、かつそれを正し
く判定することができる。 次に本発明の実施例を説明する。 第3図は本発明の一実施例を示すブロツク図で
ある。後述の記憶装置20″のアドレス切換回路
40″は、後述の記憶装置20″の読み書き制御信
号(以下R/W信号)18″により優先入力1″〜
3″側又は書き込みアドレス信号31″〜33″側
の信号を選択し記憶装置20″のアドレス入力へ
伝える。R/W信号18″が読み出し(=論理1)
のとき、優先入力信号1″〜3″をアンドグート4
7″〜49″→オアゲート41″〜43″を通して選
択された信号を記憶装置20″のアドレス入力に
加え、優先入力信号1″〜3″の優先順位に従つた
真理値表を記憶している記憶装置20″の内容が
読み出され、優先入力信号11″〜13″の判定出
力を11″〜13″に出力する。R/W信号18″
が書き込み(=論理0)のとき、インバータ
19″の出力が論理1となり、アドレス切換回路4
0″は、書き込みアドレス信号31″〜33″をア
ンドゲート44″〜46″→オアゲート41″〜4
3″を通して記憶装置20″のアドレス入力に加わ
る。このとき記憶装置20″はR/W信号18″が
書き込みであるので、書き込みアドレス信号3
1″〜33″で制御されたアドレスに書き込みデー
タ21″〜23″が書き込まれる。第1図、第2図
と同様な優先順位判定出力を得るには、第4図、
第5図に示す様な真理値表に示したデータを記憶
装置に書き込めば良い。第4図の真理値表を記憶
させたとき、入力1″が論理1であれば他の入力
2″,入力3″がどの様な組合せのときにも、出力
31″=1,出力32″=0,出力33″=0とな
り、他の入力の組合せのときも第1図の回路と同
様な判定出力が得られる事がわかる。この様に記
憶装置に記憶させた優先順位判定の真理値表を変
更する事により入力信号の優先順位を簡単に変更
する事が可能である。 以上の説明で明らかな様に優先順位判定回路を
書換え可能な記憶装置で構成する事により配線等
の変更なく簡単に素早く優先順位を変更する事が
できる。
[Table] The x marks shown at input 2 and input 3 indicate that the logic holds true for either logic 1 or 0. It can be seen that if the input signal with a higher priority is logic 1, the output is determined regardless of the signal with a lower priority. In this example, the input priority is 1>2>3, so if input 1 is logic 1, output 11 corresponding to 1 is logic 1, but other logic outputs 12, 1
3 becomes logical 0. In the circuit of Figure 1, the priorities are 1>2>3, and the highest priority input 1
When is logic 1, output 11 is logic 1, but since logic 0 from the inverted output 14 of input 1 is added to the inputs of other AND gates 12 and 13, AND gate output 12=13=logic 0. In the priority input order determination circuit shown in FIG. 1, a predetermined input signal may be connected to the input terminal whose priority order has been determined. However, on the other hand, if you try to change the priority order of input signals, for example, change the priority order from 1>2>3 to 2>1>
3, the connections must be changed as shown in Figure 2, and it is virtually impossible to change the wiring on the printed circuit board that carries electronic components, and the input terminal wires of the printed circuit board must be changed. It is very complicated to change. An object of the present invention is to provide a priority circuit that can arbitrarily set the priority order and output a judgment output according to the predetermined priority order even if a plurality of input signals with different priority orders are input at the same time. It is to provide. According to the present invention, a combination of n (n≧2) priority input signals is applied as an address, and a storage device outputs n judgment output signals in response to the combination, and a circuit for writing a truth table according to the priority order of the priority input signals, and N pieces of information stored at addresses specified by the combination of the priority input signals applied to the storage device. A priority circuit is obtained in which the above-described determination output signal is outputted as the determination output signal. The truth table of the storage device mentioned above can be rewritten arbitrarily, and even if multiple input signals with different priorities are applied to the storage device at the same time, only the signal determined to have the highest priority among them will be true. Since the judgment output is output according to the value table, it is possible to allow multiple input signals to exist at the same time and to judge them correctly. Next, embodiments of the present invention will be described. FIG. 3 is a block diagram showing one embodiment of the present invention. The address switching circuit 40'' of the storage device 20'', which will be described later, selects priority inputs 1'' to 1'' by the read/write control signal (hereinafter referred to as R/W signal) 18'' of the storage device 20'', which will be described later.
3'' side or the write address signals 31'' to 33'' side are selected and transmitted to the address input of the storage device 20''. R/W signal 18'' is read (=logic 1)
When , priority input signals 1'' to 3'' are set to 4
7'' to 49'' → The selected signal is added to the address input of the storage device 20'' through OR gates 41'' to 43'', and a truth table according to the priority order of priority input signals 1'' to 3'' is stored. The contents of the storage device 20'' are read out, and the determination outputs of the priority input signals 11'' to 13'' are output to 11'' to 13''. R/W signal 18″
When is written (=logic 0), the inverter
19″ output becomes logic 1, address switching circuit 4
0'' converts the write address signals 31'' to 33'' to AND gates 44'' to 46'' → OR gates 41'' to 4.
3'' to the address input of the storage device 20''. At this time, since the R/W signal 18'' is for writing to the storage device 20'', the write address signal 3
Write data 21'' to 23'' are written to addresses controlled by 1'' to 33''. To obtain the same priority determination output as in Figs. 1 and 2, Fig. 4,
The data shown in the truth table as shown in FIG. 5 may be written into the storage device. When the truth table of Fig. 4 is stored, if input 1'' is logic 1, output 31'' = 1, output 32'', regardless of the combination of other inputs 2'' and 3''. = 0, output 33'' = 0, and it can be seen that the same judgment output as the circuit in FIG. 1 can be obtained with other input combinations. In this way, by changing the truth table for priority determination stored in the storage device, it is possible to easily change the priority order of input signals. As is clear from the above explanation, by configuring the priority order determination circuit with a rewritable storage device, the priority order can be changed easily and quickly without changing wiring or the like.

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

第1図および第2図は従来の優先回路を示す
図、第3図は本発明の一実施例を示す回路図、第
4図および第5図は第3図の回路に対する動作例
を示す図である。 1,2,3……入力端子、11〜13……出力
端子。
1 and 2 are diagrams showing a conventional priority circuit, FIG. 3 is a circuit diagram showing an embodiment of the present invention, and FIGS. 4 and 5 are diagrams showing an example of the operation of the circuit in FIG. 3. It is. 1, 2, 3...input terminals, 11-13...output terminals.

Claims (1)

【特許請求の範囲】[Claims] 1 n(n≧2)個の優先入力信号の組み合わせ
がアドレスとして印加され、これに応答してn個
の判定出力信号を出力する記憶装置と、該記憶装
置の各アドレスに前記優先入力信号の優先順位に
従つた真理値表を書き込む回路とを有し、前記記
憶装置に印加される前記優先入力信号の組み合せ
によつて指定されたアドレスに記憶されているN
個の情報が前記判定出力信号として出力されるこ
とを特徴とする優先回路。
1 A storage device to which a combination of n (n≧2) priority input signals is applied as an address and outputs n determination output signals in response; a circuit for writing a truth table according to the priority order, and N is stored at an address specified by a combination of the priority input signals applied to the storage device.
A priority circuit characterized in that information on the number of items is outputted as the determination output signal.
JP14983479A 1979-11-19 1979-11-19 Priority circuit Granted JPS5672745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14983479A JPS5672745A (en) 1979-11-19 1979-11-19 Priority circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14983479A JPS5672745A (en) 1979-11-19 1979-11-19 Priority circuit

Publications (2)

Publication Number Publication Date
JPS5672745A JPS5672745A (en) 1981-06-17
JPS6315620B2 true JPS6315620B2 (en) 1988-04-05

Family

ID=15483674

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14983479A Granted JPS5672745A (en) 1979-11-19 1979-11-19 Priority circuit

Country Status (1)

Country Link
JP (1) JPS5672745A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6478329A (en) * 1987-09-19 1989-03-23 Fujitsu Ltd Interruption controller
JPH01222342A (en) * 1988-03-02 1989-09-05 Pfu Ltd Data processor
JPH02247736A (en) * 1989-03-22 1990-10-03 Sharp Corp Mask programmable interruption controller

Also Published As

Publication number Publication date
JPS5672745A (en) 1981-06-17

Similar Documents

Publication Publication Date Title
KR890005622A (en) Single chip microcomputer
US5446859A (en) Register addressing control circuit including a decoder and an index register
JPS6315620B2 (en)
JPS6010364A (en) Directory memory system
JPH0365745A (en) Ic card
KR900003742A (en) Multi-purpose control system using microcontroller
KR940003845B1 (en) Communication path bus selecting method
KR850001836B1 (en) Concurrent shifting method of memory contents in a multitude memory system
JP2560053B2 (en) Arbitration circuit
JPS59144962A (en) Storage control device
JPH10161929A (en) Electronic device
JPH01236389A (en) Memory card
JPH0785680A (en) Semiconductor memory
KR970022776A (en) Memory access device and method
JPH02230481A (en) Microcomputer
JPH02183486A (en) Ram control circuit
JPH01283635A (en) Buffer control circuit
JPH0564361B2 (en)
JPS6254349A (en) Address modification system
JPH0945073A (en) Dual port memory control circuit
JPH06161936A (en) Peripheral device selecting circuit
JPH0553923A (en) Main storage device control circuit
JPS63234490A (en) Memory element
JPS6243275B2 (en)
JPH0221620B2 (en)