JPS615628A - Data conversion processing circuit - Google Patents

Data conversion processing circuit

Info

Publication number
JPS615628A
JPS615628A JP10907184A JP10907184A JPS615628A JP S615628 A JPS615628 A JP S615628A JP 10907184 A JP10907184 A JP 10907184A JP 10907184 A JP10907184 A JP 10907184A JP S615628 A JPS615628 A JP S615628A
Authority
JP
Japan
Prior art keywords
value
address
converted
register
boundary
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.)
Granted
Application number
JP10907184A
Other languages
Japanese (ja)
Other versions
JPH0728220B2 (en
Inventor
Hirohisa Karibe
雁部 洋久
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59109071A priority Critical patent/JPH0728220B2/en
Publication of JPS615628A publication Critical patent/JPS615628A/en
Publication of JPH0728220B2 publication Critical patent/JPH0728220B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To prevent a decrease in processing speed by adding a simple dedicated circuit and performing software data processing independently of a main frame. CONSTITUTION:The head address of a table 1 is read out of a register and supplied to the table 1 to read the center boundary value, which is compared by a comparing circuit 5 with a value to be converted which is read out of a register 2 for the value to be converted. When the value to be converted is discriminated as a result, the order of the value to be converted that indicates which area the value belongs to is known, so a selector 6 selects the frequency of comparison of a register 4 sequentially. Then, this is repeated until the value of the sequential comparison register 4 attains to ''0'', thereby knowing which area the value to be converted belongs to.

Description

【発明の詳細な説明】 発明の技術分野 本発明はディジタル信号処理におけるデータ変換C主と
してデータ符号化)の処理を行う回路に係)、特にハー
ドウェアマクロとテーブルを用いた一連の処理によって
所要の変換を行うデータ変換処理回路に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a circuit that performs data conversion (mainly data encoding) in digital signal processing, and particularly to a circuit that performs data conversion (mainly data encoding) in digital signal processing, and in particular, a circuit that performs data conversion (mainly data encoding) in digital signal processing, and in particular, a circuit that performs data conversion (mainly data encoding) in digital signal processing. The present invention relates to a data conversion processing circuit that performs conversion.

従来技術と問題点 ディジタル信号処理装置(DSP)等においては、ディ
ジタルデータを符号化する等のデータ変換全行う処理が
しばしば必要となる。このようなデータ変換を行うため
の方式としては、従来、すべての入力バタンに対応する
出力のテーブルを用意しておいて、こ、のテーブルを参
照して変換を行うテーブル参照方式がおる。テーブル参
照方式の場合法、例えは入力データをアドレスとして対
応する出力データを読出すことができる、リードオンメ
モリ(ROM)等からなるテーブルを用意することによ
って、容易に行りことができるが、父方のビット数が多
−ときはテーブルサイズが著しく大きくなって、実用的
でな−と−う問題がおる。
Prior Art and Problems Digital signal processing devices (DSPs) and the like often require complete data conversion processing such as encoding digital data. Conventionally, as a method for performing such data conversion, there is a table reference method in which a table of outputs corresponding to all input buttons is prepared and conversion is performed by referring to this table. In the case of a table reference method, for example, this can be easily done by preparing a table consisting of a read-on memory (ROM) or the like that can read the corresponding output data by using input data as an address. When the number of bits on the paternal side is large, the table size becomes extremely large, making it impractical.

これに対してソフトウェア的に処理を行ってデータ変換
を行う方式がある。この方式は例えば入力ビツトのある
値の範囲ごとに出力値が一定になるような変換に用いる
ことができる。このような変換はソフトウェア的に処理
して行うことができるが、入力ビット数が多いときは多
くの命令ステップ数を必要とするため、信号処理装置の
主演算系における信号処理全体の処理速度に影響を与え
るという問題がめる。
On the other hand, there is a method in which data conversion is performed using software. This method can be used, for example, for conversion in which the output value becomes constant for each value range of input bits. Such conversion can be performed by software processing, but when the number of input bits is large, a large number of instruction steps are required, which reduces the overall processing speed of the signal processing in the main processing system of the signal processing device. Consider the issue of influence.

発明の目的 本発明はこのような従来技術の問題点を解決しようとす
るものであって、その目的は、データ変換処理を行う装
置におりて、ハードシェアからなる簡単な専用回路を付
加することによって、従来信号処理回路の主演算系を用
いてソフトウェア的に処理を行っていたデータ変換処理
を本体と切離して行11これによって信号処理回路にお
ける処理速度低下を防止することができるデータ変換処
理回路を提供することにおる。
Purpose of the Invention The present invention attempts to solve the problems of the prior art, and its purpose is to add a simple dedicated circuit consisting of a hardware share to a device that performs data conversion processing. By separating the data conversion processing, which was conventionally processed by software using the main calculation system of the signal processing circuit, from the main body, the data conversion processing circuit can prevent a decrease in processing speed in the signal processing circuit. We are here to provide you with the following.

発明の構成 本発明のデータ変換処理回路は、各変換領域の境界値を
格納するテーブルと、このテーブルに対する参照アドレ
スを発生するテーブル参照レジスタと、テーブルの先頭
アドレスを格納する先頭アドレスレジスタと、逐次比較
を行うべき回数に対応する値を格納する逐次比較回数レ
ジスタと、テーブルよシ求められた境界値と被変換値と
を比較して大小を判定する比較回路と、この大小判定結
果に応じてテーブルの現アドレスに1を加算したアドレ
スまたは現アドレスに逐次比較回数レジスタの値を加算
したアドレスを選択してテーブル参照レジスタに書込む
とともに逐次比較回数レジスタの値を更新するアドレス
制御回路とを設け、テ    ′−プルの先頭アドレス
に格納された境界値がらテーブル参照レジスタのアドレ
スに応じて各境界値と被変換値とを逐次比較することに
よって被変換値の属する領域を決定するようにしたもの
である。
Structure of the Invention The data conversion processing circuit of the present invention sequentially includes a table that stores the boundary values of each conversion area, a table reference register that generates a reference address for this table, a start address register that stores the start address of the table, and a table that stores the boundary values of each conversion area. A successive approximation count register that stores a value corresponding to the number of times the comparison should be performed, a comparison circuit that compares the boundary value obtained from the table and the converted value to determine whether it is large or small, and a An address control circuit is provided that selects an address obtained by adding 1 to the current address of the table or an address obtained by adding the value of the successive approximation count register to the current address and writes it to the table reference register and updates the value of the successive approximation count register. , in which the area to which the converted value belongs is determined by successively comparing each boundary value and the converted value according to the address of the table reference register from the boundary value stored at the start address of the table. It is.

発明の実施例 第1図は本発明が対象とするデータ変換を原理的九例示
したものである。同図にお腟ては全領域が■〜[相]の
16個の領域に分割され、各領域の境界の値に対応して
境界値0〜15が定められている。
Embodiments of the Invention FIG. 1 shows nine principle examples of data conversion to which the present invention is directed. In the figure, the entire region of the vagina is divided into 16 regions from ■ to [phase], and boundary values 0 to 15 are determined corresponding to the boundary values of each region.

この場合例えば最初大刀データを中央の境界値8と比較
してこれよシ大きいか小さいかを判定する。
In this case, for example, first the long sword data is compared with the central boundary value 8 to determine whether it is larger or smaller than this.

いま境界値8よ)大きければ入カデータ拡領域■〜[相
]中にあるので、次にこの領域の中央の境界値12と比
較する。境界値12よル小さければ大刀データは領域■
〜@中におるので、次にこの領域の中央の境界値10と
比較する。このよりな手順を繰返えすことによって人力
データがどの領域に属する信号であるかを示す出方に変
換する符号化(データ変換)が行われる。この場合、大
刀デ〜りがどの領域に属するぶを大刀データの値から簡
単な論理で職別す十ことができる場合には、命令の組合
わせによシ効率のよい変換処理を行うことができるが、
一般にはそのような論理関係は期待できず、命令のステ
ップ数が増大する。そのため小規模の回路で信号処理回
路全体の処理を遅らせることなく、データ変換を行うこ
とは困難であった。
If it is larger than the boundary value 8), it is within the input data expansion area ■~[phase], so next it is compared with the boundary value 12 at the center of this area. If the boundary value is smaller than 12, the large sword data is in the area ■
Since it is in ~@, next compare it with the boundary value 10 at the center of this area. By repeating this detailed procedure, encoding (data conversion) is performed in which the human data is converted into an output that indicates to which region the signal belongs. In this case, if it is possible to determine which area the long sword belongs to from the value of the long sword data using simple logic, it is possible to perform efficient conversion processing by combining commands. You can, but
In general, such a logical relationship cannot be expected, and the number of instruction steps increases. Therefore, it has been difficult to perform data conversion using a small-scale circuit without delaying the processing of the entire signal processing circuit.

本発明のデータ変換処理回路は、このような問題八番解
決するために、専用の・・−ドウエアマクロを設けてデ
ータ変換処理を信号処理装置における処理と切離して行
うことができる回路方式f:#&案するものである。以
下、本発明のデータ変換処理回路を、第1図に示された
ごとき人力データを16個の領域に変換する場合を例と
して説明する。
In order to solve the above problem, the data conversion processing circuit of the present invention is a circuit system in which a dedicated hardware macro is provided to perform data conversion processing separately from processing in a signal processing device. # & is proposed. Hereinafter, the data conversion processing circuit of the present invention will be explained using an example in which human data as shown in FIG. 1 is converted into 16 areas.

第2図は本発明のデータ変換処理回路の一実施例の構成
を示したものである。同図において、1は境界値を格納
するテーブル、2は被変換値を格納する。レジスタ、6
はテーブル先頭アドレスを格納するレジスタ、4は逐次
比較回数を格納するレジスタ、5は比較回路、6はセレ
クタ、7は加算器、8/I′iアドレスレジスタでおる
FIG. 2 shows the configuration of an embodiment of the data conversion processing circuit of the present invention. In the figure, 1 is a table that stores boundary values, and 2 is a table that stores converted values. register, 6
4 is a register that stores the number of successive approximations, 5 is a comparison circuit, 6 is a selector, 7 is an adder, and 8/I'i address register.

ま水弟3図は、第2図に示されたテーブル1における境
界の値の格納順序を示し、本発明のデー夕変換処理回路
においては、このような順序で境界値を格納することに
よりて、マクロハードの規模を削減することを可能にし
ている。なおマイコンやディジタル信号処理装置(DS
P)は通常、定数テーブル領域を持っているので、その
一部をこのようなテーブルとして用いることもできる。
Figure 3 shows the order in which the boundary values in Table 1 shown in Figure 2 are stored.In the data conversion processing circuit of the present invention, by storing the boundary values in this order, , making it possible to reduce the scale of macro hardware. In addition, microcontrollers and digital signal processing devices (DS)
P) usually has a constant table area, so a part of it can be used as such a table.

第2図において、テーブル1に第3図に示されるごとく
境界値を格納し、次に被変換値、テーブルの先頭アドレ
ス、および逐次比較回数に対応する値をそれぞれレジス
タ2,3.4に格納する。逐次比較の@数は、16個の
領域に分けるときは。
In Figure 2, the boundary values are stored in Table 1 as shown in Figure 3, and then the values corresponding to the converted value, the start address of the table, and the number of successive approximations are stored in registers 2 and 3.4, respectively. do. The @number of successive approximations is when dividing into 16 areas.

16=2’として、24’−1−aとすればよい。If 16=2', then 24'-1-a is sufficient.

アドレスレジスタ8には最初レジスタ3がらテーブル1
の先頭アドレスが格納されている。このアドレスを続出
してテーブル1に与えることによって、テ〜ン°ル1か
ら第3図に示された第1番目の境界値すなわち境界8の
値を続出す。この値とレジスタ2から読出された被変換
値とを比較回路5に加えて、その大小を比較する。その
結果、゛被変換値が第1番目の境界値よシ大きいかまた
は小さいかによって、被変換値が領域■〜@におるかま
たは領域■〜■にあるかが判断される。
Address register 8 initially contains table 1 from register 3.
The start address of is stored. By successively supplying these addresses to table 1, the first boundary value, that is, the value of boundary 8 shown in FIG. 3 from table 1 is successively obtained. This value and the converted value read from register 2 are added to comparison circuit 5, and their magnitudes are compared. As a result, it is determined whether the converted value is in the region ① to @ or in the region ① to ① depending on whether the converted value is larger or smaller than the first boundary value.

いま被変換値が第1番目の境界値より大きく領域■〜@
にあると判断されたときは、セレクタ6はレジスタ4の
逐次比較回数すなわち“8″を選択して加算器7に入力
し、加算器7ではアドレスレジスタ8から読出されたア
ドレスに“8”を加算してアドレスレジスタ8に送って
その値を更新する。
The area where the current value to be converted is larger than the first boundary value ■~@
, the selector 6 selects the successive approximation count of the register 4, that is, “8” and inputs it to the adder 7, and the adder 7 adds “8” to the address read from the address register 8. The added value is sent to the address register 8 and its value is updated.

これと同時にレジスタ4の逐次比較回数は“4″′にさ
れる。これは比較値を前述のように選んだときは、レジ
スタ4の値を1ビツト左ヘシフトすることによりて行わ
れる。これによってアドレスレジスタ8から第9番目の
境界値のアドレスが出力されてテーブル1に与えられ、
テーブル1がら第9番目の境界値すなわち境界12の値
が読出されて、この値と被変換値とが比V@路5におい
て比較され、被変換値が第9番目の境界値よシ大きいか
または小さ―かによって、被変換値が領域@〜@にある
かまたは領域■〜■にあるかが判断される。
At the same time, the number of successive approximations in register 4 is set to "4"'. This is done by shifting the value of register 4 one bit to the left when the comparison value is selected as described above. As a result, the address of the 9th boundary value is output from address register 8 and given to table 1,
The ninth boundary value, that is, the value of boundary 12, is read from table 1, and this value and the converted value are compared in the ratio V@path 5, and whether the converted value is greater than the ninth boundary value or not. It is determined whether the converted value is in the region @ to @ or in the region ■ to ■ depending on whether the value is small or small.

被変換値が第9番目の境界値よシ大きく領域[相]〜@
にあると判断されたときは、セレクタ6はレジスタ4の
逐次比較回数すなわち“4″を選んで加算器7に入力し
、加算器7はアドレスレジスタ8から読出されたアドレ
スに“4″を加算して、アドレスレジスタ8に送ってそ
の値を更新する。これと同時にレジスタ4の逐次比較回
数は“2″にされる。これによってアドレスレジスタ8
から第13番目の境界値のアドレスが出力されてテーブ
ル11/c与えられ、テーブル1がら第15誉目9境界
値すなわち境界14の値が読出されて、この値と被変換
値とが比較回路5において比較され、被変換値が第13
番目の境界値よシ大きいがまたは小さいかによって、被
変換値が領域■〜[相]におるかまたは領域@〜@にあ
るかソ判断される。
The area where the converted value is larger than the 9th boundary value [phase] ~ @
, the selector 6 selects the successive approximation count of the register 4, that is, "4" and inputs it to the adder 7, and the adder 7 adds "4" to the address read from the address register 8. and sends it to the address register 8 to update its value. At the same time, the number of successive approximations in register 4 is set to "2". This allows address register 8
The address of the 13th boundary value is output from Table 1 and given to table 11/c, the 15th 9th boundary value, that is, the value of boundary 14 is read out from table 1, and this value and the value to be converted are sent to the comparison circuit. 5, and the converted value is the 13th
Depending on whether the value is larger or smaller than the th boundary value, it is determined whether the value to be converted is in the region ① to [phase] or in the region @ to @.

また被変換値が第9番目の境界値よシ小さく領域■〜■
におると判断されたときは、セレクタ6は“1”−t−
選択して加算器7に入力し、力a算器7はアドレスレジ
スタ8から読出されたアドレスに“1”を加算して、ア
ドレスレジスタ8に送っテソの値を更新する。これによ
ってアドレスレジスタ8から第10番目の境界値のアド
レスが出力されてテーブル1に与えられ、テーブル1か
ら第1Q番目の境界値すなわち境界10の値が読出され
、この値と被変換値とが比較回路5におφて比較され、
被変換値が第10番目の境界値よシ大きいかまたは小さ
いかによって、被変換値が領域@〜[相]にあるか、ま
たは領域@〜@にあるかり判断される。
Also, the area where the converted value is smaller than the 9th boundary value
When it is determined that the
It is selected and input to the adder 7, and the force a calculator 7 adds "1" to the address read from the address register 8, and sends it to the address register 8 to update the value of Teso. As a result, the address of the 10th boundary value is output from address register 8 and given to table 1, and the 1Qth boundary value, that is, the value of boundary 10, is read from table 1, and this value and the value to be converted are Comparison circuit 5 compares at φ,
Depending on whether the converted value is larger or smaller than the 10th boundary value, it is determined whether the converted value is in the region @~[phase] or the range @~@.

一方、被変換値が第1番目の境界値よシ小さく領域■〜
■におると判断されたときは、セレクタ6は“1′を選
んで加算器7に入力し、加算器7はアドレスレジスタ8
から続出されたアドレスに“1”を加算してアドレスレ
ジスタ8に送ってその値を更新する。これによってアド
レスレジスタ8から182番目の境界値のアドレスが出
力されてテーブル1に送られ、テーブル1から第2番目
の境界値すなわち境界4の値が読出されて、この値と被
変換値とが比較回路5において比較され、被変換値が第
2番目の境界値よシ大きいかまたは小さいかによって、
被変換値が領域■〜■VCあるかまたは領域■〜■にあ
るかが判断される。
On the other hand, the area where the converted value is smaller than the first boundary value
When it is determined that
1 is added to the address successively generated from , and the result is sent to the address register 8 to update its value. As a result, the address of the 182nd boundary value is output from address register 8 and sent to table 1, and the second boundary value, that is, the value of boundary 4, is read from table 1, and this value and the value to be converted are It is compared in the comparator circuit 5, and depending on whether the converted value is larger or smaller than the second boundary value,
It is determined whether the value to be converted is in the area (2) to (2) VC or in the area (2) to (2).

被変換値が第2番目の境界値よル大きく領域■〜■にあ
ると判断されたとき鉱、セレクタ6はレジスタ4の逐次
比較回数すなわち“4T″を選んで加算器7に入力し、
加算器7はアドレスレジスタ8から読出されたアドレス
K“4#を加算して、アドレスレジスタ8に送ってその
値を更新する。これと同時にレジスタ4の逐次比較回数
は“2″にされる。これによってアドレスレジスタ8か
ら第6番目の境界値のアドレスが出力されてテーブル1
に与えられ、テーブル1からf、6番目の境界値すなわ
ち境界6の値が読出されて、この値と被変換値とが比較
回路5にお―で比較され、被変換値が第6番目の境界値
よシ大“きいがまたは小さいかによって、被変換値が領
域■〜■にあるか、または■〜■にあるかが判断される
When it is determined that the value to be converted is larger than the second boundary value and is in the range ■ to ■, the selector 6 selects the number of successive approximations in the register 4, that is, "4T", and inputs it to the adder 7.
Adder 7 adds address K"4# read from address register 8 and sends it to address register 8 to update its value. At the same time, the number of successive approximations in register 4 is set to "2". As a result, the address of the sixth boundary value is output from address register 8, and table 1
is given to f, the sixth boundary value, that is, the value of boundary 6, is read from table 1, this value and the converted value are compared in the comparison circuit 5, and the converted value is read out from table 1. Depending on whether the value is larger or smaller than the boundary value, it is determined whether the value to be converted is in the region (1) to (2) or (2) to (2).

また被変換値が第2番目の境界値よシ小さく領域■〜■
にあると判断されたときは、セレクタ6は“1”を選択
して加算器7に入力し、加算器7はアドレスレジスタ8
から読出されたアドレスに“1#を加算して、アドレス
レジスタ8に送ってその値を更新する。これによってア
ドレスレジスタ8から第3番目の境界値のアドレスが出
力されてテーブル1に与えられ、テーブル1から第3番
目の境界値すなわち境界2の値が続出されて、この値と
被変換値とが比較回路5において比較され、被変換値が
第3番目の境界値よシ大きいかまた社小さいかによって
、被変換値が領域■〜■にあるか、または領域■〜■に
おる力〉が判断される。
Also, the area where the converted value is smaller than the second boundary value
, the selector 6 selects "1" and inputs it to the adder 7, and the adder 7 selects "1" and inputs it to the address register 8.
1# is added to the address read from address register 8 and the value is updated. As a result, the address of the third boundary value is output from address register 8 and given to table 1. The third boundary value, that is, the value of boundary 2, is successively output from table 1, and this value and the converted value are compared in the comparator circuit 5, and the converted value is larger than the third boundary value. Depending on whether the value to be converted is small, it is determined whether the value to be converted is in the region (■) to (2) or whether the value (force) is in the region (2) to (2).

以下同様の手順を逐次比較レジスタ4の値が“0″にな
るまで行9゜上記の例では4回の処理を行うことによっ
て領域の判定が完了する。
Thereafter, the same procedure is repeated until the value of the successive approximation register 4 becomes "0" in line 9. In the above example, the area determination is completed by performing the process four times.

このようにして、被変換値がどの領域に属するかの順番
がわかる。応用によってはその値tiる値に変換する必
要があるが、その値は例えば各領域の中央の値とすれば
よン、この値は領域の境界値等から簡易な処理で求めら
れる場合が多い。
In this way, it is possible to know the order in which regions the values to be converted belong to. Depending on the application, it may be necessary to convert that value into a value, but that value can be, for example, the center value of each area, and this value is often found by simple processing from the boundary values of the area, etc. .

なお実施例におhては、16個の領域について識別を行
う場合について説明したが、領域の数拡こ    1・
れに限らなφことは言うまでもなく、一般的には2N□
個の領域の識別をN回の大小比較によって行うことがで
きる。この場合の各変換領域の境界値をi給するテーブ
ルは、1回目の大小比較で使用される境界値T2N−+
をa番地に格納しであるとき、&(2く&≦N)回目の
大小比較で使用される211個の境界値 T2N−1+2”−27(2) + −”+ 2ト”−
” r (4−1) −(1)金、次の番地に格納する
ようにすればよ−。
Note that in Example h, the case where identification is performed for 16 areas was explained, but the number of areas can be expanded.1.
It goes without saying that φ is limited to this, but in general 2N□
These areas can be identified by N times of size comparison. In this case, the table that supplies the boundary values of each conversion area i is the boundary value T2N-+ used in the first size comparison.
is stored at address a, then 211 boundary values T2N-1+2"-27(2) + -"+ 2t"- are used in the &(2&≦N)th magnitude comparison.
” r (4-1) -(1) Money, just store it at the next address.

a+2(N−1)δ(1) +2(N−2)δ(2) 
+、、、+21N−(A−1))δ(&−1)・・・由
・・・(2) ただしく11. (21式において とする。
a+2(N-1)δ(1) +2(N-2)δ(2)
+,,,+21N-(A-1))δ(&-1)...Reason...(2) However, 11. (In formula 21.

また実施例において、テーブル先頭アドレスレジスタと
境界値格納用テーブルとは、説明全明白にするため分け
て示されているが、実際には同一のものでよ%A0 本発明のデータ変換処理回路における′ハードウェアの
構成、テーブルアドレスの付与方法等KFi種々のやp
方が考えられるが、基本的に本発明の考え方を用−てい
るもの抹すべて本発明の範囲に含まれる。
Furthermore, in the embodiment, the table start address register and the boundary value storage table are shown separately for clarity of explanation, but they are actually the same. 'KFi various information such as hardware configuration, table address assignment method, etc.
However, basically all methods that use the concept of the present invention are included within the scope of the present invention.

また領域の数は2のべき乗個の場合が最も好都合である
(一般的にはこのような応用が多−)が、□そうでない
場合に紘領域数よp大きめ最小の2のべ自乗数個として
、テーブルにダミー領域を設ければよい。
In addition, it is most convenient for the number of regions to be a power of 2 (generally, there are many applications like this), but if this is not the case, the number of regions is p larger than the number of regions, and the minimum number is a power of 2. As such, a dummy area may be provided in the table.

発明の詳細 な説明したように本発明のデータ変換処理回路によれば
、被変換値をそれが属するそれぞれ異    □なる値
を有する′II数の領域の1つを示すデータに変換する
データ変換処理回路において、信号処理回路の主演算系
を用いてソフトウェア的な処理を行う必要がなく、従っ
て信号処理回路における処理速度低下を防止することが
で真る。
As described in detail, the data conversion processing circuit of the present invention performs data conversion processing for converting a converted value into data representing one of the 'II number areas each having a different value to which it belongs. In the circuit, there is no need to perform software processing using the main calculation system of the signal processing circuit, and therefore it is possible to prevent a decrease in processing speed in the signal processing circuit.

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

第1図は本発明が対象とするデータ変換金例示□する図
、第2図嬬本発明のデータ変換処理回路の一実施例の構
成を示す図、第5図はテーブルにおける境界値の格納順
序を示す図である。
Figure 1 is a diagram illustrating an example of the data conversion process targeted by the present invention, Figure 2 is a diagram showing the configuration of an embodiment of the data conversion processing circuit of the present invention, and Figure 5 is the order in which boundary values are stored in a table. FIG.

Claims (1)

【特許請求の範囲】[Claims] 被変換値をそれが属するそれぞれ異なる値を有する複数
の領域の1つを示すデータに変換するデータ変換処理回
路において、各変換領域の境界値を格納するテーブルと
、該テーブルに対する参照アドレスを発生するテーブル
参照レジスタと、前記テーブルの先頭アドレスを格納す
る先頭アドレスレジスタと、逐次比較を行うべき回数に
対応する値を格納する逐次比較回数レジスタと、前記テ
ーブルより求められた境界値と被変換値とを比較して大
小を判定する比較回路と、該大小判定結果に応じてテー
ブルの現アドレスに1を加算したアドレスまたは現アド
レスに逐次比較回数レジスタの値を加算したアドレスを
選択して前記テーブル参照レジスタに書込むとともに前
記逐次比較回数レジスタの値を更新するアドレス制御回
路とを設け、テーブルの先頭アドレスに格納された境界
値からテーブル参照レジスタのアドレスに応じて各境界
値と被変換値とを逐次比較することによって被変換値の
属する領域を決定することを特徴とするデータ変換処理
回路。
In a data conversion processing circuit that converts a converted value into data indicating one of a plurality of areas each having a different value to which the converted value belongs, a table for storing boundary values of each conversion area and a reference address for the table are generated. A table reference register, a start address register that stores the start address of the table, a successive approximation count register that stores a value corresponding to the number of times to perform successive approximation, and a boundary value and a converted value obtained from the table. A comparator circuit that determines the magnitude by comparing the values, and a comparison circuit that selects an address obtained by adding 1 to the current address of the table or an address obtained by adding the value of the successive approximation count register to the current address according to the result of the judgment, and refers to the table. An address control circuit is provided that writes to the register and updates the value of the successive approximation count register, and reads each boundary value and the converted value from the boundary value stored at the top address of the table according to the address of the table reference register. A data conversion processing circuit characterized in that a region to which a value to be converted belongs is determined by successive comparison.
JP59109071A 1984-05-29 1984-05-29 Data conversion processing circuit Expired - Lifetime JPH0728220B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59109071A JPH0728220B2 (en) 1984-05-29 1984-05-29 Data conversion processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59109071A JPH0728220B2 (en) 1984-05-29 1984-05-29 Data conversion processing circuit

Publications (2)

Publication Number Publication Date
JPS615628A true JPS615628A (en) 1986-01-11
JPH0728220B2 JPH0728220B2 (en) 1995-03-29

Family

ID=14500861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59109071A Expired - Lifetime JPH0728220B2 (en) 1984-05-29 1984-05-29 Data conversion processing circuit

Country Status (1)

Country Link
JP (1) JPH0728220B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5909185A (en) * 1996-02-26 1999-06-01 Namco Ltd. Lookup table device and signal conversion method
US6501470B1 (en) 1997-05-21 2002-12-31 Namco, Ltd. Look-up table device and image generation device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52135636A (en) * 1976-05-10 1977-11-12 Toshiba Corp Data transfer unit
JPS56123037A (en) * 1980-02-29 1981-09-26 Fujitsu Ltd Code conversion system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52135636A (en) * 1976-05-10 1977-11-12 Toshiba Corp Data transfer unit
JPS56123037A (en) * 1980-02-29 1981-09-26 Fujitsu Ltd Code conversion system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5909185A (en) * 1996-02-26 1999-06-01 Namco Ltd. Lookup table device and signal conversion method
WO2004088486A1 (en) * 1996-02-26 2004-10-14 Hiroyuki Murata Lookup table device and signal conversion method
US6501470B1 (en) 1997-05-21 2002-12-31 Namco, Ltd. Look-up table device and image generation device

Also Published As

Publication number Publication date
JPH0728220B2 (en) 1995-03-29

Similar Documents

Publication Publication Date Title
US4525796A (en) Pipelined operation unit for vector data
JPS6184754A (en) Extension address converter
US4757444A (en) Vector processor capable of performing iterative processing
JP2610417B2 (en) Address signal generation method and circuit thereof
JPS615628A (en) Data conversion processing circuit
JPS6338153B2 (en)
JPH1166695A (en) Disk drive device, survo controller and controller
JPH0715800B2 (en) Memory circuit
US5442125A (en) Signal processing apparatus for repeatedly performing a same processing on respective output channels in time sharing manner
JP2001043084A (en) Processor system
JP3207997B2 (en) Data converter
JP3418418B2 (en) Format conversion circuit
JPH0644051A (en) Microcomputer
JPH0619806A (en) Address generation circuit for data compression
JP3092527B2 (en) Butterfly operation circuit
JPH03204695A (en) Musical sound synthesizing device
JPH04100324A (en) Decoding system for variable length code
JP2575856B2 (en) Arithmetic circuit
KR0157337B1 (en) Multi-bit adder for digital signal process
CN114239818A (en) Memory computing architecture neural network accelerator based on TCAM and LUT
JPH09305398A (en) Arithmetic processor and instruction converter
JPS60128529A (en) Merge processing device
JPS59128859A (en) Magnifying device with nonintegral ratio
JPS6059461A (en) Program memory device
JPH03191398A (en) Device for supplying musical sound control parameter