JPH07134642A - Data transfer device - Google Patents

Data transfer device

Info

Publication number
JPH07134642A
JPH07134642A JP28091193A JP28091193A JPH07134642A JP H07134642 A JPH07134642 A JP H07134642A JP 28091193 A JP28091193 A JP 28091193A JP 28091193 A JP28091193 A JP 28091193A JP H07134642 A JPH07134642 A JP H07134642A
Authority
JP
Japan
Prior art keywords
data
memory
signal
read
decoder
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
JP28091193A
Other languages
Japanese (ja)
Inventor
Mitsunari Todoroki
晃成 轟
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP28091193A priority Critical patent/JPH07134642A/en
Publication of JPH07134642A publication Critical patent/JPH07134642A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simultaneously execute plural decoding processings and to improve the throughput of the data output of a data transfer device by providing a memory access mediation device. CONSTITUTION:The memory access mediation device 7 reads data from a memory 3 and delivers the memory data to plural data decoders, read timings from the respective decoders are controlled by a mediation circuit 14 and the data read from the memory 3 are stored in registers 15 and 16. An STR1-115 and an STR2-119 are write signals for fetching the memory data to the registers 15 and 16 and become strobe signals for informing the data decoders of that the data are readable at the same time. The data decoders read the memory data stored in the registers 15 and 16 after it is confirmed that the strobe signals became active. By such constitution, access from the plural data decoders to the memory 3 is mediated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はデータ転送装置の構成に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the structure of a data transfer device.

【0002】[0002]

【従来の技術】従来のデータ転送装置の例を説明する。
図3は、従来のデータ転送装置の構成図である。20は
MPU(1)のデータ、アドレス、制御信号の入出力を
制御するMPUI/Fであり、21、22は複数のデー
タ復号器、23はメモリ(3)からデータを読み出しデ
ータ復号器(21、22)にメモリデータを受け渡すメ
モリI/Fである。
2. Description of the Related Art An example of a conventional data transfer device will be described.
FIG. 3 is a block diagram of a conventional data transfer device. Reference numeral 20 is an MPU I / F for controlling input / output of data, address and control signal of the MPU (1), reference numerals 21 and 22 are a plurality of data decoders, and reference numeral 23 is a data decoder (21) for reading data from the memory (3). , 22) for passing the memory data to the memory I / F.

【0003】例えば、算術符号、ハフマン符号などのエ
ントロピー符号化によりデータを圧縮し、圧縮したデー
タをメモリに格納する。メモリに格納されたデータをデ
ータ復号器(21、22)により復号し、復号されたデ
ータをMPUから読みだすことにより、MPUはあたか
も元データをメモリから読み出しているように見える。
データ復号器として算術符号復号器、ハフマン符号復号
器などの高効率の圧縮技術を用いた復号器を適用するこ
とにより、実際のメモリの容量より見かけ上大きな容量
のメモリにアクセスしているようにMPUから見える。
For example, data is compressed by entropy coding such as arithmetic code and Huffman code, and the compressed data is stored in a memory. By decoding the data stored in the memory by the data decoder (21, 22) and reading the decoded data from the MPU, the MPU seems to read the original data from the memory.
By applying a decoder that uses high-efficiency compression technology, such as an arithmetic code decoder or a Huffman code decoder, as a data decoder, it is possible to access a memory that has an apparently larger capacity than the actual memory capacity. It is visible from the MPU.

【0004】複数のデータ符号器(21、22)をデー
タ転送装置に内蔵したとき、MPU(1)はMPUI/
F(20)に対して、MPUの制御信号(141)、ア
ドレス信号(142)、データ信号(143)を通して
データ転送装置にアクセスする。MPUI/FはMPU
からの制御信号(141)とアドレス信号(142)か
らデータ復号器1(21)とデータ復号器2(22)を
制御する信号を生成する。
When a plurality of data encoders (21, 22) are built in the data transfer device, the MPU (1) is MPU /
For the F (20), the data transfer device is accessed through the MPU control signal (141), the address signal (142), and the data signal (143). MPU I / F is MPU
A signal for controlling the data decoder 1 (21) and the data decoder 2 (22) is generated from the control signal (141) and the address signal (142).

【0005】DEN1(144)はデータ復号器1(2
1)のイネーブル信号でありDEN1をアクティブにす
るとデータ復号器は復号処理を行う。RDY1(14
5)はデータ復号器1のデータレディー信号であり、メ
モリ(3)に格納された圧縮データを復号し、データ復
号器1のバッファが復号データにより全て満たされたと
き、MPUが復号データを読みだすことができることを
通知する信号である。RDY1(145)がアクティブ
となったとき、MPUはDEN1(144)をディセー
ブルとし、データ復号器1(21)の復号処理を中止
し、復号データをDATA1信号(147)により読み
込む。146はデータ復号器1(21)を制御する各種
制御信号であり、AD1(148)はデータ復号器1の
内部レジスタにアクセスするためのアドレス信号であ
る。データ復号器2(22)においても、各信号の定義
はデータ復号器1(21)と同様であり、DEN2(1
49)はデータ復号器2(22)のイネーブル信号、R
DY2(150)はデータ復号器2(22)のデータレ
ディー信号、151はデータ復号器2に対するMPUか
らの各種制御信号、DATA2(152)はデータ信号
であり、AD2(153)はデータ復号器2(22)の
内部レジスタにアクセスするためのアドレス信号であ
る。
DEN1 (144) is the data decoder 1 (2
When the DEN1 is the enable signal of 1) and the DEN1 is activated, the data decoder performs the decoding process. RDY1 (14
5) is a data ready signal of the data decoder 1, which decodes the compressed data stored in the memory (3), and when the buffer of the data decoder 1 is completely filled with the decoded data, the MPU reads the decoded data. This is a signal notifying that it can be taken out. When RDY1 (145) becomes active, the MPU disables DEN1 (144), stops the decoding process of the data decoder 1 (21), and reads the decoded data by the DATA1 signal (147). Reference numeral 146 is various control signals for controlling the data decoder 1 (21), and AD1 (148) is an address signal for accessing the internal register of the data decoder 1. In the data decoder 2 (22), the definition of each signal is the same as that of the data decoder 1 (21).
49) is an enable signal for the data decoder 2 (22), R
DY2 (150) is a data ready signal of the data decoder 2 (22), 151 is various control signals from the MPU for the data decoder 2, DATA2 (152) is a data signal, and AD2 (153) is the data decoder 2 This is an address signal for accessing the internal register of (22).

【0006】データ復号器1(21)とデータ復号器2
(22)は、それぞれメモリ(3)に対してRD信号
(159、161)、メモリアドレス(160、16
2)を生成し、メモリデータ信号MD(156)からメ
モリに格納されているデータを読みだす。メモリI/F
ではこれらの信号をMUXにより選択し、メモリ(3)
に対してRD信号(157)とメモリアドレスMD(1
58)を出力している。このとき、複数のデータ復号装
置から出力されるRD信号、メモリアドレスの選択はM
PUI/Fから出力されるMSEL(154)により制
御される。
Data decoder 1 (21) and data decoder 2
(22) are RD signals (159, 161) and memory addresses (160, 16) for the memory (3), respectively.
2) is generated, and the data stored in the memory is read from the memory data signal MD (156). Memory I / F
Then, select these signals by MUX, and select the memory (3)
RD signal (157) and memory address MD (1
58) is output. At this time, the selection of RD signals and memory addresses output from the plurality of data decoding devices is M
It is controlled by the MSEL (154) output from the PUI / F.

【0007】[0007]

【発明が解決しようとする課題】しかし、上記した従来
技術では、データ復号器1によりデータを読みだす場
合、データ復号器1(21)をDEN1によりイネーブ
ルとし、MSELによりメモリアドレスを切り換えてデ
ータ符号器1の圧縮技術により圧縮されたデータが格納
されたメモリへアクセスする。一方、データ復号器2に
よりデータを読みだす場合、データ復号器2(22)を
DEN2によりイネーブルとし、MSELをデータ復号
器2のアドレスに切り換え、メモリにアクセスする。こ
のとき、データ復号器1はディセーブルにする必要があ
り、複数のデータ復号器を同時にイネーブルとして動作
させることはできない。
However, in the above-mentioned conventional technique, when the data is read by the data decoder 1, the data decoder 1 (21) is enabled by DEN1, and the memory address is switched by MSEL to switch the data code. The memory in which the data compressed by the compression technique of the device 1 is stored is accessed. On the other hand, when data is read by the data decoder 2, the data decoder 2 (22) is enabled by DEN2, MSEL is switched to the address of the data decoder 2, and the memory is accessed. At this time, the data decoder 1 needs to be disabled, and a plurality of data decoders cannot be simultaneously enabled and operated.

【0008】また、MPUがデータ復号器1(21)を
動作させていたときに、データ復号器2(22)からデ
ータを読む必要が生じたとき、データ復号器1(21)
の処理を停止させ、モードをデータ復号器2(22)に
切り換えた後、データ復号器2の処理をスタートさせ、
復号データをリードするという手順が必要となり、デー
タ復号器1とデータ復号器2のデータを交互に読み込
み、動作状態を頻繁に変更するとき全体の処理効率が悪
くなる。
When the MPU is operating the data decoder 1 (21) and it becomes necessary to read data from the data decoder 2 (22), the data decoder 1 (21)
After stopping the processing of (1) and switching the mode to the data decoder 2 (22), the processing of the data decoder 2 is started,
A procedure of reading the decoded data is required, and when the data of the data decoder 1 and the data decoder 2 are alternately read and the operating state is frequently changed, the overall processing efficiency becomes poor.

【0009】また、算術符号器などのデータ復号処理
は、多数の処理ステップが必要となり処理時間が長くな
る。このときMPUは復号データが出力されるまで、デ
ータ復号装置の処理を待つことになる。
Further, the data decoding process of the arithmetic encoder or the like requires a large number of processing steps and the processing time becomes long. At this time, the MPU waits for the processing of the data decoding device until the decoded data is output.

【0010】複数のデータ復号器からのメモリへのアク
セスを調停する手段をデータ転送装置に付加することに
より、複数のデータ符号化装置の処理を停止することな
く、異なる圧縮技術により圧縮されたデータを同時に復
号することができる。このため、MPUは交互にデータ
復号器にアクセスしデータを読み込むことも可能とな
り、メモリアクセスを効率よく行うことができる。さら
に、データ復号器を停止するなどのデータ復号器の切り
換え処理ルーチンを削除することができる。
By adding means for arbitrating access to the memory from a plurality of data decoders to the data transfer device, data compressed by different compression techniques can be performed without stopping the processing of the plurality of data encoding devices. Can be decoded at the same time. Therefore, the MPU can alternately access the data decoder and read the data, and the memory access can be efficiently performed. Further, the data decoder switching processing routine such as stopping the data decoder can be deleted.

【0011】このように本発明では、MPUからの制御
を簡単にし、複数の復号処理を同時に実行することによ
りデータ転送装置のデータ出力のスループットの向上を
実現することを目的とする。
As described above, an object of the present invention is to simplify the control from the MPU and to improve the throughput of data output of the data transfer device by simultaneously executing a plurality of decoding processes.

【0012】[0012]

【課題を解決するための手段】本発明の請求項1記載の
データ転送装置は、マイクロプロセッサ(MPU)と、
データ、アドレス、制御信号の入出力を制御するMPU
I/Fと、圧縮されたデータを復号する複数のデータ復
号器と、メモリアクセス調停装置から構成されることを
特長とする。
A data transfer apparatus according to claim 1 of the present invention comprises a microprocessor (MPU),
MPU that controls input / output of data, address, and control signals
It is characterized by comprising an I / F, a plurality of data decoders for decoding compressed data, and a memory access arbitration device.

【0013】[0013]

【実施例】以下、実施例により本発明の詳細を示す。The details of the present invention will be described below with reference to Examples.

【0014】本実施例では、複数のデータ復号器に対し
てメモリへのアクセスを調停する装置をメモリI/Fと
して適用する構成をとり、これにより、従来の方式に比
較してMPUがメモリに効率的にアクセスすることが可
能となる。
In this embodiment, a device that arbitrates access to the memory is applied to a plurality of data decoders as a memory I / F. This allows the MPU to operate in the memory as compared with the conventional system. It is possible to access efficiently.

【0015】図1は、本発明の構成を示すブロック図で
ある。1はマイクロプロセッサ(MPU)であり、2は
本発明のデータ転送装置であり、3はROM、フラッシ
ュメモリ、RAMなどの汎用メモリであり、4はMPU
(1)の制御信号(101)、アドレス信号(10
2)、データ信号(103)の入出力を制御するMPU
I/Fであり、5、6は複数のデータ符号器であり、7
はメモリ(3)からデータを読み出しデータ復号器
(5、6)にメモリデータを受け渡すメモリアクセス調
停装置である。図1ではデータ復号器として2つのデー
タ復号器による例を示しているが、データ復号器の数は
限定していない。また、データ復号器として算術符号、
ハフマン符号などのエントロピー符号のデータ復号器、
メモリに格納されたデータを所定ビット長に切り出す処
理などデータに何らかの処理を施し出力するデータ復号
器、JPEGなどの高能率圧縮技術を用いた画像符号
器、またはメモリデータを透過的に読みだすデータ復号
器などがある。データ復号器1、2は同一機能のデータ
復号器を2つ用いることも、異なる機能のデータ復号器
を用いることも可能である。
FIG. 1 is a block diagram showing the configuration of the present invention. Reference numeral 1 is a microprocessor (MPU), 2 is a data transfer device of the present invention, 3 is a general-purpose memory such as ROM, flash memory, RAM, and 4 is an MPU.
Control signal (101) of (1), address signal (10)
2), MPU for controlling input / output of data signal (103)
I / F, 5 and 6 are a plurality of data encoders, and 7
Is a memory access arbitration device that reads data from the memory (3) and transfers the memory data to the data decoders (5, 6). Although FIG. 1 shows an example of two data decoders as the data decoder, the number of data decoders is not limited. Also, as a data decoder, arithmetic code,
Data decoder for entropy code such as Huffman code,
A data decoder that performs some processing on the data, such as cutting out the data stored in the memory to a predetermined bit length, outputs the data, an image encoder that uses a high-efficiency compression technology such as JPEG, or data that transparently reads the memory data. There is a decoder. The data decoders 1 and 2 can use two data decoders having the same function or can use data decoders having different functions.

【0016】複数のデータ符号器(5、6)をデータ転
送装置に内蔵したとき、MPU(1)はMPUI/F
(4)に通してデータ転送装置にアクセスする。MPU
I/F(4)はMPUからの制御信号(101)、アド
レス信号(102)、データ信号(103)からデータ
復号器1(5)とデータ復号器2(6)を制御する信号
を生成する。
When a plurality of data encoders (5, 6) are built in the data transfer device, the MPU (1) operates as an MPU I / F.
The data transfer device is accessed through (4). MPU
The I / F (4) generates a signal for controlling the data decoder 1 (5) and the data decoder 2 (6) from the control signal (101) from the MPU, the address signal (102) and the data signal (103). .

【0017】DR1(104)はデータリード信号であ
り、データ復号器1(5)により復号されたデータをM
PUがリードしたことを通知する信号である。RDY1
(105)はデータ復号器1のデータレディー信号であ
り、メモリ(3)に格納された圧縮データを復号し、デ
ータ復号器1のバッファが復号データにより全て満たさ
れ、MPUが復号データを読みだすことができることを
通知する信号である。106はデータ復号器1(5)を
制御する各種制御信号であり、AD1(108)はデー
タ復号器1の内部レジスタにアクセスするためのアドレ
ス信号である。復号データはデータ信号DATA1(1
07)によりMPUI/Fを通しMPUに読み込まれ
る。図1の本実施例では、図3の従来例に対しDEN
1、2の復号イネーブル信号を削除し、DR1を付加し
ている。データ復号器は内部のデータ用バッファがいっ
ぱいになったとき、RDY1(105)によりMPUに
データの読み込みが可能であることを通知すると同時に
データ復号処理を一時中断する。MPUがデータ復号器
1により復号されたデータを読み込んだときMPUI/
FはDR1(104)をアクティブにする。データ復号
器1はDR1を復号処理の再スタート信号として復号処
理を再開する。このような処理手順を実装することによ
りMPUはデータレジスタを通して復号データを読み出
すだけで次々と連続する圧縮データを復号することがで
きる。また、データ復号器として透過読み出し手段を適
用した場合も、次のアドレスを自動生成する機能を有す
ることでデータレジスタからデータを読みだすことで指
定したメモリアドレスからデータを連続して読みだすこ
ともできる。
DR1 (104) is a data read signal, and the data decoded by the data decoder 1 (5) is M
This is a signal notifying that the PU has read. RDY1
(105) is a data ready signal of the data decoder 1, which decodes the compressed data stored in the memory (3), the buffer of the data decoder 1 is completely filled with the decoded data, and the MPU reads the decoded data. It is a signal notifying that it is possible. Reference numeral 106 is various control signals for controlling the data decoder 1 (5), and AD1 (108) is an address signal for accessing the internal register of the data decoder 1. The decoded data is the data signal DATA1 (1
07), it is read by the MPU through the MPU I / F. In the present embodiment of FIG. 1, DEN is different from the conventional example of FIG.
The decoding enable signals 1 and 2 are deleted and DR1 is added. When the internal data buffer becomes full, the data decoder notifies the MPU that the data can be read by the RDY1 (105) and at the same time suspends the data decoding process. When the MPU reads the data decoded by the data decoder 1, MPUI /
F activates DR1 (104). The data decoder 1 restarts the decoding process by using DR1 as the restart signal for the decoding process. By implementing such a processing procedure, the MPU can decode consecutive compressed data only by reading the decoded data through the data register. Further, even when the transparent reading means is applied as the data decoder, it is possible to continuously read the data from the specified memory address by reading the data from the data register by having the function of automatically generating the next address. it can.

【0018】データ復号器2(6)においても、各制御
信号の定義はデータ復号器1(5)と同様であり、DR
2(109)はデータ復号器2のデータリード信号、R
DY2(110)はデータ復号器2(6)のデータレデ
ィー信号、111はデータ復号器2に対するMPUから
の各種制御信号、DATA2(112)はデータ信号で
あり、AD2(113)はデータ復号器2(6)の内部
レジスタにアクセスするためのアドレス信号である。
Also in the data decoder 2 (6), the definition of each control signal is the same as that in the data decoder 1 (5), and DR
2 (109) is a data read signal of the data decoder 2, R
DY2 (110) is a data ready signal of the data decoder 2 (6), 111 is various control signals from the MPU for the data decoder 2, DATA2 (112) is a data signal, and AD2 (113) is the data decoder 2 This is an address signal for accessing the internal register of (6).

【0019】図3に示す従来例では、データ復号器1
(21)とデータ復号器2(22)は、それぞれメモリ
(3)に対してRD信号(159、161)、メモリア
ドレス(160、162)を生成しメモリにアクセスす
る。このとき、MPU(1)により指定されたMSEL
によりどちらのデータ復号器が有効になるかが選択さ
れ、メモリデータ信号MD(156)からメモリに格納
されているデータを読み出していた。従来の構成ではデ
ータ復号装置は一方のみアクティブにして動作させるた
め、一方がデータ復号処理中に他方のデータ復号装置が
メモリにアクセスする処理は実現できない。
In the conventional example shown in FIG. 3, the data decoder 1
(21) and the data decoder 2 (22) generate RD signals (159, 161) and memory addresses (160, 162) for the memory (3) and access the memories. At this time, MSEL specified by MPU (1)
Which of the data decoders is to be selected is selected according to, and the data stored in the memory is read from the memory data signal MD (156). In the conventional configuration, since only one of the data decoding devices is activated and operated, the process in which one data decoding device accesses the memory while the other data decoding device cannot be realized.

【0020】本発明のデータ転送装置では、メモリアク
セス調停装置を用いることにより複数のデータ復号器を
同時に動作させ、MPUから効率よくメモリにアクセス
することを可能とする。
In the data transfer device of the present invention, by using the memory access arbitration device, it is possible to operate a plurality of data decoders simultaneously and efficiently access the memory from the MPU.

【0021】図2はメモリアクセス調停装置(7)の構
成を示すブロック図である。11、12はデータ復号器
(5、6)からのアドレス信号を記憶するレジスタであ
り、13はレジスタに記憶されたアドレスMAD1(1
30),MAD2(131)を選択しメモリ(3)にメ
モリアドレスMA(123)を出力するマルチプレクサ
(MUX)であり、15、16はメモリから出力された
データを記憶するレジスタであり、14はデータ復号器
1、2からのデータリクエスト信号REQ1,REQ2
(114、118)を入力してMUXのセレクト信号
(132)とメモリへのリード信号(122)とレジス
タへのメモリデータのライト信号(115、119)を
出力し、データ復号器1、2のそれぞれから発行される
メモリリード要求REQ1,REQ2を調停する調停回
路である。
FIG. 2 is a block diagram showing the configuration of the memory access arbitration device (7). Reference numerals 11 and 12 are registers for storing the address signals from the data decoders (5, 6), and 13 is an address MAD1 (1
30), MAD2 (131), and a multiplexer (MUX) that outputs the memory address MA (123) to the memory (3), 15 and 16 are registers that store the data output from the memory, and 14 is Data request signals REQ1 and REQ2 from the data decoders 1 and 2
(114, 118) are input to output a MUX select signal (132), a memory read signal (122), and a memory data write signal (115, 119) to output data from the data decoders 1 and 2. An arbitration circuit that arbitrates the memory read requests REQ1 and REQ2 issued from each.

【0022】データ復号器1から圧縮データを格納した
メモリアドレスMAD1(116)とREQ1(11
4)をメモリアクセス調停装置(7)に入力し、レジス
タ(11)で記憶する。ここで、データ復号器2のリー
ド処理が行われていない場合、データ復号器1のメモリ
アドレスMAD1とリード信号(122)をメモリに入
力しメモリデータMAを出力するリード処理をすぐに行
うことができる。しかし、データ復号器2のリード要求
REQ2によりメモリからデータ読み込み処理を行って
いる場合、読み込み処理が終了するまでデータ復号器1
はメモリにアクセスできない。それぞれの復号器からの
リードタイミングの制御が調停回路(14)により行わ
れる。メモリ(3)から読みだされたデータは、レジス
タ(15、16)に格納される。STR1(115)、
STR2(119)はメモリデータをレジスタへ取り込
むライト信号であると同時に、データ復号器1、2にデ
ータが読み込み可能であることを通知するストローブ信
号となる。データ復号器はストローブ信号がアクティブ
になったことを確認後、レジスタ(15、16)に格納
されたメモリデータをリードする。上記構成により複数
のデータ復号器からメモリへのアクセスを調停してい
る。
Memory addresses MAD1 (116) and REQ1 (11) storing compressed data from the data decoder 1
4) is input to the memory access arbitration device (7) and stored in the register (11). If the read process of the data decoder 2 is not performed, the read process of inputting the memory address MAD1 of the data decoder 1 and the read signal (122) to the memory and outputting the memory data MA can be immediately performed. it can. However, when data read processing is being performed from the memory by the read request REQ2 of the data decoder 2, the data decoder 1
Cannot access memory. The arbitration circuit (14) controls the read timing from each decoder. The data read from the memory (3) is stored in the registers (15, 16). STR1 (115),
STR2 (119) is a write signal for loading memory data into the register and at the same time is a strobe signal for notifying the data decoders 1 and 2 that the data can be read. After confirming that the strobe signal has become active, the data decoder reads the memory data stored in the registers (15, 16). With the above configuration, access from a plurality of data decoders to the memory is arbitrated.

【0023】本実施例では、調停回路14の構成として
2つの方式を説明する。
In this embodiment, two methods will be described as the configuration of the arbitration circuit 14.

【0024】図4は競争選択方式によるメモリリードの
調停を説明する図である。競争選択方式は、先に発行さ
れたメモリリード要求REQ1,2が有効となりメモリ
データがレジスタ(15、16)に格納されるまで、後
に発行された要求が受け付けられず、先に発行されたR
EQのリード処理が終了後、後に発行された要求REQ
に対する処理を行うものである。
FIG. 4 is a diagram for explaining the memory read arbitration by the competition selection method. In the competition selection method, until the memory read requests REQ1 and REQ2 issued first become valid and the memory data is stored in the registers (15, 16), the later issued request is not accepted, and the R issued first.
After the EQ read processing is completed, the request REQ issued later
Is performed.

【0025】図4に示す各信号の定義は図2に従うもの
とする。また、EVENTはクロック数をカウントした
イベント数を示している。
The definition of each signal shown in FIG. 4 is in accordance with FIG. Further, EVENT indicates the number of events obtained by counting the number of clocks.

【0026】EVENT1でデータ復号器1からリード
要求REQ1がなされたとき、ここでREQ2が要求さ
れていない場合、調停回路はMAとしてMAD1を選択
し、RD信号をアクティブにしてメモリデータを読み込
み、EVENT5でSTR1をアクティブにしレジスタ
(15)を更新する。
When a read request REQ1 is issued from the data decoder 1 in EVENT1, and if REQ2 is not requested here, the arbitration circuit selects MAD1 as MA, activates the RD signal to read the memory data, and EVENT5 Then, STR1 is activated and the register (15) is updated.

【0027】EVENT4でデータ復号器2からREQ
2が要求されているが、REQ1の処理終了まで読み込
み処理の待ち状態となる。その後、EVENT6からR
EQ2の処理がスタートしMAD2をMAとしてメモリ
をアクセスし、EVENT9でSTR2をアクティブに
しレジスタ(16)を更新する。
REQ from the data decoder 2 at EVENT 4
Although 2 is requested, the read processing waits until the processing of REQ1 ends. Then from EVENT6 to R
The processing of EQ2 starts, the memory is accessed with MAD2 set as MA, and STR2 is activated at EVENT9 to update the register (16).

【0028】EVENT11でREQ2の要求がかか
り、EVENT12でREQ1の要求がかかる。図4の
方式は、先に要求をかけたデータ復号器の処理を優先す
るため、EVENT11−15にかけてA2−2アドレ
スのデータをレジスタ16に書き込む処理を実行する。
引き続き、EVENT12で発行されたREQ1の処理
を行い、A1−2アドレスのデータを読み込む処理を実
行する。
EVENT11 requests REQ2, and EVENT12 requests REQ1. The method of FIG. 4 gives priority to the processing of the data decoder which made the request first, and therefore executes the processing of writing the data of the A2-2 address in the register 16 through EVENT 11-15.
Subsequently, the processing of REQ1 issued by EVENT12 is performed, and the processing of reading the data of the A1-2 address is performed.

【0029】上記したように競争選択方式は、先に要求
されたデータが必ず先に出力される方式である。ただ
し、同時にリード要求が生じた場合、どちらかに優先権
をもたせることになる。
As described above, the competition selection method is a method in which the previously requested data is always output first. However, when read requests are issued at the same time, one of them is given priority.

【0030】図5は優先順位選択方式によるメモリリー
ドの調停を説明する図である。優先順位選択方式は、デ
ータ復号器1、2に優先順位を与え、優先順位の低いデ
ータ復号器からのリード要求処理中に、優先順位の高い
データ復号器からリード要求された場合、優先順位の低
いデータ復号器の読み出し処理を中止し、優先順位の高
いデータ復号器の読み出し処理を先に実行する方式であ
る。
FIG. 5 is a diagram for explaining memory read arbitration by the priority selection method. The priority selection method gives priority to the data decoders 1 and 2, and when a read request is made from a data decoder having a high priority during a read request process from a data decoder having a low priority, the priority of the data decoder This is a method in which the reading process of the low data decoder is stopped and the reading process of the high priority data decoder is executed first.

【0031】図5に示す各信号の定義は図2に従うもの
とする。EVENTはクロック数をカウントしたイベン
ト数を示している。また、優先順位はREQ1の優先順
位が高いものとする(REQ1>REQ2)。
The definition of each signal shown in FIG. 5 is in accordance with FIG. EVENT indicates the number of events obtained by counting the number of clocks. The priority order of REQ1 is high (REQ1> REQ2).

【0032】EVENT9までの処理は図4に示した方
式と同一な処理となる。ただし、EVENT4でのRE
Q2の要求に対して、EVENT5のREQ1に対する
メモリ読み出し処理の終了まで、REQ2の処理を待機
しているが、これはREQ1の優先順位が高いため、処
理待ち状態となっている。
The processing up to EVENT 9 is the same as the method shown in FIG. However, RE in EVENT4
In response to the request of Q2, the processing of REQ2 is waiting until the memory read processing of REQ1 of EVENT5 is completed, but this is in the processing waiting state because the priority of REQ1 is high.

【0033】EVENT11でREQ2の要求がかか
り、EVENT12でREQ1の要求がかかる。図5の
方式は、優先順位の高いデータ復号器の処理を優先する
ため、EVENT11で発行されたREQ2の処理を中
止し、EVENT12−16にかけてA1−2アドレス
のデータをレジスタ15に書き込むREQ1の処理を実
行する。引き続き、EVENT11で発行されたREQ
1の処理再実行し、A2−2アドレスのデータを読み込
む処理を行う。
EVENT11 requests REQ2, and EVENT12 requests REQ1. Since the method of FIG. 5 gives priority to the processing of the data decoder having the higher priority, the processing of REQ2 issued in EVENT11 is stopped, and the processing of REQ1 in which the data of the A1-2 address is written to the register 15 through EVENT12-16. To execute. REQ issued in EVENT11
The process of 1 is re-executed, and the process of reading the data of the A2-2 address is performed.

【0034】上記したように優先順位選択方式は、優先
順位の高いデータ復号器のデータが先に出力される方式
であるため、優先順位の高いデータ復号器のデータ読み
込み要求が頻繁になされるとき、優先順位の低いデータ
復号器はデータを読み込むことができなくなり、全体と
してメモリデータ転送のスループットが悪くなる恐れも
あるが、最短アクセスタイムを規定するなどの方法によ
り優先順位の低いデータ復号器の読み出し処理に制御を
移すことができる。
As described above, the priority selection method is a method in which the data of the data decoder having a high priority is output first, so that when the data read request of the data decoder having a high priority is frequently made. , A data decoder with a lower priority may not be able to read data, and the throughput of memory data transfer may deteriorate as a whole, but the data decoder with a lower priority may be used by methods such as defining the shortest access time. Control can be transferred to the reading process.

【0035】[0035]

【発明の効果】以上述べたように、本発明では、複数の
データ復号器を同時に動作させ、一方のデータ復号器が
データ復号処理中に、他方のデータ復号器からMPUが
データを読み込むことができるため、メモリアクセスの
スループットが向上する。
As described above, according to the present invention, a plurality of data decoders are operated at the same time, and while one data decoder is performing the data decoding process, the MPU can read data from the other data decoder. Therefore, the throughput of memory access is improved.

【0036】算術符号、ハフマン符号などの高効率圧縮
技術を用いて圧縮したデータをメモリに格納し、復号さ
れたデータをMPUが読みだすことにより、MPUはあ
たかも元データを読み出しているように見える。このと
き、次のデータの復号動作の再開信号としてデータリー
ド信号を用いることにより、MPUは所定のパラメータ
を復号開始時に設定するだけで、レジスタを読み出す毎
に連続したアドレスに格納された圧縮データを読み出す
ことができる。また、データ復号器として高効率の圧縮
技術を用いた場合、MPUからは実際のメモリの容量よ
り見かけ上大きな容量のメモリにアクセスしているよう
に見える。さらに、音声と画像のように性質の異なるデ
ータを同一のメモリ上に記憶した場合、異なる圧縮技術
によるデータ復号器を適応的に切り換えることにより圧
縮率の向上が期待できる。
The data compressed by using the high-efficiency compression technique such as the arithmetic code and the Huffman code is stored in the memory, and the decoded data is read by the MPU, so that the MPU seems to read the original data. . At this time, by using the data read signal as the restart signal of the decoding operation of the next data, the MPU only sets a predetermined parameter at the time of decoding start, and the compressed data stored in consecutive addresses is read every time the register is read. Can be read. Further, when a highly efficient compression technique is used as the data decoder, it seems that the MPU is accessing a memory having an apparently larger capacity than the actual capacity of the memory. Further, when data having different properties such as voice and image are stored in the same memory, the compression rate can be expected to be improved by adaptively switching data decoders using different compression techniques.

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

【図1】 本発明の構成によるデータ転送装置を示すブ
ロック図。
FIG. 1 is a block diagram showing a data transfer device according to the configuration of the present invention.

【図2】 メモリアクセス調停装置の構成を示すブロッ
ク図。
FIG. 2 is a block diagram showing the configuration of a memory access arbitration device.

【図3】 従来例の構成を示すブロック図。FIG. 3 is a block diagram showing a configuration of a conventional example.

【図4】 調停回路における競争選択方式を説明する
図。
FIG. 4 is a diagram illustrating a competition selection method in an arbitration circuit.

【図5】 調停回路における優先順位選択方式を説明す
る図。
FIG. 5 is a diagram illustrating a priority selection method in an arbitration circuit.

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

1・・・マイクロプロセッサ(MPU) 2・・・データ転送装置 3・・・メモリ 4・・・MPUI/F 5・・・データ復号器1 6・・・データ復号器2 7・・・メモリアクセス調停装置 11・・・アドレスレジスタ 12・・・アドレスレジスタ 13・・・マルチプレクサ(MUX) 14・・・調停回路 15・・・データレジスタ 16・・・データレジスタ 20・・・MPUI/F 21・・・データ復号器1 22・・・データ復号器2 23・・・メモリI/F 24・・・マルチプレクサ 25・・・マルチプレクサ 101・・・制御信号 102・・・アドレス信号 103・・・データ信号 104・・・データリード信号 105・・・データレディー信号 106・・・制御信号 107・・・データ信号 108・・・アドレス信号 109・・・データリード信号 110・・・データレディー信号 111・・・制御信号 112・・・データ信号 113・・・アドレス信号 114・・・データリード要求信号 115・・・データストローブ信号 116・・・メモリアドレス信号 117・・・メモリデータ信号 118・・・データリード要求信号 119・・・データストローブ信号 120・・・メモリアドレス信号 121・・・メモリデータ信号 122・・・リード信号 123・・・メモリアドレス信号 124・・・メモリデータ信号 130・・・メモリアドレス信号 131・・・メモリアドレス信号 132・・・セレクト信号 141・・・制御信号 142・・・アドレス信号 143・・・データ信号 144・・・復号イネーブル信号 145・・・データレディー信号 146・・・制御信号 147・・・データ信号 148・・・アドレス信号 149・・・復号イネーブル信号 150・・・データレディー信号 151・・・制御信号 152・・・データ信号 153・・・アドレス信号 154・・・モードセレクト信号 156・・・メモリデータ信号 157・・・リード信号 158・・・メモリアドレス信号 159・・・メモリリード信号 160・・・メモリアドレス信号 161・・・メモリリード信号 162・・・メモリアドレス信号 1 ... Microprocessor (MPU) 2 ... Data transfer device 3 ... Memory 4 ... MPU I / F 5 ... Data decoder 1 6 ... Data decoder 2 7 ... Memory access Arbitration device 11 ... Address register 12 ... Address register 13 ... Multiplexer (MUX) 14 ... Arbitration circuit 15 ... Data register 16 ... Data register 20 ... MPUI / F 21 ... -Data decoder 1 22 ... Data decoder 2 23 ... Memory I / F 24 ... Multiplexer 25 ... Multiplexer 101 ... Control signal 102 ... Address signal 103 ... Data signal 104 ... Data read signal 105 ... Data ready signal 106 ... Control signal 107 ... Data signal 108 ... Address signal 09 ... Data read signal 110 ... Data ready signal 111 ... Control signal 112 ... Data signal 113 ... Address signal 114 ... Data read request signal 115 ... Data strobe signal 116 ... Memory address signal 117 ... Memory data signal 118 ... Data read request signal 119 ... Data strobe signal 120 ... Memory address signal 121 ... Memory data signal 122 ... Read signal 123 ... Memory address signal 124 ... Memory data signal 130 ... Memory address signal 131 ... Memory address signal 132 ... Select signal 141 ... Control signal 142 ... Address signal 143 ... Data signal 144. ..Decoding enable signal 145 ... Data ready -Signal 146 ... Control signal 147 ... Data signal 148 ... Address signal 149 ... Decoding enable signal 150 ... Data ready signal 151 ... Control signal 152 ... Data signal 153 ... Address signal 154 ... Mode select signal 156 ... Memory data signal 157 ... Read signal 158 ... Memory address signal 159 ... Memory read signal 160 ... Memory address signal 161 ... Memory read signal 162 ... Memory address signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】データ、アドレス、制御信号の入出力を制
御するMPUI/Fと、圧縮されたデータを復号する複
数のデータ復号器と、メモリアクセス調停装置から構成
されることを特長とするデータ転送装置。
1. A data comprising an MPUI / F for controlling input / output of data, an address and a control signal, a plurality of data decoders for decoding compressed data, and a memory access arbitration device. Transfer device.
JP28091193A 1993-11-10 1993-11-10 Data transfer device Pending JPH07134642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28091193A JPH07134642A (en) 1993-11-10 1993-11-10 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28091193A JPH07134642A (en) 1993-11-10 1993-11-10 Data transfer device

Publications (1)

Publication Number Publication Date
JPH07134642A true JPH07134642A (en) 1995-05-23

Family

ID=17631661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28091193A Pending JPH07134642A (en) 1993-11-10 1993-11-10 Data transfer device

Country Status (1)

Country Link
JP (1) JPH07134642A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10319978A (en) * 1997-05-16 1998-12-04 Daiichi Kosho:Kk Karaoke sing-along machine
JP2006195705A (en) * 2005-01-13 2006-07-27 Seiko Epson Corp Processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10319978A (en) * 1997-05-16 1998-12-04 Daiichi Kosho:Kk Karaoke sing-along machine
JP2006195705A (en) * 2005-01-13 2006-07-27 Seiko Epson Corp Processor
JP4631442B2 (en) * 2005-01-13 2011-02-16 セイコーエプソン株式会社 Processor

Similar Documents

Publication Publication Date Title
JP4426099B2 (en) Multiprocessor device having shared memory
US7565462B2 (en) Memory access engine having multi-level command structure
JP2001350713A (en) Transfer controller
JP2001216194A (en) Arithmetic processor
JP2017102524A (en) Semiconductor device, data processing system, and control method for semiconductor device
US8093485B2 (en) Method and system for prefetching sound data in a sound processing system
JPH07134642A (en) Data transfer device
US7590295B2 (en) Semiconductor device and an image processor
KR100450844B1 (en) Video CODEC processor architecture
JPH05189360A (en) Data transfer and storage system
JP2002182975A (en) Multi-processor system
JPH08179983A (en) Ram interface device
JP2001109656A (en) Memory cooperation type data processor
JP2002304368A (en) Data processing equipment and method for arbitrating access in it
JP2002232884A (en) Image encoder and image encoding method
KR0120598B1 (en) Memory board designing method and device
JPS60250438A (en) Information processor
JPH05314049A (en) Channel device
JP2002278599A (en) Video and voice decoder
JPH02228880A (en) Time division type high-speed mh encoder/decoder
JPH06303439A (en) Image data processor
JP2002247378A (en) Video memory control method for compressed image data
JPH1049480A (en) Dma controller
JPH03277069A (en) Compression expansion controller
JPH0660012A (en) Dma controller