JPS5913419A - Priority encoder circuit - Google Patents

Priority encoder circuit

Info

Publication number
JPS5913419A
JPS5913419A JP12331482A JP12331482A JPS5913419A JP S5913419 A JPS5913419 A JP S5913419A JP 12331482 A JP12331482 A JP 12331482A JP 12331482 A JP12331482 A JP 12331482A JP S5913419 A JPS5913419 A JP S5913419A
Authority
JP
Japan
Prior art keywords
input
circuit
priority
logic
output
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
JP12331482A
Other languages
Japanese (ja)
Inventor
Akira Matsumoto
明 松本
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 JP12331482A priority Critical patent/JPS5913419A/en
Publication of JPS5913419A publication Critical patent/JPS5913419A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To obtain a priority encoder circuit of which delay time is shortened by connecting an individual logic circuit without cascading in multi-stages and determining the upper bit output of the priority encoder circuit. CONSTITUTION:In the figure, the numbers 43, 45, 47, 49 show signal lines to connect an enabling signal input EI of respective PE-B with the outputs D1, E2, E3, E4 of an enabling input signal determining circuit 35, and the numbers 44, 46, 48, 50 show signal lines to connect an enabling signal output EO of each priority encoder with the inputs G1, G2, G3, G4 of the enabling input signal determining circuit 35. In the circuit, an enabling signal is determined by the enabling input signal determining circuit 35 without transmitting like cascade between respective PE-Bs, so that the delay time until the output logic of Q0-Q4 is determined can be shortened.

Description

【発明の詳細な説明】 この発明はプライオリティ、エンコーダ(pri −o
rity encoder )回路に関し、特にmビッ
ト入力のプライオリティ、エンコーダ回路をn個用いて
nm  ビットのプライオリティ、エンコーダを構成す
る回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION This invention provides a priority encoder (pri-o
The present invention relates to an m-bit input priority encoder circuit, and particularly to a circuit that uses n m-bit input priority encoder circuits to configure an nm-bit priority encoder.

従来この種の装置として第1図に示すものがあった。第
1図に示す例は8ビツト入力のプライオリティ、エンコ
ーダを4個用いて32ピツトのプライオリティ、エンコ
ーダ回路を構成した場合を示し、fil 、 +21 
、 +31 、 +41はそれぞれ同一の内部接続を有
する8ビツト入力のプライオリティ、エンコータ(以T
 8 Tcy3 PE−A又UPE−Aと略記する)で
ある。8TG−3PE−Aの真理値表は第2図に示すと
おシである。すなわち、イネーブル信号人力百「がrH
Jであることは、当該PE−A  よりも上位のプライ
オリティが存在することを意味し、したがってイネーブ
ル信号出力E0はrHJとなって次段の8Tα3 PE
−AのEIとなる。EIがr L Jで0〜7の入力信
号が全部rLJのときは当該PE−Aよυも上位のプラ
イオリティも存在せず、当該PE−Aの入力中にプライ
オリティ要求が存在しないことを意味し、したがってイ
ネーブル信号出力Eαt−1rl、Jとなって次段の8
T(9−3PE−AのEI となり、次段の入力中から
プライオリティを決定することができるようにする。
A conventional device of this type is shown in FIG. The example shown in FIG. 1 shows a case where a 32-pit priority encoder circuit is constructed using four encoders with an 8-bit input priority, and fil, +21
, +31, +41 are 8-bit input priority encoders (hereinafter referred to as T) with the same internal connections, respectively.
8 Tcy3 PE-A or UPE-A). The truth table for 8TG-3PE-A is shown in FIG. That is, the enable signal is rH
J means that there is a higher priority than the PE-A, and therefore the enable signal output E0 becomes rHJ and the next stage 8Tα3 PE
- becomes the EI of A. When EI is rLJ and input signals 0 to 7 are all rLJ, it means that neither the PE-A nor the higher priority exists, and there is no priority request in the input of the PE-A. , so the enable signal output Eαt-1rl,J becomes the next stage 8
T(EI of 9-3PE-A), and the priority can be determined from among the inputs of the next stage.

0番乃至7番の入力(以下DOO〜DO7で表し、BT
()3PE−Aが縦続されるとき、次段の0番はDO8
で表し以下順次数字を増加してプライオリティの順位を
表す)中、0番の入力子がプライオリティの順位が最も
高く、以下順番数字が増加するに従ってプライオリティ
の順位が低下する。したがって、1〜1の入力中、最初
にrHJとなったものの順番を表すディジタル数が出力
端子ABCから出力される。AがMSBでありCがLS
Bである。たとえば1がrHJのときはABCは「LL
LJとなりO−5がすべてrLJでτがrHJのときは
ABCはrHHLJとなる。出力GSは当該PE−A入
力内にプライオリティ要求入力が存在するとき「L」、
そうでないときrHJとなる。
Inputs 0 to 7 (hereinafter referred to as DOO to DO7, BT
() When 3PE-A is cascaded, the next stage number 0 is DO8
(the priority order is expressed by increasing the number sequentially), the input child number 0 has the highest priority order, and the priority order decreases as the order number increases. Therefore, among the inputs of 1 to 1, a digital number representing the order of the first rHJ is output from the output terminal ABC. A is MSB and C is LS
It is B. For example, when 1 is rHJ, ABC is “LL
When O-5 is all rLJ and τ is rHJ, ABC becomes rHHLJ. The output GS is “L” when a priority request input exists in the PE-A input;
Otherwise, it becomes rHJ.

次に第1図に戻り、+51 f′i11〜+41と同様
な8Te3PE−Aであるが、これを4 T(>2PE
−A(4ピツト入力形)に用いたものである。+61 
、 +71 、181はそれぞれワイヤドオア(wir
ed OR)である。第1図に示すように8Te3PE
−Aを縦続すると出力ABCがrHJとなるのはいずれ
か1つの8TeaPE−Aだけであるから此処にワイヤ
ドオアを用いることができる。32ピツトの入力はD0
0→D31の順序でプライオリティ順位が低下する。(
t31s (t4 tα→は[11、+21 、 (3
1を縦続する信号線である。P E −A(41のイネ
ーブル信号出力EOは特にQZで示し、DOO〜031
0入力がすべてrLJのときrLJとなる。
Next, returning to FIG.
-A (4-pit input type). +61
, +71 and 181 are wired ORs (wir
ed OR). As shown in Figure 1, 8Te3PE
If -A are connected in cascade, only one of the 8TeaPE-A's output ABC becomes rHJ, so a wired OR can be used here. 32 pit input is D0
The priority order decreases in the order of 0→D31. (
t31s (t4 tα→ is [11, +21, (3
This is a signal line that connects 1 in cascade. The enable signal output EO of P E -A (41 is specifically indicated by QZ, DOO~031
When all 0 inputs are rLJ, it becomes rLJ.

D 00よりもプライオリティ順位の高い入力は存在し
ないのでP g−All+のイネーブル信号人力EIは
常に「L」に設定される。Ql 、 Q秒e H、IA
はPE −At1l 、 +21 、 +31 、 +
41の各GS出力をP E”−A +51の0.1,2
゜3人力にそれぞれ接続する信号線である。
Since there is no input with a higher priority than D00, the enable signal EI of Pg-All+ is always set to "L". Ql, Qsece H, IA
is PE −At1l , +21 , +31 , +
Each GS output of 41 is P E”-A + 0.1,2 of 51
゜It is a signal line that connects to each of the three human power sources.

第1図に示す回路では、縦続された4段の8Tcy3P
E−A tll 、 f2+ 、 +31 、 +41
中どのPE−Aの入力にプライオリティが与えらるべき
かという順序はPE−A(5)のBC出力すなわちQO
,Qlによって示され、そのPE−Aの中でどの入力に
プライオリティが与えらるべきかという順序はワイヤド
オア(6)。
In the circuit shown in FIG. 1, four stages of cascaded 8Tcy3P
E-A tll, f2+, +31, +41
The order in which the input of PE-A should be given priority depends on the BC output of PE-A (5), that is, QO.
, Ql, and the order of which inputs within that PE-A should be given priority is wired-or (6).

+71 、 +81の出力すなわちQ21Q3.Qlに
よって示されるのでQOをMSB、QlをLSBとする
順序でQOIQllQ21Q31Q4のビットパターン
によってDOO〜D31中プライオリティを与えられた
入力を示すことができる。たとえばDOOがrHJであ
ればP E−At1lのABCは「LLLJとなり、G
S出力はrLJとなってPE−A(5)の1がrHJと
なるので、P E −At51のBCはrLLJとなシ
、QO〜Q4はroooooJのパターンとなってDO
Oが選ばれ、DOO〜D17が全部r L J テD1
8カr HJ テアレld’PE−A(3)ノABCは
rLHLJとなり、GS出力はrLJとなってP E 
−A +51のiがrHJとなるので、PF:、−A(
51のBCはr)ILJとなり、QO〜Q4はrloo
lOJのパターンとなってD 18が選ばれる。
+71, +81 outputs, ie, Q21Q3. Since it is indicated by Ql, inputs given priority among DOO to D31 can be indicated by the bit pattern of QOIQllQ21Q31Q4 in the order in which QO is MSB and Ql is LSB. For example, if DOO is rHJ, ABC of P E-At1l becomes “LLLJ” and G
The S output becomes rLJ and 1 of PE-A (5) becomes rHJ, so the BC of PE-At51 becomes rLLJ, and QO to Q4 become rooooooJ pattern and DO
O is selected and DOO~D17 are all r L J Te D1
8 Kar HJ Teare ld'PE-A (3) ABC becomes rLHLJ, GS output becomes rLJ and PE
-A +51 i becomes rHJ, so PF:, -A(
51 BC is r)ILJ, QO~Q4 is rlooo
D18 is selected as a pattern of lOJ.

従来のプライオリティエンコーダ回路は以上のように構
成されているので、下位の入力、たとえばPE−A +
41の入力が選ばれるような場合、信号は信号線(13
、a4. acJ)入出力を介し各PE−A +11 
、 +21 。
Since the conventional priority encoder circuit is configured as described above, the lower input, for example, PE-A +
41 input is selected, the signal is sent to the signal line (13
, a4. acJ) Each PE-A +11 via input/output
, +21.

+31 、 +41内を伝播した後、更に信号線(2(
りを介してPE−A(51に入力されてはじめてQ o
 * Q tビットの論理が決定されるため遅延時間が
長いという欠点があった。
After propagating within +31 and +41, the signal line (2(
Qo
*Q Since the logic of the t bit is determined, there is a drawback that the delay time is long.

この発明は上記のような従来のものの欠点を除去するた
めになされたもので、8Tel)3PE−Aを多段に縦
続することを避けて別の論理回路を設けてプライオリテ
ィ、エンコーダ回路の上位ビット出力を決定することに
よって、遅延時間を短くシタ回路を提供することを目的
としている。
This invention was made in order to eliminate the above-mentioned drawbacks of the conventional one.In order to avoid cascading 8Tel)3PE-A in multiple stages, a separate logic circuit is provided to control the priority and upper bit output of the encoder circuit. The purpose is to provide a shifter circuit with short delay time by determining .

以下、図面について、この発明の詳細な説明する。第3
図はこの発明の一実施例を示すブロック図で、DOO〜
p31及びQO〜Q4は第1図の同一符号と同一の入出
力信号を示し、(3す、 C32) 、 (33) 。
Hereinafter, the present invention will be described in detail with reference to the drawings. Third
The figure is a block diagram showing one embodiment of the present invention, and DOO~
p31 and QO to Q4 indicate the same input/output signals as the same reference numerals in FIG. 1, (3S, C32), (33).

(34)はそれぞれ第1図の+11 、 +31 、 
+31 、 +41に相当する8ビツト入力のプライオ
リティ、エンコーダ(以下BT(!)3PE−B又1′
1PE−Bと略記する)である。(35) it、イネ
ーブル入力信号決定回路であり、(36) 、 (37
) 、 (38)はそれぞれ第1図の+61 、 +7
1 、 +81と同様なワイヤドオア、(43)、(4
5)t(47)、(49)は各PE−Bのイネーブル信
号人力EIとイネーブル入力信号決定回路(35)の出
力El’、E2.E3.E4  とをそれぞれ接続する
信号線、(44)、(46)、(48)、(50)は各
PE−Bのイネーブル信号出力EOとイネーブル入力信
号決定回路(35)の入力Gl、G2.G3.G4とを
それぞれ接続する信号線である。
(34) are +11, +31, and +31 in Figure 1, respectively.
8-bit input priority encoder (hereinafter referred to as BT(!) 3PE-B or 1' corresponding to +31 and +41)
1PE-B). (35) it is an enable input signal determination circuit; (36) and (37
) and (38) are +61 and +7 in Figure 1, respectively.
1, wired or similar to +81, (43), (4
5) t(47), (49) are the enable signal EI of each PE-B and the output El', E2. E3. Signal lines (44), (46), (48), and (50) connecting the enable signal output EO of each PE-B and the input Gl, G2 . G3. These are signal lines that respectively connect G4.

第4図は8Tc)3PE−B  の真理値表を示し、E
IがrHJのときEOがrHJでもrLJ  でも良い
ことと、θ〜7のすべての入力がrLJ  のときはE
Iの論理にかかわらずABCはrLLLJとなシEαは
rLJとなる他は第2図と同様である。
Figure 4 shows the truth table of 8Tc)3PE-B and E
When I is rHJ, EO can be rHJ or rLJ, and when all inputs from θ to 7 are rLJ, E
Regardless of the logic of I, ABC is rLLLJ and Eα is rLJ, but it is the same as in FIG.

したがってワイヤドオア(36) 、 (37) 、 
(38)の出力Q2゜Q3.Q4は従来の回路と同様に
決定される。
Therefore, wired or (36), (37),
(38) output Q2゜Q3. Q4 is determined similarly to conventional circuits.

第5図はイネーブル信号入力決定回路(35)の真理値
表を示し、Ey r Ex p Es r E4はいず
れが1つがrLJか又はすべて「H」である(すべてr
HJである場合はDOO〜D31のすべての入力にプラ
イオリティを要求するものがないことを意味する)とい
う事実を利用して−G、、 G;G、、 G、  の論
理がうE!〜E4のピットパターンを決定し、したがっ
てFO〜Fl  の論理を決定することができる。たと
えばPE−B(31)  の7石はPE−B(3りの狛
には無関係に(第4図参照) DOO5−DO7中に1
つでもrHJがあれげrHJとなりこれが信号m(44
)によってGlに入力されて石がrHJとなり百〜■は
rL)IHHJとなりFO,FlはrLLJとなる。
FIG. 5 shows the truth table of the enable signal input determination circuit (35), and Ey r Exp Es r E4 is either rLJ or all "H" (all r
If HJ, it means that none of the inputs from DOO to D31 requires priority), the logic of -G, , G; G, , G, becomes E! The pit pattern of ~E4 can be determined and therefore the logic of FO~Fl can be determined. For example, the 7 stones in PE-B (31) are PE-B (irrespective of the 3 koma (see Figure 4)).
At any time, rHJ becomes rHJ, which is the signal m (44
), the stone becomes rHJ, 100~■ becomes rL)IHHJ, FO becomes rLLJ, and Fl becomes rLLJ.

但しEr 〜E4がrHHHHJの場合もFO,Flと
してrLLJを出力するので、両者の区別は出力信号Q
Gの論理によって行うことは第5図に示すとおりである
However, even if Er ~ E4 is rHHHHJ, rLLJ is output as FO and Fl, so the distinction between the two can be made using the output signal Q.
What is done according to the logic of G is as shown in FIG.

第3図に示すとおり、この発明の回路ではイネーブル信
号が各PE−B間を縦続的に伝播することなく、イネー
ブル入力信号決定回路(35)内で決定されるので、Q
O〜Q4の出力論理が決定されるまでの遅延時間を短縮
することができる。
As shown in FIG. 3, in the circuit of the present invention, the enable signal is determined within the enable input signal determining circuit (35) without cascadingly propagating between each PE-B.
The delay time until the output logic of O to Q4 is determined can be shortened.

第6図は第4図の真理値表に表す論理を実現するための
接続例を示す接続図、オフ図は第5図の真理値表に表す
論理を実現するための接続例を示す接続図であるが、こ
れら接続図は対応する真理値表から容易に設計すること
ができるので説明を省略する。
Figure 6 is a connection diagram showing a connection example to realize the logic expressed in the truth table in Figure 4, and the off diagram is a connection diagram showing a connection example to realize the logic expressed in the truth table in Figure 5. However, since these connection diagrams can be easily designed from the corresponding truth tables, their explanation will be omitted.

なお、上記実施例では32人力5出力のプライオリティ
、エンコーダ回路を構成する例について説明したが、こ
の発明が上述の数値例に限定されるものでないことは明
らかである。
In the above embodiment, an example of configuring a priority encoder circuit with 32 human power and 5 outputs has been described, but it is clear that the present invention is not limited to the above numerical example.

以上のようにこの発明によればプライオリティ、エンコ
ーダの回路の中を信号が縦続的に伝播することをなくし
たのでブライオリティ決定のための遅延時間を短縮する
ことができるという効果がある。
As described above, according to the present invention, it is possible to eliminate the cascading propagation of signals in the priority encoder circuit, thereby reducing the delay time for determining the priority.

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

第1図は従来の回路を示すブロック図、第2図は第1図
の8ビツト入力のエンコーダの真理値表を示す図、第3
図はこの発明の一実施例を示すブロック図、第4図は第
3図の8ビツト入力のエンコーダの真理値表を示す図、
第5図は第3図のイネーブル入力信号決定回路の真理値
表を示す図、第6図は第4図に示す真理値表に表す論理
を実現するための接続例を示す接続図、オフ図は第5図
に示す真理値表に表す論理を実現するための接続例を示
す接続図である。 (31) 、 (32) 、 (33) 、 (34)
・・・それぞれ8ビツト入力用のプライオリティエンコ
ーダ(s T()3PE−B)。 (35)・・・イネーブル信号入力決定回路。 代理人 葛 野 信 −
Figure 1 is a block diagram showing a conventional circuit, Figure 2 is a truth table of the 8-bit input encoder shown in Figure 1, and Figure 3 is a diagram showing the truth table of the 8-bit input encoder in Figure 1.
FIG. 4 is a block diagram showing an embodiment of the present invention; FIG. 4 is a truth table of the 8-bit input encoder shown in FIG. 3;
Fig. 5 is a diagram showing a truth table of the enable input signal determination circuit shown in Fig. 3, and Fig. 6 is a connection diagram showing a connection example to realize the logic expressed in the truth table shown in Fig. 4, and an off-line diagram. 5 is a connection diagram showing a connection example for realizing the logic expressed in the truth table shown in FIG. 5. FIG. (31), (32), (33), (34)
...Priority encoder (sT()3PE-B) for each 8-bit input. (35)...Enable signal input determination circuit. Agent Shin Kuzuno −

Claims (1)

【特許請求の範囲】[Claims] mピット入力用のプライオリティ、エンコーダであって
、入力mビットがすべて論理rLJのときはイネーブル
信号入力の論理に関係なくイネーブル信号出力の論理は
rLJに決定され、かつ上記イネーブル信号入力の論理
が「H」のときは上記イネーブル信号出力の論理は上記
イネーブル信号入力の論理に関係なく決定されるmピッ
トゲライオリティ、エンコーダと、このエンコーダをn
個用いてmn  ピットのプライオリティ入力信号をプ
ライオリティ順に上記n個のエンコーダの信号入力端子
に接続する手段と、上記n個のエンコーダのイネーブル
信号出力を入力してこの入力信号のビットパターンに従
って上記n個のエンコーダのイネーブル信号入力の論理
を決定するイネーブル入力信号決定回路と、このイネー
ブル入力信号決定回路の出力するイネーブル信号入力の
ピットパターンに従ってプライオリティ信号出力の上位
セットのピットパターンを決定する手段とを備えたプラ
イオリティ、エンコーダ回路。
It is a priority encoder for m-pit input, and when all input m bits are logic rLJ, the logic of the enable signal output is determined to be rLJ regardless of the logic of the enable signal input, and the logic of the enable signal input is " When "H", the logic of the enable signal output is determined regardless of the logic of the enable signal input.
means for connecting the priority input signals of mn pits to the signal input terminals of the n encoders in order of priority; an enable input signal determining circuit for determining the logic of the enable signal input of the encoder; and means for determining a pit pattern of an upper set of priority signal outputs according to a pit pattern of an enable signal input output from the enable input signal determining circuit. priority encoder circuit.
JP12331482A 1982-07-15 1982-07-15 Priority encoder circuit Pending JPS5913419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12331482A JPS5913419A (en) 1982-07-15 1982-07-15 Priority encoder circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12331482A JPS5913419A (en) 1982-07-15 1982-07-15 Priority encoder circuit

Publications (1)

Publication Number Publication Date
JPS5913419A true JPS5913419A (en) 1984-01-24

Family

ID=14857481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12331482A Pending JPS5913419A (en) 1982-07-15 1982-07-15 Priority encoder circuit

Country Status (1)

Country Link
JP (1) JPS5913419A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6243220A (en) * 1985-08-20 1987-02-25 Nec Corp Arithmetic circuit
US8757214B2 (en) 2008-05-21 2014-06-24 Nissan Motor Co., Ltd. Multi-layer hose

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6243220A (en) * 1985-08-20 1987-02-25 Nec Corp Arithmetic circuit
US8757214B2 (en) 2008-05-21 2014-06-24 Nissan Motor Co., Ltd. Multi-layer hose

Similar Documents

Publication Publication Date Title
JP2717111B2 (en) Transmit gate serial multiplexer
ATE227902T1 (en) ARCHITECTURE AND CONNECTION SCHEMES FOR PROGRAMMABLE LOGIC CIRCUITS
JPS60116034A (en) Adding circuit
JPS5913419A (en) Priority encoder circuit
JP3038757B2 (en) Shift register circuit
JPS6316710A (en) Latch circuit
JPS6193711A (en) Delay circuit
JP3351672B2 (en) Adder
JPS6177422A (en) Line data selector circuit
JPH08212057A (en) Full adder
JPH01293436A (en) Adder
JPS62221727A (en) Full-adder circuit
JPH0214813B2 (en)
JP2703902B2 (en) Semiconductor integrated circuit
JPH0383124A (en) Serial input/output circuit
JPS58199495A (en) Data processor
JPS6214521A (en) Logic circuit
JPH04311224A (en) Shift circuit
JPH0393311A (en) Logic circuit
JPS62266645A (en) Serial interface circuit
JPH0290722A (en) Bus circuit
JPS62290211A (en) Semiconductor integrated circuit
JPH0946203A (en) Output circuit
JPS6184123A (en) Logical intergrated circuit
JPS6022356A (en) Large scale integrated circuit