JPH042971B2 - - Google Patents

Info

Publication number
JPH042971B2
JPH042971B2 JP63071290A JP7129088A JPH042971B2 JP H042971 B2 JPH042971 B2 JP H042971B2 JP 63071290 A JP63071290 A JP 63071290A JP 7129088 A JP7129088 A JP 7129088A JP H042971 B2 JPH042971 B2 JP H042971B2
Authority
JP
Japan
Prior art keywords
data
signal
address
display
circuit
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 - Lifetime
Application number
JP63071290A
Other languages
Japanese (ja)
Other versions
JPS63271524A (en
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 filed Critical
Priority to JP63071290A priority Critical patent/JPS63271524A/en
Publication of JPS63271524A publication Critical patent/JPS63271524A/en
Publication of JPH042971B2 publication Critical patent/JPH042971B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)
  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 本発明はデイスプレイデータを記憶するための
読み出し書き込み可能な記憶装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a readable and writable storage device for storing display data.

従来デイスプレイ用駆動回路をそのチツプ内に
内蔵するマイクロコンピユータにおいては、内蔵
するRAM(ランダムアクセスメモリー)又はレ
ジスターの一部をデイスプレイ用のエリアとして
用いてきた。このデイスプレイエリアから必要な
データをデイスプレイ用のデータストア回路へ転
送してデイスプレイドライバーよりデイスプレイ
素子をドライブする。又はデイスプレイエリアか
ら必要なデータを読み出して表示データの変更を
行なう。第1図は従来の表示用ドライバ回路の一
例を示す。内部データの保持として2n×2mビツト
の記憶容量を有するRAM5を用い、このRAM
のアドレス指定のためにXアドレス信号3を出力
するnビツトのXレジスタ4とYアドレス信号2
を出力するmビツトのYレジスタ1を備えてい
る。RAM5の出力はlビツト構成のバス6を介
してアキユームレータ7と結合されている。又デ
イスプレイ回路はアキユームレータからのデータ
をシフトレジスタ9にシリアルに転送しそのパラ
レル出力10からドライバ12に入力され、ドラ
イバ12の出力はドライブ出力11により表示装
置13をドライブする。RAM5の一部がデイス
プレイデータのストア回路として用いられてお
り、その都度ソフトウエアによりRAM5からア
キユームレータ7を介して転送命令によりシフト
レジスタに転送される。通常デイスプレイ装置と
しては液晶、発光ダイオード、螢光表示器が多く
用いられており、多数セグメントを少ないピン数
で効率よくドライブするためにダイナミツクドラ
イブ方式が用いられている。例えば128のセグ
メントをドライブするには1/8デユーテイにして
8本のタイミング信号と16本のデータ信号による
マトリツクスをとる。この時問題となるのはもし
表示デユーテイの1サイクルを8msecとすると
データの転送は8msecの1/8すなわち1msecに
1回行なわねばならない。第2図にこのタイミン
グを示すがToをデータを1回書き換える周期即
ち1msec、データを書き換える時間をTDTとす
ると、このシステムにおいてはデータを1回書き
換えるにはRAMのアドレス設定即ちXレジスタ
4、Yレジスタ1の設定を行ない、RAMのデー
タをアキユームレータ7に転送し、更にそこから
シフトレジスタ9に転送する。これを何回か繰り
返すと(例えば16ビツトのシフトレジスタで、デ
ータが4ビツトパラレルとすれば4回)始めて駆
動データの書き換えが完了する。そうすると、第
2図に示すようにデータを書き換える処理時間が
余りにもかかり、本来のマイクロコンピユータの
処理時間が、少なくなつてしまうという重大な欠
点がある。更にはデータの書き換えを行なつた残
りの時間での処理がTo内にきちんとおさまらな
いと、Toが変動し表示装置の明るさのむらを生
じさせる。
Conventionally, microcomputers that have a display drive circuit built into their chip have used a built-in RAM (random access memory) or part of a register as a display area. Necessary data is transferred from this display area to a data store circuit for display, and the display element is driven by a display driver. Or read out necessary data from the display area and change the display data. FIG. 1 shows an example of a conventional display driver circuit. RAM 5 with a storage capacity of 2 n × 2 m bits is used to hold internal data.
An n-bit X register 4 outputting an X address signal 3 and a Y address signal 2 for addressing
It is equipped with an m-bit Y register 1 that outputs . The output of the RAM 5 is coupled to an accumulator 7 via a bus 6 having an 1-bit configuration. Further, the display circuit serially transfers data from the accumulator to the shift register 9, and inputs the data from the parallel output 10 to the driver 12, and the output of the driver 12 drives the display device 13 by the drive output 11. A part of the RAM 5 is used as a storage circuit for display data, and each time data is transferred from the RAM 5 to the shift register by software via the accumulator 7 in response to a transfer command. Liquid crystals, light emitting diodes, and fluorescent displays are commonly used as display devices, and a dynamic drive system is used to efficiently drive multiple segments with a small number of pins. For example, to drive 128 segments, use a matrix of 8 timing signals and 16 data signals at 1/8 duty. The problem at this time is that if one cycle of display duty is 8 msec, data transfer must be performed once every 1 msec, that is, 1/8 of 8 msec. This timing is shown in Figure 2. If To is the period for rewriting data once, that is, 1 msec, and the time for rewriting data is TDT, in order to rewrite data once in this system, the address setting of RAM, that is, X register 4, Y The register 1 is set, the data in the RAM is transferred to the accumulator 7, and from there to the shift register 9. When this is repeated several times (for example, 4 times if the data is 4 bits parallel in a 16-bit shift register), rewriting of the drive data is completed. In this case, as shown in FIG. 2, the processing time required to rewrite the data is too long, resulting in a serious drawback in that the original processing time of the microcomputer is reduced. Furthermore, if processing during the remaining time after data rewriting does not fall neatly within To, To will fluctuate, causing unevenness in the brightness of the display device.

本発明はこのような欠点を除去したものであり
従つて本発明の目的はデイスプレイデータをソフ
トによりいちいち転送しないでも自動的に必要な
データを表示装置に送れる方式を提供することに
より、マイクロコンピユータのソフト処理の時間
を表示にわずらわされることなく十分にとれるよ
うにすることであり、更には表示装置の明るさの
ゆらぎや、ちらつきをなくすことである。
The present invention eliminates these drawbacks, and therefore, an object of the present invention is to provide a system that can automatically send necessary data to a display device without having to transfer the display data each time using software, thereby improving the performance of a microcomputer. The goal is to make sure that enough time is available for software processing without being bothered by the display, and to eliminate fluctuations in the brightness and flickering of the display device.

第3図は本発明の方式の一実施例をブロツク図
で示している。RAM17はYレジスタ15とX
レジスタ16の内容によりアドレスが指定される
セルの内容をバスライン25を介してリード又は
ライトする他にデイスプレイ用のストア回路18
にバスラインを介さずに直接読み出せる。この時
タイマー19の働きにより必要な時に1回必要な
信号23によつて指定されるXアドレスが信号2
6によりXデータ22から切り離されて選択され
ることになる。この時RAMのアドレスにより指
定された1ビツトが表示の1セグメントに1:1
で対応する。即ち128セグメントではこの
RAM17のうち128ビツトにデイスプレイの情
報がストアされていることになる。従つてデータ
を書き換えることが必要なセグメントに対応する
RAMのビツトのデータを書き換えるのみでデー
タの書き換えが完了する。又デイスプレイデータ
の読み出しも従来と全く同じにでき、この結果従
来の方式に対しソフト上では表示データの転送に
は一切関知しないでよく、ソフトへの負担がな
く、プログラム領域の節約ができると共に、プロ
グラムを簡単にすることが可能になる。
FIG. 3 shows in block diagram form one embodiment of the system of the present invention. RAM17 is Y register 15 and X
In addition to reading or writing the contents of the cell whose address is specified by the contents of the register 16 via the bus line 25, there is also a store circuit 18 for display.
can be read directly without going through the bus line. At this time, due to the action of the timer 19, the X address specified by the necessary signal 23 is changed once when necessary to the signal 2.
6, it is separated from the X data 22 and selected. At this time, 1 bit specified by the RAM address corresponds to 1 segment of the display 1:1.
Correspond with this. In other words, for 128 segments, this
Display information is stored in 128 bits of RAM 17. Therefore, it corresponds to segments that require data rewriting.
Data rewriting is completed by simply rewriting the RAM bit data. In addition, the display data can be read out in exactly the same way as before, and as a result, compared to the conventional method, the software does not need to be concerned with the transfer of display data at all, so there is no burden on the software, and the program area can be saved. It becomes possible to simplify the program.

第4図は第3図の回路を更に具体化した例であ
る。YデータはYレジスタ34に入力され、更に
Yデコーダ33により2m本のCAS信号となる。
リード/ライトコントロール及びデータのマルチ
ブレツクスを行なう回路30はデータ線51,5
2をバスライン45に乗せたり、読んだりする。
RAMは4ビツト1ワードとすると2n×2m×4ビ
ツト分のセルから構成され、2n′×2m×4ビツト
がデイスプレイエリア、2(n-n)×2m×4ビツトが
通常のワーキングエリアとなる。Xデータにおい
てXレジスタ36に入つてから直接Xデコーダ3
5に入るのは2(n-n)×2m×4ビツトのワーキング
エリア分であり、2n′×2n×4ビツトのデイスプ
レイエリア分はマルチブレクサ38により、Xレ
ジスタの信号か、タイマーからの信号かが選択さ
れ、XDデコーダ37に入力される。タイマー3
9は表示のダイナミツクドライブのための時分割
信号を発生させる機能をもち、分周器40は時分
割信号を分周してRAMのアドレス選択をするた
めの信号を出力し、この信号がラツチ43に入れ
るデータを出力させるためのRAMのXアドレス
を選択させるようマルチブレクサ38に送られ
る。タイマー39により表示データを次のタイミ
ングに設定するため新たにラツチ43にデータを
入れ換える時間になつたことを微分器41がマル
チプレツクス信号57を発生させる。
FIG. 4 is a more specific example of the circuit shown in FIG. 3. The Y data is input to the Y register 34, and further converted into 2 m CAS signals by the Y decoder 33.
A circuit 30 that performs read/write control and data multiplexing is connected to data lines 51 and 5.
2 on bus line 45 or read.
RAM consists of cells of 2 n × 2 m × 4 bits, where 2 n ′ × 2 m × 4 bits are for the display area, and 2 (nn) × 2 m × 4 bits are for the normal memory. This will be a working area. The X data enters the X register 36 and then directly goes to the X decoder 3.
5 is a working area of 2 (nn) × 2 m × 4 bits, and a display area of 2 n ′ × 2 n × 4 bits is input by the multiplexer 38 to the signal from the X register or from the timer. One of the signals is selected and inputted to the XD decoder 37. timer 3
9 has a function of generating a time division signal for dynamic drive of the display, and a frequency divider 40 divides the time division signal and outputs a signal for selecting a RAM address. The signal is sent to the multiplexer 38 to select the X address of the RAM for outputting the data to be input into the 43. The differentiator 41 generates a multiplex signal 57 to indicate that it is time to replace the data in the latch 43 in order to set the display data to the next timing by the timer 39.

この時だけXDデコーダはXデータでなく分周
器40により設定されたアドレスを選択する。4
2は信号57を更に幅を狭くして、ラツチさせる
ストローブ信号を発生させる。第7図はこの様子
を示している。デイスプレイ選択信号は信号57
に、又ラツチのストローブ信号は信号56に対応
する。Xアドレスはデイスプレイ選択があつた時
のみタイマー側の信号に切り換えられる。ラツチ
43はRAM31,32のデータを信号51,5
2と別に読み出せ、しかも全信号はマルチブレツ
クスすることなしにパラレルにラツチ43に入力
され、更にパラレルにデイスプレイドライバ44
に入力される。この結果RAMのワーキングエリ
ア、デイスプレイエリア全領域のリード、ライト
は通常のほとんどの時間で全く自由に行なえると
同時に、タイマーによりハードウエアーのみによ
りデイスプレイエリアのデータが順次ラツチ43
に送り出されダイナミツクドライブの時分割デー
タとなる。この時、デイスプレイエリアの読み出
しをラツチ側に行なつている時、RAMのリー
ド、ライトが発生すると困る場合は第4図の如く
WAIT信号として出力し、この間のみ1インス
トラクシヨン分ウエイト動作にしておけば支障は
ない。
Only at this time, the X D decoder selects the address set by the frequency divider 40 instead of the X data. 4
2 further narrows the width of signal 57 to generate a strobe signal for latching. FIG. 7 shows this situation. Display selection signal is signal 57
Also, the latch strobe signal corresponds to signal 56. The X address is switched to a signal on the timer side only when the display is selected. The latch 43 transfers data from RAMs 31 and 32 to signals 51 and 5.
2, and all signals are input to the latch 43 in parallel without multiplexing, and are further input to the display driver 44 in parallel.
is input. As a result, you can read and write all areas of the RAM working area and display area completely freely most of the time, and at the same time, the data in the display area can be sequentially latched only by hardware using a timer.
The data is sent to the dynamic drive and becomes time-division data. At this time, if you are having trouble reading or writing the RAM while reading the display area to the latch side, as shown in Figure 4.
If you output it as a WAIT signal and wait for one instruction only during this period, there will be no problem.

第5図は本発明を更にわかりやすくすべく
RAMのY方向の1ビツト分だけ具体例にしたも
のである。図中、mはYレジスタ34のビツト
数、n、n′はXレジスタ36のビツト数を各々示
す数値であり、各々RAMのある特定の記憶エリ
アに対応する。入力データDIはライトイネーブ
ルWEのある時トライステートインバータ61,
62を介して選択されているYアドレス、即ち
CAS1〜CAS2 mのうちの1つが選択されトランジ
スタ64,65がONしている行にBIT線、
線を介して、入力される。このデータは
RAS1〜2 (n-n)又はRAS′1〜2 n′の選択されている1つ
の列のセルに書き込まれる。セル71〜73、セ
ル74〜75はRAMセル各々1ビツトに相当
し、書かれたデータは逆にCAS1〜2 mにより選択さ
せれたYアドレスを介してインバータ63をアン
プとし出力データD0となる。同時にBIT線は直
接インバータ68をアンプとしてラツチ69のデ
ータ端子に入力される。従つて第4図で言えばト
ランジスタ64,65、インバータ60〜63は
コントロール回路30に、ラツチ43の1ビツト
分がラツチ69に、ドライバ44の1ビツト分が
ドライバ70に相当する。タイマーがドライブデ
ータの書き換えを要求してRAS′1〜RAS′2 n′のう
ちの1つを選択した時、この時インバータ68の
データがバリツドとなるので同時にラツチのスト
ローブ信号STBが入力され、データがラツチ6
9にストアされる。BIT線、線を分離する信
号DRAM−ENはソフト上でワーキングエリアと
デイスプレイエリアで分けられる場合はここをト
ランジスタ66,67により分離すると、ワーキ
ングエリアへのリード、ライトと、タイマーのト
リガーによるラツチ69へのストローブが同時に
行なえ、先程のウエイト信号によりウエイトのか
かる率がぐつと減少できるので便利である。
Figure 5 is intended to make the present invention more understandable.
This is a specific example of one bit in the Y direction of RAM. In the figure, m is the number of bits in the Y register 34, and n and n' are numerical values each indicating the number of bits in the X register 36, each of which corresponds to a specific storage area in the RAM. When input data DI is write enable WE, tri-state inverter 61,
Y address selected via 62, i.e.
A BIT line is connected to the row in which one of CAS 1 to CAS 2 m is selected and transistors 64 and 65 are turned on.
It is input via the line. This data is
The cells of one selected column of RAS 1-2 (nn ' ) or RAS'1-2 n ' are written. Cells 71 to 73 and cells 74 to 75 each correspond to one bit of the RAM cell, and the written data is sent to the inverter 63 as an amplifier via the Y address selected by CAS 1 to 2 m , and output data D 0 becomes. At the same time, the BIT line is directly input to the data terminal of latch 69 using inverter 68 as an amplifier. Therefore, in FIG. 4, transistors 64, 65 and inverters 60-63 correspond to control circuit 30, one bit of latch 43 corresponds to latch 69, and one bit of driver 44 corresponds to driver 70. When the timer requests rewriting of the drive data and selects one of RAS' 1 to RAS' 2 n ', the data in the inverter 68 becomes valid at this time, so the latch strobe signal STB is input at the same time. Data is latch 6
9 is stored. If the BIT line and the signal DRAM-EN that separates the line are divided into the working area and display area on the software, they can be separated by transistors 66 and 67, and the latch 69 can be read and written to the working area and triggered by the timer. This is convenient because the strobes can be performed at the same time, and the rate at which the wait signal is applied can be drastically reduced.

第6図は本発明の他の実施例であり、RAMの
ワーキングエリア81とデイスプレイエリア82
の分割をX方向で行なうものでありXアドレス選
択のためのレジスタ、デコーダの出力がデータコ
ントロールとマルチブレツクス回路80に入力さ
れる。Xデータは一方ではワーキングエリア81
を選択するXレジスタ、デコーダ84に入力され
る。又Xデータはデイスプレイエリア82側では
第4図と同様タイマー88の信号とマルチブレツ
クスされて、デコーダ87により選択される。従
つてデイスプレイエリア82の信号はY方向は
m′ビツト並列にラツチ85に入り、更にドライ
バ86に入力される。
FIG. 6 shows another embodiment of the present invention, in which a RAM working area 81 and a display area 82 are shown.
The division is performed in the X direction, and the output of the register and decoder for selecting the X address is input to the data control and multiplex circuit 80. On the one hand, X data is working area 81
is input to the decoder 84. Also, on the display area 82 side, the X data is multiplexed with the signal of the timer 88 as in FIG. 4, and is selected by the decoder 87. Therefore, the signal in the display area 82 is
m' bits enter latch 85 in parallel and are further input to driver 86.

本発明によれば、記憶回路が表示データの読み
出しアクセスに費やされる時間の割合が低減した
ことにより、残りの時間に多くのアクセスが可能
となり、記憶回路のアクセスの自由度が増す。ま
た、ラツチ回路からドライイバに確実に表示デー
タが供給されるので表示品質も良い。
According to the present invention, since the proportion of time that the storage circuit spends on reading and accessing display data is reduced, more accesses can be made in the remaining time, increasing the degree of freedom in accessing the storage circuit. Furthermore, since display data is reliably supplied from the latch circuit to the driver, the display quality is also good.

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

第1図は従来の記憶装置を示す図。第2図は第
1図の動作タイミングを示す図。第3図は本発明
の記憶装置の実施例を示す図。第4図は第3図の
具体例を示す図。第5図は第4図のRAMの部分
の具体例を示す図。第6図は本発明の記憶装置の
他の実施例を示す図。第7図は第4図の実施例の
動作タイミングを示す図。 30……ライトコントロール及びデータマルチ
ブレツクサ、38……マルチブレツクサ、40…
…分周器、41……微分信号発生器、42……ス
トローブ信号発生器、31,81……RAMのワ
ーキングエリア、32,82……RAMのデイス
プレイエリア、71〜75……RAMのセルの1
ビツト分。
FIG. 1 is a diagram showing a conventional storage device. FIG. 2 is a diagram showing the operation timing of FIG. 1. FIG. 3 is a diagram showing an embodiment of the storage device of the present invention. FIG. 4 is a diagram showing a specific example of FIG. 3. FIG. 5 is a diagram showing a specific example of the RAM portion of FIG. 4. FIG. 6 is a diagram showing another embodiment of the storage device of the present invention. FIG. 7 is a diagram showing the operation timing of the embodiment of FIG. 4. 30...Write control and data multiplexer, 38...multiplexer, 40...
... Frequency divider, 41 ... Differential signal generator, 42 ... Strobe signal generator, 31, 81 ... RAM working area, 32, 82 ... RAM display area, 71 to 75 ... RAM cell 1
Bit minute.

Claims (1)

【特許請求の範囲】 1 第1のアドレス信号によりアドレス選択され
て表示ドライバにより表示すべき表示データを記
憶する記憶回路を有する記憶装置に於いて、 時分割信号を発生する回路と、 前記時分割信号を分周して第2のアドレス信号
を形成する手段と、 前記表示データの読み出し時にアドレス切り換
え信号を形成する手段と、 該アドレス切り換え信号を入力する期間は前記
第1のアドレス信号の少なくとも一部に代わり前
記第2のアドレス信号を前記記憶回路のアドレス
選択のために供給するアドレス切り換え手段と、 前記時分割信号に基づいて形成されたストロー
ブ信号を受けて、前記第2のアドレス信号により
アドレス選択されて前記記憶回路から読み出され
た前記表示データをラツチし、前記表示ドライバ
に供給する保持回路とを有する ことを特徴とする記憶装置。
[Scope of Claims] 1. In a storage device having a memory circuit for storing display data whose address is selected by a first address signal and to be displayed by a display driver, a circuit for generating a time division signal; and a circuit for generating a time division signal; means for dividing the frequency of a signal to form a second address signal; means for forming an address switching signal when reading the display data; and a period for inputting the address switching signal is at least one of the first address signals. address switching means for supplying the second address signal for selecting an address of the memory circuit instead of the memory circuit; A storage device comprising: a holding circuit that latches the display data selected and read from the storage circuit and supplies the display data to the display driver.
JP63071290A 1988-03-25 1988-03-25 Storage device Granted JPS63271524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63071290A JPS63271524A (en) 1988-03-25 1988-03-25 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63071290A JPS63271524A (en) 1988-03-25 1988-03-25 Storage device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP16849879A Division JPS5690338A (en) 1979-12-24 1979-12-24 Microcomputer

Publications (2)

Publication Number Publication Date
JPS63271524A JPS63271524A (en) 1988-11-09
JPH042971B2 true JPH042971B2 (en) 1992-01-21

Family

ID=13456410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63071290A Granted JPS63271524A (en) 1988-03-25 1988-03-25 Storage device

Country Status (1)

Country Link
JP (1) JPS63271524A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS567162A (en) * 1979-06-29 1981-01-24 Matsushita Electric Ind Co Ltd Memory sharing device for arithmetic control unit

Also Published As

Publication number Publication date
JPS63271524A (en) 1988-11-09

Similar Documents

Publication Publication Date Title
JP2645529B2 (en) Semiconductor storage device with flash write function
US4633441A (en) Dual port memory circuit
US5588130A (en) Semiconductor memory device for simple cache system
EP0245882A2 (en) Data processing system including dynamic random access memory controller with multiple independent control channels
JP3979716B2 (en) Clock synchronous memory device and scheduler circuit thereof
JPH09231740A (en) Semiconductor memory
US5523773A (en) Display driving/controlling integrated circuit and display system
JPH08129890A (en) Semiconductor memory device
US5530955A (en) Page memory device capable of short cycle access of different pages by a plurality of data processors
JPH0313796Y2 (en)
JPS62287499A (en) Semiconductor memory device
KR890001311B1 (en) Refresh generator system for a dynamic memory
KR100295985B1 (en) Method and apparatus for refreshing DRAM
US5235691A (en) Main memory initializing system
JPS621047A (en) Semiconductor device containing memory circuit
JPH042971B2 (en)
JPS6227411B2 (en)
US20050180240A1 (en) Method and system for fast memory access
JPH042970B2 (en)
JPS5958690A (en) IC memory
JPS633317B2 (en)
JPH0525331B2 (en)
JPH04106793A (en) Memory interface circuit
JP2932627B2 (en) Display device
JP2590695B2 (en) Time division switch circuit