JPS6350123A - High speed gray code/binary code converting circuit - Google Patents
High speed gray code/binary code converting circuitInfo
- Publication number
- JPS6350123A JPS6350123A JP19278586A JP19278586A JPS6350123A JP S6350123 A JPS6350123 A JP S6350123A JP 19278586 A JP19278586 A JP 19278586A JP 19278586 A JP19278586 A JP 19278586A JP S6350123 A JPS6350123 A JP S6350123A
- Authority
- JP
- Japan
- Prior art keywords
- code
- eor
- binary code
- gray code
- high speed
- 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
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 20
- 238000000034 method Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
この発明はグレイコードをバイナリコードに変換する変
換回路に関するものである。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a conversion circuit that converts a Gray code into a binary code.
(従来技術)
従来から、アブソリュートエンコーダの検出精度を高め
、また誤動作を防止するためにグレイコードで検出値を
出力し、これをバイナリコードに変換して用いることが
行われている。(Prior Art) Conventionally, in order to improve the detection accuracy of an absolute encoder and prevent malfunctions, detection values have been output in Gray code, and this has been converted into binary code for use.
(この発明が解決すべき問題点)
こうした従来型のグレイコードからバイナリコードへの
変換回路は第2図に示した様に最下位のビットGoが変
換終了するには最上位のビットGやが変化してからn段
の排他ORゲートを経由する必要があった。このため、
変換時間Tは1段当りのゲート遅延時間を△tとすると
T=n△t
となりビット長が長くなるにつれて変換時間は比例して
増大する。(Problems to be Solved by the Invention) As shown in Figure 2, in this conventional Gray code to binary code conversion circuit, it takes until the most significant bit G to complete the conversion of the lowest bit Go. After the change, it was necessary to pass through an n-stage exclusive OR gate. For this reason,
The conversion time T is expressed as T=nΔt, where Δt is the gate delay time per stage, and as the bit length becomes longer, the conversion time increases in proportion.
そこで、この発明は前記の様な従来型グレイコード・バ
イナリコード変換回路の変換時間を短縮するグレイコー
ド・バイナリコード高速化変換回路を提供することを目
的とする。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a high-speed Gray code/binary code conversion circuit that shortens the conversion time of the conventional Gray code/binary code conversion circuit as described above.
(発明の構成)
この発明によるグレイコード・バイナリコード高速化変
換回路はキャリールックアヘッド方式を用いて変換時間
の短縮を図る点に特徴がある。(Structure of the Invention) The Gray code/binary code high-speed conversion circuit according to the present invention is characterized in that it uses a carry look-ahead method to reduce conversion time.
(実 施 例)
以下、図示するこの発明の実施例により説明する。第1
図に、この発明の実施例のブロック図を示したが、2人
力排他的OR(EOR)及び3人力排他的OR(EOR
)だけを用いてGA/I−1〜Gヘーtまでの6ビツト
のグレイコードをB7〜B、PL−rO)バイナリコー
ドに変換するキャリールックアヘッド方式を用いた変換
回路を容易に形成できる。(Embodiments) Hereinafter, embodiments of the present invention will be described with reference to the drawings. 1st
A block diagram of an embodiment of the present invention is shown in FIG.
), it is possible to easily form a conversion circuit using the carry look-ahead method that converts the 6-bit Gray code from GA/I-1 to G-hat to B7-B, PL-rO) binary code.
ここで、Gへ令1はEOR3,4,5,8,9゜10に
入力され、G〜はFOR1,2,3に入力され、G、e
、−1はEOR1、2、G、、−>はEOR2に入力さ
れる。さらに、EOR1及びE01? 2の出力はEO
I? 4及びEOR5に各々入力され、EOR3,4,
5の出力が各々BQV、B、ノ、B−一、として得られ
る。(以下、省略する)
一般に、n入力までの排他的ORを用いてn・(n−1
)ビットまでのキャリールックアヘッド方式を用いた変
換回路を形成する゛ことができる。Here, G order 1 is input to EOR3, 4, 5, 8, 9°10, G~ is input to FOR1, 2, 3, G, e
, -1 is input to EOR1, 2, G, , -> is input to EOR2. Furthermore, EOR1 and E01? The output of 2 is EO
I? 4 and EOR5, respectively, and EOR3, 4,
5 outputs are obtained as BQV, B, ノ, and B-1, respectively. (Hereinafter omitted) Generally, using exclusive OR up to n inputs, n・(n-1
) It is possible to form a conversion circuit using the carry lookahead method up to bits.
この変換回路での変換時間はB、−3で2ゲート。The conversion time in this conversion circuit is B, -3 and 2 gates.
B*−tで3ゲートを経由しており、第2図の従来方式
の各々3ゲート、5ゲートの経由に比べて格段に速くな
る。B*-t passes through three gates, which is much faster than the conventional system shown in FIG. 2, which passes through three gates and five gates.
(発明の効果)
この発明によるグレイコード・バイナリコード高速化変
換回路の実施例は以上の通りであり、次に述べる効果を
挙げることができる。(Effects of the Invention) The embodiments of the Gray code/binary code high-speed conversion circuit according to the present invention are as described above, and the following effects can be achieved.
キャリールックアヘッド方式を用いることで変換時間を
短縮化し、グレイコードを高速でバイナリコードに変換
することができる。By using the carry lookahead method, conversion time can be shortened and Gray code can be converted into binary code at high speed.
第1図は実施例の回路ブロック図、第2図は従来例のブ
ロック図である。
G柑l〜Gボ・・・グレイコード+84y〜Bへ寸・
・ ・バイナリコード。FIG. 1 is a circuit block diagram of an embodiment, and FIG. 2 is a block diagram of a conventional example. G Kanl~G Bo...Gray code +84y~B to size・
・ ・Binary code.
Claims (1)
回路において、 キャリールックアヘッド方式を用いたことを特徴とする
グレイコード・バイナリコード高速化変換回路。[Claims] A high-speed Gray code/binary code conversion circuit, characterized in that the conversion circuit converts a code from a Gray code to a binary code, using a carry look-ahead method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP19278586A JPS6350123A (en) | 1986-08-20 | 1986-08-20 | High speed gray code/binary code converting circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP19278586A JPS6350123A (en) | 1986-08-20 | 1986-08-20 | High speed gray code/binary code converting circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6350123A true JPS6350123A (en) | 1988-03-03 |
Family
ID=16296956
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP19278586A Pending JPS6350123A (en) | 1986-08-20 | 1986-08-20 | High speed gray code/binary code converting circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6350123A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01126831A (en) * | 1987-11-12 | 1989-05-18 | Matsushita Electric Ind Co Ltd | Code conversion logic circuit |
KR20200028885A (en) | 2017-07-11 | 2020-03-17 | 사노 인더스트리얼 캄파니 리미티드 | Gripping device |
-
1986
- 1986-08-20 JP JP19278586A patent/JPS6350123A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01126831A (en) * | 1987-11-12 | 1989-05-18 | Matsushita Electric Ind Co Ltd | Code conversion logic circuit |
KR20200028885A (en) | 2017-07-11 | 2020-03-17 | 사노 인더스트리얼 캄파니 리미티드 | Gripping device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
NO891934D0 (en) | KEY CURRENT GENERATOR FOR DATA REVERSE DYNAMIC BACKUP. | |
KR940008612B1 (en) | Circuitry for complementing binary numbers | |
JPH04217118A (en) | Integrated high-speed synchronous counter having asynchronous readout function | |
US5504697A (en) | Limiter circuit producing data by use of comparison in effective digit number of data | |
US4899305A (en) | Manchester carry adder circuit | |
US3825924A (en) | Pulse code modulation code conversion | |
JP2757671B2 (en) | Priority encoder and floating point adder / subtracter | |
JPS6350123A (en) | High speed gray code/binary code converting circuit | |
US4924421A (en) | Priority encoding system | |
JPS62229436A (en) | Binary data discrimination circuit | |
US3786490A (en) | Reversible 2{40 s complement to sign-magnitude converter | |
US7123173B1 (en) | Method and system for a feed-forward encoder | |
US20020057742A1 (en) | Sorting device of variable-length code | |
GB1390052A (en) | Number squaring apparatus | |
US4091452A (en) | CVSD digital adder | |
US3932864A (en) | Circuit for converting a companded digital time-amplitude pulse code into a linear digital amplitude pulse code | |
JPS5619507A (en) | Coding system | |
JP3106525B2 (en) | Addition method and its circuit | |
JPS57113128A (en) | Generating circuit for digital period signal | |
JPH0637642A (en) | Pwm/binary conversion circuit | |
JPH0458322A (en) | Preceding '1' detecting circuit | |
JP2890412B2 (en) | Code conversion circuit | |
JPS61105640A (en) | Parallel complement circuit | |
JPH0445856B2 (en) | ||
JPH06224780A (en) | Code conversion circuit |