JPH08314695A - Digital adding circuit - Google Patents

Digital adding circuit

Info

Publication number
JPH08314695A
JPH08314695A JP7114946A JP11494695A JPH08314695A JP H08314695 A JPH08314695 A JP H08314695A JP 7114946 A JP7114946 A JP 7114946A JP 11494695 A JP11494695 A JP 11494695A JP H08314695 A JPH08314695 A JP H08314695A
Authority
JP
Japan
Prior art keywords
data
circuit
input
output
adder
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.)
Withdrawn
Application number
JP7114946A
Other languages
Japanese (ja)
Inventor
Shinichi Inoue
信一 井上
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 JP7114946A priority Critical patent/JPH08314695A/en
Publication of JPH08314695A publication Critical patent/JPH08314695A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Picture Signal Circuits (AREA)

Abstract

PURPOSE: To perform secure data clipping by a circuit of simple constitution as to the digital adding circuit which is used as one constituent part of a television signal generating device and performs addition processing between identical bits of binary data while only one data has a sign. CONSTITUTION: The digital adding circuit which adds binary multi-bit data A1 to A8 and binary data B1 to B8 consisting of the same number of bits with the binary data while having signs as their most significant digit bits is equipped with adders 1a to 1h which output addition data S1 to S8, an adder which outputs addition data S9 and carry data with binary data B8 of the most significant digit bit showing the sign and carry data of the adder 1h for the most significant digit bit, an exclusive OR circuit 2a, an exclusive OR circuit 2b which outputs binary data S10, and plural arithmetic circuits 3a to 3h which outputs data-clipped binary data N1 to N8 by performing specific arithmetic processing.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えばテレビ信号発生
装置の一構成部として使用されるもので、一方のみが符
号付きのデータであり、同一ビット同士のバイナリー
(2進)データの加算処理を行うためのデジタル加算回
路に関する。上記テレビ信号発生装置におけるデジタル
加算回路においては、加算処理結果のデータを所定ビッ
トにするために、データの上限及び加減を固定する、所
謂データクリップを行うことがある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used, for example, as a component of a television signal generator, only one of which is data with a sign, and the addition processing of binary data of the same bit. It relates to a digital adder circuit for performing. In the digital adder circuit in the above television signal generator, so-called data clipping may be performed to fix the upper limit and addition / subtraction of the data in order to make the data of the addition processing result a predetermined bit.

【0002】このようなデータクリップは、ICの小型
化等に対応するべく、簡単な回路構成で実現することが
望まれている。
It is desired that such a data clip be realized with a simple circuit structure in order to cope with the downsizing of ICs and the like.

【0003】[0003]

【従来の技術】図5は、従来のデジタル加算回路を説明
すための図である。図5に示す従来例は、8ビット同士
のバイナリーデータを加算処理するものであり、通常の
2進データA1〜A8と符号付きの2進データB1〜B
8とをそれぞれ加算処理する複数の加算器11を有して
いる。
2. Description of the Related Art FIG. 5 is a diagram for explaining a conventional digital adder circuit. In the conventional example shown in FIG. 5, 8-bit binary data is subjected to addition processing, and the normal binary data A1 to A8 and the signed binary data B1 to B1.
It has a plurality of adders 11 for performing addition processing of 8 and 8 respectively.

【0004】加算器11は、データA1〜A8、B1〜
B8に対応して加算処理を行う8つの加算器11a〜1
1hと、データA8,B8と加算器11hによる繰り上
がりデータとを処理する加算器11iとから成ってい
る。加算器11a〜11hは、加算後の出力データS1
〜S8と、それぞれ上位の加算器に入力される繰り上が
りのデータを出力する。また、加算器11iは、加算デ
ータS9と符号データCOを出力する。
The adder 11 has data A1 to A8 and B1 to
Eight adders 11a to 11a that perform addition processing corresponding to B8
1h, an adder 11i for processing the data A8, B8 and the carry data by the adder 11h. The adders 11a to 11h output the output data S1 after addition.
.About.S8, and carry data input to the respective higher-order adders are output. Further, the adder 11i outputs addition data S9 and code data CO.

【0005】図6は、図5に示す従来のデジタル加算回
路の入力データ及び加算後の出力データの例である。ま
ず、一方の入力データA1〜A8として、「11010
010」(10進数では210)を、他方の入力データ
B1〜B8として「01100011」(最上位データ
は符号データであるため、10進数では+99)をそれ
ぞれ加算器11a〜11iに入力している。
FIG. 6 shows an example of input data and output data after addition of the conventional digital adder circuit shown in FIG. First, as one of the input data A1 to A8, “11010
"010" (210 in decimal) is input to the adders 11a to 11i as "01100011" (+99 in decimal because the most significant data is code data) as the other input data B1 to B8.

【0006】この結果、出力データS1〜S9は、「1
00110101」(10進数では309)となり、符
号データCOは、図示しないがプラスを表す「0」とな
る。
As a result, the output data S1 to S9 are "1".
0011010 ”(decimal number 309), and the code data CO is“ 0 ”indicating a plus although not shown.

【0007】[0007]

【発明が解決しようとする課題】従来のデジタル加算回
路によれば、上述したように、「11010010」と
「01100011」を加算するような場合、その結果
は「0100110101」という10ビットのデータ
になる。また、図示していないが、符号付きのデータB
1〜B8によっては、マイナスの出力データになること
もある。
According to the conventional digital adder circuit, when "11010010" and "01100011" are added as described above, the result is 10-bit data "0100110101". . Although not shown, the data B with a code
Depending on 1 to B8, the output data may be negative.

【0008】このように、図5に示すデジタル加算回路
では、その加算結果のデータを8ビットにすることがで
きない。ところで、テレビ信号発生装置等において、色
信号や輝度信号を入力してこれを処理する場合、画像が
異常な色や明るさになることを防ぐために、加算処理結
果のデータを、例えば8ビット内に収める必要となる。
この処理としては、データの上限及び加減を固定する、
所謂データクリップを行わなければならない。
As described above, in the digital adder circuit shown in FIG. 5, the addition result data cannot be 8 bits. By the way, when a color signal or a luminance signal is input and processed in a television signal generator or the like, in order to prevent the image from becoming an abnormal color or brightness, the data of the addition processing is It is necessary to put it in.
As this processing, the upper limit and the adjustment of the data are fixed,
So-called data clipping must be done.

【0009】デジタル加算回路において、データクリッ
プを行う方法としては、図5に示す加算回路の出力部に
比較回路を設けることが考えられる。これは、例えば8
ビットに固定するものであれば、加算結果が8ビットで
の最大数「11111111」(10進数では255)
を超える場合には、その最大数にデータクリップする、
またマイナスの出力データの場合には最小数である「0
0000000」にデータクリップするものである。
As a method of performing data clipping in a digital adder circuit, it can be considered to provide a comparison circuit at the output section of the adder circuit shown in FIG. This is, for example, 8
If it is fixed to bits, the addition result is the maximum number of 8 bits "11111111" (255 in decimal)
If the number exceeds, the data will be clipped to the maximum number,
In the case of negative output data, the minimum number "0"
The data is clipped to "0000000".

【0010】即ち、比較回路としては、出力データと1
0進数での「256」及び「−1」とを比較して、「2
56」以上の場合には「255」に、「−1」以下の場
合には「0」にデータクリップすることが必要となる。
しかしながら、このような動作をす実現するための回路
は、極めて複雑な構成となり、ICの大型化を招くこと
になる。
That is, the comparison circuit outputs the output data and 1
Compared with "256" and "-1" in the decimal number, "2"
It is necessary to perform data clipping to "255" in the case of 56 "or more, and to" 0 "in the case of" -1 "or less.
However, the circuit for realizing such an operation has an extremely complicated configuration, which leads to an increase in the size of the IC.

【0011】本発明は上記課題を解決して、簡単な構成
のデジタル加算回路によって、確実なデータクリップを
実現することを目的としている。
It is an object of the present invention to solve the above problems and realize a reliable data clip with a digital adder circuit having a simple structure.

【0012】[0012]

【課題を解決するための手段】上記課題を解決するため
の本発明は、複数ビットの2進データA1〜A8と、該
2進データA1〜A8と同一ビット数で最上位ビットが
符号を示す2進データB1〜B8とを加算処理するデジ
タル加算回路において、前記一対の2進データA1,B
1をビット毎に加算して、繰上げデータを上位ビットに
加算すると共に、その加算データS1〜S8を出力する
加算器1a〜1hと、前記符号を示す最上位ビットの2
進データB8と、ローレベル及び最上位ビットに対応す
る加算器1hの繰上げデータを入力して、加算データS
9と繰上げデータとを出力する加算器1iと前記符号を
示す最上位ビットの2進データB8と、ローレベルを入
力して、2進データS9を出力する排他的論理和回路2
aと、該排他的論理和回路2aの出力信号と、前記加算
器1iの繰上げデータとを入力して2進データS10を
出力する排他的論理和回路2bと、前記各ビットに対応
する加算器1a〜1hの加算データS1〜S8をそれぞ
れ入力すると共に、前記加算器1iの加算データS9及
び前記排他的論理和回路2bの出力データS10を共通
的に入力して、所定の演算処理を行ってデータクリップ
された2進データN1〜N8を出力する複数の演算回路
3a〜3hとを備えることを特徴としている。
According to the present invention for solving the above problems, a plurality of bits of binary data A1 to A8 and the same number of bits as the binary data A1 to A8 and the most significant bit indicate a code. In the digital adder circuit for adding the binary data B1 to B8, the pair of binary data A1 and B
1 is added bit by bit, the carry data is added to the upper bits, and the adders 1a to 1h which output the added data S1 to S8 and the most significant bit 2 indicating the sign are added.
The binary data B8 and the carry data of the adder 1h corresponding to the low level and the most significant bit are input to add data S
9 and the carry data, an exclusive OR circuit 2 for inputting the adder 1i, the binary data B8 of the most significant bit indicating the sign, and the low level and outputting the binary data S9.
a, an output signal of the exclusive OR circuit 2a, and the carry data of the adder 1i, and an exclusive OR circuit 2b for outputting binary data S10; and an adder corresponding to each bit. The addition data S1 to S8 of 1a to 1h are input, respectively, and the addition data S9 of the adder 1i and the output data S10 of the exclusive OR circuit 2b are commonly input to perform predetermined arithmetic processing. It is characterized in that it is provided with a plurality of arithmetic circuits 3a to 3h which output binary data N1 to N8 which are data clipped.

【0013】[0013]

【作用】上記本発明のデジタル加算回路によれば、各加
算器1a〜1hからの出力データS1〜S8と、共通で
加算器1iからの出力データS9と、やはり共通で排他
的論理和回路2bからの出力データS10の3データを
それぞれ演算回路3a〜3hに入力して演算すること
で、加算結果が所定ビットでの最大数を超える時には、
出力データN1〜N8は全て“1”となり、加算結果が
マイナスの値になれば、出力データN1〜N8は全て
“0”となる。
According to the digital adder circuit of the present invention, the output data S1 to S8 from each of the adders 1a to 1h, the output data S9 from the adder 1i in common, and the exclusive OR circuit 2b in common also. When the addition result exceeds the maximum number of the predetermined bits by inputting the 3 data of the output data S10 from 3 to 3h to the arithmetic circuits 3a to 3h,
The output data N1 to N8 are all "1", and when the addition result is a negative value, the output data N1 to N8 are all "0".

【0014】このように本発明では、複雑な構成の比較
回路等を必要とせず、確実にデータクリップを行うこと
ができる。
As described above, according to the present invention, it is possible to reliably perform data clipping without requiring a complicated comparison circuit or the like.

【0015】[0015]

【実施例】以下に本発明の実施例を図面を参照しながら
詳細に説明する。図1は、本発明の1実施例のデジタル
加算回路を説明するための図であり、図2は、本実施例
のデジタル加算回路が使用されるテレビ信号発生装置の
構成図である。
Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a diagram for explaining a digital adder circuit according to an embodiment of the present invention, and FIG. 2 is a configuration diagram of a television signal generator in which the digital adder circuit according to the present embodiment is used.

【0016】まず、図2によりテレビ信号発生装置の構
成について説明する。テレビ信号発生装置は、コンポジ
ット信号と呼ばれるテレビ画像を映し出すために必要な
信号を発生させるものであり、図2に示すように、同期
信号発生回路10とデジタルビデオエンコーダ20、及
びデジタル加算回路30を主要構成部としている。
First, the configuration of the television signal generator will be described with reference to FIG. The television signal generator is for generating a signal called a composite signal necessary for displaying a television image. As shown in FIG. 2, the synchronizing signal generator circuit 10, the digital video encoder 20, and the digital adder circuit 30 are connected to each other. It is the main component.

【0017】このようなテレビ信号発生装置において、
同期信号発生回路10は、基準クロックCLKを入力し
てカラーバースト信号等の同期信号を出力する。また、
デジタルビデオエンコーダ20は、輝度信号Yと色差信
号R−Y,B−Yを入力し、これらの信号を処理するこ
とで、デジタルY,C信号を出力する。本発明で対象と
しているデジタル加算回路は、上記デジタルビデオエン
コーダ20の出力信号Y,Cを入力して、加算処理する
ことによって、テレビ画像を映し出すためのコンポジッ
ト信号COMPを出力するものである。
In such a television signal generator,
The sync signal generation circuit 10 receives the reference clock CLK and outputs a sync signal such as a color burst signal. Also,
The digital video encoder 20 inputs the luminance signal Y and the color difference signals RY and BY, and processes these signals to output digital Y and C signals. The digital adder circuit of the present invention outputs the composite signal COMP for displaying a television image by inputting the output signals Y and C of the digital video encoder 20 and performing addition processing.

【0018】コンポジット信号COMPは、テレビ画像
の輝度や色合いを決定するものであり、異常な明るさや
色合いになることを防止するために、入力データが8ビ
ットであれば、出力をやはり8ビットに固定する必要が
ある。本実施例におけるデジタル加算回路は、図1に示
すように、8ビット同士の2進データA1〜A8、B1
〜B8(データB8は符号データ)を加算処理するもの
である。
The composite signal COMP determines the brightness and hue of the television image. In order to prevent abnormal brightness and hue, if the input data is 8 bits, the output is also set to 8 bits. Need to be fixed. As shown in FIG. 1, the digital adder circuit in the present embodiment has 8-bit binary data A1 to A8 and B1.
B8 (data B8 is coded data) is subjected to addition processing.

【0019】このデジタル加算回路は、各ビット毎のデ
ータA1・・,B1・・をそれぞれ入力する8つの加算
器1a〜1hを備え、繰上げデータを上位ビットに入力
すると共に、加算データS1〜S8を出力している。ま
た、最上位ビットの加算器1hの繰上げデータ及び符号
データB8、グランド(“0”)レベルの信号を入力し
てデータS9を出力する加算器1iと、加算器1i同
様、符号データB8とグランド(“0”)レベルの信号
が入力される排他的論理和回路2a(以下E−OR回路
と称する)、更に、加算器1iの繰上げデータとE−O
R回路2aの出力データを入力してデータS10を出力
するE−OR回路2bを備えている。
This digital adder circuit is provided with eight adders 1a to 1h for respectively inputting the data A1 ..., B1 ... For each bit, and inputs the carry data to the upper bits and adds data S1 to S8. Is being output. Also, the carry data and code data B8 of the adder 1h of the most significant bit, the adder 1i which inputs the signal of the ground (“0”) level and outputs the data S9, and the code data B8 and the ground similarly to the adder 1i. An exclusive OR circuit 2a (hereinafter referred to as an E-OR circuit) to which a (“0”) level signal is input, and further carry data of the adder 1i and EO
It is provided with an E-OR circuit 2b which inputs the output data of the R circuit 2a and outputs the data S10.

【0020】そして、これら加算器1a〜1i、E−O
R回路2bからの出力データS1〜S10は、データク
リップするのに必要な演算を行う演算回路3a〜3hに
入力されて、8ビットのコンポジット信号N1〜N8と
して出力される。演算回路3a〜3hは、前述したよう
にデータS1〜S10を入力するものであるが、具体的
には、加算器1a〜1hの出力データS1〜S8が個別
に入力されると共に、加算器1iの出力データS9とE
OR回路2bの出力データS10が共通的に入力され
る。
Then, these adders 1a to 1i and E-O
The output data S1 to S10 from the R circuit 2b are input to the arithmetic circuits 3a to 3h that perform the arithmetic necessary for data clipping, and are output as 8-bit composite signals N1 to N8. The arithmetic circuits 3a to 3h are for inputting the data S1 to S10 as described above. Specifically, the output data S1 to S8 of the adders 1a to 1h are individually input and the adder 1i is also input. Output data S9 and E
The output data S10 of the OR circuit 2b is commonly input.

【0021】尚、図2に示す同期信号発生回路10から
の同期信号は、直接本発明には関係しないため、図1に
示すデジタル加算回路においては省略している。図3
は、演算回路3の具体的構成を説明する論理回路であ
る。複数の演算回路3は、いずれも同じ構成であるた
め、図3には代表して1ビット目の演算回路3aを示し
ている。
Since the synchronizing signal from the synchronizing signal generating circuit 10 shown in FIG. 2 is not directly related to the present invention, it is omitted in the digital adding circuit shown in FIG. FIG.
Is a logic circuit for explaining a specific configuration of the arithmetic circuit 3. Since the plurality of arithmetic circuits 3 have the same configuration, FIG. 3 shows the arithmetic circuit 3a for the first bit as a representative.

【0022】演算回路3aは、加算器1aからの出力デ
ータS1を入力するインバータ4、E−OR回路2bか
らの出力データS10を入力するインバータ6、インバ
ータ4の出力信号とE−OR回路2bの出力データS1
0を入力する2入力NOR回路5、インバータ6の出力
信号と加算器1iの出力データS9を入力する2入力A
ND回路7、及び2入力NOR回路5と2入力AND回
路7の出力信号を入力してコンポジット信号N1を出力
する2入力OR回路8から構成されている。
The arithmetic circuit 3a includes an inverter 4 for receiving the output data S1 from the adder 1a, an inverter 6 for receiving the output data S10 from the E-OR circuit 2b, and an output signal of the inverter 4 and the E-OR circuit 2b. Output data S1
2-input NOR circuit 5 for inputting 0, 2-input A for inputting the output signal of the inverter 6 and the output data S9 of the adder 1i
It is composed of an ND circuit 7 and a 2-input OR circuit 8 which inputs the output signals of the 2-input NOR circuit 5 and the 2-input AND circuit 7 and outputs a composite signal N1.

【0023】図4は、本実施例のデジタル加算回路にお
ける入力データ及び出力データの例を示すものであり、
このデータ例に基づいて、以下にデジタル加算回路の動
作を説明する。尚、2進数でいうデータ「1」は“H”
(ハイ)レベルの信号、データ「0」は“L”(ロー)
レベルの信号として説明する。
FIG. 4 shows an example of input data and output data in the digital adder circuit of this embodiment.
The operation of the digital adder circuit will be described below based on this data example. Data "1" in binary number is "H"
Signal of "high" level, data "0" is "L" (low)
This will be described as a level signal.

【0024】図4に示すように、入力データA1〜A8
が「11010010」(10進数では210)、入力
データB1〜B8が「01100011」(最上位デー
タは符号データであるため、10進数では+99)であ
る場合、図1の加算器1a〜1iの加算結果は、「10
0110101」(10進数では309)となる。ま
た、E−OR回路2aには、データB8とグランドレベ
ルの信号、即ち“L”“L”の信号が入力されるため、
その出力は“L”レベル、更にE−OR回路2bには、
“L”“L”が入力されるため、その出力S10は、図
4には示していないが、やはり“L”レベルとなる。
As shown in FIG. 4, input data A1 to A8
Is "11010010" (210 in decimal) and the input data B1 to B8 is "01100011" (+99 in decimal because the highest order data is code data), the additions of the adders 1a to 1i in FIG. The result is "10
0110101 ”(decimal number 309). Further, since the data B8 and the signal of the ground level, that is, the signals of "L" and "L" are input to the E-OR circuit 2a,
The output is at "L" level, and the E-OR circuit 2b has
Since "L" and "L" are input, the output S10 thereof is also at "L" level although not shown in FIG.

【0025】従って、図3に示す演算回路3aの場合、
入力される信号S1が“H”レベル、S10が“L”レ
ベル、S9が“H”レベルとなる。これを受けて、2入
力NOR回路5の出力は“H”レベル、2入力AND回
路7の出力も“H”レベルとなり、2入力OR回路8の
出力信号N1は“H”レベルとなる。信号S10、S9
は“L”“H”で固定で、共通的に入力されているた
め、何れの演算回路においても、2入力AND回路7の
出力は“H”レベルとなるため、2入力OR回路8の出
力は“H”レベルとなる。
Therefore, in the case of the arithmetic circuit 3a shown in FIG.
The input signal S1 becomes "H" level, S10 becomes "L" level, and S9 becomes "H" level. In response to this, the output of the 2-input NOR circuit 5 becomes "H" level, the output of the 2-input AND circuit 7 becomes "H" level, and the output signal N1 of the 2-input OR circuit 8 becomes "H" level. Signals S10 and S9
Is fixed at "L" and "H" and is commonly input, the output of the 2-input AND circuit 7 becomes "H" level in any arithmetic circuit, and the output of the 2-input OR circuit 8 Becomes "H" level.

【0026】従って、コンポジット信号N1〜N8は、
8ビットの最大数の「11111111」(10進数で
は255)となる。逆に、入力データB8がマイナスを
示す“1”であり、加算結果もマイナスの値になった場
合、S10は必ず“1”となるため、演算回路3の出力
信号、即ちコンポジット信号は、「00000000」
となる。
Therefore, the composite signals N1 to N8 are
The maximum number of eight bits is “11111111” (255 in decimal). On the contrary, when the input data B8 is "1" indicating a negative value and the addition result also has a negative value, S10 is always "1", so that the output signal of the arithmetic circuit 3, that is, the composite signal is " 00000000 "
Becomes

【0027】以上のように、本実施例によれば、加算器
による出力データS1〜S10が、8ビットの最大数を
超える場合には、演算回路3により8ビットの最大数に
固定されると共に、加算結果がマイナスの値になった場
合には、自然数の最小数である0に固定される。
As described above, according to the present embodiment, when the output data S1 to S10 from the adder exceeds the maximum number of 8 bits, the arithmetic circuit 3 fixes the maximum number of 8 bits. If the addition result is a negative value, it is fixed to 0 which is the minimum natural number.

【0028】[0028]

【効果】以上説明した本発明によるデジタル加算回路で
は、回路構成が極めて複雑となる比較回路を要すること
なく、簡単な演算回路によって、確実に特定ビット数に
データクリップすることが可能となる。従って、デジタ
ル加算回路を含むICの小型化を実現することができ
る。
In the digital adder circuit according to the present invention described above, it is possible to reliably clip data to a specific number of bits with a simple arithmetic circuit without the need for a comparator circuit whose circuit configuration is extremely complicated. Therefore, miniaturization of the IC including the digital adder circuit can be realized.

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

【図1】本発明のデジタル加算回路の1実施例を説明す
るための図である。
FIG. 1 is a diagram for explaining one embodiment of a digital adder circuit of the present invention.

【図2】本発明のデジタル加算回路を使用するテレビ信
号発生装置を説明するための図である。
FIG. 2 is a diagram for explaining a television signal generator using the digital adder circuit of the present invention.

【図3】本発明のデジタル加算回路の一部を構成する演
算回路の具体例を説明するための図である。
FIG. 3 is a diagram for explaining a specific example of an arithmetic circuit forming a part of the digital adder circuit of the present invention.

【図4】本発明のデジタル加算回路における入力、出力
データ例を示す図である。
FIG. 4 is a diagram showing an example of input and output data in the digital adder circuit of the present invention.

【図5】従来のデジタル加算回路を説明するための図で
ある。
FIG. 5 is a diagram for explaining a conventional digital adder circuit.

【図6】従来のデジタル加算回路における入力、出力デ
ータ例を示す図である。
FIG. 6 is a diagram showing an example of input and output data in a conventional digital adder circuit.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数ビットの2進データ(A1〜A8)
と、該2進データ(A1〜A8)と同一ビット数で最上
位ビットが符号を示す2進データ(B1〜B8)とを加
算処理するデジタル加算回路において、 前記一対の2進データ(A1,B1)をビット毎に加算
して、繰上げデータを上位ビットに加算すると共に、そ
の加算データ(S1〜S8)を出力する加算器(1a〜
1h)と、 前記符号を示す最上位ビットの2進データ(B8)と、
ロー(0)レベル及び最上位ビットに対応する加算器
(1h)の繰上げデータを入力して、加算データ(S
9)と繰上げデータとを出力する加算器(1i)と前記
符号を示す最上位ビットの2進データ(B8)と、ロー
(0)レベルを入力して、2進データ(S9)を出力す
る排他的論理和回路(2a)と、 該排他的論理和回路(2a)の出力信号と、前記加算器
(1i)の繰上げデータとを入力して2進データ(S1
0)を出力する排他的論理和回路(2b)と、 前記各ビットに対応する加算器(1a〜1h)の加算デ
ータ(S1〜S8)をそれぞれ入力すると共に、前記加
算器(1i)の加算データ(S9)及び前記排他的論理
和回路(2b)の出力データ(S10)を共通的に入力
して、所定の演算処理を行ってデータクリップされた2
進データ(N1〜N8)を出力する複数の演算回路(3
a〜3h)とを備えることを特徴とするデジタル加算回
路。
1. A plurality of bits of binary data (A1 to A8)
And the binary data (A1 to A8) and the binary data (B1 to B8) having the same number of bits and the most significant bit having a sign, the digital addition circuit including the pair of binary data (A1, B1) is added bit by bit, the carry data is added to the upper bits, and the added data (S1 to S8) is output.
1h), the most significant bit binary data (B8) indicating the code,
Input the carry data of the adder (1h) corresponding to the low (0) level and the most significant bit, and add (S)
9) and the adder (1i) for outputting the carry data, the binary data (B8) of the most significant bit indicating the sign, and the low (0) level are input and the binary data (S9) is output. The exclusive OR circuit (2a), the output signal of the exclusive OR circuit (2a), and the carry data of the adder (1i) are input to input binary data (S1).
0) and an exclusive OR circuit (2b), and addition data (S1 to S8) of the adders (1a to 1h) corresponding to the bits, respectively, and addition of the adder (1i). The data (S9) and the output data (S10) of the exclusive OR circuit (2b) are commonly input, and a predetermined arithmetic process is performed to perform data clipping.
A plurality of arithmetic circuits (3 that output binary data (N1 to N8))
a to 3h).
【請求項2】 前記複数の演算回路(3a〜3h)は、
前記加算器(1a〜1h)からの出力データ(S1〜S
8)を入力するインバータ(4)と、 前記排他的論理和回路(2b)からの出力データ(S1
0)を入力するインバータ(6)と、 前記インバータ(4)の出力信号と排他的論理和回路
(2b)の出力データ(S10)を入力する2入力NO
R回路(5)と、 前記インバータ(6)の出力信号と前記加算器(1i)
の出力データ(S9)を入力する2入力AND回路
(7)と、 前記2入力NOR回路(5)と2入力AND回路(7)
の出力信号を入力してコンポジット信号(N1〜N8)
を出力する2入力OR回路(8)から構成されているこ
とを特徴とする請求項1記載のデジタル加算回路。
2. The plurality of arithmetic circuits (3a-3h),
Output data (S1 to S) from the adders (1a to 1h)
8) and the output data (S1) from the exclusive OR circuit (2b).
0) as an input, and a 2-input NO that inputs the output signal of the inverter (4) and the output data (S10) of the exclusive OR circuit (2b).
R circuit (5), output signal of the inverter (6) and the adder (1i)
2-input AND circuit (7) for inputting the output data (S9) of the above, the 2-input NOR circuit (5) and 2-input AND circuit (7)
Input the output signal of the composite signal (N1 to N8)
2. The digital adder circuit according to claim 1, comprising a 2-input OR circuit (8) for outputting
【請求項3】 前記加算器(1a〜1h)に入力される
一対のデータ(A1〜A8、B1〜B8)は、テレビ信
号発生装置におけるデジタルビデオエンコーダ(20)
の出力信号であるデジタルY信号、デジタルC信号であ
ることを特徴とする請求項1記載のデジタル加算回路。
3. A pair of data (A1 to A8, B1 to B8) input to the adders (1a to 1h) is a digital video encoder (20) in a television signal generator.
2. The digital adder circuit according to claim 1, wherein the digital adder circuit is a digital Y signal and a digital C signal which are output signals of the digital adder circuit.
JP7114946A 1995-05-12 1995-05-12 Digital adding circuit Withdrawn JPH08314695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7114946A JPH08314695A (en) 1995-05-12 1995-05-12 Digital adding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7114946A JPH08314695A (en) 1995-05-12 1995-05-12 Digital adding circuit

Publications (1)

Publication Number Publication Date
JPH08314695A true JPH08314695A (en) 1996-11-29

Family

ID=14650576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7114946A Withdrawn JPH08314695A (en) 1995-05-12 1995-05-12 Digital adding circuit

Country Status (1)

Country Link
JP (1) JPH08314695A (en)

Similar Documents

Publication Publication Date Title
EP0162499B1 (en) Fading circuit for video signals
JPH10210499A (en) Yuv-to-rgb digital converter, image display device using the converter and electronic equipment
US4827432A (en) Image data operation processing apparatus
JPH07236151A (en) Digital video switcher
GB2173372A (en) Color matrix for a digital television receiver
JPH08179924A (en) Device and method for data processing
JPH08314695A (en) Digital adding circuit
US20080144113A1 (en) Dithering method and apparatus for image data
US6377199B1 (en) Signal processor system with noise suppression
JP3976436B2 (en) Median extraction circuit and image processing apparatus using the same
JPH1098458A (en) Sync word detection circuit
JP2907165B2 (en) Logic synthesis system
JPS6361562A (en) Digital blanking reproducing circuit
JP3442953B2 (en) Clipping equipment
JP3363920B2 (en) Circuit for converting RGB signal to multi-bit component signal
JP4065308B2 (en) Median extraction circuit and image processing apparatus using the same
JP2535204B2 (en) Color difference signal conversion circuit
JP2984606B2 (en) 3-input addition / subtraction circuit
JPS59156073A (en) Data decoding device
JPH02141878A (en) Image reader
JPH01255322A (en) Code converter
JP2004514338A (en) High quality color key extraction device
JPH06309273A (en) Image data transfer system/device
JPH0242873A (en) Method and device for processing picture signal
JPH06334838A (en) Picture processing unit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020806