JP3144807B2 - Access frequency calculation circuit - Google Patents
Access frequency calculation circuitInfo
- Publication number
- JP3144807B2 JP3144807B2 JP343991A JP343991A JP3144807B2 JP 3144807 B2 JP3144807 B2 JP 3144807B2 JP 343991 A JP343991 A JP 343991A JP 343991 A JP343991 A JP 343991A JP 3144807 B2 JP3144807 B2 JP 3144807B2
- Authority
- JP
- Japan
- Prior art keywords
- bit
- value
- data
- input
- width
- 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.)
- Expired - Fee Related
Links
Landscapes
- Image Input (AREA)
- Image Generation (AREA)
Description
【0001】[0001]
【産業上の利用分野】この発明はビットマップメモリに
データを書き込む際のアクセス回数を算出すアクセス回
数演算回路に関する。The present invention relates to a bit map memory .
Access times to calculate access times when writing data
The present invention relates to a numerical operation circuit .
【0002】[0002]
【従来の技術】一般に、ビットマップメモリはビットマ
ップディスプレイへの表示データを保持するために使用
されるものであり、そのメモリ構成、つまり個々の格納
領域のビット幅やその格納領域の数はディスプレイによ
って決定される。2. Description of the Related Art In general, a bit map memory is used to hold display data on a bit map display. Is determined by
【0003】このため、ビットマップメモリの格納領域
のビット幅は、CPUの描画幅と異なる場合が多い。こ
こで、CPUの描画幅はデータバスの幅であり、ビット
マップメモリに対する描画の単位となる。また、ビット
マップメモリにおいては、1回のアクセスで書き込み可
能となるのは、CPUによってアドレス指定される特定
の1つの記憶領域だけである。For this reason, the bit width of the storage area of the bit map memory is often different from the drawing width of the CPU. Here, the drawing width of the CPU is the width of the data bus, and is a unit of drawing in the bitmap memory. Further, in the bitmap memory, only one specific storage area addressed by the CPU can be written by one access.
【0004】したがって、例えば、CPUの描画幅がビ
ットマップメモリの格納領域のビット幅よりも大きい場
合には、描画対象が複数の格納領域にまたがる事になる
ので、1回のアクセスではその描画幅分のデータをビッ
トマップメモリに書込めず、アクセスを何回か繰り返し
行う必要がある。このため、CPUは、ビットマップメ
モリへのアクセス回数を決定するために、描画幅とビッ
トマップメモリのビット幅とを常に意識しなければなら
ないという不具合があった。これは、描画速度を低下さ
せる大きな要因となっている。Therefore, for example, when the drawing width of the CPU is larger than the bit width of the storage area of the bitmap memory, the drawing target extends over a plurality of storage areas. Data cannot be written to the bitmap memory, and access must be repeated several times. Therefore, there is a problem that the CPU must always be aware of the drawing width and the bit width of the bitmap memory in order to determine the number of accesses to the bitmap memory. This is a major factor in lowering the drawing speed.
【0005】[0005]
【発明が解決しようとする課題】従来では、CPUがビ
ットマップメモリのビット幅を常に意識してなければな
らず、これによって描画速度が低下される欠点があっ
た。Conventionally, the CPU must always be aware of the bit width of the bit map memory, which has the disadvantage that the drawing speed is reduced.
【0006】この発明はこのような点に鑑みなされたも
ので、アクセス回数を自動的に求められるようにし、ビ
ットマップメモリのビット幅を意識することなくデータ
を高速に描画することができるアクセス回数演算回路を
提供することを目的とする。[0006] The invention has been made in view of the above problems, the number of accesses that can be drawn data at high speed without to automatically determined the number of accesses, aware of the bit width of the bit map memory It is an object to provide an arithmetic circuit .
【0007】[0007]
【課題を解決するための手段および作用】この発明によ
るアクセス回数演算回路は、各々が所定のビット幅を有
する複数の格納領域を持つビットマップメモリに書き込
みデータを描画する際の描画開始ビット位置の値を保持
する手段と、前記ビットマップメモリに描画する前記書
き込みデータの描画幅の値を保持する手段と、前記描画
開始ビット位置の値と前記書き込みデータの描画幅の値
とを加算して前記書き込みデータの最終ビット位置の値
を求める加算回路と、第1および第2の入力端を持つ減
算回路であって、前記第1の入力端に対して前記書き込
みデータの前記ビットマップメモリに対する1回目の描
画の際には前記加算回路の出力値が入力され、2回目以
降の描画の際には減算結果の値が入力されると共に、前
記第2の入力端に対して前記ビットマップメモリにおけ
る前記格納領域のビット幅の値が入力され、前記第1の
入力端に入力された値から前記第2の入力端に入力され
た値を減算する減算回路と、前記減算回路の減算結果が
零以下になったことを検出し、描画動作を終了させるた
めの制御信号を出力するシーケンサとを具備することを
特徴とする。 According to the present invention , each of the circuits for calculating the number of accesses has a predetermined bit width.
Write to bitmap memory with multiple storage areas
Holds the value of the drawing start bit position when drawing only data
Means for writing, and the letter to be drawn in the bitmap memory.
Means for holding a value of a drawing width of the writing data;
Start bit position value and write data drawing width value
And the value of the last bit position of the write data
And a subtractor having first and second inputs.
An arithmetic circuit, wherein the write operation is performed on the first input terminal.
First drawing of only data to the bitmap memory
In the case of a picture, the output value of the addition circuit is input,
When drawing the descending, the value of the subtraction result is input and
The second input terminal is stored in the bitmap memory.
The value of the bit width of the storage area is input and the first
Input from the input terminal to the second input terminal;
A subtraction circuit for subtracting the subtracted value, and a subtraction result of the subtraction circuit.
Detecting that it has become zero or less and terminating the drawing operation
And a sequencer for outputting a control signal for
Features.
【0008】この描画方式では、CPUによって指定さ
れる描画開始ビット位置とCPUによるデータの描画幅
とが加算され、描画対象の最終ビット位置が求められ
る。ビットマップメモリにデータを描画する際には、そ
の描画毎に最終ビット位置の値からビットマップメモリ
の格納領域のビット幅の値が減算され、この減算結果が
零以下になるまで描画が繰り返される。したがって、描
画開始ビット位置を指定するだけでアクセス回数が自動
的に求められるので、ビットマップメモリのビット幅を
意識すること無くデータを描画することができる。In this drawing method, a drawing start bit position specified by the CPU and a drawing width of data by the CPU are added to obtain a final bit position to be drawn. When drawing data in the bitmap memory, the value of the bit width of the storage area of the bitmap memory is subtracted from the value of the last bit position for each drawing, and drawing is repeated until the result of the subtraction becomes zero or less. . Therefore, the number of accesses is automatically obtained only by specifying the drawing start bit position, so that data can be drawn without being aware of the bit width of the bitmap memory.
【0009】[0009]
【実施例】以下、図面を参照してこの発明の実施例を説
明する。Embodiments of the present invention will be described below with reference to the drawings.
【0010】図1にはこの発明の一実施例に係る描画方
式を実現するためのアクセス回数演算回路の構成が示さ
れている。この回路は、ビットマップメモリへのアクセ
ス回数を自動的に算出して書き込み動作を制御するため
のものであり、ビットマップメモリに対するデータの描
画を実行するメモリコントローラの一部を成すものであ
る。FIG. 1 shows a configuration of an access number calculation circuit for realizing a drawing method according to an embodiment of the present invention. This circuit is for automatically calculating the number of accesses to the bitmap memory and controlling the write operation, and forms a part of a memory controller that executes drawing of data to the bitmap memory.
【0011】このアクセス回数演算回路は、ドットアド
レスレジスタ11、描画幅レジスタ12、加算回路(ADD
R)13、セレクタ14、減算回路(SUB)15、カレント
レジスタ16、ゼロ検出回路17、およびシーケンサ18によ
って構成されている。The access number calculation circuit includes a dot address register 11, a drawing width register 12, and an addition circuit (ADD).
R) 13, a selector 14, a subtraction circuit (SUB) 15, a current register 16, a zero detection circuit 17, and a sequencer 18.
【0012】ドットアドレスレジスタ11は、CPUによ
って指定されるビットマップメモリの描画開始アドレス
を保持する。この描画開始アドレスはビットマップメモ
リのどのビット位置から描画を開始するのかを指定する
ものであり、ビットマップメモリの格納領域が8ビット
から構成される場合には、3ビットのアドレス信号から
構成される。The dot address register 11 holds a drawing start address of a bit map memory specified by the CPU. This drawing start address specifies which bit position in the bitmap memory to start drawing. When the storage area of the bitmap memory is composed of 8 bits, it is composed of a 3-bit address signal. You.
【0013】描画幅レジスタ12は、CPUがビットマッ
プメモリに対してデータの描画を行う際の描画幅(描画
ドット数)を保持するためのものであり、この描画幅の
値はCPUに結合されるデータバスの幅によって決定さ
れる。例えば、データバスの幅が16ビットの場合には
描画幅は16ビットになり、その描画幅は5ビットのデ
ータで表される。The drawing width register 12 is for holding a drawing width (number of drawing dots) when the CPU draws data in the bit map memory, and the value of the drawing width is connected to the CPU. Is determined by the width of the data bus. For example, when the width of the data bus is 16 bits, the drawing width is 16 bits, and the drawing width is represented by 5-bit data.
【0014】加算回路(ADDR)13は、ドットアドレ
スレジスタ11で保持される描画開始アドレスの値と描画
幅レジスタ12に保持される描画幅の値とを加算する。こ
の加算結果は、描画対象の最終ビット位置を示す値に対
応する。セレクタ14は、加算回路(ADDR)13の加算
結果とカレントレジスタ16で保持される値のいずれか一
方を選択して減算回路(SUB)15の第1入力に供給す
るものであり、第1回目の描画の際には加算回路(AD
DR)13の加算結果が選択され、以降はカレントレジス
タ16で保持される値が選択される。An adder (ADDR) 13 adds the value of the drawing start address held in the dot address register 11 and the value of the drawing width held in the drawing width register 12. This addition result corresponds to a value indicating the last bit position of the drawing target. The selector 14 selects one of the addition result of the addition circuit (ADDR) 13 and the value held in the current register 16 and supplies the selected result to the first input of the subtraction circuit (SUB) 15. When drawing an image, an adder circuit (AD
DR) 13 is selected, and thereafter the value held in the current register 16 is selected.
【0015】減算回路(SUB)15は、第1入力に供給
されるセレクタ14の出力から第2入力に供給される値を
減算する。第2入力に供給される値は、ビットマップメ
モリの各格納領域のビット幅(8ビット)を示すデータ
である。減算回路(SUB)15の減算結果は、カレント
レジスタ16に格納される。A subtraction circuit (SUB) 15 subtracts the value supplied to the second input from the output of the selector 14 supplied to the first input. The value supplied to the second input is data indicating the bit width (8 bits) of each storage area of the bitmap memory. The subtraction result of the subtraction circuit (SUB) 15 is stored in the current register 16.
【0016】ゼロ検出回路17は減算回路(SUB)15の
減算結果が零になったことを検出し、シーケンサ18に通
知する。シーケンサ18は、ビットマップメモリに対する
データ書き込み動作を制御するためのものであり、ゼロ
検出回路17から零検出信号が供給された時、または減算
回路(SUB)15からボロー出力が発生された時に描画
動作を終了させる。次に、図2を参照して、図1のアク
セス回数演算回路の動作およびビットマップメモリに対
するデータ書き込み動作を説明する。ここでは、CPU
の描画幅が16ビットで、ビットマップメモリの各格納
領域のビット幅が8ビットである場合を考える。The zero detection circuit 17 detects that the subtraction result of the subtraction circuit (SUB) 15 has become zero, and notifies the sequencer 18. The sequencer 18 controls the data write operation to the bit map memory, and performs drawing when a zero detection signal is supplied from the zero detection circuit 17 or when a borrow output is generated from the subtraction circuit (SUB) 15. End the operation. Next, with reference to FIG. 2, an operation of the access number operation circuit of FIG. 1 and an operation of writing data to the bit map memory will be described. Here, CPU
Is 16 bits, and the bit width of each storage area of the bitmap memory is 8 bits.
【0017】今、CPUがビットマップメモリの1番地
(アドレス1の格納領域)の5ビット目(アドレス4の
ビット)から16ビットのデータを描画すると仮定する
と、ドットアドレスレジスタ11には描画開始ビット位置
としてデータ“04”H(H;16進表示)がセットさ
れ、描画幅レジスタ12にはデータ“10”Hがセットさ
れる。Now, assuming that the CPU draws 16-bit data from the fifth bit (bit of address 4) of the first address (the storage area of address 1) of the bit map memory, the dot address register 11 stores the drawing start bit. Data “04” H (H; hexadecimal notation) is set as the position, and data “10” H is set in the drawing width register 12.
【0018】この場合、加算回路(ADD)13の加算結
果Dは“14”Hとなる。第1回目のアクセスが実行さ
れると、斜線で示すように、ビットマップメモリの1番
地(アドレス1の格納領域)に4ビット分のデータが書
き込まれる。この第1回目のアクセスにおいては、加算
回路(ADD)13の加算結果であるデータ“14”Hが
セレクタ14で選択され、減算回路(SUB)15では
「“14”H−“8”H」の減算が行われる。この減算
結果の値“0C”Hはカレントレジスタ16に格納され
る。このように、第1回目のアクセスでは減算結果は正
の値であるので、第2回目のアクセスが開始される。In this case, the addition result D of the addition circuit (ADD) 13 is "14" H. When the first access is executed, 4-bit data is written to the address 1 (the storage area of the address 1) of the bit map memory, as indicated by oblique lines. In this first access, the selector 14 selects the data "14" H, which is the addition result of the addition circuit (ADD) 13, and the data "14" H- "8" H "in the subtraction circuit (SUB) 15. Is subtracted. The value “0C” H of this subtraction result is stored in the current register 16. As described above, since the subtraction result is a positive value in the first access, the second access is started.
【0019】第2回目のアクセスでは、ビットマップメ
モリの2番地(アドレス2の格納領域)に8ビット分の
データが書き込まれる。この第2回目のアクセスにおい
ては、カレントレジスタ16に保持されている値“0C”
Hがセレクタ14で選択され、減算回路(SUB)15では
「“0C”H−“8”H」の減算が行われる。この減算
結果の値“04”Hはカレントレジスタ16に格納され
る。このように、第2回目のアクセスでも減算結果は正
の値であるので、第3回目のアクセスが開始される。In the second access, 8-bit data is written to address 2 (the storage area of address 2) of the bit map memory. In the second access, the value “0C” held in the current register 16 is used.
H is selected by the selector 14, and the subtraction circuit (SUB) 15 subtracts “0C” H− “8” H ”. The value “04” H of this subtraction result is stored in the current register 16. As described above, since the subtraction result is a positive value even in the second access, the third access is started.
【0020】第3回目のアクセスでは、ビットマップメ
モリの3番地(アドレス3の格納領域)に4ビット分の
データが書き込まれる。この第3回目のアクセスにおい
ては、カレントレジスタ16に保持されている値“04”
Hがセレクタ14で選択され、減算回路(SUB)15では
「“04”H−“8”H」の減算が行われる。この減算
の結果、減算回路(SUB)15からボロー出力(B)が
発生され、シーケンサ18に供給される。この結果、16
ビットの描画シーケンスが終了される。図3にはビット
マップメモリをアクセスするための電子計算機の全体の
システム構成が示されている。In the third access, 4-bit data is written to address 3 (the storage area of address 3) of the bit map memory. In the third access, the value “04” held in the current register 16 is used.
H is selected by the selector 14, and the subtraction circuit (SUB) 15 performs subtraction of "04" H- "8" H ". As a result of this subtraction, a borrow output (B) is generated from the subtraction circuit (SUB) 15 and supplied to the sequencer 18. As a result, 16
The bit drawing sequence ends. FIG. 3 shows the overall system configuration of an electronic computer for accessing the bitmap memory.
【0021】このシステムにおいて、20はシステム全体
の制御を司るCPU、21はビットマップメモリ25をアク
セス制御するメモリコントローラ、22は図1に示したア
クセス回数演算回路、23はマスクパターン発生器(MP
G)、24はバレルシフタ(SHIFT)である。In this system, reference numeral 20 denotes a CPU for controlling the entire system, reference numeral 21 denotes a memory controller for controlling access to a bit map memory 25, reference numeral 22 denotes an access frequency calculation circuit shown in FIG. 1, and reference numeral 23 denotes a mask pattern generator (MP).
G) and 24 are barrel shifters (SHIFT).
【0022】マスクパターン発生器(MPG)23は、C
PU20の16ビットデータから8ビット以下のデータを
抜き出すためのマスクパターンデータを発生する。バレ
ルシフタ(SHIFT)24は、マスクパターン発生器
(MPG)23と共同してCPU20の16ビットデータを
ビットマップメモリ25の8ビットデータ幅に桁合わせす
るためのものであり、16ビットデータのビットシフト
を実行する。The mask pattern generator (MPG) 23
Generates mask pattern data for extracting data of 8 bits or less from 16-bit data of PU20. The barrel shifter (SHIFT) 24 is used for aligning the 16-bit data of the CPU 20 with the 8-bit data width of the bit map memory 25 in cooperation with the mask pattern generator (MPG) 23. Execute
【0023】ビットマップメモリ25へのデータ書き込み
はマスクパターン発生器(MPG)23とバレルシフタ
(SHIFT)24とによって実行され、アクセス回数演
算回路22のシーケンサ18からの出力制御信号によってそ
のアクセスシーケンスが終了される。Data writing to the bit map memory 25 is executed by a mask pattern generator (MPG) 23 and a barrel shifter (SHIFT) 24, and the access sequence is terminated by an output control signal from the sequencer 18 of the access number operation circuit 22. Is done.
【0024】次に、図4乃至図6を参照して、マスクパ
ターン発生器(MPG)23とバレルシフタ(SHIF
T)24による16ビットデータの桁合わせ動作について
説明する。Next, referring to FIGS. 4 to 6, a mask pattern generator (MPG) 23 and a barrel shifter (SHIF)
The digit alignment operation of 16-bit data according to T) 24 will be described.
【0025】まず、図4に示すように、第1回目のアク
セスにおいては、マスクパターン発生器(MPG)23の
パターンデータP1 はビットマップメモリ25の8ビット
格納領域の後半の4ビットを書き込み可能とするパター
ンとなり、また、バレルシフタ(SHIFT)24のシフ
トデータSD1 は16ビットデータが右に4ビットシフ
トされた形になる。この結果、16ビットデータの最初
の4ビット(ビット15〜ビット12)が、ビットマッ
プメモリ25のアドレス1の格納領域における後半の4ビ
ットに書き込まれる。First, as shown in FIG. 4, in the first access, pattern data P1 of the mask pattern generator (MPG) 23 can write the latter 4 bits of the 8-bit storage area of the bit map memory 25. The shift data SD1 of the barrel shifter (SHIFT) 24 has a form in which 16-bit data is shifted to the right by 4 bits. As a result, the first four bits (bit 15 to bit 12) of the 16-bit data are written to the latter four bits in the storage area of the address 1 of the bit map memory 25.
【0026】第2回目のアクセスにおいては、図5に示
すように、マスクパターン発生器(MPG)23のパター
ンデータP2 はビットマップメモリ25の8ビット格納領
域の全8ビットを書き込み可能とするパターンとなり、
また、バレルシフタ(SHIFT)24のシフトデータS
D2 は16ビットデータが右に12ビットシフトされた
形になる。この結果、16ビットデータの中間の8ビッ
ト(ビット11〜ビット4)が、ビットマップメモリ25
のアドレス2の格納領域の8ビットに書き込まれる。In the second access, as shown in FIG. 5, the pattern data P2 of the mask pattern generator (MPG) 23 is a pattern which enables writing of all 8 bits of the 8-bit storage area of the bit map memory 25. Becomes
The shift data S of the barrel shifter (SHIFT) 24
D2 is a form in which 16-bit data is shifted right by 12 bits. As a result, the middle 8 bits (bits 11 to 4) of the 16-bit data are stored in the bit map memory 25.
Is written to the 8 bits of the storage area at address 2 of.
【0027】第3回目のアクセスにおいては、図6に示
すように、マスクパターン発生器(MPG)23のパター
ンデータP3 はビットマップメモリ25の8ビット格納領
域の前半の4ビットを書き込み可能とするパターンとな
り、また、バレルシフタ(SHIFT)24のシフトデー
タSD3 は16ビットデータが右に4ビットシフトされ
た形になる。この結果、16ビットデータの中間の残り
の4ビット(ビット3〜ビット0)が、ビットマップメ
モリ25のアドレス3の格納領域の最初の4ビットに書き
込まれる。In the third access, as shown in FIG. 6, the pattern data P3 of the mask pattern generator (MPG) 23 can write the first four bits of the 8-bit storage area of the bit map memory 25. The shift data SD3 of the barrel shifter (SHIFT) 24 has a form in which 16-bit data is shifted to the right by 4 bits. As a result, the remaining 4 bits (bit 3 to bit 0) in the middle of the 16-bit data are written to the first 4 bits of the storage area of the address 3 of the bit map memory 25.
【0028】以上のように、この実施例においては、C
PUによって指定される描画開始ビット位置とCPUに
よるデータの描画幅とが加算回路13で加算され、描画対
象の最終ビット位置が求められる。ビットマップメモリ
にデータを描画する際には、その描画毎に最終ビット位
置の値からビットマップメモリの格納領域のビット幅の
値が減算回路15によって減算され、この減算結果が零以
下になるまで描画が繰り返される。したがって、描画開
始ビット位置を指定するだけでアクセス回数が自動的に
求められるので、ビットマップメモリのビット幅を意識
すること無くデータを描画することができる。As described above, in this embodiment, C
The drawing start bit position specified by the PU and the drawing width of the data by the CPU are added by the adding circuit 13, and the final bit position to be drawn is obtained. When data is drawn in the bitmap memory, the value of the bit width of the storage area of the bitmap memory is subtracted from the value of the last bit position by the subtraction circuit 15 every time the data is drawn, until the result of the subtraction becomes zero or less. Drawing is repeated. Therefore, the number of accesses is automatically obtained only by specifying the drawing start bit position, so that data can be drawn without being aware of the bit width of the bitmap memory.
【0029】[0029]
【発明の効果】以上詳記したようにこの発明によれば、
ビットマップメモリのビット幅を意識すること無くアク
セス回数を自動的に求められるようになり、描画速度の
高速化を実現できる。As described in detail above, according to the present invention,
The number of accesses can be automatically obtained without considering the bit width of the bitmap memory, so that the drawing speed can be increased.
【図1】この発明の一実施例に係る描画方式を実現する
ための回路構成を示すブロック図。FIG. 1 is a block diagram showing a circuit configuration for realizing a drawing method according to an embodiment of the present invention.
【図2】同実施例における描画動作を説明するための
図。FIG. 2 is a view for explaining a drawing operation in the embodiment.
【図3】図1の回路を用いた電子計算機全体のシステム
構成を示すブロック図。FIG. 3 is a block diagram showing a system configuration of the entire electronic computer using the circuit of FIG. 1;
【図4】図3の電子計算機で実行される描画データの桁
合わせ動作の第1の例を説明するための図。FIG. 4 is an exemplary view for explaining a first example of a digit alignment operation of drawing data executed by the computer of FIG. 3;
【図5】図3の電子計算機で実行される描画データの桁
合わせ動作の第2の例を説明するための図。FIG. 5 is an exemplary view for explaining a second example of a digit alignment operation of drawing data executed by the computer of FIG. 3;
【図6】図3の電子計算機で実行される描画データの桁
合わせ動作の第3の例を説明するための図。FIG. 6 is an exemplary view for explaining a third example of a digit alignment operation of drawing data executed by the computer of FIG. 3;
11…ドットアドレスレジスタ、12…描画幅レジスタ、13
…加算回路、14…セレクタ、15…減算回路、16…カレン
トレジスタ、17…ゼロ検出回路、18…シーケンサ。11 ... dot address register, 12 ... drawing width register, 13
... addition circuit, 14 ... selector, 15 ... subtraction circuit, 16 ... current register, 17 ... zero detection circuit, 18 ... sequencer.
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 - 12/06 G06T 1/60 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 12/00-12/06 G06T 1/60
Claims (1)
納領域を持つビットマップメモリに書き込みデータを描
画する際の描画開始ビット位置の値を保持する手段と、 前記ビットマップメモリに描画する前記書き込みデータ
の描画幅の値を保持する手段と、 前記描画開始ビット位置の値と前記書き込みデータの描
画幅の値とを加算して前記書き込みデータの最終ビット
位置の値を求める加算回路と、 第1および第2の入力端を持つ減算回路であって、前記
第1の入力端に対して前記書き込みデータの前記ビット
マップメモリに対する1回目の描画の際には前記加算回
路の出力値が入力され、2回目以降の描画の際には減算
結果の値が入力されると共に、前記第2の入力端に対し
て前記ビットマップメモリにおける前記格納領域のビッ
ト幅の値が入力され、前記第1の入力端に入力された値
から前記第2の入力端に入力された値を減算する減算回
路と、 前記減算回路の減算結果が零以下になったことを検出
し、描画動作を終了させるための制御信号を出力するシ
ーケンサとを具備することを特徴とするアクセス回数演
算回路。 A plurality of cases each having a predetermined bit width.
Write data to bitmap memory with storage area
Means for holding a value of a drawing start bit position when drawing, and the write data to be drawn in the bitmap memory
Means for holding the value of the drawing width, and the value of the drawing start bit position and the drawing of the write data.
And the final bit of the write data.
An addition circuit for obtaining a position value, and a subtraction circuit having first and second input terminals,
The bit of the write data for a first input
At the time of the first drawing to the map memory,
The output value of the road is input and subtracted for the second and subsequent drawing
The result value is input and the second input terminal
The bit of the storage area in the bitmap memory.
Is input to the first input terminal.
Subtracting the value input to the second input terminal from the
Path, and that the subtraction result of the subtraction circuit has become zero or less.
Output a control signal to end the drawing operation.
Access times characterized by having a
Arithmetic circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP343991A JP3144807B2 (en) | 1991-01-16 | 1991-01-16 | Access frequency calculation circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP343991A JP3144807B2 (en) | 1991-01-16 | 1991-01-16 | Access frequency calculation circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04242451A JPH04242451A (en) | 1992-08-31 |
| JP3144807B2 true JP3144807B2 (en) | 2001-03-12 |
Family
ID=11557388
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP343991A Expired - Fee Related JP3144807B2 (en) | 1991-01-16 | 1991-01-16 | Access frequency calculation circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3144807B2 (en) |
-
1991
- 1991-01-16 JP JP343991A patent/JP3144807B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH04242451A (en) | 1992-08-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0357446A2 (en) | Half toning pixel processor | |
| JP2541539B2 (en) | Graphic processing device | |
| US5151974A (en) | Data display method | |
| US4607340A (en) | Line smoothing circuit for graphic display units | |
| US4998211A (en) | Method of and apparatus for generating a filled pattern defined by contour vectors | |
| US4580236A (en) | Graphic display apparatus with a vector generating circuit | |
| JP3144807B2 (en) | Access frequency calculation circuit | |
| EP0229693B1 (en) | Wide line drawing in a graphics display system | |
| JPH0567216A (en) | Graphic painting-out device | |
| EP0637000A2 (en) | Straight line coordinate generator | |
| US4860109A (en) | Image processing apparatus | |
| JPH02171914A (en) | Printing data forming device | |
| US6414692B1 (en) | Graphics processing apparatus and system | |
| JPH0567217A (en) | Arithmetic unit | |
| JPH07234948A (en) | Picture processor | |
| GB2110857A (en) | Dot matrix display | |
| JP2941156B2 (en) | Line pattern drawing method | |
| JP2594906B2 (en) | Line type generation circuit in graphic processing equipment | |
| JP3238202B2 (en) | Character / graphic generating apparatus and information processing apparatus | |
| JP2606176B2 (en) | Graphic processing unit | |
| JPS61124985A (en) | Bit map memory control system | |
| JP2771350B2 (en) | Image processing device | |
| JP2521087B2 (en) | Image contour bit generation method | |
| JP2713219B2 (en) | Graphic display device | |
| JP3710208B2 (en) | Image processing method and apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |