JPH01237719A - Data logical sum compressing circuit - Google Patents
Data logical sum compressing circuitInfo
- Publication number
- JPH01237719A JPH01237719A JP6514388A JP6514388A JPH01237719A JP H01237719 A JPH01237719 A JP H01237719A JP 6514388 A JP6514388 A JP 6514388A JP 6514388 A JP6514388 A JP 6514388A JP H01237719 A JPH01237719 A JP H01237719A
- Authority
- JP
- Japan
- Prior art keywords
- data
- cpu
- buffer
- register
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、中央処理ユニット(CPU)によるデータ演
算回路、特にデータの論理和演算回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data operation circuit using a central processing unit (CPU), and particularly to a data OR operation circuit.
〔従来の技術)
従来、この種のデータOR圧縮は、CPUのプログラム
により行われていた。[Prior Art] Conventionally, this type of data OR compression has been performed by a CPU program.
上述した従来のデータOR圧縮は、CPUのプルダラム
により行われていたため、ソフトウェアの負担がかかり
、かつプログラムのステップ数および処理時間が多くか
かるという欠点があった。The above-described conventional data OR compression is performed by a CPU pulldown, which has the disadvantage of placing a burden on the software and requiring a large number of program steps and processing time.
本発明によれば、中央処理ユニットからのデータをラッ
チするレジスタと、レジスタに接続され論理和ゲートの
集まりで構成される論理和回路部と、論理和回路部に接
続され中央処理ユニットがらのリード信号でデータを出
力するバッファとを具備するデータ論理和圧縮回路が得
られる。According to the present invention, there is a register that latches data from the central processing unit, an OR circuit section connected to the register and composed of a group of OR gates, and a read circuit section connected to the OR circuit section and connected to the central processing unit. A data OR compression circuit is obtained which includes a buffer that outputs data in the form of a signal.
次に、本発明の一実施例を示した図面を参照して、本発
明をより詳細に説明する。Next, the present invention will be described in more detail with reference to the drawings showing one embodiment of the present invention.
第1図を参照すると、本発明の一実施例のデータOR圧
縮回路は、CPUIと、CPU1からのデータをラッチ
するレジスタ5と、ORゲートの集まりであるOR回路
部6と、CPUからのリード可能なバッファ7とを具備
している。Referring to FIG. 1, the data OR compression circuit according to one embodiment of the present invention includes a CPU, a register 5 that latches data from the CPU 1, an OR circuit section 6 that is a collection of OR gates, and a read circuit from the CPU. It is equipped with a buffer 7 that can be used.
CPUIのデータバス2に接続されたレジスタ5は、C
PUIからのライト信号3によりデータをラッチする。The register 5 connected to the data bus 2 of the CPUI is
Data is latched by write signal 3 from PUI.
レジスタ5でラッチされたラッチデータ8は、OR回路
部6に出力される。OR回路部6は、ORゲートの集ま
りであり、ラッチデータ8の任意のビット間でのOR演
算を行い、結果をバッファ7に出力する。バッファ7は
、CPUからのリード信号4で、OR回路部の演算結果
をデータバス2に出力する。Latch data 8 latched by register 5 is output to OR circuit section 6. The OR circuit section 6 is a collection of OR gates, performs an OR operation between arbitrary bits of the latch data 8, and outputs the result to the buffer 7. The buffer 7 outputs the calculation result of the OR circuit section to the data bus 2 in response to the read signal 4 from the CPU.
このようにして、CPUIからのデータをレジスタ5に
書き込み、その後バッファ7を読み出すことにより、デ
ータの任意のビット間でのOR演算をしたデータでかつ
、ビット長が圧縮されたデータを得ることができる。In this way, by writing data from the CPUI to the register 5 and then reading the buffer 7, it is possible to obtain data that has been ORed between arbitrary bits of the data and whose bit length has been compressed. can.
以上説明したように、本発明によれば、CPUからのデ
ータなレジスタにラッチし、それをOR回路部でOR圧
縮し、さらにOR回路部に接続されたバッファをCPU
のリード信号で読み出すことにより、データをOR圧縮
した結果を容易に得ることができる。したがって、今ま
で要していたCPUのプログラムによるソフトウェア負
担をなくし、処理時間を短縮できるという効果がある。As explained above, according to the present invention, data from the CPU is latched in a register, OR-compressed by the OR circuit, and the buffer connected to the OR circuit is
By reading with the read signal, the result of ORing the data can be easily obtained. Therefore, there is an effect that the software burden due to the CPU program that has been required up to now can be eliminated and the processing time can be shortened.
第1図は本発明の一実施例のブロック図である。
1:CPU、2:データバス、3ニライト信号、4:リ
ード信号、5:レジスタ、6:OR回路部、7:バッフ
ァ、8:ラッチデータ。
代理人 弁理士 内 原 晋FIG. 1 is a block diagram of one embodiment of the present invention. 1: CPU, 2: Data bus, 3 Write signal, 4: Read signal, 5: Register, 6: OR circuit section, 7: Buffer, 8: Latch data. Agent Patent Attorney Susumu Uchihara
Claims (1)
、前記レジスタに接続され論理和ゲートの集まりで構成
される論理和回路部と、前記論理和回路部に接続され前
記中央処理ユニットからのリード信号でデータを出力す
るバッファとを具備することを特徴とするデータ論理和
圧縮回路。a register that latches data from the central processing unit; an OR circuit section connected to the register and composed of a group of OR gates; and an OR circuit section connected to the OR circuit section that latches data from the central processing unit. 1. A data OR compression circuit comprising: a buffer for outputting .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6514388A JPH01237719A (en) | 1988-03-17 | 1988-03-17 | Data logical sum compressing circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6514388A JPH01237719A (en) | 1988-03-17 | 1988-03-17 | Data logical sum compressing circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01237719A true JPH01237719A (en) | 1989-09-22 |
Family
ID=13278366
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6514388A Pending JPH01237719A (en) | 1988-03-17 | 1988-03-17 | Data logical sum compressing circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01237719A (en) |
-
1988
- 1988-03-17 JP JP6514388A patent/JPH01237719A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100228947B1 (en) | Programmable circuit and its programming method, circuit and method of reducing the amount of configuration information | |
| JPS613400A (en) | Method and apparatus for testing high-density on chip | |
| US6564237B2 (en) | Arithmetic unit and data processing unit | |
| JPS636887B2 (en) | ||
| JPS58128097A (en) | Semiconductor storage device | |
| JPH01237719A (en) | Data logical sum compressing circuit | |
| JPH11259335A (en) | Tracer device, trace data compressing method and compressed trace data reading method | |
| US5097428A (en) | Data occurrence frequency analyzer | |
| JPH024014B2 (en) | ||
| JPS5821299B2 (en) | memory | |
| JPS62236054A (en) | Semiconductor memory device | |
| KR870000834Y1 (en) | Device that converts 16-bit unit system of microprocessor into 8-bit system | |
| KR100207651B1 (en) | Memory access circuit | |
| JPH04241622A (en) | Microprocessor | |
| JPH05165753A (en) | Data controller | |
| JPS6329295B2 (en) | ||
| JPS61109138A (en) | Computer controller | |
| JPS6321928B2 (en) | ||
| JPS6341091B2 (en) | ||
| JPS5937787B2 (en) | Integrated circuit testing equipment | |
| JPH01256094A (en) | Register file | |
| JPH0247036B2 (en) | ||
| JPS61246844A (en) | Bipolar semi-custom lsi | |
| JPH0573437A (en) | Memory parity circuit | |
| JPH05298178A (en) | Semiconductor integrated circuit |