JP3241642B2 - Binary-decimal conversion circuit - Google Patents

Binary-decimal conversion circuit

Info

Publication number
JP3241642B2
JP3241642B2 JP22988797A JP22988797A JP3241642B2 JP 3241642 B2 JP3241642 B2 JP 3241642B2 JP 22988797 A JP22988797 A JP 22988797A JP 22988797 A JP22988797 A JP 22988797A JP 3241642 B2 JP3241642 B2 JP 3241642B2
Authority
JP
Japan
Prior art keywords
decimal
data
circuit
binary
double
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 - Fee Related
Application number
JP22988797A
Other languages
Japanese (ja)
Other versions
JPH1165820A (en
Inventor
浩 清水
Original Assignee
甲府日本電気株式会社
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 甲府日本電気株式会社 filed Critical 甲府日本電気株式会社
Priority to JP22988797A priority Critical patent/JP3241642B2/en
Publication of JPH1165820A publication Critical patent/JPH1165820A/en
Application granted granted Critical
Publication of JP3241642B2 publication Critical patent/JP3241642B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、2進10進変換回
路に関し、特に情報処理装置において変換処理速度を向
上させる2進10進変換回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a binary-decimal conversion circuit, and more particularly to a binary-decimal conversion circuit for improving a conversion processing speed in an information processing apparatus.

【0002】[0002]

【従来の技術】従来の2進10進変換回路においては、
変換対象の2進データのビット数と同じ回数だけ1ビッ
ト毎に変換を繰返し、2進データを10進データに変換
していた。例えば、特開昭59−168543号公報で
開示されているように、変換対象の2進データを1ビッ
ト毎に10進加算器を用いて各変換サイクル毎の2倍数
を生成することにより変換を行っている。
2. Description of the Related Art In a conventional binary-decimal conversion circuit,
Conversion is repeated for each bit by the same number of times as the number of bits of the binary data to be converted, thereby converting the binary data to decimal data. For example, as disclosed in Japanese Patent Application Laid-Open No. Sho 59-168543, conversion is performed by generating binary data for each conversion cycle by using a decimal adder for binary data to be converted using a decimal adder for each bit. Is going.

【0003】図7は、この従来の技術の構成を示すブロ
ック図である。図7を参照すると、この2進10進変換
回路は、2進データセレクタ11と、2進データレジス
タ12と、10進加算器18と、10進データレジスタ
17とから構成されている。そして、変換対象2進デー
タD0と2進データレジスタ12を1ビット左にシフト
したデータD3とを2進データセレクタ11に入力し、
2進データセレクタ11の出力D1を2進データレジス
タ12に入力し、10進データレジスタ17の出力D5
を10進加算器18の両方の入力に入力し、2進データ
レジスタ12の最上位1ビットD2を10進加算器18
のキャリー入力に入力し、10進加算器18の出力D4
を10進データレジスタ17に入力している。
FIG. 7 is a block diagram showing the configuration of this conventional technique. Referring to FIG. 7, the binary-decimal conversion circuit includes a binary data selector 11, a binary data register 12, a decimal adder 18, and a decimal data register 17. The binary data D0 to be converted and the data D3 obtained by shifting the binary data register 12 to the left by one bit are input to the binary data selector 11,
The output D1 of the binary data selector 11 is input to the binary data register 12, and the output D5 of the decimal data register 17 is output.
Is input to both inputs of the decimal adder 18 and the most significant bit D2 of the binary data register 12 is input to the decimal adder 18
And the output D4 of the decimal adder 18
Is input to the decimal data register 17.

【0004】以上のような構成において、まず、変換対
象の2進データD0を2進データセレクタ11を経由し
て2進データレジスタ12にロードするとともに、10
進データレジスタ17をリセットする。
In the above configuration, first, the binary data D0 to be converted is loaded into the binary data register 12 via the binary data selector 11,
The hex data register 17 is reset.

【0005】次に、2進データレジスタ12の現在の最
上位ビットD2と10進データレジスタ17のデータD
5とを10進加算器18で加算することにより、10進
データレジスタ17のデータD5の2倍数と2進データ
レジスタ12の現在の最上位ビットD2との加算を行
う。
Next, the current most significant bit D2 of the binary data register 12 and the data D of the decimal data register 17
By adding 5 to the decimal adder 18, a double of the data D 5 of the decimal data register 17 and the current most significant bit D 2 of the binary data register 12 are added.

【0006】また、10進加算器18の出力D4を10
進データレジスタ17に格納すると同時に、2進データ
レジスタ12のデータを1ビット左シフトしたデータD
3を、2進データセレクタ11を経由して2進データレ
ジスタ12に格納する。この動作を2進データのビット
数分だけ繰返すことにより、2進10進変換を行なって
いる。
The output D4 of the decimal adder 18 is
At the same time as the data D stored in the binary data register 17,
3 is stored in the binary data register 12 via the binary data selector 11. By repeating this operation for the number of bits of the binary data, binary-decimal conversion is performed.

【0007】[0007]

【発明が解決しようとする課題】上述した従来の技術に
おける第1の問題点は、変換対象の2進データのビット
数と同じ回数分の加算動作が要求されるため、変換処理
速度の低下を来す結果、変換処理時間の増大を招くこと
である。
A first problem in the above-mentioned prior art is that an addition operation is required as many times as the number of bits of binary data to be converted. As a result, the conversion processing time increases.

【0008】第2の問題点は、10進加算器を用いてい
るため回路規模が大きくなってしまうことである。
[0008] The second problem is that the circuit scale becomes large because a decimal adder is used.

【0009】本発明は、変換処理速度を向上させるとと
もに、回路規模にも配慮した2進10進変換回路を提供
することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a binary-decimal conversion circuit in which the conversion processing speed is improved and the circuit scale is taken into consideration.

【0010】[0010]

【課題を解決するための手段】本発明の第1の2進10
進変換回路は、変換対象のiビットの2進データを入力
して10進データへの変換を行う2進10進変換回路で
あって、2進データの最上位ビットから最初に“1”の
ビットが現れる迄の“0”のビットの数を検出するリー
ディング“1”検出回路と、前記リーディング“1”検
出回路の検出値だけ2進データを最上位側へビットシフ
トを行うシフト回路と、10進データの2倍数を生成す
る10進2倍数生成回路と、10進データの4倍数を生
成する10進4倍数生成回路と、10進データの8倍数
を生成する10進8倍数生成回路と、・・・、10進デ
ータの「2の(i−1)乗」倍数を生成する10進「2
の(i−1)乗」倍数生成回路と、前記10進2倍数生
成回路,10進4倍数生成回路,10進8倍数生成回
路,・・・・,「2の(i−1)乗」倍数生成回路によ
り生成する10進データの2倍数,4倍数,8倍数,・
・・,「2の(i−1)乗」倍数のいずれかを前記リー
ディング“1”検出回路の検出値により選択する10進
データセレクタと、を有することを特徴とする2進10
進変換回路。
SUMMARY OF THE INVENTION A first binary 10 according to the present invention.
The binary conversion circuit is a binary-to-decimal conversion circuit that inputs i-bit binary data to be converted and converts the binary data into decimal data. A leading "1" detecting circuit for detecting the number of "0" bits until a bit appears, a shift circuit for performing a bit shift of binary data to the most significant side by a value detected by the leading "1" detecting circuit, A decimal double number generating circuit for generating a double of decimal data, a decimal quadruple number generating circuit for generating a quadruple of decimal data, and a decimal octal multiple generating circuit for generating an octal number of decimal data ,... Decimal "2" which generates a multiple of "2 (i-1) power" of decimal data
"(I-1) th power" multiple generation circuit, and the aforementioned decimal double generation circuit, decimal quadruple generation circuit, decimal octuple generation circuit, ..., "2 (i-1) th power" 2x, 4x, 8x, etc. of decimal data generated by the multiple generation circuit
.. a decimal data selector for selecting one of multiples of "2 to the power of (i-1)" based on a detection value of the leading "1" detection circuit.
Base conversion circuit.

【0011】本発明の第2の2進10進変換回路は、変
換対象のiビットの2進データを入力して10進データ
への変換を行う2進10進変換回路であって、(a)前
記変換対象のiビットの2進データおよび変換処理中の
一時的な2進データを保持する2進データレジスタと、
(b)前記2進データレジスタから出力される2進デー
タの最上位ビットから最初に“1”のビットが現れる迄
の“0”のビットの数を検出するリーディング“1”検
出回路と、(c)前記リーディング“1”検出回路の検
出値の数だけ前記2進データレジスタの出力を最上位側
へビットシフトしたデータを出力するシフト回路と、
(d)前記変換対象の2進データと、前記シフト回路の
出力データから最上位1ビットを除いた2ビット目以降
のデータのいずれかを選択し、前記2進データレジスタ
の格納データとする2進データセレクタと、(e)変換
処理中の一時的な10進データおよび最終変換結果の1
0進データを格納し、10進データセレクタの出力の最
下位1ビットを、前記リーディング“1”検出回路の検
出値だけ前記シフト回路によって最上位側へシフトした
データの最上位1ビットと差し替えたデータを出力する
10進データレジスタと、(f)前記10進データレジ
スタの出力から10進データの2倍数を生成する10進
2倍数生成回路と、前記10進データレジスタの出力か
ら10進データの4倍数を生成する10進4倍数生成回
路と、前記10進データレジスタの出力から10進デー
タの8倍数を生成する10進8倍数生成回路と、・・
・、前記10進データレジスタの出力から10進データ
の「2の(i−1)乗」倍数を生成する10進「2の
(i−1)乗」倍数生成回路と、(g)前記10進2倍
数生成回路,10進4倍数生成回路,10進8倍数生成
回路,・・・・,「2の(i−1)乗」倍数生成回路に
より生成する10進データの2倍数,4倍数,8倍数,
・・・,「2の(i−1)乗」倍数のいずれかを前記リ
ーディング“1”検出回路の検出値により選択する10
進データセレクタと、を有することを特徴とする。
The second binary-decimal conversion circuit of the present invention is a binary-decimal conversion circuit that inputs i-bit binary data to be converted and converts the binary data into decimal data. A) a binary data register for holding the i-bit binary data to be converted and the temporary binary data being converted;
(B) a leading "1" detection circuit for detecting the number of "0" bits from the most significant bit of the binary data output from the binary data register until the first "1" bit appears; c) a shift circuit that outputs data obtained by bit-shifting the output of the binary data register to the most significant side by the number of detection values of the reading “1” detection circuit;
(D) selecting one of the binary data to be converted and the data after the second bit after removing the most significant bit from the output data of the shift circuit, and selecting the data as storage data of the binary data register. (E) temporary decimal data during conversion processing and 1 of final conversion result
Zero-level data is stored, and the least significant bit of the output of the decimal data selector is replaced with the most significant bit of data shifted to the most significant side by the shift circuit by the value detected by the leading "1" detection circuit. A decimal data register for outputting data; (f) a decimal double number generating circuit for generating a double of the decimal data from an output of the decimal data register; A decimal quadruple number generating circuit for generating a quadruple number, a decimal octal number generating circuit for generating an octal number of decimal data from the output of the decimal data register,
A decimal "2 (i-1)" multiple generation circuit for generating a "2 (i-1)" multiple of the decimal data from the output of the decimal data register; Binary multiple generation circuit, decimal quadruple generation circuit, decimal octal multiple generation circuit,..., Doubles and quadruples of decimal data generated by the “(2−1) power” multiple generation circuit , 8 multiples,
... Select one of multiples of "2 to the (i-1) th power" by the detection value of the leading "1" detection circuit.
And a binary data selector.

【0012】本発明の第3の2進10進変換回路は、変
換対象のiビットの2進データを入力して10進データ
への変換を行う2進10進変換回路であって、2進デー
タの最上位ビットから最初に“1”のビットが現れる迄
の“0”のビットの数を検出するリーディング“1”検
出回路と、前記リーディング“1”検出回路の検出値だ
け2進データを最上位側へビットシフトを行うシフト回
路と、10進データの2倍数を生成する第1の10進2
倍数生成回路と、前記第1の10進2倍数生成回路の出
力を入力することにより10進データの4倍数を生成す
る第2の10進2倍数生成回路と、前記第2の10進2
倍数生成回路の出力を入力することにより10進データ
の8倍数を生成する第3の10進2倍数生成回路と、・
・・、10進データの「2の(i−2)乗」倍数を生成
する第(i−2)の10進2倍数生成回路の出力を入力
することにより10進データの「2の(i−1)乗」倍
数を生成する第(i−1)の10進2倍数生成回路と、
前記第1の10進2倍数生成回路,第2の10進2倍数
生成回路,第3の10進2倍数生成回路,・・・・,第
(i−1)の10進2倍数生成回路により生成する10
進データの2倍数,4倍数,8倍数,・・・,「2の
(i−1)乗」倍数のいずれかを前記リーディング
“1”検出回路の検出値により選択する10進データセ
レクタと、を有することを特徴とする。
A third binary-decimal conversion circuit according to the present invention is a binary-decimal conversion circuit for inputting i-bit binary data to be converted and converting the binary data into decimal data. A leading "1" detection circuit for detecting the number of "0" bits from the most significant bit of the data to the first appearance of a "1" bit, and binary data corresponding to the value detected by the leading "1" detection circuit. A shift circuit for performing a bit shift to the most significant side, and a first decimal 2 for generating a double number of decimal data
A multiple generation circuit, a second decimal double generation circuit for generating a quadruple of decimal data by inputting an output of the first decimal double generation circuit, and a second decimal binary
A third decimal double generation circuit that generates an eight-fold number of decimal data by inputting an output of the multiple generation circuit;
.. By inputting the output of the (i-2) th decimal double generation circuit that generates the "2 (i-2) power" multiple of the decimal data, the decimal data "2 (i)" is input. -1) a (i-1) th decimal double generation circuit for generating a power "multiple;
The first decimal double number generation circuit, the second decimal double number generation circuit, the third decimal double number generation circuit,..., The (i-1) th decimal double number generation circuit Generate 10
A decimal data selector for selecting any one of a double, a quadruple, an eight,..., A “2 (i−1) power” multiple of the decimal data based on a detection value of the leading “1” detection circuit; It is characterized by having.

【0013】本発明の第4の2進10進変換回路は、変
換対象のiビットの2進データを入力して10進データ
への変換を行う2進10進変換回路であって、(a)前
記変換対象のiビットの2進データおよび変換処理中の
一時的な2進データを保持する2進データレジスタと、
(b)前記2進データレジスタから出力される2進デー
タの最上位ビットから最初に“1”のビットが現れる迄
の“0”のビットの数を検出するリーディング“1”検
出回路と、(c)前記リーディング“1”検出回路の検
出値の数だけ前記2進データレジスタの出力を最上位側
へビットシフトしたデータを出力するシフト回路と、
(d)前記変換対象の2進データと、前記シフト回路の
出力データから最上位1ビットを除いた2ビット目以降
のデータのいずれかを選択し、前記2進データレジスタ
の格納データとする2進データセレクタと、(e)変換
処理中の一時的な10進データおよび最終変換結果の1
0進データを格納し、10進データセレクタの出力の最
下位1ビットを、前記リーディング“1”検出回路の検
出値だけ前記シフト回路によって最上位側へシフトした
データの最上位1ビットと差し替えたデータを出力する
10進データレジスタと、(f)前記10進データレジ
スタの出力から10進データの2倍数を生成する第1の
10進2倍数生成回路と、前記第1の10進2倍数生成
回路の出力を入力することにより10進データの4倍数
を生成する第2の10進2倍数生成回路と、前記第2の
10進2倍数生成回路の出力を入力することにより10
進データの8倍数を生成する第3の10進2倍数生成回
路と、・・・、10進データの「2の(i−2)乗」倍
数を生成する第(i−2)の10進2倍数生成回路の出
力を入力することにより10進データの「2の(i−
1)乗」倍数を生成する第(i−1)の10進2倍数生
成回路と、(g)前記第1の10進2倍数生成回路,第
2の10進2倍数生成回路,第3の10進2倍数生成回
路,・・・・,第(i−1)の10進2倍数生成回路に
より生成する10進データの2倍数,4倍数,8倍数,
・・・,「2の(i−1)乗」倍数のいずれかを前記リ
ーディング“1”検出回路の検出値により選択する10
進データセレクタと、を有することを特徴とする。
The fourth binary-decimal conversion circuit of the present invention is a binary-decimal conversion circuit that inputs i-bit binary data to be converted and converts the binary data into decimal data. A) a binary data register for holding the i-bit binary data to be converted and the temporary binary data being converted;
(B) a leading "1" detection circuit for detecting the number of "0" bits from the most significant bit of the binary data output from the binary data register until the first "1" bit appears; c) a shift circuit that outputs data obtained by bit-shifting the output of the binary data register to the most significant side by the number of detection values of the reading “1” detection circuit;
(D) selecting one of the binary data to be converted and the data after the second bit after removing the most significant bit from the output data of the shift circuit, and selecting the data as storage data of the binary data register. (E) temporary decimal data during conversion processing and 1 of final conversion result
Zero-level data is stored, and the least significant bit of the output of the decimal data selector is replaced with the most significant bit of data shifted to the most significant side by the shift circuit by the value detected by the leading "1" detection circuit. A decimal data register for outputting data; (f) a first decimal double generation circuit for generating a double of decimal data from an output of the decimal data register; and a first decimal double generation circuit. A second decimal double generation circuit for generating a quadruple of the decimal data by inputting an output of the circuit; and a second decimal double generation circuit for inputting the output of the second decimal double generation circuit.
A third decimal doubling generation circuit for generating an octal multiple of decimal data,... A (i-2) th decimal generating a "2 (i-2) power" multiple of the decimal data By inputting the output of the double number generation circuit, the decimal data "2 (i-
(1) a (i-1) -th decimal double generation circuit for generating a multiple, and (g) the first decimal double generation circuit, a second decimal double generation circuit, and a third. Decimal doubling generation circuit,..., 2 times, 4 times, 8 times, etc. of decimal data generated by the (i-1) th decimal doubling number generation circuit
... Select one of multiples of "2 to the (i-1) th power" by the detection value of the leading "1" detection circuit.
And a binary data selector.

【0014】本発明の第5の2進10進変換回路は、変
換対象のiビットの2進データを入力して10進データ
への変換を行う2進10進変換回路であって、2進デー
タの前記iビットより小さい特定数nビットにおいて最
上位ビットから最初に“1”のビットが現れる迄の
“0”のビットの数を検出するリーディング“1”検出
回路と、2進データを前記リーディング“1”検出回路
の検出値により最小0ビットから最大nビットまで最上
位側へビットシフトを行うシフト回路と、10進データ
の2倍数,4倍数,8倍数,・・・,「2の(n+1)
乗」倍数をそれぞれ生成する(n+1)個の10進2倍
数生成回路と、前記(n+1)個の10進2倍数生成回
路により生成する前記10進データの2倍数,4倍数,
8倍数,・・・,「2の(n+1)乗」倍数のいずれか
を前記リーディング“1”検出回路の検出値により選択
する10進データセレクタと、を有することを特徴とす
る。
A fifth binary-decimal conversion circuit according to the present invention is a binary-decimal conversion circuit for inputting i-bit binary data to be converted and converting the binary data into decimal data. A leading "1" detection circuit for detecting the number of "0" bits from the most significant bit to the first "1" bit in the specific number n bits smaller than the i bits of the data; A shift circuit that performs a bit shift from the minimum 0 bits to the maximum n bits to the most significant bit according to the detection value of the leading “1” detection circuit, and a multiple of two, four, eight,. (N + 1)
(N + 1) decimal doubling generators each generating a “multiplier” multiple, and doubling, quadrupling, and doubling the decimal data generated by the (n + 1) decimal doubling generators.
And a decimal data selector for selecting any one of octal multiples,..., "2 to the power of (n + 1)", based on the detection value of the leading "1" detection circuit.

【0015】本発明の第6の2進10進変換回路は、変
換対象のiビットの2進データを入力して10進データ
への変換を行う2進10進変換回路であって、(a)前
記変換対象のiビットの2進データおよび変換処理中の
一時的な2進データを保持する2進データレジスタと、
(b)前記2進データレジスタから出力される2進デー
タの前記iビットより小さい最上位ビットから連続する
特定数nビットにおいて、最初に“1”のビットが現れ
る迄の“0”のビットの数を検出するリーディング
“1”検出回路と、(c)前記リーディング“1”検出
回路の検出値の数だけ前記2進データレジスタの出力を
最上位側へビットシフトしたデータを出力するシフト回
路と、(d)前記変換対象の2進データと、前記シフト
回路の出力データから最上位1ビットを除いた2ビット
目以降のデータのいずれかを選択し、前記2進データレ
ジスタの格納データとする2進データセレクタと、
(e)変換処理中の一時的な10進データおよび最終変
換結果の10進データを格納し、10進データセレクタ
の出力の最下位1ビットを、前記リーディング“1”検
出回路の検出値だけ前記シフト回路によって最上位側へ
シフトしたデータの最上位1ビットと差し替えたデータ
を出力する10進データレジスタと、(f)それぞれを
直列に接続することにより前記10進データレジスタの
出力から10進2倍数,10進4倍数,10進8倍数,
・・・,10進「2の(n+1)乗」倍数を生成,出力
する(n+1)個の10進2倍数生成回路と、(g)前
記(n+1)個の10進2倍数生成回路により生成する
10進データの2倍数,4倍数,8倍数,・・・,「2
の(n+1)乗」倍数のいずれかを前記リーディング
“1”検出回路の検出値によって選択する10進データ
セレクタと、を有することを特徴とする。
A sixth binary-decimal conversion circuit according to the present invention is a binary-decimal conversion circuit for inputting i-bit binary data to be converted and converting the binary data into decimal data. A) a binary data register for holding the i-bit binary data to be converted and the temporary binary data being converted;
(B) In a specific number n bits consecutive from the most significant bit smaller than the i bit of the binary data output from the binary data register, bits of “0” until a bit of “1” first appears. (C) a shift circuit that outputs data obtained by bit-shifting the output of the binary data register to the most significant side by the number of detection values of the reading “1” detection circuit; , (D) selecting either the binary data to be converted or the data after the second bit after removing the most significant bit from the output data of the shift circuit, and sets the selected data as the data stored in the binary data register. A binary data selector,
(E) The temporary decimal data during the conversion process and the decimal data of the final conversion result are stored, and the least significant bit of the output of the decimal data selector is changed by the value detected by the leading "1" detection circuit. A decimal data register for outputting data replaced with the most significant bit of the data shifted to the most significant side by the shift circuit, and (f) connecting each of them in series to convert the output of the decimal data register to decimal 2 Multiple, decimal 4 multiple, decimal 8 multiple,
..., (n + 1) decimal double generation circuits for generating and outputting the decimal "2 (n + 1) power" multiples, and (g) generation by the (n + 1) decimal double generation circuits 2 times, 4 times, 8 times, ..., "2
And a decimal data selector for selecting any one of the multiples of (n + 1) th power based on the detection value of the leading “1” detection circuit.

【0016】[0016]

【発明の実施の形態】本発明の実施の形態について図面
を参照して説明する。図1は、本発明の一実施の形態の
構成を示すブロック図である。図1を参照すると、本発
明の2進10進変換回路は、2進データセレクタ11
と、2進データレジスタ12と、リーディング“1”検
出回路13と、シフト回路14と、8個の10進2倍数
生成回路15(1)〜15(8)と、10進データセレ
クタ16と、10進データレジスタ17とから構成され
る。なお、8個の10進2倍数生成回路はすべて同じ回
路構成を備えている。
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention. Referring to FIG. 1, the binary-decimal conversion circuit of the present invention includes a binary data selector 11.
A binary data register 12, a reading "1" detection circuit 13, a shift circuit 14, eight decimal double generation circuits 15 (1) to 15 (8), a decimal data selector 16, And a decimal data register 17. Note that all eight decimal double generation circuits have the same circuit configuration.

【0017】次に、各構成回路間の接続について説明す
る。
Next, the connection between the constituent circuits will be described.

【0018】変換対象2進データ000と、シフト回路
14の出力の最上位1ビットを除いたデータ401と
は、2進データセレクタ11に入力される。2進データ
セレクタ11の出力100は、2進データレジスタ12
に入力される。2進データレジスタ12の最上位7ビッ
トの出力200は、リーディング“1”検出回路13に
入力される。リーディング“1”検出回路13の出力デ
ータ300は、シフト回路14にシフト量として入力さ
れるとともに、10進データセレクタ16にセレクト制
御信号として入力される。2進データレジスタの出力2
01は、シフト回路14にシフトデータとして入力され
る。シフト回路14の出力の最上位1ビットのデータ4
00は、10進データレジスタ17に差し替え用データ
として入力される。
The binary data 000 to be converted and the data 401 excluding the most significant bit of the output of the shift circuit 14 are input to the binary data selector 11. The output 100 of the binary data selector 11 is the binary data register 12
Is input to The output 7 of the 7 most significant bits of the binary data register 12 is input to the reading “1” detection circuit 13. The output data 300 of the reading “1” detection circuit 13 is input to the shift circuit 14 as a shift amount and is also input to the decimal data selector 16 as a select control signal. Output 2 of binary data register
01 is input to the shift circuit 14 as shift data. Most significant 1-bit data 4 of the output of shift circuit 14
00 is input to the decimal data register 17 as replacement data.

【0019】また、10進データレジスタ17の出力5
00は、10進2倍数生成回路15(1)に入力され
る。そして、10進2倍数生成回路15(1)の出力は
10進2倍数生成回路15(2)に入力され、この後1
5(2)→15(3)→15(4)……→15(8)と
いうように、それぞれの10進2倍数生成回路15の出
力が次の10進2倍数生成回路15に入力される。さら
に、10進2倍数生成回路15(1)〜15(8)のそ
れぞれの出力601〜608は、10進データセレクタ
16にセレクトデータとして入力される。そして、10
進データセレクタ16の出力データ700は、10進デ
ータレジスタ17に入力される。
The output 5 of the decimal data register 17
00 is input to the decimal double number generation circuit 15 (1). The output of the decimal double generation circuit 15 (1) is input to the decimal double generation circuit 15 (2).
15 (2) → 15 (3) → 15 (4)... → 15 (8), the output of each decimal double generation circuit 15 is input to the next decimal double generation circuit 15. . Further, respective outputs 601 to 608 of the decimal double number generation circuits 15 (1) to 15 (8) are input to the decimal data selector 16 as select data. And 10
The output data 700 of the decimal data selector 16 is input to the decimal data register 17.

【0020】図2は、図1の10進2倍数生成回路15
のブロック図である。図1に示す10進2倍数生成回路
15(1)〜15(8)は、それぞれ図2に示す構成を
備えている。
FIG. 2 is a circuit diagram of the decimal double generation circuit 15 shown in FIG.
It is a block diagram of. Each of the decimal doubling generation circuits 15 (1) to 15 (8) shown in FIG. 1 has the configuration shown in FIG.

【0021】各10進2倍数生成回路は、j桁(jは正
整数)の10進データ; d0(0),d0(1),d0(2),d0(3)・・・di-1(0),di-1
(1),di-1(2),di-1(3),di(0),di(1),di(2),di(3),
di+1(0),di+1(1),di+1(2),di+1(3)・・・dj-1(0),
dj-1(1),dj-1(2),dj-1(3) から、10進2倍数データ; D-1(3),D0(0),D0(1),D0(2),D0(3)・・・Di-1(0),
Di-1(1),Di-1(2),Di-1(3),Di(0),Di(1),Di(2),D
i(3),Di+1(0),Di+1(1),Di+1(2),Di+1(3)・・・Dj-
1(0),Dj-1(1),Dj-1(2),Dj-1(3) を生成するように、1桁毎に2倍数生成回路151を備
えている。2倍数生成回路151(0)は、最上位の桁
に対応し、151(j-1)は、最下位の桁に対応してい
る。なお、これらの2倍数生成回路151はすべて同一
の構成を持っている。
Each decimal doubling circuit generates j digits (j is a positive integer) of decimal data; d0 (0), d0 (1), d0 (2), d0 (3),. (0), di-1
(1), di-1 (2), di-1 (3), di (0), di (1), di (2), di (3),
di + 1 (0), di + 1 (1), di + 1 (2), di + 1 (3) ... dj-1 (0),
From dj-1 (1), dj-1 (2), dj-1 (3), decimal double data; D-1 (3), D0 (0), D0 (1), D0 (2), D0 (3) ・ ・ ・ Di-1 (0),
Di-1 (1), Di-1 (2), Di-1 (3), Di (0), Di (1), Di (2), D
i (3), Di + 1 (0), Di + 1 (1), Di + 1 (2), Di + 1 (3) ... Dj-
A double number generation circuit 151 is provided for each digit so as to generate 1 (0), Dj-1 (1), Dj-1 (2), and Dj-1 (3). The double number generation circuit 151 (0) corresponds to the most significant digit, and 151 (j-1) corresponds to the least significant digit. Note that these double number generation circuits 151 all have the same configuration.

【0022】図3は、図2の1桁毎の2倍数生成回路1
51の詳細回路図の一例である。
FIG. 3 is a diagram showing a double number generating circuit 1 for each digit shown in FIG.
FIG. 51 is an example of a detailed circuit diagram of reference numeral 51.

【0023】図4は、1桁変換時の10進2倍数生成回
路の変換表である。図4に示すとおり、10進データの
1桁は“0”から“9”までであることから、その2倍
数は“0”から“18”までとなる。そして、10進2
倍数生成結果の変換桁の最下位ビットは必ず“0”とな
る。
FIG. 4 is a conversion table of the decimal double number generating circuit at the time of one digit conversion. As shown in FIG. 4, one digit of the decimal data is from “0” to “9”, and its double number is from “0” to “18”. And decimal 2
The least significant bit of the conversion digit of the multiple generation result is always "0".

【0024】図5は、複数桁変換時の10進2倍数生成
回路の変換表である。複数桁の10進数の10進2倍数
の生成においては、下位桁からの桁上がりが1ビット生
じるが、図4で説明した通り、各桁の最下位ビットは2
倍されることにより“0”となるため、下位桁からの桁
上がり1ビットをそのまま入れることができる。
FIG. 5 is a conversion table of a decimal double generation circuit for multi-digit conversion. In the generation of a decimal double of a multi-digit decimal number, one carry from the lower digit occurs, but as described with reference to FIG. 4, the least significant bit of each digit is 2 bits.
Since the value is multiplied to “0”, one bit of carry from the lower digit can be directly input.

【0025】従って、j桁の10進数の任意の1桁の di(0),di(1),di(2),di(3) を10進2倍数 Di-1(3),Di(0),Di(1),Di(2),Di(3) に変換する場合(iは0とj-1の間の正整数)、 Di-1(3)=di(0)+di(1)*( di(2)+di(3) ) Di(0) =di(0)*di(3)+di(1)*di(2)'*di(3)' Di(1) =di(0)*di(3)'+di(1)'*di(2)+di(2)*di
(3) Di(2) =di(0)'*di(1)'*di(3)+di(1)*di(2)*di
(3)'+di(0)*di(3)' の論理により生成出来る。
Therefore, any one digit di (0), di (1), di (2), di (3) of a j-digit decimal number is converted to a decimal double number Di-1 (3), Di (0). ), Di (1), Di (2), Di (3) (i is a positive integer between 0 and j-1), Di-1 (3) = di (0) + di (1) ) * (di (2) + di (3)) Di (0) = di (0) * di (3) + di (1) * di (2) '* di (3)' Di (1) = di (0) * di (3) '+ di (1)' * di (2) + di (2) * di
(3) Di (2) = di (0) '* di (1)' * di (3) + di (1) * di (2) * di
(3) It can be generated by the logic of '+ di (0) * di (3)'.

【0026】ここで、 「*」 は論理積,「+」は論理
和,「'」は反転(コンプリメント)を示している。
Here, "*" indicates a logical product, "+" indicates a logical sum, and "'" indicates an inversion (complement).

【0027】よって、図3に示す1桁毎の2倍数生成回
路151を、図2のように並列に接続して10進2倍数
生成回路15を構成することにより、複数桁の10進数
の10進2倍数を生成することができる。
Therefore, by connecting the double number generation circuits 151 shown in FIG. 3 for each digit in parallel as shown in FIG. Binary doubles can be generated.

【0028】次に、本発明の2進10進変換回路の動作
について図1および図6を参照して詳細に説明する。図
6は、2進10進変換回路における変換の状態推移表で
ある。
Next, the operation of the binary-decimal conversion circuit of the present invention will be described in detail with reference to FIGS. FIG. 6 is a state transition table of conversion in the binary-decimal conversion circuit.

【0029】まず、変換対象の2進データ000を2進
データセレクタ11を経由して2進データレジスタ12
にロードするとともに、10進データレジスタ17をリ
セットする。
First, the binary data 000 to be converted is converted via the binary data selector 11 into the binary data register 12.
And the decimal data register 17 is reset.

【0030】次に、リーディング“1”検出回路13
は、2進データレジスタ12の最上位7ビットのデータ
200において、最初に“1”が現れる迄のビット数3
00を検出する。そして、シフト回路14は、そのビッ
ト数分だけ2進データレジスタ12の出力201を左シ
フトする。
Next, the leading "1" detecting circuit 13
Is the number of bits 3 until the first "1" appears in the most significant 7-bit data 200 of the binary data register 12.
00 is detected. Then, the shift circuit 14 shifts the output 201 of the binary data register 12 to the left by the number of bits.

【0031】さらに、リーディング“1”検出回路13
は、上記ビット数300を10進データセレクタ16に
セレクト制御信号として入力する。
Further, the leading "1" detecting circuit 13
Inputs the number of bits 300 to the decimal data selector 16 as a select control signal.

【0032】10進2倍数生成回路15は、15(1)
〜15(8)迄が図1に示すように接続されており、1
0進データレジスタ17の出力500は、10進2倍数
生成回路15(1)に入力されている。このため、10
進データレジスタ17の出力500に対して、15
(1)の出力601は2倍数,15(2)の出力602
は4倍数,15(3)の出力603は8倍数,15
(4)の出力604は16倍数,15(5)の出力60
5は32倍数,15(6)の出力606は64倍数,1
5(7)の出力607は128倍数,15(8)の出力
608は256倍数というように、一個の10進2倍数
生成回路15を経由する度に2倍されていく。
The double-decimal number generating circuit 15 calculates 15 (1)
15 to (8) are connected as shown in FIG.
The output 500 of the 0-ary data register 17 is input to the decimal double generation circuit 15 (1). Therefore, 10
15 from the output 500 of the binary data register 17
The output 601 of (1) is a double number and the output 602 of 15 (2)
Is a multiple, 15 (3) output 603 is an 8 multiple, 15
The output 604 of (4) is a multiple of 16 and the output 60 of 15 (5)
5 is 32 multiples, 15 (6) output 606 is 64 multiples, 1
The output 607 of 5 (7) is a multiple of 128, and the output 608 of 15 (8) is a multiple of 256, so that the output 607 is doubled every time it passes through one decimal double generation circuit 15.

【0033】10進データセレクタ16は、リーディン
グ“1”検出回路13からセレクト制御信号として入力
されたビット数300により、出力601〜608のい
ずれかを選択する。例えば、図6に示すように、ビット
数300が0の場合は2倍数である601,1の場合は
4倍数である602,2の場合は8倍数である603,
7の場合は256倍数である608を選択する。
The decimal data selector 16 selects one of the outputs 601 to 608 according to the number of bits 300 input as a select control signal from the leading "1" detection circuit 13. For example, as shown in FIG. 6, when the number of bits 300 is 0, the number is 601, which is a double number, when the number of bits 300 is 1, 602, which is a quadruple number, and when the number of bits 300 is 2, 603,
In the case of 7, 608 which is a multiple of 256 is selected.

【0034】以上のように選択されたデータ700は、
10進データセレクタ16から10進データレジスタ1
7に入力される。
The data 700 selected as described above is
Decimal data selector 16 to decimal data register 1
7 is input.

【0035】10進データレジスタ17は、10進デー
タセレクタ16で選択したデータ700の最下位1ビッ
トを、シフト回路14から入力された最上位1ビット4
00と差し替えて格納する。
The decimal data register 17 stores the least significant one bit of the data 700 selected by the decimal data selector 16 into the most significant one bit 4 inputted from the shift circuit 14.
Replaced with 00 and stored.

【0036】また、シフト回路14の出力の最上位1ビ
ットを除いたデータ401を、2進データセレクタ11
を介して2進データレジスタ12に格納する。
The data 401 excluding the most significant bit of the output of the shift circuit 14 is converted to the binary data selector 11.
Through the binary data register 12.

【0037】以上の動作を、変換対象2進データ000
の全ビットが2進データレジスタ12から無くなる迄繰
返すことにより、変換対象の2進データ000が10進
データ500に変換される。図6に示すように、変換対
象2進データ000が“11000000000100
10”の場合、変換を6サイクル繰返すことによって1
0進データ“49170”が得られる。
The above operation is performed by converting the binary data 000 to be converted.
Is repeated until all the bits of the binary data register 12 have disappeared from the binary data register 12, thereby converting the binary data 000 to be converted into the decimal data 500. As shown in FIG. 6, the binary data 000 to be converted is “1100000000000100”.
In the case of 10 ", 1 cycle is obtained by repeating the conversion for 6 cycles.
Zero-level data "49170" is obtained.

【0038】以上、図1を主体に本発明の動作について
説明したが、以下、図6に示す各構成回路の出力値の遷
移について動作に伴って説明する。
While the operation of the present invention has been described mainly with reference to FIG. 1, the transition of the output value of each constituent circuit shown in FIG. 6 will be described along with the operation.

【0039】図6は、2進10進変換回路における変換
の状態推移表であり、変換対象2進データを“1100
000000010010”と仮定して10進データに
変換する場合の演算動作において、各演算サイクル毎の
各構成回路の出力値を示した状態遷移表である。
FIG. 6 is a state transition table of the conversion in the binary-decimal conversion circuit.
9 is a state transition table showing output values of each component circuit in each operation cycle in an operation in a case where the data is converted to decimal data assuming “000000010010”.

【0040】最初に、変換対象2進データ“11000
00000010010”を2進データセレクタ11を
経由して2進データレジスタ12にロードするととも
に、10進データレジスタ17を“00000”にリセ
ットする。この状態が、図6に示すサイクル0である。
First, the binary data to be converted "11000"
0000000010010 "is loaded into the binary data register 12 via the binary data selector 11, and the decimal data register 17 is reset to" 00000 ". This state is cycle 0 shown in FIG.

【0041】まず、1回目の変換サイクルでは、2進デ
ータレジスタ12の最上位ビットが“1”であることか
らリーディング“1”検出回路13の出力300の値は
“0”となる。シフト回路14の出力400は、2進デ
ータレジスタ12の出力の値“11000000000
10010”を前記リーディング“1”検出回路13の
出力300の値“0”をシフト量として左シフトした最
上位1ビットの“1”となる。シフト回路14の出力4
01は、2進データレジスタ12の出力の値“1100
000000010010”を前記リーディング“1”
検出回路13の出力300の値“0”をシフト量として
左シフトした最上位2ビット目以降のデータ“1000
000000100100”となる。前記シフト回路1
4の出力の401の値“10000000001001
00”が2進データセレクタ11を経由して2進データ
レジスタ12に格納される。10進データセレクタ16
は、前記リーディング“1”検出回路13の出力300
の値“0”によって、10進データレジスタ17の出力
500の値“00000”の2倍数となる10進2倍数
生成回路15(1)の出力601の値“00000”を
選択し、その最下位1ビットを前記シフト回路14の出
力400の値“1”と差し替えた値“00001”が1
0進データレジスタ17に格納される。
First, in the first conversion cycle, since the most significant bit of the binary data register 12 is "1", the value of the output 300 of the reading "1" detection circuit 13 becomes "0". The output 400 of the shift circuit 14 has the value “1100000000000” of the output of the binary data register 12.
10010 "becomes the most significant 1 bit" 1 "left-shifted using the value" 0 "of the output 300 of the leading" 1 "detection circuit 13 as the shift amount.
01 is an output value “1100” of the binary data register 12.
000000010010 ”to the leading“ 1 ”
The data "1000" of the second most significant bit after the left-shifted value with the value "0" of the output 300 of the detection circuit 13 shifted to the left as a shift amount.
000000100100 ". The shift circuit 1
The value of 401 of the output of 4 "10000000000001001"
00 "is stored in the binary data register 12 via the binary data selector 11. The decimal data selector 16
Is the output 300 of the reading "1" detection circuit 13.
Of the output 601 of the decimal double generation circuit 15 (1) which is a multiple of the value "00000" of the output 500 of the decimal data register 17 by the value "0" of the decimal data register 17, is selected. The value “00001” obtained by replacing one bit with the value “1” of the output 400 of the shift circuit 14 is 1
It is stored in the 0-ary data register 17.

【0042】次に、2回目の変換サイクルでは、2進デ
ータレジスタ12の最上位ビットが“1”であることか
らリーディング“1”検出回路13の出力300の値は
“0”となる。シフト回路14の出力400は、2進デ
ータレジスタ12の出力の値“10000000001
00100”を前記リーディング“1”検出回路13の
出力300の値“0”をシフト量として左シフトした最
上位1ビットの“1”となる。シフト回路14の出力4
01は、2進データレジスタ12の出力の値“1000
000000100100”を前記リーディング“1”
検出回路13の出力300の値“0”をシフト量として
左シフトした最上位2ビット目以降のデータ“0000
000001001000”となる。前記シフト回路1
4の出力の401の値“00000000010010
00”が2進データセレクタ11を経由して2進データ
レジスタ12に格納される。10進データセレクタ16
は、前記リーディング“1”検出回路13の出力300
の値“0”によって、10進データレジスタ17の出力
500の値“00001”の2倍数となる10進2倍数
生成回路15(1)の出力601の値“00002”を
選択し、その最下位1ビットを前記シフト回路14の出
力400の値“1”と差し替えた値“00003”が1
0進データレジスタ17に格納される。
Next, in the second conversion cycle, since the most significant bit of the binary data register 12 is "1", the value of the output 300 of the reading "1" detection circuit 13 becomes "0". The output 400 of the shift circuit 14 is a value “100000000001” of the output of the binary data register 12.
00100 "becomes the most significant 1 bit" 1 "left-shifted using the value" 0 "of the output 300 of the leading" 1 "detection circuit 13 as the shift amount.
01 is the value of the output of the binary data register 12 "1000"
000000100100 ”to the leading“ 1 ”
The data "0000" of the second most significant bit after the left-hand shift, using the value "0" of the output 300 of the detection circuit 13 as the shift amount.
000001001000 ". The shift circuit 1
The value of 401 of the output of 4 "00000000000010010"
00 "is stored in the binary data register 12 via the binary data selector 11. The decimal data selector 16
Is the output 300 of the reading "1" detection circuit 13.
The value "00002" of the output 601 of the decimal double generation circuit 15 (1) which is a multiple of the value "00001" of the output 500 of the decimal data register 17 is selected by the value "0" of the The value “00003” obtained by replacing one bit with the value “1” of the output 400 of the shift circuit 14 is 1
It is stored in the 0-ary data register 17.

【0043】次に、3回目の変換サイクルでは、2進デ
ータレジスタ12の最上位7ビットが“000000
0”であることからリーディング“1”検出回路13の
出力300の値は“7”となる。シフト回路14の出力
400は、2進データレジスタ12の出力の値“000
0000001001000”を前記リーディング
“1”検出回路13の出力300の値“7”をシフト量
として左シフトした最上位1ビットの“0”となる。シ
フト回路14の出力401は、2進データレジスタ12
の出力の値“0000000001001000”を前
記リーディング“1”検出回路13の出力300の値
“7”をシフト量として左シフトした最上位2ビット目
以降のデータ“0100100000000000”と
なる。前記シフト回路14の出力の401の値“010
0100000000000”が2進データセレクタ1
1を経由して2進データレジスタ12に格納される。1
0進データセレクタ16は、前記リーディング“1”検
出回路13の出力300の値“7”によって、10進デ
ータレジスタ17の出力500の値“00003”の2
56倍数となる10進2倍数生成回路15(8)の出力
608の値“00768”を選択し、その最下位1ビッ
トを前記シフト回路14の出力400の値“0”と差し
替えた値“00768”が10進データレジスタ17に
格納される。
Next, in the third conversion cycle, the most significant 7 bits of the binary data register 12 are set to "000000".
Since it is 0, the value of the output 300 of the reading “1” detection circuit 13 is “7.” The output 400 of the shift circuit 14 is the value “000” of the output of the binary data register 12.
0000001001000 ”becomes the most significant 1 bit“ 0 ”left-shifted with the value“ 7 ”of the output 300 of the leading“ 1 ”detection circuit 13 as the shift amount.The output 401 of the shift circuit 14 is the binary data register 12
The output value “0000000001001000” is shifted to the left by using the value “7” of the output 300 of the leading “1” detection circuit 13 as the shift amount, and becomes the data “011001000000000000” of the second most significant bit. The value 401 of the output of the shift circuit 14 “010”
01000000000000 "is the binary data selector 1
1 is stored in the binary data register 12. 1
Based on the value “7” of the output 300 of the reading “1” detection circuit 13, the zero-decimal data selector 16 calculates the value of “00003” of the output 500 of the decimal data register 17 by two.
The value “00768” of the output 608 of the decimal double generation circuit 15 (8), which is a multiple of 56, is selected, and the least significant bit is replaced with the value “0768” of the output 400 of the shift circuit 14 to obtain the value “00776”. Is stored in the decimal data register 17.

【0044】次に、4回目の変換サイクルでは、2進デ
ータレジスタ12の最上位3ビットが“01”であるこ
とからリーディング“1”検出回路13の出力300の
値は“1”となる。シフト回路14の出力400は、2
進データレジスタ12の出力の値“010010000
0000000”を前記リーディング“1”検出回路1
3の出力300の値“1”をシフト量として左シフトし
た最上位1ビットの“1”となる。シフト回路14の出
力401は、2進データレジスタ12の出力の値“10
01000000000000”を前記リーディング
“1”検出回路13の出力300の値“1”をシフト量
として左シフトした最上位2ビット目以降のデータ“0
010000000000000”となる。前記シフト
回路14の出力の401の値“00100000000
00000”が2進データセレクタ11を経由して2進
データレジスタ12に格納される。10進データセレク
タ16は、前記リーディング“1”検出回路13の出力
300の値“1”によって、10進データレジスタ17
の出力500の値“00768”の4倍数となる10進
2倍数生成回路15(2)の出力602の値“0307
2”を選択し、その最下位1ビットを前記シフト回路1
4の出力400の値“1”と差し替えた値“0307
3”が10進データレジスタ17に格納される。
Next, in the fourth conversion cycle, since the three most significant bits of the binary data register 12 are "01", the value of the output 300 of the reading "1" detection circuit 13 becomes "1". The output 400 of the shift circuit 14 is 2
Value of the output of the binary data register 12 "0100100000"
00000000 ”to the leading“ 1 ”detection circuit 1
The value of the output 300 of “3” becomes “1” of the most significant one bit left-shifted using the value “1” as the shift amount. The output 401 of the shift circuit 14 has the value “10” of the output of the binary data register 12.
01000000000000 "is the data" 0 "of the second most significant bit after the left-hand-shifted value" 1 "of the output 300 of the leading" 1 "detection circuit 13 as the shift amount.
The value of the output 401 of the shift circuit 14 is “0010000000000”.
00000 ”is stored in the binary data register 12 via the binary data selector 11. The decimal data selector 16 determines the decimal data by the value“ 1 ”of the output 300 of the reading“ 1 ”detection circuit 13. Register 17
Of the output 602 of the decimal double generation circuit 15 (2), which is a quadruple of the value of the output 500 of "0768""0307"
2 ", and the least significant bit is shifted by the shift circuit 1
The value “0307” replaced with the value “1” of the output 400 of No. 4
3 "is stored in the decimal data register 17.

【0045】次に、5回目の変換サイクルでは、2進デ
ータレジスタ12の最上位3ビットが“001”である
ことからリーディング“1”検出回路13の出力300
の値は“2”となる。シフト回路14の出力400は、
2進データレジスタ12の出力の値“00100000
00000000”を前記リーディング“1”検出回路
13の出力300の値“2”をシフト量として左シフト
した最上位1ビットの“1”となる。シフト回路14の
出力401は、2進データレジスタ12の出力の値“0
010000000000000”を前記リーディング
“1”検出回路13の出力300の値“2”をシフト量
として左シフトした最上位2ビット目以降のデータ“0
000000000000000”となる。前記シフト
回路14の出力の401の値“00000000000
00000”が2進データセレクタ11を経由して2進
データレジスタ12に格納される。10進データセレク
タ16は、前記リーディング“1”検出回路13の出力
300の値“2”によって、10進データレジスタ17
の出力500の値“03073”の8倍数となる10進
2倍数生成回路15(3)の出力603の値“2458
4”を選択し、その最下位1ビットを前記シフト回路1
4の出力400の値“1”と差し替えた値“2458
5”が10進データレジスタ17に格納される。
Next, in the fifth conversion cycle, since the three most significant bits of the binary data register 12 are "001", the output 300 of the leading "1" detection circuit 13 is output.
Is "2". The output 400 of the shift circuit 14 is
The value of the output of the binary data register 12 "00100000"
00000000 "becomes the most significant 1-bit" 1 "left-shifted with the value" 2 "of the output 300 of the leading" 1 "detection circuit 13 as the shift amount.The output 401 of the shift circuit 14 is the binary data register 12 Output value “0”
010000000000000000 ", the data" 0 "from the second most significant bit after the left shift of the value" 2 "of the output 300 of the leading" 1 "detection circuit 13 as the shift amount.
The value of the output 401 of the shift circuit 14 is “00000000000000”.
00000 ”is stored in the binary data register 12 via the binary data selector 11. The decimal data selector 16 determines the decimal data by the value“ 2 ”of the output 300 of the reading“ 1 ”detection circuit 13. Register 17
Value of the output 603 of the decimal double generation circuit 15 (3), which is an eight multiple of the value "03073" of the output 500 of "2458"
4 ", and the least significant bit is shifted by the shift circuit 1
The value “2458” replaced with the value “1” of the output 400 of No. 4
5 "is stored in the decimal data register 17.

【0046】次に、6回目の変換サイクルでは、2進デ
ータレジスタ12に格納されている変換対象2進データ
の有効ビットが1ビットであることからリーディング
“1”検出回路13の出力300は、“0”となる。シ
フト回路14の出力400は、2進データレジスタ12
の出力の値“0000000000000000”を前
記リーディング“1”検出回路13の出力300の値
“0”をシフト量として左シフトした最上位1ビットの
“0”となる。シフト回路14の出力401は、2進デ
ータレジスタ12の出力の値“00000000000
00000”を前記リーディング“1”検出回路13の
出力300の値“0”をシフト量として左シフトした最
上位2ビット目以降のデータ“00000000000
00000”となる。前記シフト回路14の出力の40
1の値“0000000000000000”が2進デ
ータセレクタ11を経由して2進データレジスタ12に
格納される。10進データセレクタ16は、前記リーデ
ィング“1”検出回路13の出力300の値“0”によ
って、10進データレジスタ17の出力500の値“2
4585”の2倍数となる10進2倍数生成回路15
(1)の出力601の値“49170”を選択し、その
最下位1ビットを前記シフト回路14の出力400の値
“0”と差し替えた値“49170”が10進データレ
ジスタ17に格納される。
Next, in the sixth conversion cycle, since the effective bit of the binary data to be converted stored in the binary data register 12 is 1 bit, the output 300 of the reading "1" detection circuit 13 is: It becomes “0”. The output 400 of the shift circuit 14 is the binary data register 12
The output value “00000000000000000” is shifted leftward with the value “0” of the output 300 of the leading “1” detection circuit 13 as the shift amount, and becomes the most significant 1-bit “0”. The output 401 of the shift circuit 14 has the value “0000000000000” of the output of the binary data register 12.
"00000000" from the second most significant bit after left-shifting "0000" to the left using the value "0" of the output 300 of the leading "1" detection circuit 13 as the shift amount.
00000 ". The output 40 of the shift circuit 14
The value “000000000000000000” of 1 is stored in the binary data register 12 via the binary data selector 11. The decimal data selector 16 determines the value “2” of the output 500 of the decimal data register 17 based on the value “0” of the output 300 of the reading “1” detection circuit 13.
Decimal double generation circuit 15 which is a double of 4585 ″
The value “49170” obtained by selecting the value “49170” of the output 601 of (1) and replacing the least significant bit with the value “0” of the output 400 of the shift circuit 14 is stored in the decimal data register 17. .

【0047】なお、以上の説明においては、8個の10
進2倍数生成回路15を使用することで説明したが、4
個,12個等の任意の個数とすることが可能であり、そ
の個数によって変換処理速度を変えることができる。
In the above description, eight 10
Although the explanation has been made by using the binary number generating circuit 15,
The number can be an arbitrary number such as 12 or 12, and the conversion processing speed can be changed according to the number.

【0048】また、以上の説明においては、8個の10
進2倍数生成回路15をそれぞれ直列に接続し、1個の
10進2倍数生成回路15を経由する毎に2倍されてい
たが、同じ10進2倍数生成回路を8個設ける代わり
に、10進2倍数生成回路,10進4倍数生成回路,1
0進8倍数生成回路,〜,10進256倍数生成回路を
それぞれ個別に設け、10進データレジスタ17の出力
を各生成回路に入力するように構成することも可能であ
る。
In the above description, eight 10
The binary double number generation circuits 15 are connected in series, and are doubled every time they pass through one decimal double number generation circuit 15. Instead of providing the same eight decimal double number generation circuits, 10 Binary multiple generation circuit, decimal quadruple generation circuit, 1
It is also possible to provide a octal-multiple-number generating circuit, a decimal 256-multiple-number generating circuit, and input the output of the decimal data register 17 to each generating circuit.

【0049】このようにして、本発明により、2進デー
タ“1100000000010010”を10進デー
タ“49170”に変換する動作が、加算器を用いるこ
となく変換対象2進データのビット数よりも少ないサイ
クル数で実現できる。
As described above, according to the present invention, the operation of converting the binary data "1100000000010010" into the decimal data "49170" can be performed without using an adder by using a cycle number smaller than the bit number of the binary data to be converted. Can be realized.

【0050】[0050]

【発明の効果】上述したように、本発明による第1の効
果は、複数個の10進2倍数生成回路を用いることによ
り、変換対象2進データの“0”のビットが連続する部
分を一括して変換できるため、変換処理速度が向上する
ことである。
As described above, the first advantage of the present invention is that the use of a plurality of decimal doubling circuits allows the continuous conversion of binary "0" bits of binary data to be converted. In this case, the conversion processing speed can be improved.

【0051】第2の効果は、10進加算器の代わりに1
0進2倍数生成回路を用いるため、少ないハードウェア
量で2進10進変換回路を構成できるとともに、10進
2倍数生成回路の個数を変更することにより、変換処理
速度を調節することができることである。
The second effect is that 1 is used instead of the decimal adder.
The use of the 0-ary double generation circuit allows the binary-decimal conversion circuit to be configured with a small amount of hardware, and also allows the conversion processing speed to be adjusted by changing the number of the decimal double generation circuits. is there.

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

【図1】本発明の一実施の形態の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】図1の10進2倍数生成回路15のブロック図
である。
FIG. 2 is a block diagram of a decimal double generation circuit 15 of FIG. 1;

【図3】図2の1桁毎の2倍数生成回路151の詳細回
路図の一例である。
FIG. 3 is an example of a detailed circuit diagram of a double number generation circuit 151 for each digit in FIG. 2;

【図4】1桁変換時の10進2倍数生成回路の変換表で
ある。
FIG. 4 is a conversion table of a decimal double generation circuit at the time of one-digit conversion.

【図5】複数桁変換時の10進2倍数生成回路の変換表
である。
FIG. 5 is a conversion table of a decimal double generation circuit at the time of multi-digit conversion.

【図6】2進10進変換回路における変換の状態推移表
である。
FIG. 6 is a state transition table of conversion in a binary-decimal conversion circuit.

【図7】従来の技術の構成を示すブロック図である。FIG. 7 is a block diagram showing a configuration of a conventional technique.

【符号の説明】[Explanation of symbols]

11 2進データセレクタ 12 2進データレジスタ 13 リーディング“1”検出回路 14 シフト回路 15 10進2倍数生成回路 16 10進データセレクタ 17 10進データレジスタ 11 Binary data selector 12 Binary data register 13 Reading "1" detection circuit 14 Shift circuit 15 Decimal double multiple generation circuit 16 Decimal data selector 17 Decimal data register

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 変換対象のiビットの2進データを入力
して10進データへの変換を行う2進10進変換回路で
あって、 2進データの最上位ビットから最初に“1”のビットが
現れる迄の“0”のビットの数を検出するリーディング
“1”検出回路と、 前記リーディング“1”検出回路の検出値だけ2進デー
タを最上位側へビットシフトを行うシフト回路と、 10進データの2倍数を生成する10進2倍数生成回路
と、10進データの4倍数を生成する10進4倍数生成
回路と、10進データの8倍数を生成する10進8倍数
生成回路と、・・・、10進データの「2の(i−1)
乗」倍数を生成する10進「2の(i−1)乗」倍数生
成回路と、 前記10進2倍数生成回路,10進4倍数生成回路,1
0進8倍数生成回路,・・・・,「2の(i−1)乗」
倍数生成回路により生成する10進データの2倍数,4
倍数,8倍数,・・・,「2の(i−1)乗」倍数のい
ずれかを前記リーディング“1”検出回路の検出値によ
り選択する10進データセレクタと、 を有することを特徴とする2進10進変換回路。
1. A binary-decimal conversion circuit for inputting i-bit binary data to be converted and converting the binary data into decimal data, wherein the most significant bit of the binary data is "1" first. A leading "1" detecting circuit for detecting the number of "0" bits until a bit appears; a shifting circuit for performing a bit shift of binary data to the most significant side by a value detected by the leading "1" detecting circuit; A decimal double number generating circuit for generating a double of decimal data, a decimal quadruple number generating circuit for generating a quadruple of decimal data, and a decimal octal multiple generating circuit for generating an octal number of decimal data , ..., decimal data "2 (i-1)"
A decimal “2 (i−1)” multiple generation circuit that generates a “multiplier” multiple; and the decimal double multiple generation circuit, the decimal quadruple generation circuit, and 1
Occurrence octal multiple generation circuit,...
Double of decimal data generated by multiple generation circuit, 4
And a decimal data selector for selecting any one of a multiple, an eight multiple,..., A “2 (i−1) power” multiple based on a detection value of the leading “1” detection circuit. Binary-decimal conversion circuit.
【請求項2】 変換対象のiビットの2進データを入力
して10進データへの変換を行う2進10進変換回路で
あって、(a)前記変換対象のiビットの2進データお
よび変換処理中の一時的な2進データを保持する2進デ
ータレジスタと、(b)前記2進データレジスタから出
力される2進データの最上位ビットから最初に“1”の
ビットが現れる迄の“0”のビットの数を検出するリー
ディング“1”検出回路と、(c)前記リーディング
“1”検出回路の検出値の数だけ前記2進データレジス
タの出力を最上位側へビットシフトしたデータを出力す
るシフト回路と、(d)前記変換対象の2進データと、
前記シフト回路の出力データから最上位1ビットを除い
た2ビット目以降のデータのいずれかを選択し、前記2
進データレジスタの格納データとする2進データセレク
タと、(e)変換処理中の一時的な10進データおよび
最終変換結果の10進データを格納し、10進データセ
レクタの出力の最下位1ビットを、前記リーディング
“1”検出回路の検出値だけ前記シフト回路によって最
上位側へシフトしたデータの最上位1ビットと差し替え
たデータを出力する10進データレジスタと、(f)前
記10進データレジスタの出力から10進データの2倍
数を生成する10進2倍数生成回路と、前記10進デー
タレジスタの出力から10進データの4倍数を生成する
10進4倍数生成回路と、前記10進データレジスタの
出力から10進データの8倍数を生成する10進8倍数
生成回路と、・・・、前記10進データレジスタの出力
から10進データの「2の(i−1)乗」倍数を生成す
る10進「2の(i−1)乗」倍数生成回路と、(g)
前記10進2倍数生成回路,10進4倍数生成回路,1
0進8倍数生成回路,・・・・,「2の(i−1)乗」
倍数生成回路により生成する10進データの2倍数,4
倍数,8倍数,・・・,「2の(i−1)乗」倍数のい
ずれかを前記リーディング“1”検出回路の検出値によ
り選択する10進データセレクタと、 を有することを特徴とする2進10進変換回路。
2. A binary-decimal conversion circuit for inputting i-bit binary data to be converted and converting it into decimal data, comprising: (a) i-bit binary data to be converted; A binary data register for holding temporary binary data during the conversion process; and (b) a binary data register output from the binary data register until the first "1" bit appears from the most significant bit of the binary data. A leading "1" detecting circuit for detecting the number of "0" bits, and (c) data obtained by bit-shifting the output of the binary data register to the most significant side by the number of detection values of the leading "1" detecting circuit. And (d) the binary data to be converted,
Selecting any one of the data after the second bit, excluding the most significant bit, from the output data of the shift circuit;
A binary data selector for storing data in a decimal data register; and (e) storing temporary decimal data during conversion processing and decimal data of a final conversion result, and the least significant bit of the output of the decimal data selector. A decimal data register that outputs data obtained by replacing the most significant bit of data shifted to the most significant side by the shift circuit by the value detected by the leading “1” detection circuit; and (f) the decimal data register. , A decimal double generation circuit for generating a double of decimal data from the output of the decimal data register, a decimal quadruple generation circuit for generating a quadruple of the decimal data from the output of the decimal data register, and the decimal data register A octal-multiple-number generating circuit for generating an octal number of decimal data from an output of the decimal data register; Of 2 (i-1) th power "multiple decimal to produce a" 2 (i-1) th power "and multiple generating circuit, (g)
The decimal double generation circuit, the decimal quadruple generation circuit, 1
Occurrence octal multiple generation circuit,...
Double of decimal data generated by multiple generation circuit, 4
And a decimal data selector for selecting any one of a multiple, an eight multiple,..., A “2 (i−1) power” multiple based on a detection value of the leading “1” detection circuit. Binary-decimal conversion circuit.
【請求項3】 変換対象のiビットの2進データを入力
して10進データへの変換を行う2進10進変換回路で
あって、 2進データの最上位ビットから最初に“1”のビットが
現れる迄の“0”のビットの数を検出するリーディング
“1”検出回路と、 前記リーディング“1”検出回路の検出値だけ2進デー
タを最上位側へビットシフトを行うシフト回路と、 10進データの2倍数を生成する第1の10進2倍数生
成回路と、前記第1の10進2倍数生成回路の出力を入
力することにより10進データの4倍数を生成する第2
の10進2倍数生成回路と、前記第2の10進2倍数生
成回路の出力を入力することにより10進データの8倍
数を生成する第3の10進2倍数生成回路と、・・・、
10進データの「2の(i−2)乗」倍数を生成する第
(i−2)の10進2倍数生成回路の出力を入力するこ
とにより10進データの「2の(i−1)乗」倍数を生
成する第(i−1)の10進2倍数生成回路と、 前記第1の10進2倍数生成回路,第2の10進2倍数
生成回路,第3の10進2倍数生成回路,・・・・,第
(i−1)の10進2倍数生成回路により生成する10
進データの2倍数,4倍数,8倍数,・・・,「2の
(i−1)乗」倍数のいずれかを前記リーディング
“1”検出回路の検出値により選択する10進データセ
レクタと、 を有することを特徴とする2進10進変換回路。
3. A binary-to-decimal conversion circuit for inputting i-bit binary data to be converted and converting the binary data into decimal data, wherein the most significant bit of the binary data is first "1". A leading "1" detecting circuit for detecting the number of "0" bits until a bit appears; a shifting circuit for performing a bit shift of binary data to the most significant side by a value detected by the leading "1" detecting circuit; A first decimal double generation circuit for generating a double of decimal data, and a second generation of a quadruple of the decimal data by inputting an output of the first decimal double generation circuit.
, A third decimal double generation circuit for generating an octal multiple of decimal data by inputting the output of the second decimal double generation circuit,...
By inputting the output of the (i-2) th decimal double generation circuit that generates the "2 (i-2) power" multiple of the decimal data, the decimal data "2 (i-1)" is input. (I-1) th decimal double generation circuit for generating a "multiplier" multiple, the first decimal double generation circuit, the second decimal double generation circuit, and the third decimal double generation circuit Circuit,..., 10 generated by the (i−1) th decimal double generation circuit
A decimal data selector for selecting any one of a double, a quadruple, an eight,..., A “2 (i−1) power” multiple of the decimal data based on a detection value of the leading “1” detection circuit; And a binary-decimal conversion circuit.
【請求項4】 変換対象のiビットの2進データを入力
して10進データへの変換を行う2進10進変換回路で
あって、(a)前記変換対象のiビットの2進データお
よび変換処理中の一時的な2進データを保持する2進デ
ータレジスタと、(b)前記2進データレジスタから出
力される2進データの最上位ビットから最初に“1”の
ビットが現れる迄の“0”のビットの数を検出するリー
ディング“1”検出回路と、(c)前記リーディング
“1”検出回路の検出値の数だけ前記2進データレジス
タの出力を最上位側へビットシフトしたデータを出力す
るシフト回路と、(d)前記変換対象の2進データと、
前記シフト回路の出力データから最上位1ビットを除い
た2ビット目以降のデータのいずれかを選択し、前記2
進データレジスタの格納データとする2進データセレク
タと、(e)変換処理中の一時的な10進データおよび
最終変換結果の10進データを格納し、10進データセ
レクタの出力の最下位1ビットを、前記リーディング
“1”検出回路の検出値だけ前記シフト回路によって最
上位側へシフトしたデータの最上位1ビットと差し替え
たデータを出力する10進データレジスタと、(f)前
記10進データレジスタの出力から10進データの2倍
数を生成する第1の10進2倍数生成回路と、前記第1
の10進2倍数生成回路の出力を入力することにより1
0進データの4倍数を生成する第2の10進2倍数生成
回路と、前記第2の10進2倍数生成回路の出力を入力
することにより10進データの8倍数を生成する第3の
10進2倍数生成回路と、・・・、10進データの「2
の(i−2)乗」倍数を生成する第(i−2)の10進
2倍数生成回路の出力を入力することにより10進デー
タの「2の(i−1)乗」倍数を生成する第(i−1)
の10進2倍数生成回路と、(g)前記第1の10進2
倍数生成回路,第2の10進2倍数生成回路,第3の1
0進2倍数生成回路,・・・・,第(i−1)の10進
2倍数生成回路により生成する10進データの2倍数,
4倍数,8倍数,・・・,「2の(i−1)乗」倍数の
いずれかを前記リーディング“1”検出回路の検出値に
より選択する10進データセレクタと、 を有することを特徴とする2進10進変換回路。
4. A binary-decimal conversion circuit for inputting i-bit binary data to be converted and converting the binary data into decimal data, comprising: (a) the i-bit binary data to be converted; A binary data register for holding temporary binary data during the conversion process; and (b) a binary data register output from the binary data register until the first "1" bit appears from the most significant bit of the binary data. A leading "1" detecting circuit for detecting the number of "0" bits, and (c) data obtained by bit-shifting the output of the binary data register to the most significant side by the number of detection values of the leading "1" detecting circuit. And (d) the binary data to be converted,
Selecting any one of the data after the second bit, excluding the most significant bit, from the output data of the shift circuit;
A binary data selector for storing data in a decimal data register; and (e) storing temporary decimal data during conversion processing and decimal data of a final conversion result, and the least significant bit of the output of the decimal data selector. A decimal data register that outputs data obtained by replacing the most significant bit of data shifted to the most significant side by the shift circuit by the value detected by the leading “1” detection circuit; and (f) the decimal data register. A first decimal double number generating circuit for generating a double number of decimal data from the output of
The input of the output of the decimal double generation circuit of
A second decimal double number generating circuit for generating a quadruple number of the decimal data, and a third decimal number generating an octal number of the decimal data by inputting the output of the second decimal double number generating circuit. Binary double number generation circuit,... Of decimal data "2
The (i-2) th power of a (2−1) th power of the decimal data is generated by inputting the output of the (i-2) th decimal double generation circuit that generates the (i-2) th power. (I-1)
(G) the first decimal 2
Multiple generation circuit, second decimal double generation circuit, third 1
0-ary double generation circuit,..., A double of the decimal data generated by the (i-1) th decimal double generation circuit,
And a decimal data selector for selecting any one of quadruple, octal,..., And “2 (i−1) power” by the detection value of the leading “1” detection circuit. To decimal conversion circuit.
【請求項5】 変換対象のiビットの2進データを入力
して10進データへの変換を行う2進10進変換回路で
あって、 2進データの前記iビットより小さい特定数nビットに
おいて最上位ビットから最初に“1”のビットが現れる
迄の“0”のビットの数を検出するリーディング“1”
検出回路と、 2進データを前記リーディング“1”検出回路の検出値
により最小0ビットから最大nビットまで最上位側へビ
ットシフトを行うシフト回路と、 10進データの2倍数,4倍数,8倍数,・・・,「2
の(n+1)乗」倍数をそれぞれ生成する(n+1)個
の10進2倍数生成回路と、 前記(n+1)個の10進2倍数生成回路により生成す
る前記10進データの2倍数,4倍数,8倍数,・・
・,「2の(n+1)乗」倍数のいずれかを前記リーデ
ィング“1”検出回路の検出値により選択する10進デ
ータセレクタと、 を有することを特徴とする2進10進変換回路。
5. A binary-decimal conversion circuit for inputting i-bit binary data to be converted and converting the binary data into decimal data, wherein a specific number n bits smaller than the i-bit of the binary data Reading "1" for detecting the number of "0" bits from the most significant bit until the first "1" bit appears
A detection circuit; a shift circuit for shifting the binary data from the minimum 0 bits to the maximum n bits to the most significant bit according to the detection value of the leading "1" detection circuit; Multiple, ..., "2
(N + 1) -numbered double generation circuits each generating a (n + 1) -th power of multiples, and double, quadruple, and quadruple numbers of the decimal data generated by the (n + 1) decimal double-number generation circuits 8 multiples, ...
And a decimal data selector for selecting one of the multiples of "2 to the power of (n + 1)" based on the detection value of the leading "1" detection circuit.
【請求項6】 変換対象のiビットの2進データを入力
して10進データへの変換を行う2進10進変換回路で
あって、(a)前記変換対象のiビットの2進データお
よび変換処理中の一時的な2進データを保持する2進デ
ータレジスタと、(b)前記2進データレジスタから出
力される2進データの前記iビットより小さい最上位ビ
ットから連続する特定数nビットにおいて、最初に
“1”のビットが現れる迄の“0”のビットの数を検出
するリーディング“1”検出回路と、(c)前記リーデ
ィング“1”検出回路の検出値の数だけ前記2進データ
レジスタの出力を最上位側へビットシフトしたデータを
出力するシフト回路と、(d)前記変換対象の2進デー
タと、前記シフト回路の出力データから最上位1ビット
を除いた2ビット目以降のデータのいずれかを選択し、
前記2進データレジスタの格納データとする2進データ
セレクタと、(e)変換処理中の一時的な10進データ
および最終変換結果の10進データを格納し、10進デ
ータセレクタの出力の最下位1ビットを、前記リーディ
ング“1”検出回路の検出値だけ前記シフト回路によっ
て最上位側へシフトしたデータの最上位1ビットと差し
替えたデータを出力する10進データレジスタと、
(f)それぞれを直列に接続することにより前記10進
データレジスタの出力から10進2倍数,10進4倍
数,10進8倍数,・・・,10進「2の(n+1)
乗」倍数を生成,出力する(n+1)個の10進2倍数
生成回路と、(g)前記(n+1)個の10進2倍数生
成回路により生成する10進データの2倍数,4倍数,
8倍数,・・・,「2の(n+1)乗」倍数のいずれか
を前記リーディング“1”検出回路の検出値によって選
択する10進データセレクタと、 を有することを特徴とする2進10進変換回路。
6. A binary-decimal conversion circuit for inputting i-bit binary data to be converted and converting it into decimal data, comprising: (a) the i-bit binary data to be converted; A binary data register for holding temporary binary data during conversion processing; and (b) a specific number n bits continuous from the most significant bit smaller than the i bit of the binary data output from the binary data register , A leading "1" detecting circuit for detecting the number of "0" bits until the first "1" bit appears, and (c) the binary number corresponding to the number of detection values of the leading "1" detecting circuit. A shift circuit that outputs data obtained by bit-shifting the output of the data register to the most significant side; (d) the binary data to be converted, and the second and subsequent bits obtained by removing the most significant bit from the output data of the shift circuit Select one of the data from
A binary data selector for storing data in the binary data register; and (e) storing temporary decimal data during conversion processing and decimal data of a final conversion result, and A decimal data register for outputting data obtained by replacing one bit with the most significant bit of data shifted to the most significant side by the shift circuit by the value detected by the leading “1” detection circuit;
(F) By connecting each of them in series, the output of the decimal data register is converted to a decimal double number, a decimal quadruple number, a decimal octal number,..., Decimal "2 (n + 1)
(N + 1) decimal doubling generators for generating and outputting a power multiplier; and (g) doubling, quadrupling, and the like of the decimal data generated by the (n + 1) decimal doubling generators.
A decimal data selector for selecting any one of octal multiples,..., "2 to the power of (n + 1)", based on a detection value of the leading "1" detection circuit. Conversion circuit.
JP22988797A 1997-08-26 1997-08-26 Binary-decimal conversion circuit Expired - Fee Related JP3241642B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22988797A JP3241642B2 (en) 1997-08-26 1997-08-26 Binary-decimal conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22988797A JP3241642B2 (en) 1997-08-26 1997-08-26 Binary-decimal conversion circuit

Publications (2)

Publication Number Publication Date
JPH1165820A JPH1165820A (en) 1999-03-09
JP3241642B2 true JP3241642B2 (en) 2001-12-25

Family

ID=16899279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22988797A Expired - Fee Related JP3241642B2 (en) 1997-08-26 1997-08-26 Binary-decimal conversion circuit

Country Status (1)

Country Link
JP (1) JP3241642B2 (en)

Also Published As

Publication number Publication date
JPH1165820A (en) 1999-03-09

Similar Documents

Publication Publication Date Title
US4493046A (en) Apparatus for generation of binary pseudo-random numbers
JP3276852B2 (en) Code conversion circuit
JP3241642B2 (en) Binary-decimal conversion circuit
JPH08314697A (en) Multiplier used for both number with sign and number withoutsign
KR0147942B1 (en) Booths recording circuit in a multiplier
JPS58129653A (en) Multiplication system
JP3417286B2 (en) Multiplier
JPS5841532B2 (en) Sekiwa Keisan Cairo
JP3592242B2 (en) Binary-decimal conversion circuit and method
JP3017203B1 (en) Binary-decimal conversion circuit and method
JP2606326B2 (en) Multiplier
JP2734438B2 (en) Multiplier
JP3157741B2 (en) Binary-decimal conversion circuit
JP3071607B2 (en) Multiplication circuit
JP3270659B2 (en) Arithmetic circuit and arithmetic method
JP3284690B2 (en) Decimal multiplier
JP3230354B2 (en) High-speed decimal multiplier
JP3230349B2 (en) Decimal multiplier
JP3288273B2 (en) Divider circuit and partial divider used therefor
JP2797569B2 (en) Euclidean circuit
JP4042215B2 (en) Arithmetic processing apparatus and method
Shaji et al. Efficient random number generator using novel modulo 2 n-2 k-1 adder for RNS
JP3106767B2 (en) Multiplication method and multiplication circuit
JPH1011418A (en) Product sum arithmetic unit
JP3433487B2 (en) Binary to decimal converter

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010925

LAPS Cancellation because of no payment of annual fees