JPH01281546A - Error detector for bit map memory - Google Patents

Error detector for bit map memory

Info

Publication number
JPH01281546A
JPH01281546A JP63110885A JP11088588A JPH01281546A JP H01281546 A JPH01281546 A JP H01281546A JP 63110885 A JP63110885 A JP 63110885A JP 11088588 A JP11088588 A JP 11088588A JP H01281546 A JPH01281546 A JP H01281546A
Authority
JP
Japan
Prior art keywords
memory
data
checksum
display
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
JP63110885A
Other languages
Japanese (ja)
Inventor
Taketoshi Yasumuro
武寿 安室
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63110885A priority Critical patent/JPH01281546A/en
Publication of JPH01281546A publication Critical patent/JPH01281546A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To detect an error by the minimum memory capacity by using a check sum memory with small capacity to detect a data error synchronously with the reading of display data. CONSTITUTION:Display data are read out by a display reading circuit 3 synchro nously with the raster scanning of a CRT and in address is outputted from the circuit 3 to a bit map memory 2 and the check sum memory 5. At that time, data in the memory 2 are successively outputted. The outputted data are outputted to a display through a display interface 4, a bit value '0' or '1' to be used for check sum is counted up by a counter 15 and added by an adder 16, the added value is stored in a register 14, and a bit count value is found out by successively repeating addition and outputted to a comparator 8. The comparator 8 compares the check sum value obtained from the memory 5 with the bit count value, and at the time of discrepancy of both the values, informs the generation of a data error.

Description

【発明の詳細な説明】 [概要] ラスター走査方式を用いたビットマツプデイスプレィに
用いられるビットマツプメモリのデータエラーを検出す
るビットマツプメモリのエラー検出装置に関し、 ビットマツプメモリの特性を生かし、最小限のメモリの
追加によりビットマツプメモリのデータエラーを検出す
る検出装置を提供することを目的とし、 ビットマツプメモリのライン毎に1またはOのビット数
をチェックサム値として記憶するチェックサムメモリと
、描画の際に前記チェックサムメモリのチェックサム値
を更新するチェックサム更新回路と、ビットマツプメモ
リの表示データの読み出しに同期し1ライン中の1また
は0のビット数を計数するカウンタと、各ライン毎に前
記カウンタで計測したビットカウント値と前記チェック
サムメモリのチェックサム値とを比較する比較回路と、
で構成した。
[Detailed Description of the Invention] [Summary] This relates to a bitmap memory error detection device that detects data errors in a bitmap memory used in a bitmap display using a raster scanning method. A checksum memory that stores the number of 1 or O bits for each line of the bitmap memory as a checksum value; a checksum update circuit that updates the checksum value in the checksum memory during drawing; a counter that counts the number of 1 or 0 bits in one line in synchronization with reading display data from the bitmap memory; and a counter for each line. a comparison circuit that compares the bit count value measured by the counter and the checksum value of the checksum memory at each time;
It was composed of

[産業上の利用分野] 本発明は、ラスター走査方式を用いたビットマツプデイ
スプレィに用いられるビットマツプメモリのデータエラ
ーを検出するビットマツプメモリのエラー検出装置に関
する。
[Field of Industrial Application] The present invention relates to a bitmap memory error detection device for detecting data errors in a bitmap memory used in a bitmap display using a raster scanning method.

ラスター走査方式を用いたビットマツプデイスプレィ装
置は、表示画面に1対1に対応する表示用ビットマツプ
メモリを有し、ラスター走査に同期してメモリデータを
読み出し、このデータに応じて表示するビクセルの輝度
を決めていた。
A bitmap display device using the raster scanning method has a display bitmap memory that corresponds one-to-one to the display screen, reads out memory data in synchronization with raster scanning, and displays pixel data according to this data. The brightness was determined.

このため、ビットマツプメモリに書き込むデータにより
文字、図形、イメージなどの表示を行なうことが可能と
なる。
Therefore, it is possible to display characters, figures, images, etc. using the data written to the bitmap memory.

近年、表示画面の高解像度が進み、表示画素数が204
8x204aドツトのビットマツプデイスプレィ装置も
発表されており、今俵も解像度の高度化が求められてい
る。このため、解像度が増加するにつれ、画面データを
記憶するビットマツプメモリの容量も増加している。
In recent years, the resolution of display screens has improved, and the number of display pixels has increased to 204.
An 8x204a dot bitmap display device has also been announced, and there is a need for even higher resolution. Therefore, as the resolution increases, the capacity of the bitmap memory for storing screen data also increases.

ところで、ビットマツプメモリにパリティチエツクなど
のデータエラーが発生すると、画面上に不連続な輝点が
でき、オペレータに不愉快な感じを与えてしまう。した
がって、ビットマツプメモリのデータエラーを確実に検
出し、早期に対処することが必要である。
By the way, if a data error such as a parity check occurs in the bitmap memory, discontinuous bright spots will appear on the screen, giving an unpleasant feeling to the operator. Therefore, it is necessary to reliably detect data errors in bitmap memory and take early action.

[従来の技術] 従来、ビットマツプメモリのパリティチエツクなどのデ
ータエラーを検出する検出装置は、メモリの容量が増加
する、また、ビット単位の書き換えが必要となる、また
、データエラーを起こした場合、画面で確認することが
できるなどの理由から設けられていなかった。
[Prior Art] Conventionally, a detection device for detecting data errors such as a parity check of a bitmap memory requires an increase in memory capacity, requires bit-by-bit rewriting, and detects data errors when a data error occurs. , it was not provided for the reason that it could be confirmed on the screen.

[本発明が解決しようとする課題] しかしながら、ビットマツプメモリに実際にパリティチ
エツクなどのデータエラーが発生すると、デイスプレィ
の画面上に不連続な輝点ができ、画面データを再度繰り
返して使用するときは、いつまでもエラーデータが表示
されてしまうため、オペレータに不愉快な感じを与えて
いた。
[Problems to be Solved by the Present Invention] However, when a data error such as a parity check actually occurs in the bitmap memory, discontinuous bright spots appear on the display screen, causing problems when the screen data is repeatedly used. Error data is displayed forever, which makes the operator feel uncomfortable.

その結果、早期にデータエラーに対処することができず
、装置の信頼性を向上させることができないという問題
点があった。
As a result, there has been a problem in that data errors cannot be dealt with early and the reliability of the device cannot be improved.

本発明はこのような従来の問題点に鑑みてなされたもの
でおって、ビットマツプメモリの特性を生かし、最小限
のメモリの追加によりビットマツプメモリのデータエラ
ーを検出する検出@胃を提供することを目的としている
The present invention has been made in view of the above-mentioned conventional problems, and provides a detection method that takes advantage of the characteristics of bitmap memory and detects data errors in bitmap memory by adding a minimum amount of memory. The purpose is to

[課題を解決するための手段] 第1図は本発明の基本構成図である。[Means to solve the problem] FIG. 1 is a basic configuration diagram of the present invention.

第1図において、5はチェックサムメモリであり、ビッ
トマツプメモリ2のライン毎の1または0のビット数を
チェックサム値として記憶する。
In FIG. 1, a checksum memory 5 stores the number of 1 or 0 bits for each line of the bitmap memory 2 as a checksum value.

6はチェックサム更新回路でおり、描画の際に前記チェ
ックサムメモリ5のチェックサム値を更新する。7はカ
ウンタであり、ビットマツプメモリ2の表示データの読
み出しに同期し1ライン中の1またはOのビット数を計
数する。8は比較回路であり、各ライン毎に前記カウン
タ7で計測したビットカウント値と前記チェックサムメ
モリのチェックサム値とを比較する。
A checksum update circuit 6 updates the checksum value in the checksum memory 5 during drawing. A counter 7 counts the number of 1 or O bits in one line in synchronization with the readout of display data from the bitmap memory 2. A comparison circuit 8 compares the bit count value measured by the counter 7 and the checksum value of the checksum memory for each line.

[作用] 本発明においては、ライン毎の“OHまたは“1″のビ
ット数をチェックサム値として記憶しているチェックサ
ムメモリ5のデータを描画プロセッサ1のデータの書き
換えの際に更新するとともに、表示の読み出しデータを
利用して、ライン毎のビット数をカウンタ7で計数し、
このビットカウント値と前記チェックサム値とを比較回
路8で比較して、両者が不一致のときは、データエラー
を検出する。
[Operation] In the present invention, the data in the checksum memory 5, which stores the number of bits of "OH" or "1" for each line as a checksum value, is updated when the data of the drawing processor 1 is rewritten, and Using the display read data, count the number of bits for each line with the counter 7,
This bit count value and the checksum value are compared by a comparison circuit 8, and if the two do not match, a data error is detected.

したがって、容量の小さいチェックサムメモリ5を用い
て、CRTのライン画素毎にビット単位の書き込みに対
してデータエラーを容易に検出することができる。その
結果、画面上に不連続な輝点ができても早期に対処する
ことができ、装置の信頼性を向上させることができる。
Therefore, by using the checksum memory 5 having a small capacity, it is possible to easily detect data errors in bit-by-bit writing for each line pixel of a CRT. As a result, even if discontinuous bright spots appear on the screen, it can be dealt with quickly, and the reliability of the device can be improved.

[実施例] 以下、本発明の実施例を図面に基づいて説明する。[Example] Embodiments of the present invention will be described below based on the drawings.

第2図は本発明の一実施例を示す回路ブロック図である
FIG. 2 is a circuit block diagram showing one embodiment of the present invention.

まず、構成を説明すると、第2図において、1はビット
マツプメモリ2のデータを書き換える描画プロセッサで
あり、この描画プロセッサ1G4ビツトマツプメモリ2
上に文字パターンを書き込み、直線描画を行なう。
First, to explain the configuration, in FIG. 2, 1 is a drawing processor that rewrites data in the bitmap memory 2, and this drawing processor 1G4 bitmap memory 2
Write a character pattern on top and draw a straight line.

3は表示用のデータ続出回路であり、表示用データ読出
回路3はCRTのラスター走査に同期してビットマツプ
メモリ2よりデータを読み出し、デイスプレィインター
フェイス4を介してデイスプレィに転送する。ビットマ
ツプメモリ2より読み出されたデータはデイスプレィイ
ンターフェイス4でCRTデイスプレィのデータ形式に
変換され、デイスプレィに出力される。
Reference numeral 3 denotes a data successive output circuit for display; the display data reading circuit 3 reads data from the bitmap memory 2 in synchronization with the raster scanning of the CRT, and transfers it to the display via the display interface 4. The data read from the bitmap memory 2 is converted into a CRT display data format by a display interface 4 and output to the display.

2は前記ビットマツプメモリであり、表示画面の1ドツ
トに1対1に対応するデータを記憶する。
Reference numeral 2 denotes the bitmap memory, which stores data that corresponds one-to-one to each dot on the display screen.

すなわち、ビットマツプメモリ2は描画プロセッサ1の
指示により前記データを記憶し、表示用データ読出回路
3の指示によりデータをデイスプレィインターフェイス
4に出力する。なお、ビットマツプメモリ2の容量は表
示画面の大きさにより大きくなっても良い。
That is, the bitmap memory 2 stores the data according to instructions from the drawing processor 1, and outputs the data to the display interface 4 according to instructions from the display data reading circuit 3. Note that the capacity of the bitmap memory 2 may be increased depending on the size of the display screen.

5はチェックサムメモリであり、チェックサムメモリ5
はビットマツプメモリ2のライン毎に“1”または“0
″のいずれか一方のビット数をチェックサム値として記
憶する。したがって、チェックサムメモリ5の容量は1
ラインのビット数を表現できる容量を持てばよい。
5 is a checksum memory; checksum memory 5
is “1” or “0” for each line of bitmap memory 2.
'' is stored as the checksum value. Therefore, the capacity of the checksum memory 5 is 1.
It is sufficient to have a capacity that can express the number of bits of the line.

6はチェックサム更新回路であり、チェックサム更新回
路6は描画プロセッサ1がビットマツプメモリ2に行な
うデータの言き換えの際にチェックサムメモリ5のデー
タを更新する。
6 is a checksum update circuit, and the checksum update circuit 6 updates the data in the checksum memory 5 when the drawing processor 1 rewrites the data in the bitmap memory 2.

7はビット数カウンタであり、カウンタ7は表示用デー
タ読出回路3による表示データの読み出しに同期し、1
表示ライン中の“O″または01″のいずれか一方のビ
ットエラーを計測し、カウントしたビットカウント値を
出力する。
7 is a bit number counter, and the counter 7 is synchronized with the readout of display data by the display data readout circuit 3.
The bit error of either "0" or "01" in the display line is measured and the counted bit count value is output.

8は比較回路(比較器)であり、比較回路8に1ライン
の表示終了時に、カウンタ7で計測したビットメモリ値
と前記チェックサムメモリ5のチェックサム値とを比較
してデータエラーを検出する。
Reference numeral 8 denotes a comparison circuit (comparator), which detects a data error by comparing the bit memory value measured by the counter 7 and the checksum value of the checksum memory 5 when the comparison circuit 8 finishes displaying one line. .

次に、作用を説明する。Next, the effect will be explained.

まず、第3図に基づいて描画プロセッサ1がデータを書
き込む場合の動作を説明する。
First, the operation when the drawing processor 1 writes data will be explained based on FIG.

第3図において、まず、描画プロセッサ1はデータをア
クセスするためのアドレスを比較器9、ビットマツプメ
モリ2およびチェックサムメモリ5に出力する。
In FIG. 3, first, the drawing processor 1 outputs an address for accessing data to the comparator 9, the bitmap memory 2, and the checksum memory 5.

比較器9は描画プロセッサ1からの描画点のライン数と
別に入力する表示ライン数とが一致するとき、書き込み
を停止する信号を描画プロセッサ1に出力する。これは
チエツク中のためデータの更新をできないようにするた
めでおる。
The comparator 9 outputs a signal to the drawing processor 1 to stop writing when the number of lines of drawing points from the drawing processor 1 matches the number of display lines input separately. This is to prevent the data from being updated while it is being checked.

次に、描画プロセッサ1がアクセスしようとしているチ
ェックサムメモリ5のラインのチェックサム値を読み出
すとともに、ビットマツプメモリ2のアクセス位置のデ
ータを読み出し、′O”または“1″のビット数をカウ
ンタ10で計数する。
Next, the drawing processor 1 reads the checksum value of the line of the checksum memory 5 that the drawing processor 1 is trying to access, reads the data at the access position of the bitmap memory 2, and calculates the number of bits that are 'O' or '1' by the counter 10. Count with .

次に、チェックサムメモリ5の現チェックサム値よりカ
ウンタ10で計数したカウント値を減算器11で減算し
、この減算値と新たな麿き込みデータをカウンタ12で
カウントしたカウント値とを加算器13で加算した後、
この加算値をチェックサムメモリ5に入れてチェックサ
ム値の更新を行ない、一方、ビットマツプメモリ2のデ
ータの書き込みを更新する。
Next, the count value counted by the counter 10 is subtracted by the subtracter 11 from the current checksum value of the checksum memory 5, and this subtracted value and the count value counted by the counter 12 of the new input data are added to the adder. After adding in 13,
This added value is stored in the checksum memory 5 to update the checksum value, and on the other hand, the writing of data in the bitmap memory 2 is updated.

次に、第4図に基づいてデータエラーの検出動作を説明
する。
Next, the data error detection operation will be explained based on FIG.

第4図において、表示用続出回路3による表示用データ
の読み出しは、CRTのラスター走査に同期して常に行
われ、表示用続出回路3からビットマツプメモリ2およ
びチェックサムメモリ5にアドレスが出力される。
In FIG. 4, reading of display data by the display successive circuit 3 is always performed in synchronization with raster scanning of the CRT, and addresses are output from the display successive circuit 3 to the bitmap memory 2 and checksum memory 5. Ru.

ここで、ラインの走査開始でレジスタ14をクリアし、
走査に従ってビットマツプメモリ2のデ−タが順次出力
される。出力されたデータはデイスプレィインターフェ
イス4を介してデイスプレィに出力されるとともに、カ
ウンタ15でこの読み出しデータ中のチェックサムの対
象となるビット値(、“Oteまたは“1”)を計数し
、加算器16で加算し、レジスタ14に格納して順次加
算を繰り返してビットカウント値を求め、比較器8に出
力する。
Here, register 14 is cleared at the start of line scanning,
According to the scan, the data in the bitmap memory 2 is sequentially output. The output data is output to the display via the display interface 4, and the counter 15 counts the bit value ("Ote" or "1") that is the target of the checksum in this read data, and the adder 16 and stored in the register 14, the addition is repeated sequentially to obtain a bit count value, and the bit count value is output to the comparator 8.

比較器8にはチェックサムメモリ5からチェックサム値
が入力しており、比較器8はこのチェックサム値と前記
ビットカウント値とを比較し、両者が不一致のときは、
データエラーの発生を通知する。
A checksum value is input from the checksum memory 5 to the comparator 8, and the comparator 8 compares this checksum value with the bit count value, and if the two do not match,
Notify when a data error occurs.

なお、初期動作として、ビットマツプメモリ2とチェッ
クサムメモリ5の初期化を行なっておく。
Note that as an initial operation, the bitmap memory 2 and checksum memory 5 are initialized.

以上のように、本実施例においては、データエラーの検
出をCRTのライン走査毎に行うようにしたため、デー
タエラーの検出を容易に行うことができる。この場合、
ビットマツプメモリ2に対する描画プロセッサ1のデー
タの書き込みをビット単位で行う場合にも、ビット数を
カウントするようにしているので容易に対応することが
できる。
As described above, in this embodiment, since data errors are detected every time the CRT is scanned, data errors can be easily detected. in this case,
Even when the data of the drawing processor 1 is written into the bitmap memory 2 in units of bits, this can be easily handled because the number of bits is counted.

また、ライン毎にチェックサム値を求めるようにしてい
るため、チェックサムメモリ5の容量が小さくてすむ。
Furthermore, since the checksum value is determined for each line, the capacity of the checksum memory 5 can be small.

[発明の効果] 以上説明してきたように、本発明によれば、容量が小さ
なチェックサムメモリを用いてデータエラーをCRTの
ライン走査毎に容易に検出することができる。
[Effects of the Invention] As described above, according to the present invention, data errors can be easily detected for each line scan of a CRT using a checksum memory having a small capacity.

その結果、画面上に不連続な輝点ができても早期に対処
することができ、装置の性能を向上させることができる
As a result, even if discontinuous bright spots appear on the screen, it can be dealt with quickly, and the performance of the device can be improved.

【図面の簡単な説明】 第1図は本発明の基本構成図、 第2図は本発明の一実施例を示す回路ブロック図、 第3図はライトサイクル時の動作を説明する説明図、 第4図はデータエラーの検出動作を説明する説明図であ
る。 図中、 1・・・描画プロセッサ、 2・・・ビットマツプメモリ、 3・・・表示用続出回路、 4・・・デイスプレィインターフェイス、5・・・チェ
ックサムメモリ、 6・・・チェックサム更新回路、 7.10,12,15・・・カウンタ、8.9・・・比
較器、 11・・・減算器、 14・・・レジスタ、 ’13.16・・・加算器。 )#ト溝へ面 第1図
[Brief Description of the Drawings] Fig. 1 is a basic configuration diagram of the present invention; Fig. 2 is a circuit block diagram showing an embodiment of the present invention; Fig. 3 is an explanatory diagram illustrating the operation during a write cycle; FIG. 4 is an explanatory diagram illustrating the data error detection operation. In the figure, 1...Drawing processor, 2...Bit map memory, 3...Continuous display circuit, 4...Display interface, 5...Checksum memory, 6...Checksum update Circuit, 7.10,12,15...Counter, 8.9...Comparator, 11...Subtractor, 14...Register, '13.16...Adder. )#Groove surface Figure 1

Claims (1)

【特許請求の範囲】[Claims] ビットマップメモリ(2)のライン毎に1または0のビ
ット数をチェックサム値として記憶するチェックサムメ
モリ(5)と、描画の際に前記チェックサムメモリ(5
)のチェックサム値を更新するチェックサム更新回路(
6)と、ビットマップメモリ(2)の表示データの読み
出しに同期し1ライン中の1または0のビット数を計数
するカウンタ(7)と、各ライン毎に前記カウンタ(7
)で計測したビットカウント値と前記チェックサムメモ
リ(5)のチェックサム値とを比較する比較回路(8)
と、を備えたことを特徴とするビットマップメモリのエ
ラー検出装置。
A checksum memory (5) stores the number of 1 or 0 bits for each line of the bitmap memory (2) as a checksum value, and the checksum memory (5)
Checksum update circuit ( ) that updates the checksum value of )
6), a counter (7) that counts the number of 1 or 0 bits in one line in synchronization with the reading of display data from the bitmap memory (2), and a counter (7) for each line.
) A comparison circuit (8) that compares the bit count value measured by the checksum memory (5) with the checksum value of the checksum memory (5).
A bitmap memory error detection device comprising:
JP63110885A 1988-05-07 1988-05-07 Error detector for bit map memory Pending JPH01281546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63110885A JPH01281546A (en) 1988-05-07 1988-05-07 Error detector for bit map memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63110885A JPH01281546A (en) 1988-05-07 1988-05-07 Error detector for bit map memory

Publications (1)

Publication Number Publication Date
JPH01281546A true JPH01281546A (en) 1989-11-13

Family

ID=14547161

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63110885A Pending JPH01281546A (en) 1988-05-07 1988-05-07 Error detector for bit map memory

Country Status (1)

Country Link
JP (1) JPH01281546A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006242569A (en) * 2005-02-28 2006-09-14 Advantest Corp Testing device and testing method
JP2007213492A (en) * 2006-02-13 2007-08-23 Ricoh Co Ltd Image processor and image processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006242569A (en) * 2005-02-28 2006-09-14 Advantest Corp Testing device and testing method
JP2007213492A (en) * 2006-02-13 2007-08-23 Ricoh Co Ltd Image processor and image processing method

Similar Documents

Publication Publication Date Title
JPH11110580A (en) Texture mapping device and method therefor
JPS62166391A (en) Cursor controller
CA1294381C (en) Display system with symbol font memory
US4775857A (en) On-line verification of video display generator
JPS5912176B2 (en) Cursor circuit for digital television display
JPH01281546A (en) Error detector for bit map memory
US5835629A (en) Code pattern-image processing apparatus
JPS6016634B2 (en) Graphic generation method in display devices
JPS6155677B2 (en)
JPS6113256B2 (en)
JPS58218948A (en) Data converting apparatus
JP3272463B2 (en) Image forming apparatus and method of using the same
JP2903514B2 (en) High-speed drawing method
JPS61267087A (en) Online verification system for image generator
JPS5926425Y2 (en) light pen control circuit
JP3400175B2 (en) Display device
JP2995902B2 (en) Video display control circuit
JPH05151350A (en) Method for correcting position distortion of image data
JPS61190624A (en) Hard-copy system of graphic display picture
JP2761220B2 (en) 3D graphic display system
JPS58177635A (en) Ct image display apparatus
JP2532596B2 (en) Fluoroscopic image display device
JPS6362750B2 (en)
EP0500035A2 (en) Three-dimensional graphic display system
JPS6112316B2 (en)