JPS59132479A - Data processing circuit - Google Patents

Data processing circuit

Info

Publication number
JPS59132479A
JPS59132479A JP771583A JP771583A JPS59132479A JP S59132479 A JPS59132479 A JP S59132479A JP 771583 A JP771583 A JP 771583A JP 771583 A JP771583 A JP 771583A JP S59132479 A JPS59132479 A JP S59132479A
Authority
JP
Japan
Prior art keywords
data
byte
bit
shift
register
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
JP771583A
Other languages
Japanese (ja)
Inventor
Hiroto Katsumata
勝又 宏人
Nobuitsu Takeuchi
竹内 伸逸
Toshinori Ishigaki
石垣 俊典
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
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 filed Critical Toshiba Corp
Priority to JP771583A priority Critical patent/JPS59132479A/en
Publication of JPS59132479A publication Critical patent/JPS59132479A/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

Abstract

PURPOSE:To attain high speed processing in the unit of bits in forming a picture memory data by extracting a word data by a multiplexer output to obtain a shift data. CONSTITUTION:The 1st byte data in 2-byte data incoming continuously is set to a data register 13 and the 2nd byte data incoming next is set to data registers 11, 12. It is required to set data to the data register 11 so that it is set in the timing next to the data set to the data register 13 via a control line 102. Thus, the consecutive 2-byte data are arranged in the data registers 13, 12 respectively, then a consecutive 8-bit data in the 2bytes (16 bits) is outputted selectively by a selecting circuit 14. The selecting condition is set by the output of a shift control register 15 and data shift in 1-8-bit is executed between the 1st and the 2nd byte.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はワード構成の記憶装置に対し、複数の番地に渡
ってデータkREAD/WRITEするデータ処理回路
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a data processing circuit that performs data kREAD/WRITE across a plurality of addresses in a word-structured storage device.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

通常、画像記憶装置(ワード構成のメモリ上にビット単
位のデータを取扱うシステム)へのデータのREAD/
WRITEはワード単位()くイト)でなされる。この
画像記憶装置への任意の記憶位置に、あるブータラ惚込
む際、例えば1バイトのデータを2つの番地に渡って書
込むとき、所定量のシフト操作が必要となる。このシフ
ト操作は従来、マイクロプロセッサが持つシフト機能(
両省)を使用して処理していた。従がって処理速度に難
があって、高速化を目指すシステムには不向きであった
Normally, reading/reading data to an image storage device (a system that handles data in bits on word-structured memory)
WRITE is performed in word units. When writing data of one byte to an arbitrary storage location in the image storage device, for example, when writing one byte of data across two addresses, a predetermined amount of shift operation is required. This shift operation has conventionally been performed using the shift function (
Both ministries) were used for processing. Therefore, there was a problem with processing speed, making it unsuitable for systems aiming for high speed.

〔発明の目的〕   □ 本発明は上記欠点に鑑みてなされたものであリ、上記シ
フト操作を八−ドウエアロジックにて処理する構成とす
ることにより、画像記憶データを高速に生成するデータ
処理回路を提供することを目的とする。
[Object of the Invention] □ The present invention has been made in view of the above-mentioned drawbacks, and provides a data processing circuit that generates image storage data at high speed by processing the above-mentioned shift operation using 8-doware logic. The purpose is to provide

〔発明の概要〕[Summary of the invention]

本発明は、ワード単位で構成される画像記憶装置上でビ
ット単位のデータを取扱うシステムにおいて、1ワード
データを2つの番地に渡ってREAD/WRITEする
際、所定のビットシフトを行なうデータ処理回路を提供
するものである。このため、上記データ処理回路は例え
ば連続する2バイトデータのうち、2バイト目のデータ
が設定される2個のデータレジスタと、1バイト目のデ
ータが設定される1個のデータレジスタと両レジスタに
設定された連続する2バイトデータを入力し、シフトコ
ントロールレジスタ出力により連続する8ビットデータ
t−選択出力する選択回路(マルチプレクサ群と、デー
タのシフト量が設定されるシフトコントロールレジスタ
により構成される。
The present invention provides a data processing circuit that performs a predetermined bit shift when reading/writing one word data across two addresses in a system that handles data in bit units on an image storage device configured in word units. This is what we provide. For this reason, the data processing circuit has, for example, two data registers in which the second byte data of consecutive two byte data is set, one data register in which the first byte data is set, and both registers. A selection circuit (consisting of a group of multiplexers and a shift control register in which the amount of data to be shifted is set) inputs consecutive 2-byte data set to , and selects and outputs consecutive 8-bit data t by the shift control register output. .

上記マルチプレクサ出力により、ワードデータを取り出
し、シフトデータを得るものである。
Word data is extracted from the multiplexer output to obtain shift data.

このことにより画像メモリデータを作成するにあたり、
ビット単位での処理が高速に行なえる。
Due to this, when creating image memory data,
Bit-by-bit processing can be performed at high speed.

〔発明の実施例〕[Embodiments of the invention]

以下、図面を使用して本発明に関し詳述する。 Hereinafter, the present invention will be explained in detail using the drawings.

第1図は本発明の実施例を示すブロック図である。図に
おいて、11・12・13はデータレジスタでめる。デ
ータレジスタ11・12には8ビツトデータライン10
ノを介し連続して到来する2バイトデータのうち2バイ
ト目のデータが設定され、データレジスタ13には1バ
イト目のデータが設定される。
FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, 11, 12, and 13 are set in data registers. Data registers 11 and 12 have 8-bit data lines 10
The second byte of the two-byte data successively arriving via the 2-byte data is set, and the first byte data is set in the data register 13.

データレジスタ13に設定された1バイトデータとデー
タレジスタ12に設定された1バイトデータとで、連続
する2バイトデータが構成される。コントロールライン
103はデータライン101・102f伝播するデータ
を上記各レジスタ11・12− I Jヘラッチするこ
とを指示する信号線である。
The 1-byte data set in the data register 13 and the 1-byte data set in the data register 12 constitute continuous 2-byte data. A control line 103 is a signal line that instructs to latch the data propagated on the data lines 101 and 102f to each of the registers 11 and 12-IJ.

Lヱは選択回路である。選択回路14は8個のマルチプ
レクサ141−142・143・・・148により構成
され、データライン104・105を介して2バイトデ
ータを入力としデータライン1o6を介して1バイトず
つデータを選択出力する。選択回路14を構成するマル
チプレクサ141にはデータレジ2夕13の6ビツト目
〜0ビツト目出力ならびにデータレジスタ12の7ピツ
ト目出力の合計8ビツトが入力とじて供給されている。
L is a selection circuit. The selection circuit 14 is composed of eight multiplexers 141-142, 143, . A total of 8 bits, including the 6th bit to 0th bit output of the data register 2/13 and the 7th bit output of the data register 12, are supplied to the multiplexer 141 constituting the selection circuit 14 as input.

又、マルチプレクサ142にはデータレジスタ13の5
ビツト目〜0ビツト目出力ならびにデータレジスタ12
の7・6ビツト目出力の合計8ビツトが、更にマルチプ
レクサ143にはデータレジスタ13の4ビツト目〜O
ビツト目出カならびにデータレジスタ12の7ビツト目
〜5ビツト目出カの合計8ビツトがそれぞれの入力とじ
て供給されている。
In addition, the multiplexer 142 has 5 of the data registers 13.
Bit to 0th bit output and data register 12
A total of 8 bits of the 7th and 6th bit outputs are further sent to the multiplexer 143 from the 4th bit to O
A total of 8 bits, including the bit output and the 7th to 5th bits of the data register 12, are supplied as respective inputs.

以下、図示はしていないがマルチプレクサ144・14
5・146・147には上述した組合せで順に1ビツト
ずつずれた8ピントデータが入力として供給され、マル
チプレクサ148にはデータレジスタ12の全ビット出
力(7〜0)が入力データとして供給されている。
Although not shown below, multiplexers 144 and 14
5, 146, and 147 are supplied with the above-mentioned combination of 8-pin data sequentially shifted by 1 bit as input, and the multiplexer 148 is supplied with all bits output (7 to 0) of the data register 12 as input data. .

上記マルチプレクサ141出力はビット7゜マルチプレ
クサ142出力はビット6、マルチプレクサ143出力
はビット5・・・マルチプレクサ148出力はビット0
として取り出され、データライン106f介して1バイ
トデータとして取り出される。
The output of the multiplexer 141 is bit 7, the output of the multiplexer 142 is bit 6, the output of the multiplexer 143 is bit 5...the output of the multiplexer 148 is bit 0.
The data is taken out as 1-byte data via the data line 106f.

15はシフトコントロールレジスタである。15 is a shift control register.

シフトコントロールレジスタ15へはデータライン10
7を介して3ピツトデータが供給されており、コントロ
ールライン10gを介して到来する信号に従かい上記デ
ータライン107上を伝播する3ビツト情報がセットさ
れる。このシフトコントロールレジスタ15の出力はラ
イン109を介して上記選択回路±1を構成する各マル
チプレクサ141〜148の選択条件入力信号(S)と
なる。第2図にシフトコントロールレジスタ15に設定
された値とシフト量の関係が概念的に示されている。
Data line 10 to shift control register 15
7, and 3-bit information propagated on the data line 107 is set in accordance with a signal arriving via the control line 10g. The output of this shift control register 15 becomes a selection condition input signal (S) via a line 109 to each multiplexer 141 to 148 constituting the selection circuit ±1. FIG. 2 conceptually shows the relationship between the value set in the shift control register 15 and the shift amount.

第3図は本発明実施例の動作をメモリマツプ上に展開し
て示した動作概念図である。
FIG. 3 is a conceptual diagram showing the operation of the embodiment of the present invention developed on a memory map.

以下、本発明の動作につき詳細に説明する。Hereinafter, the operation of the present invention will be explained in detail.

まず、連続して到来する2バイトデータのうち、1バイ
ト目のデータをデータレジスタ13にセットし、そして
データレジスタ11・I2に対し、次に到来する2バイ
ト目のデータをセットする。尚、データレジスタ11に
対するデータセットは、データレジスタ13にデータセ
ットされた次のタイミングで行なわれる様、コントロー
ルライン102f:介して制御する必要がある。このタ
イミングコントロールについては従来より周知の手法に
て対処でき本発明の主旨ではないためここでの説明は省
略する。
First, the first byte of two consecutively arriving two-byte data is set in the data register 13, and then the next second byte of data is set in the data register 11/I2. Incidentally, it is necessary to control the data setting to the data register 11 via the control line 102f so that it is performed at the next timing after the data is set to the data register 13. This timing control can be handled by a conventionally known method and is not the subject matter of the present invention, so a description thereof will be omitted here.

このことにより、連続する2バイトデータが、それぞれ
データレジスタ13と12にそろうことになり、選択回
路14により2バイト(16ビツト)のうち連続する8
ビツトデータが選択出力される。選択条件はシフトコン
トロールレジスタ15出力により設定されることは上述
したとおりであり、第2図に示された例に従がい、1バ
イト目と2バイト目の間で1〜8ビツトのデータシフト
が実行される。
As a result, the consecutive 2 bytes of data are arranged in the data registers 13 and 12, respectively, and the selection circuit 14 selects the consecutive 8 bytes of the 2 bytes (16 bits).
Bit data is selectively output. As mentioned above, the selection conditions are set by the output of the shift control register 15, and according to the example shown in FIG. executed.

第3図に示したメモリマツプ金使用し応用動作を説明す
る。バイトエリア1から11までにデータバイト■〜[
相](■〜■も同じ)yklfくにあたり、第2図に示
した例示した“5ビツトシフト”を使用している。ここ
では$1バイトを■とし、第゛2バイトを■とし、これ
を5ビツトシフトして1バイトデータを取出し、バイト
エリア2に書込む。続いて■を第1バイト、■を第3バ
イトとし、これを5ビツトシフトして1バイトデータを
取り出し、バイトエリア3に書込む。
The applied operation will be explained using the memory map shown in FIG. Byte areas 1 to 11 contain data bytes
Phase] (Same for ■ to ■) When starting yklf, the ``5-bit shift'' shown in FIG. 2 is used. Here, the $1 byte is set to ■, the second byte is set to ■, these are shifted by 5 bits, 1 byte data is taken out, and written to byte area 2. Next, ``■'' is set as the first byte and ``■'' is set as the third byte, which are shifted by 5 bits to take out 1-byte data and written into byte area 3.

この様にして、データレジスタ11・12に1バイトず
つ新データを送り出す毎に所定のシフト(この例では5
ビツトシフト)f:1ステツプにて実行する。バイトエ
リア2〜10までは上記要領にて連続的にデータのシフ
ト及び瞥込みが行なわれる。
In this way, each time new data is sent to the data registers 11 and 12, a predetermined shift (in this example, 5
Bit shift) f: Execute in 1 step. For byte areas 2 to 10, data is continuously shifted and scanned in the same manner as described above.

尚、上記動作は書込みに関してのみ述べたが、読出しも
同様の方法にて実行できる。又、バイトエリア1とバイ
トエリア11のみ本発明ロジックは使用できない。この
エリアに関してのみマイクロプログラムによる端のデー
タビット処理を行なう必要がある。この処理に関しては
本発明の主旨からはずれるため、説明を省略する。
Note that although the above operation has been described only regarding writing, reading can also be executed in a similar manner. Further, the logic of the present invention cannot be used only in byte area 1 and byte area 11. It is necessary to perform edge data bit processing by a microprogram only for this area. Since this process is outside the scope of the present invention, a description thereof will be omitted.

〔発明の効果〕〔Effect of the invention〕

以上説明の如く本発明によれば、画面メモリデータの作
成にあたり、ビット単位での処理が高速に行なえると共
に連続した画面メモリデータが高速に、しかも単純な制
卸手法にて実現することができる。
As explained above, according to the present invention, when creating screen memory data, bit-by-bit processing can be performed at high speed, and continuous screen memory data can be created at high speed using a simple control method. .

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

第1図は本発明の実施例を示すブロック図、第2図はシ
フトコントロールレジスタに設定された値とシフト量と
の関係を示すシフト動作概念図 第3図は本発明実施例
の動作をメモリマツプ上に展開して示した動作概念図で
ある。 11−12・13・・嘲データレジスタ、14・・・選
択回路、15・・・シフトコントロールレジスタ、14
1〜148・・・マルチプレクサ。
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a conceptual diagram of a shift operation showing the relationship between the value set in the shift control register and the shift amount, and Fig. 3 is a memory map diagram showing the operation of the embodiment of the present invention. It is a conceptual diagram of the operation expanded and shown above. 11-12, 13... mock data register, 14... selection circuit, 15... shift control register, 14
1 to 148...Multiplexer.

Claims (1)

【特許請求の範囲】[Claims] ワード構成の記憶装置上でビット単位のデータを扱うシ
ステムにおいて、上記記憶装置に対し複数番地に渡りデ
ータをREAD/WRITEするデータ処理回路であっ
て、該データ処理回路は、連続する複数ワードデータが
それぞれワード単位で設定される複数個のデータレジス
タと、このデータレジスタに設定された連続する複数ワ
ードデータを入力とし、シフトコントロールレジスタを
介して得られる選択条件入力信号により連続するビット
データ(1ワードを構成する)を選択出力する選択回路
と、外部よりシフトデータ量が設定され、この値に基づ
き上記選択回路の選択条件を生成するシフトコントロー
ルレジスタとから成り、上記選択回路出力により記憶装
置上にREAD/WRITEすべきワードデータを取出
し、逐次READ/WRITEすること全特徴とするデ
ータ処理回路。
In a system that handles bit-by-bit data on a word-structured storage device, a data processing circuit reads/writes data across multiple addresses to the storage device, and the data processing circuit is configured to read/write data across multiple addresses to the storage device. A plurality of data registers, each set in word units, and continuous plural word data set in these data registers are input, and continuous bit data (one word) is input by a selection condition input signal obtained via a shift control register. It consists of a selection circuit that selects and outputs the data (constituting the above), and a shift control register to which the amount of shift data is set externally and generates selection conditions for the selection circuit based on this value. A data processing circuit characterized in that word data to be read/written is taken out and read/written sequentially.
JP771583A 1983-01-20 1983-01-20 Data processing circuit Pending JPS59132479A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP771583A JPS59132479A (en) 1983-01-20 1983-01-20 Data processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP771583A JPS59132479A (en) 1983-01-20 1983-01-20 Data processing circuit

Publications (1)

Publication Number Publication Date
JPS59132479A true JPS59132479A (en) 1984-07-30

Family

ID=11673430

Family Applications (1)

Application Number Title Priority Date Filing Date
JP771583A Pending JPS59132479A (en) 1983-01-20 1983-01-20 Data processing circuit

Country Status (1)

Country Link
JP (1) JPS59132479A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS615356A (en) * 1984-05-31 1986-01-11 Fujitsu Ltd Data shift circuit
JPS6352247A (en) * 1986-08-21 1988-03-05 Ascii Corp Memory device
JP2012198946A (en) * 2012-07-26 2012-10-18 Fujitsu Semiconductor Ltd Memory device, memory controller and memory system
JP2012230712A (en) * 2012-07-26 2012-11-22 Fujitsu Semiconductor Ltd Memory device, memory controller, and memory system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS615356A (en) * 1984-05-31 1986-01-11 Fujitsu Ltd Data shift circuit
JPS6352247A (en) * 1986-08-21 1988-03-05 Ascii Corp Memory device
JP2012198946A (en) * 2012-07-26 2012-10-18 Fujitsu Semiconductor Ltd Memory device, memory controller and memory system
JP2012230712A (en) * 2012-07-26 2012-11-22 Fujitsu Semiconductor Ltd Memory device, memory controller, and memory system

Similar Documents

Publication Publication Date Title
JPS6035373A (en) Data compression and restoration system
JPH0433029A (en) Memory device and driving method thereof
JPS59132479A (en) Data processing circuit
US4009471A (en) Information transfer system
JPS5947394B2 (en) Variable length two-dimensional register
JPS60186964A (en) Vector processor
JPS6362083A (en) Projection data generation system
JPH05161094A (en) Programmable device for storing digital video line
JPS5953565B2 (en) Direct memory access control device
JPH0778722B2 (en) Register file method
JP2002215563A (en) Dma controller
JP2553630B2 (en) Data processing device
JPS6015687A (en) Display
JPH04140843A (en) Register file
JPH11249958A (en) Memory control system
JPH02224041A (en) Cache memory control circuit
JPS6087491A (en) Memory device control system
JPH0329021A (en) Printer server
JPS62196729A (en) Loading system for microprogram
JPS617769A (en) Image memory write control system
JPS5862886A (en) Storage controlling system
JPS61230429A (en) Unnecessary bit eliminating circuit
JPS5837739A (en) Buffer memory device
JPH04225453A (en) Data processor
JPH0118431B2 (en)