JPS58142466A - Packing circut - Google Patents

Packing circut

Info

Publication number
JPS58142466A
JPS58142466A JP57024924A JP2492482A JPS58142466A JP S58142466 A JPS58142466 A JP S58142466A JP 57024924 A JP57024924 A JP 57024924A JP 2492482 A JP2492482 A JP 2492482A JP S58142466 A JPS58142466 A JP S58142466A
Authority
JP
Japan
Prior art keywords
circuits
data
circuit
output
word
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
JP57024924A
Other languages
Japanese (ja)
Inventor
Moritomo Matsuyama
松山 護友
Takashi Nagashima
孝 長島
Isao Fukushima
福島 功
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura Electric Co 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP57024924A priority Critical patent/JPS58142466A/en
Publication of JPS58142466A publication Critical patent/JPS58142466A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/10Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers

Abstract

PURPOSE:To perform packing in a short time and to shorten data transfer time even when the volume of information is large by providing unit processing circuits corresponding to respective bits of the output of a data processing system. CONSTITUTION:Unit processing circuits P0-P15 are provided corresponding to respective bits of the output data OP of a data processing system and to comparing circuits 33 and selecting circuits 30 of those circuits P0-P15, a signal for showing the order of a word being inputted actually is inputted from a counter CC. Further, a selection signal SEL for specifying a pack bit is applied to the circuits 30 and shifters 32 and input data DI is applied to the circuits 30. The comparing circuits 33 compare the signal WN with the outputs of the shifters 32 and the results are latched in latch circuits 31 by the outputs of the circuits 30; and the outputs of the circuits 31 are outputted as output data DUn to shorten data transfer time.

Description

【発明の詳細な説明】 本発明は、データ処理システムに用いられるバック回路
に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to buck circuits used in data processing systems.

画像データ処理システムにおいて、画像に関するデジタ
ル情報を記憶する画像メモリから、その情報を、主メモ
リを経由して外部の記憶装置に転送するデータ転送に当
たり、転送時間の短縮を図るとと−に、主メモリおよび
外部記憶装置の所要容量を小さくする丸めバック方式が
用いられることがある。
In an image data processing system, when transferring data from an image memory that stores digital information related to an image to an external storage device via the main memory, the main objective is to shorten the transfer time. A round-back scheme may be used to reduce memory and external storage requirements.

第1図は画像データ処理システムの一例を示したもので
ある。同図において、1はCPU(中央処理装置)、2
は1次元アドレスを有する主メモリで、1アドレス当り
の容量は例えば16ビツトである。Sは例えばMT(磁
気テープ記憶装置)、またはDISK(磁気ディスク記
憶装置)の如き外部記憶装置、4は2次元アドレスを有
する画像メモリで、1アドレス当たりの容量は主メモリ
2と同一かそれ以下、伺えば1ビットである。5は例え
ばドラムスキャナの如き画像入力装置で、との画像入力
装置5から画像データが画像メモリ4に入力される。画
像メモリ4の画像データは必要に応じてアレイプロセサ
6で処理される。モニタ7は画像メモリ4の画像データ
の監視に用いられる。
FIG. 1 shows an example of an image data processing system. In the figure, 1 is a CPU (central processing unit), 2 is a CPU (central processing unit);
is a main memory having one-dimensional addresses, and the capacity per address is, for example, 16 bits. S is an external storage device such as MT (magnetic tape storage device) or DISK (magnetic disk storage device), and 4 is an image memory with two-dimensional addresses, and the capacity per address is the same as or smaller than main memory 2. , if you ask me, it's 1 bit. 5 is an image input device such as a drum scanner, and image data is inputted from the image input device 5 to the image memory 4. Image data in the image memory 4 is processed by an array processor 6 as necessary. The monitor 7 is used to monitor image data in the image memory 4.

画像メモリ4から主メモリ2への画像1データの転送に
際し、0PUIのコマンドで動作す為メモリ間転送モジ
ュール8でパックが行なわれる。これは次の理由による
。画像メモリ4の有効データが1ビットであるとする。
When transferring image 1 data from the image memory 4 to the main memory 2, packing is performed in the memory-to-memory transfer module 8 because it operates with a 0PUI command. This is due to the following reason. Assume that the valid data in the image memory 4 is 1 bit.

仮にこのまま主メモリ2に転送するとすれば、主メモリ
2に記憶されるデータは00・・・・・・01ま九は0
0・・・・・・00であって、意味を持つのは最下位の
1ビットのみで、上位の15ビツトは何らの意味を持た
ない、これでは、主メモリの記憶容量を無駄に費すこと
となる。そして、画像メモリ4のデータをそのまま主メ
モリ2に送ることなく、転送モジュール8内でバックし
た後主メモリ2に送ることとじているのである。
If the data is transferred to main memory 2 as is, the data stored in main memory 2 will be 00...01 or 0.
0...00, only the lowest 1 bit has any meaning, and the upper 15 bits have no meaning.This wastes the storage capacity of main memory. It happens. The data in the image memory 4 is not sent to the main memory 2 as is, but is backed up in the transfer module 8 and then sent to the main memory 2.

パックには、以上のように有効ビットが1ビットのデー
タをパックする場合の外、2ビツト、4ピット、8ビッ
トの場合もあり、また16ビットをすべて有効データと
して通す(スルー)こともある。
In addition to packing data with 1 effective bit as described above, there are also cases where data is packed with 2 bits, 4 pits, and 8 bits, and there are also cases where all 16 bits are passed as valid data. .

第2図(a)乃至(e)は、パックを九はスルーの処理
を受ける前のデータ(入力データ)と処理を受けたあと
のデータ(出力データ)との関係を示す。
FIGS. 2(a) to 2(e) show the relationship between data (input data) before being subjected to pack-through processing and data (output data) after being processed.

同図(a)は1ビットパックを行なう場合、同図(c)
は2ピットバックを行なう場合、同図(e)は4ビット
パックを行なう場合、同図(e)は16ピット・バック
(スルー)を行なう場合をそれぞれ示す0図示のように
、それぞれ16ワード、8ワード、4ワード、2ワード
、lワードの下位の1ビツト、2ビツト、4ビット、1
6ビットが順に並べられて新たな1ワ−ドが形成される
The same figure (a) shows the same figure (c) when performing 1-bit pack.
(e) shows the case where 2 pit backs are performed, (e) shows the case where 4 bit packs are performed, and (e) shows the case where 16 pit backs (through) are performed. 8 words, 4 words, 2 words, lower 1 bit of l word, 2 bits, 4 bits, 1
Six bits are arranged in order to form one new word.

このように種々の場合があるので、転送モジュールは指
定に応じて選択的にパックを行なう機能を持つ必要があ
る。
Since there are various cases as described above, the transfer module needs to have a function of selectively packing according to specifications.

パック方式の実現は、従来ソフトウェアに依っていた。Implementation of the pack method has traditionally relied on software.

しかるに処理時間が長いという欠点があり、画像のよう
に情報量が膨大である場合には特に問題であった。
However, it has the disadvantage of long processing time, which is a particular problem when the amount of information is enormous, such as images.

本発明の目的は、短い時間でパックを行なうことができ
るパック回路を提供することにある。
An object of the present invention is to provide a packing circuit that can perform packing in a short time.

第3図は本発明に係るパック回路の一実施例を示したも
のである。同図において、P6〜P18は16の出力デ
ータDOの各ビットに対応して設けられた単位処理回路
である。また、CCはカウンターで、入力データが1ワ
ード出力される毎にリセットされ、入力データに同期し
九ストローブパルスSTRを計数することによシ、ワー
ドが入力された回路、即ち現に何番目のワードが入力さ
れているかを示す信号WMを発生する。
FIG. 3 shows an embodiment of a pack circuit according to the present invention. In the figure, P6 to P18 are unit processing circuits provided corresponding to each bit of the 16 output data DO. In addition, CC is a counter that is reset every time one word of input data is output, and by counting nine strobe pulses STR in synchronization with the input data, it is possible to check the circuit to which the word has been input, that is, the current number of the word. Generates a signal WM indicating whether or not is being input.

単位処理回路P0〜P15は入力データの各ビットの信
号を伝えるデータラインのうち、それぞれ第4図に示す
ものに接続されている。第41でA〜Pはそれぞれ入力
データの上位のビットの信号を伝えるデータラインから
下位のものに順に付された符号である。そして、それぞ
れカウンタCCの出力WHおよびパックピット数を指定
するセレクト信号SERに応じて、接続されているデー
タラインのうちの選択されたものを介して伝えられたビ
ットの信号を処理して出力する。
The unit processing circuits P0 to P15 are connected to the data lines shown in FIG. 4, respectively, for transmitting signals of each bit of input data. In the 41st line, A to P are symbols assigned in order from the data line that conveys the signal of the upper bit of the input data to the lower bit. Then, according to the output WH of the counter CC and the select signal SER specifying the number of packed pits, the bit signals transmitted through the selected one of the connected data lines are processed and output. .

第5図は上位からn+1番目(0≦n≦15)の単位処
理回路Pnを示し丸ものである。同図において、30は
選択回路で信号WMが所定の設定値(後述する)になつ
たとき、接続されている入力データラインのうちの1つ
を、信号SELに応じで選択する。
FIG. 5 shows the (n+1)th (0≦n≦15) unit processing circuit Pn from the top, and is circled. In the figure, 30 is a selection circuit which selects one of the connected input data lines in accordance with the signal SEL when the signal WM reaches a predetermined setting value (described later).

31はラッチ回路で1選択回路カの出力を受けていて、
ラッチパルスLPを与えられたとき、選択回路30の出
力をラッチする。
31 is a latch circuit that receives the output of the 1 selection circuit,
When the latch pulse LP is applied, the output of the selection circuit 30 is latched.

32はシフターで、パックビット数に応じてその内容を
シフトされ、何ワード目の入力のときにラッチを行なう
べきかを設定する。一例として上位から9番目の単位処
理回路P6のシフター32の内容を示すと、第6図の如
くである。第6図は、16ビットバック(スルー)、8
ビットパック、4ビットバック、8ピットパック、4ビ
ットバックのときそれぞれ1回目(0000)、2回目
(0001)、8回目(0010)、6回目(0100
)、9回目(1000)のデータ転送がされたときラッ
チを行なわせるよう設定されていることを意味している
32 is a shifter whose contents are shifted according to the number of packed bits, and it is set at which word input should be latched. As an example, the contents of the shifter 32 of the ninth unit processing circuit P6 from the highest order are shown in FIG. Figure 6 shows 16 bit back (through), 8
1st (0000), 2nd (0001), 8th (0010), and 6th (0100) for bit pack, 4 bit back, 8 pit pack, and 4 bit back, respectively.
), which means that the setting is such that latching is performed when the ninth (1000) data transfer is performed.

33は比較回路で、シフター32の出力(設定値)と、
カウンターCCの出力WNとを比較し、両者が一致した
時、即ち所定のワード数だけデータが入力されたときラ
ッチパルスLPを発生する。このラッチパルスLPによ
り、上記のようにラッチ回路31が選択回路(30)の
出力をラッチする0選択回路30は、ラッチ回路31に
よるラッチが行なわれる時には、単位処理回路Pn出力
となるべき入力データのビット(第2図(a)乃至(e
)の出力データの部分に示されている)を受けるように
、即ちそのビットの信号を伝えるデータラインを選択す
るように動作する。
33 is a comparison circuit that compares the output (set value) of the shifter 32,
The output WN of the counter CC is compared, and when the two match, that is, when a predetermined number of words of data have been input, a latch pulse LP is generated. By this latch pulse LP, the latch circuit 31 latches the output of the selection circuit (30) as described above. bits (Fig. 2(a) to (e)
), that is, to select the data line that conveys the signal of that bit.

一例として、4ビットバックのコマンド指定があった場
合について、バック回路の全体的動作を説明すると次の
通りである。最初のワードA6〜P8のデータ転送の際
、上位の4つの単位処理回路P6〜P8の週択回路30
がデータラインM〜Pを選択し、最初のリードA8〜P
9の下位の4ピットM0〜P6が上位の4つの単位処理
回路P6〜P8のラッチ回路31にラッチされる。次の
ワードA1〜P1のデータ転送の際、上位から5〜8番
目の単位処理回路P4〜P7の選択回路3がデータライ
ンM〜Pを選択し、入力されているワードの下位の4ピ
ットM1〜P1が単位処理回路P4〜P7のラッチ回路
31にラッチされる。8番目のワードA2〜P2のデー
タ転送の際、上位から9〜12番目の単位処理回路P8
〜P11の選択回路30がデータラインM〜Pを選択し
、入力されているワードの下位の4ビットM2〜P2が
単位処理回路P6〜P11のラッチ回路31にラッチさ
れる。4番目のワードA3〜P3のデータ転送の際、上
位から13〜16番目の単位処理回路P12〜P15の
選択回路30がデータラインM〜Pを選択し、入力され
ているワードの下位の4ビットM3〜P3が単位処理回
路P12〜P13のラッチ回路31にラッチされる。し
かるのち、すべての単位処理回路P6〜P15のラッチ
回路31にラッチされているデータが、出力データとし
て転送される。これによりカウンターCCがリセットさ
れる。以下上記と同様の動作が繰返される。
As an example, the overall operation of the back circuit when a 4-bit back command is specified is as follows. At the time of data transfer of the first words A6 to P8, the week selection circuit 30 of the upper four unit processing circuits P6 to P8
selects data lines M~P and reads the first read A8~P.
The lower 4 pits M0 to P6 of 9 are latched by the latch circuits 31 of the upper four unit processing circuits P6 to P8. During data transfer of the next word A1 to P1, the selection circuit 3 of the fifth to eighth unit processing circuits P4 to P7 from the higher order selects the data lines M to P, and the lower four pits M1 of the input word are selected. ~P1 is latched by the latch circuit 31 of the unit processing circuits P4 to P7. When transferring data of the 8th words A2 to P2, the 9th to 12th unit processing circuits P8 from the top
-P11 selection circuit 30 selects data lines M-P, and the lower 4 bits M2-P2 of the input word are latched by latch circuits 31 of unit processing circuits P6-P11. When transferring the data of the fourth word A3 to P3, the selection circuit 30 of the 13th to 16th unit processing circuits P12 to P15 from the higher order selects the data lines M to P, and selects the lower 4 bits of the input word. M3 to P3 are latched by the latch circuits 31 of the unit processing circuits P12 to P13. Thereafter, the data latched in the latch circuits 31 of all the unit processing circuits P6 to P15 is transferred as output data. This resets the counter CC. Thereafter, the same operation as above is repeated.

バックビット数が4以外のときにも、上記と同様の動作
によりバックが行なわれる。
Even when the number of back bits is other than 4, backing is performed by the same operation as above.

以上1ワードが16ビットの場合について説明したが、
1ワードのビット数が16以外の場合にも本発明は同様
に適用することができる。
Above we explained the case where one word is 16 bits,
The present invention can be similarly applied to cases where the number of bits in one word is other than 16.

本発明によれば、バックを短時間で行なうことができ、
従ってデータ転送に要する時間を短縮することができる
According to the present invention, backing can be done in a short time,
Therefore, the time required for data transfer can be shortened.

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

第1図は画像データ処理システムを示すブロック図、第
2図(a)乃至(e)はバック処理を受ける前および後
のデータの対応関係を示す図、第8図は本発明のバック
回路の一実施例を示すブロック図、第4図は単位処理回
路が接続されているデータラインを示す図、第5図は単
位処理回路Pnの構成を示すブロック図、第6図は単位
処理回路P5のシフターの内容を示す図である。 CC・・・カウンター、30・・・選択回路、31・・
・ラッチ回路、32・・・シフター、33・・・比較回
路。 出願人代場人  猪 股   清
FIG. 1 is a block diagram showing an image data processing system, FIGS. 2(a) to (e) are diagrams showing the correspondence of data before and after back processing, and FIG. 8 is a block diagram showing the back circuit of the present invention. A block diagram showing one embodiment, FIG. 4 is a diagram showing data lines to which unit processing circuits are connected, FIG. 5 is a block diagram showing the configuration of the unit processing circuit Pn, and FIG. 6 is a diagram showing the configuration of the unit processing circuit P5. It is a figure showing the contents of a shifter. CC... Counter, 30... Selection circuit, 31...
-Latch circuit, 32...shifter, 33...comparison circuit. Applicant Kiyoshi Inomata

Claims (1)

【特許請求の範囲】 それでれ複数のビットから成る複数のワードで表現さn
;&、データを1ワードずつ順次入力され。 これらを単一のワードにバックして出力するバック回路
であって、1ワードのデータが出力される毎にリセット
され、ワードが入力された回数を計数するカウンタと、
それぞれ各出力ビットに対応して設けられ、前記カウン
タの出力に応じて所定の同数ワードが入力された時に、
現に入力されているワードの1つのビットを、バックビ
ット数を指定する信号に応じて選択する選択回路と、そ
れぞれ各出力ビットに対応して設けられ、各選択回路の
出力を受けるラッチ回路と、それぞれ番出力ビットに対
応して設けられ、前記バッタビット数を指定する信号に
応じて前記所定の回数を設定する設定回路と、前記設定
回路の設定値と前記カウンタの計数値とを比較し、両者
が一致し九ときに前記ラッチ回路にラッチを行なわせる
丸めのラッチパルスを与える比較回路とを備えたバック
回路。
[Claims] Therefore, n
;&, data is input one word at a time. A back circuit that backs up these into a single word and outputs it, a counter that is reset each time one word of data is output and counts the number of times a word is input;
They are provided corresponding to each output bit, respectively, and when a predetermined same number of words are input according to the output of the counter,
a selection circuit that selects one bit of the currently input word in accordance with a signal specifying the number of back bits; a latch circuit that is provided corresponding to each output bit and receives the output of each selection circuit; a setting circuit provided corresponding to each number output bit and setting the predetermined number of times in response to a signal specifying the number of batter bits, and comparing a setting value of the setting circuit and a counted value of the counter; and a comparison circuit that provides a rounded latch pulse that causes the latch circuit to latch when the two match.
JP57024924A 1982-02-18 1982-02-18 Packing circut Pending JPS58142466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57024924A JPS58142466A (en) 1982-02-18 1982-02-18 Packing circut

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57024924A JPS58142466A (en) 1982-02-18 1982-02-18 Packing circut

Publications (1)

Publication Number Publication Date
JPS58142466A true JPS58142466A (en) 1983-08-24

Family

ID=12151674

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57024924A Pending JPS58142466A (en) 1982-02-18 1982-02-18 Packing circut

Country Status (1)

Country Link
JP (1) JPS58142466A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63108442A (en) * 1986-10-25 1988-05-13 Nec Home Electronics Ltd Data storage circuit
JPS6446851A (en) * 1987-08-17 1989-02-21 Nec Corp Information processor
JPH0268778A (en) * 1988-09-02 1990-03-08 Hitachi Ltd Digital signal reproducing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63108442A (en) * 1986-10-25 1988-05-13 Nec Home Electronics Ltd Data storage circuit
JPS6446851A (en) * 1987-08-17 1989-02-21 Nec Corp Information processor
JPH0268778A (en) * 1988-09-02 1990-03-08 Hitachi Ltd Digital signal reproducing device

Similar Documents

Publication Publication Date Title
US4499536A (en) Signal transfer timing control using stored data relating to operating speeds of memory and processor
US4031515A (en) Apparatus for transmitting changeable length records having variable length words with interspersed record and word positioning codes
US3312943A (en) Computer organization
US5455913A (en) System and method for transferring data between independent busses
JPS59131979A (en) Display unit using series/parallel access memory
EP0062431A1 (en) A one chip microcomputer
EP0076155B1 (en) Memory system
US5471588A (en) Technique and circuit for providing two or more processors with time multiplexed access to a shared system resource
US5537624A (en) Data repacking circuit having toggle buffer for transferring digital data from P1Q1 bus width to P2Q2 bus width
JPS58142466A (en) Packing circut
EP0057096B1 (en) Information processing unit
EP0521677B1 (en) Parallel to serial data transfer system
GB2060961A (en) Data processing system having memory modules with distributed address information
EP0095931A2 (en) Picture data storage system
KR850000727B1 (en) Digital data transferring apparatus between mass memory and ram
US4764895A (en) Data processor for changing the sequential format of inputted records
JP2561308B2 (en) Data stacking device
JPS62252584A (en) Disk unit controller
SU1534457A1 (en) Device for computing codes
JP3018332B2 (en) Multi-channel analyzer
SU1123055A1 (en) Address unit for storage
JPH0544755B2 (en)
JPH0754495B2 (en) Register read circuit
JPS5831459A (en) Magnetic bubble memory device
JPH04153750A (en) Control system for main storage