JPH02151925A - Fast bit logic operation device - Google Patents

Fast bit logic operation device

Info

Publication number
JPH02151925A
JPH02151925A JP63305693A JP30569388A JPH02151925A JP H02151925 A JPH02151925 A JP H02151925A JP 63305693 A JP63305693 A JP 63305693A JP 30569388 A JP30569388 A JP 30569388A JP H02151925 A JPH02151925 A JP H02151925A
Authority
JP
Japan
Prior art keywords
bit logic
logic operation
bit
central processing
instruction
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
Application number
JP63305693A
Other languages
Japanese (ja)
Inventor
Junichi Mito
三戸 純一
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63305693A priority Critical patent/JPH02151925A/en
Publication of JPH02151925A publication Critical patent/JPH02151925A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)
  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To speed up bit logic operation processing by allowing a bit logic operation instruction custom LSI to automatically execute bit logic operation without passing a central operation processing part. CONSTITUTION:A bit logic operation frequency counter 14 in the bit logic operation instruction custom LSI 2 counts up the bit logic operation frequency in a bit logic operation execution part 9 and a bit logic operation frequency specifying register 12 specifies the bit logic operation frequency by an instruction outputted from the central operation processing part 1. The contents of the counter 14 are compared with that of the register 12 by a bit logic operation completion detecting part 13 and the completion of bit logic operation is detected. Consequently, a bit logic operation executing part 9 can rapidly execute continuous bit logic operation processing.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、ビット論理演算を実行する高速ビット論理
演算装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a high-speed bit logic operation device that performs bit logic operations.

[従来の技術] 第4図は従来のビット論理演算装置の構成を示したブロ
ック図(ハードウェア ブロック図)である。
[Prior Art] FIG. 4 is a block diagram (hardware block diagram) showing the configuration of a conventional bit logic operation device.

図において、(1)はビット論理演算命令の実行をカス
タムLSIに指示する中央演算処理部(CP U)、(
2)はビット論理演算を実行するビット論理演算用カス
タムLSI、(4)はビット論理演算命令を格納するビ
ット論理演算命令格納メモリ、(18)はビット論理演
算用カスタムLSI(2)のビット論理演算の対象とな
るデータを格納するビット論理演算対象データメモリで
ある。また、(101)は中央演算処理部(1)から出
力されるアドレス信号線、(102)は制御信号線、(
103)は中央演算処理部(1)にサイクル完了を通知
するレディ信号線、(104)はデータバスであ、る。
In the figure, (1) is a central processing unit (CPU) that instructs the custom LSI to execute bit logic operation instructions;
2) is a bit logic operation custom LSI that executes bit logic operations, (4) is a bit logic operation instruction storage memory that stores bit logic operation instructions, and (18) is the bit logic of the bit logic operation custom LSI (2). This is a bit logic operation target data memory that stores data to be operated on. In addition, (101) is an address signal line output from the central processing unit (1), (102) is a control signal line, (
103) is a ready signal line that notifies the central processing unit (1) of cycle completion, and (104) is a data bus.

また、(5)はアドレス信号線(101)のアドレス信
号よりビット論理演算命令の種類を判別するビット論理
演算命令デコード部、(6)はビット論理演算対象デー
タメモリ(18)のデータバス幅(例えば、8ビツト)
のうち、何ビット目のデータをビット論理演算の対象と
するかを選択するビット位置デコード部、(7)は制御
信号線(102)のコントロール信号によりビット論理
演算に必要なタイミング信号を発生するビット論理演算
タイミング発生部、(8)はビット論理演算完了と共に
中央演算処理部(1)にレディ信号を返すレディ信号発
生部、(9)はビット論理演算対象データメモリ(18
)のデータに対しビット論理演算を実行するビット論理
演算実行部、(19)はビット論理演算実行部(9)が
必要とするビット論理演算対象データメモリ(18)中
のデータに対し読み出し信号を出力するデータ読み出し
制御部、(20)はビット論理演算実行部(9)の演算
結果をビット論理演算対象データメモリ(18)に書き
込む際のデータ書き込み制御部である。
Further, (5) is a bit logic operation instruction decoding unit that determines the type of bit logic operation instruction from the address signal of the address signal line (101), and (6) is the data bus width ( For example, 8 bit)
A bit position decoding section (7) that selects which bit of data is to be subjected to a bit logic operation generates a timing signal necessary for the bit logic operation using a control signal on a control signal line (102). A bit logic operation timing generation unit (8) is a ready signal generation unit that returns a ready signal to the central processing unit (1) upon completion of a bit logic operation, and (9) is a data memory (18) for bit logic operation.
), the bit logic operation execution section (19) executes a bit logic operation on the data in the bit logic operation execution section (9); The output data read control unit (20) is a data write control unit that writes the operation result of the bit logic operation execution unit (9) to the bit logic operation target data memory (18).

次に、上記のように構成された従来のビット論理演算装
置の動作について説明する。
Next, the operation of the conventional bit logic operation device configured as described above will be explained.

まず、中央演算処理部(1)がビット論理演算命令格納
メモリ(4)からビット論理演算命令をフェッチする。
First, the central processing unit (1) fetches a bit logic operation instruction from the bit logic operation instruction storage memory (4).

このフェッチしたビット論理演算命令は、特定のアドレ
スからのデータ転送命令になっており、この特定のアド
レス情報が、ビット論理演算命令の種類及びビット論理
演算対象データメモリ(18)の対象とするデータが入
っているアドレス及びビット位置の情報を含んでいて、
中央演算処理部(1)がこのデータ転送命令を実行する
と、ビット論理演算用カスタムLSI(2)内部のビッ
ト論理演算命令デコード部(5)及びビット位置デコー
ド部(6)により、ビット論理演算命令の種類及びビッ
ト位置の情報が、ビット論理演算実行部(9)に送られ
、ビット論理演算タイミング発生部(7)の生成したタ
イミングにより、ビット論理演算が実行される。ビット
論理演算実行部(9)は、ビット論理演算対象データメ
モリ(18)のデータが必要な場合には、データ読み出
し制御部(19)を起動して、ビット論理演算対象デー
タメモリ(18)からのデータをビット論理演算用カス
タムLSI(2)内部に取り込んで、ビット論理演算処
理を実行する。ビット論理演算命令の種類により、演算
結果をビット論理演算対象データメモIJ(18)に書
き込む必要がある場合には、データ書き込み制御部(2
0)が起動され、ビット論理演算対象データメモリ(1
8)に演算結果が書き込まれる。
This fetched bit logic operation instruction is a data transfer instruction from a specific address, and this specific address information indicates the type of bit logic operation instruction and the target data of the bit logic operation target data memory (18). Contains information about the address and bit position containing the
When the central processing unit (1) executes this data transfer instruction, the bit logic operation instruction decoder (5) and bit position decoder (6) inside the bit logic operation custom LSI (2) execute the bit logic operation instruction. The information on the type and bit position is sent to the bit logic operation execution section (9), and the bit logic operation is executed according to the timing generated by the bit logic operation timing generation section (7). When the bit logic operation execution unit (9) needs the data in the bit logic operation target data memory (18), it starts the data read control unit (19) and reads data from the bit logic operation target data memory (18). The data is taken into the custom LSI for bit logic operation (2) and bit logic operation processing is executed. Depending on the type of bit logic operation instruction, if it is necessary to write the operation result to the bit logic operation target data memo IJ (18), the data write control unit (2
0) is activated, and the bit logic operation target data memory (1
The calculation result is written in 8).

一連のビット論理演算命令が完了した後、中央演算処理
部(1)がビット論理演算対象データメモリ(18)を
読み出すことにより、ビット論理演算処理が完了する。
After completing a series of bit logic operation instructions, the central processing unit (1) reads the bit logic operation target data memory (18), thereby completing the bit logic operation processing.

第5図に従来例の場合の処理の概略フローチャートを示
す。
FIG. 5 shows a schematic flowchart of processing in the case of the conventional example.

まず、ステップSllで中央演算処理部(1)がビット
論理演算命令格納メモリ(4)より命令フェッチを行い
、ステップS12で判断した結果がビット論理演算命令
でない場合には、ステップ813で通常のCPUサイク
ルを実行する。しかし、ステップ812でビット論理演
算命令と判断した場合には、ステップ814でそのデー
タ転送命令を実行することにより、ステップS15でビ
ット論理演算用カスタムLSI(2)が、ビット論理演
算の種類を判別し、該当するビット論理演算を実行する
。ビット論理演算の実行が完了すると、ステップS16
でビット論理演算用カスタムLSI(2)が、中央演算
処理部(1)に対してレディ信号発生部(8)からレデ
ィ信号を出力し、中央演算処理部(1)が転送命令サイ
クルを終了する。
First, in step Sll, the central processing unit (1) fetches an instruction from the bit logic operation instruction storage memory (4), and if the result determined in step S12 is not a bit logic operation instruction, in step 813, the CPU Run the cycle. However, if it is determined in step 812 that it is a bit logic operation instruction, the data transfer instruction is executed in step 814, and the custom LSI for bit logic operation (2) determines the type of bit logic operation in step S15. and performs the corresponding bit logic operation. When the execution of the bit logical operation is completed, step S16
The bit logic operation custom LSI (2) outputs a ready signal from the ready signal generation unit (8) to the central processing unit (1), and the central processing unit (1) completes the transfer instruction cycle. .

[発明が解決しようとする課題] 従来のビット論理演算装置は以」二のように構成されて
いるので、ビット論理演算命令1命令毎に、中央演算処
理部(1)の介在が必要であり、中央演算処理部(1)
が命令フェッチの実行を繰返すので、結果的に処理時間
が長(かかる。
[Problems to be Solved by the Invention] Since the conventional bit logic operation device is configured as shown below, the intervention of the central processing unit (1) is required for each bit logic operation instruction. , central processing unit (1)
repeats the execution of instruction fetches, resulting in a long processing time.

そこで、この発明は中央演算処理部の1回のビット論理
演算の起動により、連続したビット論理演算命令をビッ
ト′論理演算用カスタムLSIが自動的に実行し、高速
にビット論理演算を実行するビット論理演算装置の提供
を課題とするものである。
In view of this, the present invention has been proposed to enable a custom LSI for bit logic operations to automatically execute successive bit logic operation instructions by starting a bit logic operation once in the central processing unit, and to execute bit logic operations at high speed. The objective is to provide a logical operation device.

[課題を解決するための手段] この発明にかかる高速ビット論理演算装置は、ビット論
理演算カスタムLSI中に、中央演算処理部からの命令
により上記ビット論理演算命令格納メモリ中のビット論
理演算開始アドレスを指定するビット論理演算格納アド
レス指定部と上記ビット論理演算命令格納メモリからの
ビット論理演算命令を格納するビット論理演算命令格納
部と中央演算処理部からの命令によりビット論理演算回
数を指定するビット論理演算回数指定レジスタと上記ビ
ット論理演算命令格納部からのデータをデコードしたも
のによりビット論理演算を実行するビット論理演算実行
部とこのビット論理演算実行部のビット論理演算回数を
計数するビット論理演算回数カウンタとこのビット論理
演算回数カウンタの内容と上記ビット論理演算回数指定
レジスタの内容を比較しビット論理演算の完了を検出し
上記中央演算処理部に知らせるビット論理演算完了検出
部と上記ビット論理演算実行部からの演算結果を記憶す
るビット論理演算用RAMとを設けたものである。
[Means for Solving the Problems] A high-speed bit logic operation device according to the present invention uses a bit logic operation start address in the bit logic operation instruction storage memory according to an instruction from a central processing unit in a bit logic operation custom LSI. A bit logic operation storage address designation section that specifies the bit logic operation storage, a bit logic operation instruction storage section that stores the bit logic operation instructions from the bit logic operation instruction storage memory, and a bit that specifies the number of bit logic operations by an instruction from the central processing section. A bit logic operation execution unit that executes a bit logic operation using the decoded data from the logic operation count designation register and the above-mentioned bit logic operation instruction storage unit, and a bit logic operation that counts the number of bit logic operations in this bit logic operation execution unit. The bit logic operation completion detection unit compares the contents of the bit logic operation number counter with the contents of the bit logic operation number specification register, detects the completion of the bit logic operation, and notifies the above central processing unit. A RAM for bit logic operations is provided to store the operation results from the execution section.

[作用] この発明におけるビット論理演算用カスタムLSI中の
ビット論理演算回数カウンタは、ビット論理演算実行部
のビット論理演算回数を計数し、また、ビット論理演算
回数指定レジスタは、中央演算処理部からの命令により
ビット論理演算回数を指定し、これらのビット論理演算
回数カウンタとビット論理演算回数指定レジスタの内容
は、ビット論理演算完了検出部により比較されて、ビッ
ト論理演算の完了が検出されるので、上記ビット論理演
算実行部は連続したビット論理演算処理を実行すること
ができる。
[Function] The bit logic operation number counter in the custom LSI for bit logic operations in the present invention counts the number of bit logic operations in the bit logic operation execution unit, and the bit logic operation number designation register is configured to receive data from the central processing unit. The bit logic operation count is specified by the instruction, and the contents of the bit logic operation count counter and the bit logic operation count specification register are compared by the bit logic operation completion detection unit to detect the completion of the bit logic operation. , the bit logic operation execution section is capable of executing continuous bit logic operation processing.

[実施例] 以下、この発明の詳細な説明する。[Example] The present invention will be described in detail below.

第1図はこの発明の一実施例による高速ビット論理演算
装置を示す(ハードウェア)ブロック図である。
FIG. 1 is a (hardware) block diagram showing a high-speed bit logic operation device according to an embodiment of the present invention.

第1図において、(1)は従来例と同じく中央演算処理
部、(2)はビット論理演算用カスタムLSI、(3)
はビット論理演算開始アドレス及び演算回数記憶用メモ
リ、(4)は実際のビット論理演算命令が格納されてい
るビット論理演算命令格納メモリ、(5)はビット論理
演算命令デコード部、(6)はビット位置デコード部、
(7)はビット論理演算タイミング発生部、(8)はレ
ディ信号発生部、(9)はビット論理演算実行部、(1
0)はビット論理演算起動信号発生部、(11)はビッ
ト論理演算対象データを格納するビット論理演算用2ポ
ートRAM、(12)は中央演算処理部(1)よりビッ
ト論理演算回数をセットするビット論理演算回数指定レ
ジスタ、(14)はビット論理演算タイミング発生部(
7)の発生信号より実行したビット論理演算回数をカウ
ントするビット論理演算回数カウンタ、(13)はビッ
ト論理演算回数指定レジスタ(12)とビット論理演算
回数カウンタ(14)の内容を比較してビット論理演算
完了を検出し、中央演算処理部(1)に通知するビット
論理演算完了検出部、(15)はビット論理演算命令格
納メモリ(4)より読み出したビット論理演算命令を保
持するレジスタからなるビット論理演算命令格納部、(
16)はビット論理演算命令読み出し時のメモリに与え
るアドレスを設定するビット論理演算格納アドレス指定
部、(17)はビット論理演算命令読み出し時のビット
論理演算命令読み出し信号発生部である。
In Figure 1, (1) is the central processing unit as in the conventional example, (2) is the custom LSI for bit logic operations, and (3) is the custom LSI for bit logic operations.
is a bit logic operation start address and memory for storing the number of operations, (4) is a bit logic operation instruction storage memory where actual bit logic operation instructions are stored, (5) is a bit logic operation instruction decoding section, and (6) is a bit logic operation instruction decoding section. bit position decoding section,
(7) is a bit logic operation timing generation section, (8) is a ready signal generation section, (9) is a bit logic operation execution section, (1
0) is a bit logic operation start signal generation unit, (11) is a 2-port RAM for bit logic operations that stores data to be subjected to bit logic operations, and (12) is a central processing unit that sets the number of bit logic operations from (1). The bit logic operation number specification register (14) is the bit logic operation timing generation section (
7) is a bit logic operation counter that counts the number of bit logic operations executed based on the generated signal. A bit logic operation completion detection unit detects the completion of the logic operation and notifies the central processing unit (1), and (15) consists of a register that holds the bit logic operation instruction read from the bit logic operation instruction storage memory (4). Bit logic operation instruction storage section, (
16) is a bit logic operation storage address specifying section that sets an address to be given to the memory when reading a bit logic operation instruction, and (17) is a bit logic operation instruction read signal generation section when reading a bit logic operation instruction.

次に、この実施例による高速ビット論理演算装置の動作
について説明する。
Next, the operation of the high-speed bit logic operation device according to this embodiment will be explained.

第3図はこの発明の一実施例の高速ビット論理演算装置
における処理の概略フローチャート示すものであり、こ
れを用いて説明する。
FIG. 3 shows a schematic flowchart of processing in a high-speed bit logic operation device according to an embodiment of the present invention, and will be explained using this flowchart.

まず、中央演算処理部(1)がビット論理演算命令格納
メモリ(4)からビット論理演算命令を読み込み実行す
る(ステップSl)。このビット論理演算命令は基本的
には、中央演算処理部(1)の汎用データ転送命令を使
用し、中央演算処理部(1)がビット論理演算開始アド
レス、演算回数記憶用メモリ(3)の内容により、ピッ
I・論理演算用カスタムLSI(2)のビット論理演算
格納アドレス指定部(16)のアドレスレジスタのビッ
ト論理演算開始アドレス及びビット論理演算回数指定レ
ジスタ(12)のセットを行うと同時に、ビット論理演
算起動信号発生部(10)によりビット論理の開始を指
示する。ビット論理演算用カスタムLSI(2)は、ビ
ット論理演算起動信号発生部(10)から信号を受けて
、ビット論理演算タイミング発生部(7)がタイミング
信号を発生し、このタイミング信号によりビット論理演
算格納アドレス指定部(16)及びビット論理演算命令
読み出し信号発生部(17)が起動して、ビット論理演
算命令格納メモリ(4)よりビット論理演算命令格納部
(15)にビット論理演算命令のデータを取り込むと共
に、ビット論理演算回数カウンタ(14)が、ビット論
理演算回数をリセットする(ステップS2)。ビット論
理演算命令格納部(15)に取り込まれたデータは、ビ
ット論理演算命令デコード部(5)及びビット位置デコ
ード部(6)によりビット論理演算命令の種類及びデー
タにおけるビット位置が解読され、ピット論理演算実行
部(9)に伝えられる。ビット論理演算実行部(9)は
ビット論理演算用2ポートRA’M(11)よりデータ
を読み出し、ビット論理演算を実行する(ステップS3
)。データを読み出す際のビット論理演算用2ポートR
AM (11)のアドレスは、ビット論理演算命令格納
メモリ(4)より読み出されたビット論理演算命令に含
まれており、ビット論理演算命令格納部(15)よりビ
ット論理演算用2ポートRAM (11)に与えられる
First, the central processing unit (1) reads a bit logic operation instruction from the bit logic operation instruction storage memory (4) and executes it (step Sl). This bit logic operation instruction basically uses a general-purpose data transfer instruction of the central processing unit (1), and the central processing unit (1) stores the bit logic operation start address and the memory (3) for storing the number of operations. Depending on the contents, the bit logic operation start address and bit logic operation number designation register (12) of the address register of the bit logic operation storage address designation section (16) of the custom LSI for pin I/logic operation (2) are set at the same time. , the bit logic operation start signal generating section (10) instructs the start of bit logic. The bit logic operation custom LSI (2) receives a signal from the bit logic operation start signal generation section (10), causes the bit logic operation timing generation section (7) to generate a timing signal, and uses this timing signal to perform the bit logic operation. The storage address designation section (16) and the bit logic operation instruction read signal generation section (17) are activated, and data of the bit logic operation instruction is transferred from the bit logic operation instruction storage memory (4) to the bit logic operation instruction storage section (15). At the same time, the bit logic operation counter (14) resets the number of bit logic operations (step S2). The data taken into the bit logic operation instruction storage section (15) is decoded by the bit logic operation instruction decoding section (5) and the bit position decoding section (6) to determine the type of bit logic operation instruction and the bit position in the data. It is transmitted to the logical operation execution unit (9). The bit logic operation execution unit (9) reads data from the 2-port RA'M (11) for bit logic operations and executes the bit logic operation (step S3).
). 2 ports R for bit logic operations when reading data
The address of AM (11) is included in the bit logic operation instruction read from the bit logic operation instruction storage memory (4), and is stored in the bit logic operation 2-port RAM ( 11).

以上のビット論理演算実行部(9)のビット論理演算の
実行が完了すると、ビット論理演算の結果は、ビット論
理演算用2ポートRAM (11)に記憶され、ビット
論理演算回数カウンタ(14)が、例えば、ビット論理
演算実行部(9)からのビット論理演算実行終了信号、
または、ビット論理演算実行部(9)からのビット論理
演算の結果をビット論理演算用2ポートRAM (11
)に記憶する時の信号等に基づいて、インクリメントさ
れる。そして、このビット論理演算回数カウンタ(14
)の計数値がビット論理演算回数指定レジスタ(12)
の値と一致するまで、」−2の処理が繰返される。
When the execution of the bit logic operation by the bit logic operation execution unit (9) is completed, the result of the bit logic operation is stored in the 2-port RAM (11) for bit logic operation, and the bit logic operation number counter (14) is , for example, a bit logic operation execution end signal from the bit logic operation execution unit (9),
Alternatively, the result of the bit logic operation from the bit logic operation execution unit (9) is transferred to the 2-port RAM (11) for bit logic operation.
) is incremented based on the signal etc. at the time of storage. Then, this bit logic operation number counter (14
) is the bit logic operation count specification register (12)
The process of ``-2'' is repeated until the value matches the value of .

即ち、上記のビット論理演算実行部(9)からのビット
論理演算実行終了信号等に基づいて、ビット論理演算命
令格納部(15)に同アドレスの次のビット論理演算命
令のデータを順次取り込んで、ビット論理演算実行部(
9)が、ビット論理演算を実行する。或いは、上記のビ
ット論理演算実行部(9)からのビット論理演算実行終
了信号等に基づいて、ビット論理演算格納アドレス指定
部(16)のアドレスを更新し、順次ビット論理演算命
令格納メモリ(4)からのデータをビット論理演算命令
格納部(15)に取り込んで、ビット論理演算実行部(
9)がビット論理演算を実行する。
That is, based on the bit logic operation execution end signal etc. from the bit logic operation execution unit (9), the data of the next bit logic operation instruction at the same address is sequentially loaded into the bit logic operation instruction storage unit (15). , bit logic operation execution unit (
9) performs bit logic operations. Alternatively, the address of the bit logic operation storage address designation unit (16) is updated based on the bit logic operation execution end signal etc. from the bit logic operation execution unit (9), and the bit logic operation instruction storage memory (4) is sequentially updated. ) is taken into the bit logic operation instruction storage unit (15), and the data from the bit logic operation execution unit (
9) performs bit logic operations.

ビット論理演算回数カウンタ(14)とビット論理演算
命令回数指定レジスタ(12)の内容が一致すると、ビ
ット論理演算完了検出部(13)より一連のビット論理
演算の完了が中央演算処理部(1)に通知される。この
完了信号を、中央演算処理部(1)の割込み入力に使う
ことにより、中央演算処理部(1)が別処理実行中であ
っても、即座にビット論理演算の完了を知ることができ
る。
When the contents of the bit logic operation number counter (14) and the bit logic operation instruction number specification register (12) match, the bit logic operation completion detection unit (13) indicates the completion of a series of bit logic operations to the central processing unit (1). will be notified. By using this completion signal as an interrupt input to the central processing unit (1), it is possible to immediately know the completion of the bit logic operation even if the central processing unit (1) is executing another process.

ビット論理演算完了後、ビット論理演算用2ポートRA
M (11)の内容を、中央演算処理部(1)が読み出
すことにより、ビット論理演算結果を得る。
After bit logic operation is completed, 2-port RA for bit logic operation
The central processing unit (1) reads the contents of M (11) to obtain a bit logic operation result.

第2図は、ビット論理演算命令格納メモリ(4)中のデ
ータの一例を示したものであり、24〜31ビツト目は
、このデータがビット論理演算命令であることを示すタ
グ、16〜23ビツト目は、ビット論理演算の種別、1
2〜15ビツト目は、ビット論理演算用2ポー)−RA
M(11)中のデータにおけるビット位置、0〜11ビ
ツト目は、ビット論理演算用2ポートRAM (11)
中のデータのアドレスである。
FIG. 2 shows an example of data in the bit logic operation instruction storage memory (4), and the 24th to 31st bits are tags indicating that this data is a bit logic operation instruction, and the 16th to 23rd bits are tags indicating that this data is a bit logic operation instruction. The bit is the type of bit logical operation, 1
The 2nd to 15th bits are 2 ports for bit logic operations) -RA
The bit positions in the data in M(11), bits 0 to 11, are 2-port RAM for bit logic operations (11)
This is the address of the data inside.

なお、」−2実施例では、第2図のビット論理演算命令
が32ビット幅の場合を示したが、8ビット幅や16ビ
ツト幅のメモリを使用して、複数回、ビット論理演算命
令格納メモリ(4)からの読み出しを実行して、ビット
論理演算命令格納部(15)にデータをセットするよう
にしてもよい。
In addition, in Embodiment 2, the case where the bit logic operation instruction in FIG. Data may be set in the bit logic operation instruction storage section (15) by reading from the memory (4).

[発明の効果] 以上のように、この発明の高速ビット論理演算装置によ
れば、ビット論理演算用カスタムLSI中のビット論理
演算回数カウンタは、ビット論理演算実行部のビット論
理演算回数を計数し、また、ビット論理演算回数指定レ
ジスタは、中央演算処理部からの命令によりビット論理
演算回数を指定し、これらのビット論理演算回数カウン
タとビット論理演算回数指定レジスタの内容は、ビット
論理演算完了検出部により比較されて、ビット論理演算
の完了が検出されるので、上記ビット論理演算実行部は
連続したビット論理演算処理を実行することができる。
[Effects of the Invention] As described above, according to the high-speed bit logic operation device of the present invention, the bit logic operation number counter in the custom LSI for bit logic operations counts the number of bit logic operations in the bit logic operation execution section. In addition, the bit logic operation number specification register specifies the number of bit logic operations based on an instruction from the central processing unit, and the contents of these bit logic operation number counter and bit logic operation number specification register are used to detect the completion of bit logic operations. Since the completion of the bit logic operation is detected by the comparison by the bit logic operation section, the bit logic operation execution section can execute continuous bit logic operation processing.

したがって、中央演算処理部からビット論理演算命令カ
スタムLSIにビット論理演算の開始を指示すれば、後
は中央演算処理部の介在なしに、ビット論理演算命令カ
スタムLSIが自動的にビット論理演算を実行するよう
に構成したので、ビット論理演算処理を著しく高速化で
きるという効果がある。
Therefore, when the central processing unit instructs the bit logic operation instruction custom LSI to start a bit logic operation, the bit logic operation instruction custom LSI automatically executes the bit logic operation without the intervention of the central processing unit. This configuration has the effect of significantly speeding up bit logic operation processing.

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

第1図はこの発明の一実施例による高速ビット論理演算
装置を示すブロック図、第2図はこの発明の一実施例の
高速ビット論理演算装置のビット論理演算命令のフォー
マットを示す説明図、第3図はこの発明の一実施例の高
速ビット論理演算装置のビット論理演算処理を示す概略
フローチャート、第4図は従来のビット論理演算装置を
示すブロック図、第5図は従来のビット論理演算装置の
ビット論理演算処理を示す概略フローチャートである。 図において、 1:中央演算処理部 2:ビット論理演算用カスタムLSI 4:ビット論理演算命令格納メモリ 9:ビット論理演算実行部 11:ビット論理演算用2ポートRAM12:ビット論
理演算回数指定レジスタ13二ビット論理演算完了検出
部 14:ビット論理演算回数カウンタ 15:ビット論理演算命令格納部 16:ビット論理演算格納アドレス指定部である。 なお、図中、同−符号及び同一記号は同一または相当部
分を示すものである。 代理人 弁理士 大吉 増雄 外2名 第3図
FIG. 1 is a block diagram showing a high-speed bit logic operation device according to an embodiment of the present invention, FIG. FIG. 3 is a schematic flow chart showing bit logic operation processing of a high-speed bit logic operation device according to an embodiment of the present invention, FIG. 4 is a block diagram showing a conventional bit logic operation device, and FIG. 5 is a diagram showing a conventional bit logic operation device. 2 is a schematic flowchart showing bit logical operation processing of FIG. In the figure, 1: Central processing unit 2: Custom LSI for bit logic operations 4: Bit logic operation instruction storage memory 9: Bit logic operation execution unit 11: 2-port RAM for bit logic operations 12: Bit logic operation number specification register 13 2 Bit logic operation completion detection section 14: Bit logic operation number counter 15: Bit logic operation instruction storage section 16: Bit logic operation storage address designation section. In the drawings, the same reference numerals and the same symbols indicate the same or equivalent parts. Agent: Patent attorney Masuo Daikichi and two others Figure 3

Claims (1)

【特許請求の範囲】 中央演算処理部とビット論理演算命令格納メモリとビッ
ト論理演算カスタムLSIとを備えた高速ビット論理演
算装置において、 上記ビット論理演算カスタムLSI中に、中央演算処理
部からの命令により上記ビット論理演算命令格納メモリ
中のビット論理演算開始アドレスを指定するビット論理
演算格納アドレス指定部と、上記ビット論理演算命令格
納メモリからのビット論理演算命令を格納するビット論
理演算命令格納部と中央演算処理部からの命令によりビ
ット論理演算回数を指定するビット論理演算回数指定レ
ジスタと、 上記ビット論理演算命令格納部からのデータをデコード
したものによりビット論理演算を実行するビット論理演
算実行部と、 前記ビット論理演算実行部のビット論理演算回数を計数
するビット論理演算回数カウンタと、前記ビット論理演
算回数カウンタの内容と上記ビット論理演算回数指定レ
ジスタの内容を比較しビット論理演算の完了を検出し、
上記中央演算処理部に知らせるビット論理演算完了検出
部と、上記ビット論理演算実行部からの演算結果を記憶
するビット論理演算用RAMと を具備することを特徴とする高速ビット論理演算装置。
[Scope of Claims] A high-speed bit logic operation device comprising a central processing unit, a bit logic operation instruction storage memory, and a bit logic operation custom LSI, in which instructions from the central processing unit are used in the bit logic operation custom LSI. a bit logic operation storage address specifying section that specifies a bit logic operation start address in the bit logic operation instruction storage memory; and a bit logic operation instruction storage section that stores the bit logic operation instruction from the bit logic operation instruction storage memory. a bit logic operation number specification register that specifies the number of bit logic operations based on an instruction from the central processing unit; and a bit logic operation execution unit that executes the bit logic operation based on decoded data from the bit logic operation instruction storage unit. , a bit logic operation counter for counting the number of bit logic operations of the bit logic operation execution unit; and a comparison of the contents of the bit logic operation counter and the contents of the bit logic operation number specification register to detect completion of the bit logic operation. death,
A high-speed bit logic operation device comprising: a bit logic operation completion detection unit that notifies the central processing unit; and a bit logic operation RAM that stores operation results from the bit logic operation execution unit.
JP63305693A 1988-12-02 1988-12-02 Fast bit logic operation device Pending JPH02151925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63305693A JPH02151925A (en) 1988-12-02 1988-12-02 Fast bit logic operation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63305693A JPH02151925A (en) 1988-12-02 1988-12-02 Fast bit logic operation device

Publications (1)

Publication Number Publication Date
JPH02151925A true JPH02151925A (en) 1990-06-11

Family

ID=17948224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63305693A Pending JPH02151925A (en) 1988-12-02 1988-12-02 Fast bit logic operation device

Country Status (1)

Country Link
JP (1) JPH02151925A (en)

Similar Documents

Publication Publication Date Title
JPS5852265B2 (en) data processing equipment
JPS63172339A (en) Instruction decoding device
JPH02151925A (en) Fast bit logic operation device
JPS638971A (en) Polynomial vector arithmetic and control unit
JP2812610B2 (en) Pipeline control method
JP3405106B2 (en) Programmable controller
JPH01273132A (en) Microprocessor
JP3695078B2 (en) Programmable controller with pulse output instructions
JPH05225122A (en) Burst transfer system of dma
JPH0243627A (en) Data processor
JP2576589B2 (en) Virtual storage access control method
JPS5838437Y2 (en) Program computer display control device
JPS5936853A (en) Operation processor
JPS5925264B2 (en) Vector instruction processing method
JPH0833812B2 (en) Sorting device
JPS62219128A (en) Data processor
JPH01284926A (en) Instruction reading system for arithmetic unit
JPS6238748B2 (en)
JPS6036614B2 (en) information processing equipment
JPH0683986A (en) Single chip microcomputer
JPH01290049A (en) Memory access control system
JPH05224919A (en) Program execution system for microprocessor
JPS6047616B2 (en) information processing equipment
JPS58129570A (en) Pattern generating device
JPH03123933A (en) Information processor