JPH0232485A - Plotting control system - Google Patents

Plotting control system

Info

Publication number
JPH0232485A
JPH0232485A JP63183040A JP18304088A JPH0232485A JP H0232485 A JPH0232485 A JP H0232485A JP 63183040 A JP63183040 A JP 63183040A JP 18304088 A JP18304088 A JP 18304088A JP H0232485 A JPH0232485 A JP H0232485A
Authority
JP
Japan
Prior art keywords
bit
data
address
memories
offset value
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
JP63183040A
Other languages
Japanese (ja)
Inventor
Koji Wada
考司 和田
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP63183040A priority Critical patent/JPH0232485A/en
Publication of JPH0232485A publication Critical patent/JPH0232485A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Image Generation (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PURPOSE:To improve a plotting speed by providing a barrel shifter and rotating the input/output data of a picture memory according to a bit offset value. CONSTITUTION:A plotting control processor 10 sets an offset value N to a register 20 before plotting one word picture data. At the time of plotting, an address outputted by the processor 10 addresses a bit width W outputted by the register 20 to memories 30-37 together with a bit offset value (n). The memories 30-37 store the value of an expression I formed with an address width W and offset numbers N and (n). The value of the expression I is the address value of the memory having a 1-bit data width corresponding to the 2<x>-th order of the data of the processor 10 with the offset value (n) as 0. Further, the input/ output data of picture memories 40-47 corresponding to the data to address the memories 30-37 are rotated by a barrel shifter 50. Thus, the plotting can be done with one-time memory access, and at high speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ラスクスキャン方式による画像表示装置にお
いて、画像メモリへ画像データを描画する際における描
画制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a drawing control method when drawing image data to an image memory in an image display device using a rask scan method.

〔従来の技術〕[Conventional technology]

ラスクスキャン方式による画像表示装置における画像メ
モリは、一般にワード単位で構成されており、通常は1
ワードの画像データを画像メモリのワード・バウンダリ
に対応させて描画を行う。
The image memory in an image display device using the Rask scan method is generally configured in units of words, and usually one
Drawing is performed by making word image data correspond to word boundaries in the image memory.

この場合、1ワードの画像データを画像メモリのワード
・バウンダリに跨って描画する必要を生じる場合がある
In this case, it may be necessary to draw one word of image data across the word boundary of the image memory.

このように、画像メモリのワード・バウンダリに跨って
描画を行うためには、従来は画像データに対してビット
オフセット分のシフトを行って、ワードバウンダリの両
側にそれぞれ時分割で描画を行う方法が用いられている
In this way, in order to draw across the word boundary of the image memory, the conventional method is to shift the image data by a bit offset and draw on both sides of the word boundary in a time-sharing manner. It is used.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

1ワードの画像データを画像メモリのワードバウンダリ
に跨って描画を行う場合、上述した従来の描画制御方式
のように画像データに対してビットオフセット分のシフ
トを行いワード・バウンダリの両側にそれぞれ時分割で
描画を行うようにすると、1ワードの画像データを1回
のメモリ・アクセスで描画することができず、描画実行
速度が遅くなるという問題がある。
When drawing one word of image data across the word boundary of the image memory, as in the conventional drawing control method described above, the image data is shifted by the bit offset and time-divided on both sides of the word boundary. If drawing is performed using 1 word, there is a problem that one word of image data cannot be drawn in one memory access, and the drawing execution speed becomes slow.

〔発明の目的〕[Purpose of the invention]

本発明は、このような従来技術の課題を解決しようとす
るものであって、1ワードの画像データを画像メモリの
ワードバウンダリに跨って描画する際に、1回のメモリ
・アクセスで描画することができ、従って描画実行速度
を向上できる描画制御方式を提供することを、その目的
としている。
The present invention aims to solve the problems of the prior art, and is capable of drawing one word of image data across the word boundary of the image memory in one memory access. The objective is to provide a drawing control method that can improve the drawing execution speed.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の描画制御方式は、第1図の実施例に示されるよ
うに、2Nビット×2′″ワードのアドレス空間を有す
る描画制御プロセッサ10に対して、ビット・オフセッ
ト値を記憶するNビットのレジスタ20と、画像メモリ
である2′4個のデータ幅1ビットのメモリ40〜47
と、データ幅1ビットのメモリ40〜47の入出力デー
タをビット・オフセット値に応じてローティトする2′
4ビットのバレルシフタ50と、データ幅1ビットのメ
モ1ノ40〜47をアドレッシングするために、描画制
御プロセッサ10のWビットのワードアドレスとレジス
タ20のNビットのビット・オフセットによる(W+N
)ビットのビット・アドレスによってアドレッシングさ
れ、ビット・オフセット値をOとした時すなわちバレル
シフタ50においてローティトが行われない場合の描画
制御プロセッサのデータの2X位に対応するデータ幅1
ビットのメモリのアドレスが、描画制御プロセッサ10
のアドレスWとレジスタ20のビット・オフセット値n
に対して Wビットのメモリ30〜37とを設けて構成される。
As shown in the embodiment of FIG. 1, the drawing control method of the present invention provides a drawing control processor 10 with an address space of 2N bits x 2'' words, and an N-bit address space for storing a bit offset value. A register 20 and 2'4 memories 40 to 47 each having a data width of 1 bit, which are image memories.
2' rotates the input/output data of memories 40 to 47 with a data width of 1 bit according to the bit offset value.
In order to address the 4-bit barrel shifter 50 and the 1-bit data width memo 1 40 to 47, the W-bit word address of the drawing control processor 10 and the N-bit bit offset of the register 20 are used (W+N
) data width 1 corresponding to the 2X position of the data of the drawing control processor when the bit offset value is O, that is, when rotation is not performed in the barrel shifter 50.
The memory address of the bit is determined by the drawing control processor 10.
address W and bit offset value n of register 20
W-bit memories 30 to 37 are provided for each.

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

第1図は、本発明の一実施例を示す概略ブロック図゛で
あって、23ビット×216ワードのアドレス空間を有
する8ビット処理の描画処理プロセッサを例示したもの
である。すなわち第1図は前記0式においてN=3.W
=16の場合を示している。 描画制御プロセッサ10
は、8ビットからなる1ワ一ド画像データの描画を行う
前に、所望のビットオフセット値nを3ビットからなる
レジスタ20に設定しておく。
FIG. 1 is a schematic block diagram showing one embodiment of the present invention, and illustrates an 8-bit drawing processor having an address space of 23 bits x 216 words. That is, in FIG. 1, N=3. W
=16 is shown. Drawing control processor 10
Before drawing 1-word image data consisting of 8 bits, a desired bit offset value n is set in the register 20 consisting of 3 bits.

描画の際のリード・サイクルおよびライト・サイクルに
おいて、描画制御プロセッサ10の出力する16ビット
のアドレスは、レジスタ20が出力する3ビットのビッ
ト・オフセットとともに、19ビットのビット・アドレ
スとしてメモリ30〜37をアドレッシングする。
In the read cycle and write cycle during drawing, the 16-bit address output by the drawing control processor 10 is sent to the memories 30 to 37 as a 19-bit bit address along with the 3-bit bit offset output by the register 20. addressing.

メモリ30〜37は、それぞれが216ビット×219
ワードから構成され、ビットオフセットが0の場合に描
画制御プロセッサ10のデータの2Xの位に対応する画
像メモリ4Xをアドレッシングするメモリ3Xには、描
画制御プロセッサ10のアドレス値Wとレジスタ20の
ビット・オフセット値nに対して 0〜47は0式で示される値によってアドレッシングさ
れる。
Memories 30 to 37 each have 216 bits x 219
The memory 3X, which is composed of words and addresses the image memory 4X corresponding to the 2X digit of the data of the drawing control processor 10 when the bit offset is 0, contains the address value W of the drawing control processor 10 and the bits of the register 20. For the offset value n, 0 to 47 are addressed by the value shown by the formula 0.

ここでx=7とすると、 となり、画像メモリ47のアドレスは常に描画制御プロ
セッサー0のアドレスと同一である。説明を簡略にする
ため、メモリ37を存在させて考えるものとする。
If x=7, then the address of the image memory 47 is always the same as the address of the drawing control processor 0. To simplify the explanation, it is assumed that the memory 37 is present.

第2図はビットオフセットn=3の場合における画像メ
モリ40〜47へのアドレッシングを示したものである
FIG. 2 shows addressing to image memories 40-47 in the case of bit offset n=3.

またこの場合、描画制御プロセッサ10のデータの位付
けに対して、画像メモリ40〜47の入出力データの位
付けはビット・オフセット分だけずれているので、バレ
ル・シフタ50においてビットオフセット分だけローテ
ィトする。
Furthermore, in this case, the positioning of the input/output data of the image memories 40 to 47 is shifted by the bit offset with respect to the positioning of the data of the drawing control processor 10, so the barrel shifter 50 rotates the data by the bit offset. do.

第3図はn=3の場合の、バレルシフタ50におけるビ
ット・オフセット分のローティトを示したものである。
FIG. 3 shows the rotation by the bit offset in the barrel shifter 50 when n=3.

なお、上述のメモリ30〜37のデータは一般的には次
のようにして求められる。
Note that the data in the memories 30 to 37 described above are generally obtained as follows.

メモリ30〜37は、8ビット・データの2゜位〜27
位に対応するから、Xの値はそれぞれX=0〜x=7と
なる。また、第1図の例ではN=3、W=6である。従
って前述の0式におけるINT ((n+2W−x−1
)/2N)の値は、ビット・オフセット値n=o〜7に
対応して第4図のようになる。ここでINT〔〕は〔]
内の値の整数部のみを示すものである。
Memories 30 to 37 store 8-bit data from 2° to 27°.
The values of X are X=0 to x=7, respectively. Further, in the example of FIG. 1, N=3 and W=6. Therefore, INT ((n+2W-x-1
)/2N) is as shown in FIG. 4, corresponding to the bit offset value n=o to 7. Here, INT [] is []
It shows only the integer part of the value within.

すなわち描画制御プロセッサ10が出力するアドレス値
Wに第4図に示す値を加算したものが、メモリ40〜4
7のそれぞれのアドレス値となる。
That is, the address value W output by the drawing control processor 10 plus the value shown in FIG.
7 address values.

第2図に示されたようにビット・オフセット値n=3の
場合は、画像メモリ40〜47に対するアドレスは次の
ようになる。
When the bit offset value n=3 as shown in FIG. 2, the addresses for the image memories 40-47 are as follows.

メモリ40〜42に与えるアドレスrw+1」メモリ4
3〜47に与えるアドレス「W」本実施例に示した描画
制御方式によると、このようにして描画制御プロセッサ
10から画像メモリ40〜47に対してビット・アドレ
ッシングを行うことができるようになる。
Address rw+1 given to memories 40 to 42” memory 4
Address "W" given to image memories 40-47 According to the drawing control method shown in this embodiment, bit addressing can be performed from the drawing control processor 10 to the image memories 40-47 in this way.

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

以上説明したように本発明の描画制御方式によれば、描
画制御プロセッサのワード・アドレスとレジスタに設定
したビットオフセットによるアドレッシングを行う際に
、画像メモリのアドレス値を記憶したメモリを介して間
接的に画像メモリのアドレッシングを行うとともに、画
像メモリの入出力データをビット・オフセット値に応じ
てバレルシフタによってローティトすることによってビ
ット・アドレッシングを実現するようにしたので、画像
メモリのワード・バウンダリが存在しな(なり、従って
1ワードの画像データを1回のメモリアクセスで描画す
ることができ、描画実行速度を向上することができると
いう従来にない優れた画像制御方式を提供することがで
きる。
As explained above, according to the drawing control method of the present invention, when addressing is performed using the word address of the drawing control processor and the bit offset set in the register, indirect processing is performed via the memory storing the address value of the image memory. Since bit addressing is realized by addressing the image memory and rotating the input/output data of the image memory using a barrel shifter according to the bit offset value, there is no word boundary of the image memory. (Thus, one word of image data can be drawn in one memory access, and it is possible to provide an unprecedented and excellent image control method that can improve the drawing execution speed.

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

第1図は本発明の一実施例の概略ブロック図、第2図は
第1回の実施例においてn=3の場合の画像メモリへの
アドレッシングを示す図、第3図は第1図の実施例にお
いて、n=3の場合のバレルシフタにおけるローティト
を示す図、第4図は描画制御プロセッサのアドレス値に
加算すべき値を示す図である。 10・・・・・・描画制御プロセッサ、20・・・・・
・レジスタ、30〜37・・・・・・メモリ、40〜4
7・・・・・・画像メモリ、50・・・・・・バレルシ
フタ。 第1凶 特許出願人  日 本 電 気 株式会社第 図 (rL=、rめ4冶刀轟イ良メモリへのアトしツシン7
゛と示ず図)第3 図 (八Pと鳩名゛の/%、1)しシフタにお1テるローナ
イトと示す図)し恥ぼりし妊九五回 第4 図
FIG. 1 is a schematic block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing addressing to the image memory when n=3 in the first embodiment, and FIG. 3 is an implementation of the embodiment of FIG. In the example, FIG. 4 is a diagram showing the rotation in the barrel shifter when n=3, and FIG. 4 is a diagram showing the value to be added to the address value of the drawing control processor. 10... Drawing control processor, 20...
・Registers, 30-37...Memory, 40-4
7... Image memory, 50... Barrel shifter. First patent applicant: Japan Electric Co., Ltd.
Figure 3 (Figure 8P and Pigeon name /%, 1) and Shifter with 1 Teru Knight) Embarrassing Pregnancy 95th Figure 4

Claims (1)

【特許請求の範囲】[Claims] (1)、2^Nビット×2^Wワードのアドレス空間を
有する描画制御プロセッサに対して、 ビットオフセット値を記憶するNビットのレジスタと、
前記描画制御プロセッサのWビットのワード・アドレス
と該レジスタのNビットオフセットによる(W+N)ビ
ットのビット・アドレスによってアドレッシングされる
2^N個のデータ幅Wビットのメモリと、 該データ幅ビットのメモリのWビットのデータによって
アドレッシングされる2^N個のデータ幅1ビットのメ
モリと、該データ幅1ビットのメモリの入出力データを
前記ビットオフセット値に応じローテイトする2^Nビ
ットのバレルシフタ50とを設け、 前記ビット・オフセット値nを0として、該描画制御プ
ロセッサのデータの2^x位に対応する該データ幅1ビ
ットのメモリのアドレスである該データ幅Wビットの格
納データが、該描画制御プロセッサのアドレスWと該レ
ジスタのビット・オフセット値nに対して W+INT((n+2^N−x−1)/2^N)である
ことを特徴とする描画制御方式。
(1) For a drawing control processor having an address space of 2^N bits x 2^W words, an N-bit register that stores a bit offset value;
2^N memories with a data width of W bits, which are addressed by a (W+N) bit bit address based on a word address of W bits of the drawing control processor and an N bit offset of the register; and a memory with the data width bits. 2^N memories each having a data width of 1 bit, which are addressed by W bits of data; and a 2^N bit barrel shifter 50 which rotates the input/output data of the memories having a data width of 1 bit according to the bit offset value. and when the bit offset value n is set to 0, the stored data of the data width W bits, which is the address of the memory of the data width 1 bit corresponding to the 2^x position of the data of the drawing control processor, is stored in the drawing control processor. A drawing control method characterized in that W+INT ((n+2^N-x-1)/2^N) for an address W of a control processor and a bit offset value n of the register.
JP63183040A 1988-07-22 1988-07-22 Plotting control system Pending JPH0232485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63183040A JPH0232485A (en) 1988-07-22 1988-07-22 Plotting control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63183040A JPH0232485A (en) 1988-07-22 1988-07-22 Plotting control system

Publications (1)

Publication Number Publication Date
JPH0232485A true JPH0232485A (en) 1990-02-02

Family

ID=16128690

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63183040A Pending JPH0232485A (en) 1988-07-22 1988-07-22 Plotting control system

Country Status (1)

Country Link
JP (1) JPH0232485A (en)

Similar Documents

Publication Publication Date Title
US5832288A (en) Element-select mechanism for a vector processor
JPH0420489B2 (en)
JPH07312078A (en) System for conversion of serial ram-based fifo memory into parallel one and of parallel one into serial one
EP0239119B1 (en) Information transferring method and apparatus of transferring information from one memory area to another memory area
JP2735173B2 (en) One-chip memory device
JPS584374B2 (en) Data transfer processing method
JPH0232485A (en) Plotting control system
JP3575496B2 (en) Memory addressing logic circuit and memory addressing method
JPH0282329A (en) Method of transferring data
TW267222B (en) Improved method and system of addressing
JP2591514B2 (en) One-chip memory device
JPH0478948A (en) Dma controller
JPS5872188A (en) Address controller for picture memory
JPH0120514B2 (en)
JPH05242257A (en) Bit map memory for high speed curve plotting
JPS5811121B2 (en) digital sine wave synthesizer
JPH01188898A (en) Drawing control system
JPH0736856A (en) Signal processor
JP2560520B2 (en) Advance control device
JP2900593B2 (en) Data expansion method for storage element
JPS60218146A (en) Storage device address control system
JPH06176141A (en) Data output device and data rotation method of data output device
JPH04139529A (en) Graphic display device
JPH031226A (en) Data processor
JPS63298888A (en) Memory access system