JPS61285556A - Memory writing system - Google Patents
Memory writing systemInfo
- Publication number
- JPS61285556A JPS61285556A JP60127055A JP12705585A JPS61285556A JP S61285556 A JPS61285556 A JP S61285556A JP 60127055 A JP60127055 A JP 60127055A JP 12705585 A JP12705585 A JP 12705585A JP S61285556 A JPS61285556 A JP S61285556A
- Authority
- JP
- Japan
- Prior art keywords
- data
- address
- signal
- latch
- writing
- 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
Links
Landscapes
- Memory System (AREA)
- Storing Facsimile Image Data (AREA)
- Controls And Circuits For Display Device (AREA)
- Image Processing (AREA)
Abstract
Description
【発明の詳細な説明】
■技術分野
本発明は、ビットマツプディスプレイの表示用メモリ(
VRAM)の、書込み装置に関するものである。[Detailed Description of the Invention] ■Technical Field The present invention relates to a display memory (
This relates to a writing device for VRAM).
■従来技術
従来、CPUによりメモリに書くというのは、前の内容
を書替えるということであり、前にあったデータは消え
てしまうものであった。■Prior Art Conventionally, when a CPU writes to memory, it means rewriting the previous content, and the previous data is erased.
前の内容を残して、即ち、OR演算を行って書込む為に
は、前記の様に、読む、ORを取る。書くという3段階
の動作を必要とした。In order to retain the previous contents, that is, perform an OR operation and write, read and perform an OR operation as described above. It required a three-step action: writing.
また、DMA (ダイレクトメモリ アクセス)等によ
りOR演算を行うことは不可能であった。即ち。Furthermore, it has been impossible to perform an OR operation using DMA (direct memory access) or the like. That is.
書くという1ステップ動作でORを取るということは不
可能であった。It was impossible to obtain an OR with a single step of writing.
■ 目的
本発明は、メモリに書込む時に、書込まれるアドレスの
データと、書込もうとしているデータのOR演算を行い
、その結果をメモリに書込む為の装置である。(2) Purpose The present invention is a device for performing an OR operation on data at an address to be written and data to be written when writing to a memory, and writing the result to the memory.
従来は、1) CPUにデータを書込む、 2) OR
演算を行う、3)メモリに書く。という3つのステップ
を踏まなければならなかったが、本発明はこれをメモリ
に書くという1つのステップで、メモリの内容とのOR
演算を行う装置を提供しようとするものである。Conventionally, 1) Write data to CPU, 2) OR
perform calculations, 3) write to memory; However, in the present invention, there is only one step of writing this to memory, and the OR with the contents of memory is performed.
The purpose is to provide a device that performs calculations.
■構成
第1図は本発明の構成を示す一実施例のブロック図であ
り、1は入力アドレスバス、2は入力データバス、3は
アドレスラッチ、4はデータラッチA、5はデータラッ
チB、6はOR回路、7は状態カウンター、8はアドレ
スバスドライバー、9は出力アドレスバス、10はデー
タバス ドライバー、11は出力データバス、12はモ
ードフラグである。■Configuration FIG. 1 is a block diagram of an embodiment showing the configuration of the present invention. 1 is an input address bus, 2 is an input data bus, 3 is an address latch, 4 is a data latch A, 5 is a data latch B, 6 is an OR circuit, 7 is a state counter, 8 is an address bus driver, 9 is an output address bus, 10 is a data bus driver, 11 is an output data bus, and 12 is a mode flag.
また、ASTBはCPU等からアドレス出力に同期して
出されるアドレスストローブ信号、C81はメモリ書込
みモードでの選択信号、VRTはデータの書込信号、C
52はこの書込装置の2つの動作モードを設定する時の
10書込みモードでの選択信号。Also, ASTB is an address strobe signal output from the CPU etc. in synchronization with the address output, C81 is a selection signal in memory write mode, VRT is a data write signal, and C81 is a selection signal in memory write mode.
52 is a selection signal in 10 write modes when setting two operation modes of this write device.
CLKはCPU等の書込側で使用しているクロック、R
STはリセット信号、RDは書込まれる側のデータを読
込む為の信号、vRは書込まれる側にデータを書込む為
の信号である。CLK is the clock used on the writing side such as the CPU, R
ST is a reset signal, RD is a signal for reading data on the writing side, and vR is a signal for writing data on the writing side.
第2図は第1図の動作を説明する為のタイミングチャー
トである。FIG. 2 is a timing chart for explaining the operation of FIG. 1.
CPU等の書込側から、そのバスサイクルに従いまず、 1)入力アドレスバス1上にアドレスが出される。From the writing side such as the CPU, first, according to the bus cycle, 1) An address is placed on input address bus 1.
2)それをラッチする為のアドレスストローブ信号AS
TBとメモリ書込みモードでの選択信号C81が出力さ
れる。2) Address strobe signal AS to latch it
TB and a selection signal C81 in memory write mode are output.
3)その後、データの書込信号vRTとデータが入力デ
ータバス2に出される。3) After that, the data write signal vRT and the data are sent to the input data bus 2.
次が書込まれる側の動作である。The following is the operation on the writing side.
上記アドレスストローブ信号ASTBによりアドレスラ
ッチ3にラッチされたアドレスと、データラッチA4へ
のデータの書込信号111RTから作られた書込まれる
側への読込信号RDによりデータラッチB5へデータを
ラッチする。Data is latched into the data latch B5 using the address latched in the address latch 3 by the address strobe signal ASTB and the read signal RD to the writing side generated from the data write signal 111RT to the data latch A4.
このラッチA4.B5の内容はOR演算がOR回路6に
よりなされ、CPU等の書込側が他のメモリ読出しサイ
クルにある時に、書込側ヘデータを書込む為のvR倍信
号より書込むものである。This latch A4. The content of B5 is an OR operation performed by the OR circuit 6, and is written from the vR times signal for writing data to the write side when the write side such as the CPU is in another memory read cycle.
このタイミングは第2図の様になっている。This timing is as shown in Figure 2.
即ち、データの書込信号wRTで書込まれる側への読込
信号RDが作られ、ラッチA4.B5にデータが読込ま
れる。That is, the read signal RD to the side to be written is generated by the data write signal wRT, and the latch A4. Data is read into B5.
データの書込信号VRTの立下りで、信号Bがノ)イ状
態になり、信号工がロー状態になる。工信号が次にハイ
状態になるまで次のアドレスの書込みを禁止する。At the fall of the data write signal VRT, the signal B goes to a low state, and the signal goes to a low state. Writing to the next address is prohibited until the power signal goes high next time.
B信号がハイ状態になるので、次のデータの書込信号V
RTの立上りでCがハイ状態になり、状態カウンター7
が動作状態になる。Since the B signal becomes high, the next data write signal V
At the rising edge of RT, C goes high and status counter 7
becomes operational.
書込側で使用しているクロックCLK入力の立上りで状
態カウンター7は動作し、その出力D−Hは順次ハイ状
態になる。The state counter 7 operates at the rising edge of the clock CLK input used on the write side, and its outputs DH sequentially become high.
Dがハイでアドレスバス ドライバー8、出力アドレス
バス9を介してアドレス出力を行い、EがハイでORを
行った出力をデータバス ドライバー10を介して出力
データバス11上に出力する。When D is high, an address is output via the address bus driver 8 and the output address bus 9, and when E is high, the output obtained by performing the OR operation is output onto the output data bus 11 via the data bus driver 10.
次に、Fがハイ、Gがローの間(1クロック間)VR倍
信号出力しデータを書込み、Hがハイになったところで
、このサイクルを停止する。Next, while F is high and G is low (for one clock period), a VR multiplied signal is output and data is written, and when H becomes high, this cycle is stopped.
次に、アドレスストローブ信号ASTB、メモリ書込み
モードでの選択信号C5I、データの書込信号vRTが
動作するまで停止する。Next, the operation is stopped until the address strobe signal ASTB, the memory write mode selection signal C5I, and the data write signal vRT operate.
IO書込みモードでの選択信号CS2は、入力データバ
ス2上のDOビットがハイで工0モードで書込まれた時
にORモードを設定し、DOビットがローで工0モード
で書込まれた時にデータラッチB5の出力の全てをロー
にしてしまい、ORの動作は行われない様にする。これ
はメモリに書込まれる前に設定される。The selection signal CS2 in the IO write mode sets the OR mode when the DO bit on the input data bus 2 is high and written in the 0 mode, and when the DO bit on the input data bus 2 is low and written in the 0 mode. All the outputs of data latch B5 are set to low, so that the OR operation is not performed. This is set before being written to memory.
■効果
以上説明したように、本発明は、メモリに書込む時に、
書込まれるアドレスのデータと、書込もうとしているデ
ータのOR演算を行い、その結果をメモリに書込むとい
う1つのステップで、メモリの内容とのOR演算を行う
ことができるという利点がある。■Effects As explained above, when writing to memory, the present invention
There is an advantage that an OR operation can be performed with the contents of the memory in one step of performing an OR operation between the data at the address to be written and the data to be written, and writing the result to the memory.
第1図は本発明の構成を示す一実施例のブロック図、第
2図は第1図の動作を説明する為のタイ ゛ミングチャ
ートである。
1 ・・・入力アドレスバス、
2 ・・・入力データパス、3 ・・・アドレスラッチ
、4 ・・・データラッチA、5 ・・・データラッチ
B。
6・・・OR回路、7・・・状態カウンター、8 ・・
・アドレスバス ドライバー。
9 ・・・出力アドレスバス、
10・・・データバス ドライバー、
11・・・出力データバス、12・・・モードフラグ。FIG. 1 is a block diagram of one embodiment showing the configuration of the present invention, and FIG. 2 is a timing chart for explaining the operation of FIG. 1. 1...Input address bus, 2...Input data path, 3...Address latch, 4...Data latch A, 5...Data latch B. 6...OR circuit, 7...state counter, 8...
・Address bus driver. 9...Output address bus, 10...Data bus driver, 11...Output data bus, 12...Mode flag.
Claims (1)
るラッチと、書込みデータを記憶するラッチと、両方の
ラッチされたデータのOR演算をするゲートと、メモリ
への書込みを制御する制御回路とからなり、 モードフラグの状態により書かれたデータをそのまま書
込むモードと、書込み先のデータとのORを行い書込む
2つのモードを持つことを特徴とするメモリ書込み装置
。[Claims] A latch that stores a mode, a latch that stores an address, a latch that stores write data, a gate that performs an OR operation on both latched data, and a gate that performs an OR operation on both latched data, and a latch that stores the address and writes data to the memory. What is claimed is: 1. A memory writing device comprising: a control circuit for controlling a mode flag, and having two modes: a mode in which written data is written as is according to the state of a mode flag, and a mode in which data is ORed with data at a write destination.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60127055A JPS61285556A (en) | 1985-06-13 | 1985-06-13 | Memory writing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60127055A JPS61285556A (en) | 1985-06-13 | 1985-06-13 | Memory writing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61285556A true JPS61285556A (en) | 1986-12-16 |
Family
ID=14950480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60127055A Pending JPS61285556A (en) | 1985-06-13 | 1985-06-13 | Memory writing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61285556A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01286055A (en) * | 1988-05-13 | 1989-11-17 | Hitachi Ltd | Memory access control device |
US5104245A (en) * | 1989-01-13 | 1992-04-14 | Casio Computer Co., Ltd. | Printing apparatus with form editor |
-
1985
- 1985-06-13 JP JP60127055A patent/JPS61285556A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01286055A (en) * | 1988-05-13 | 1989-11-17 | Hitachi Ltd | Memory access control device |
US5104245A (en) * | 1989-01-13 | 1992-04-14 | Casio Computer Co., Ltd. | Printing apparatus with form editor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS61285556A (en) | Memory writing system | |
JPS63116262A (en) | Data processor | |
JP2000285671A (en) | Semiconductor memory | |
JPH04323755A (en) | Dma device | |
JPH0222748A (en) | Non-volatile memory control circuit | |
JP2634893B2 (en) | Single chip microcomputer | |
JPH01250163A (en) | Bus controller | |
JPH05210981A (en) | Semiconductor memory | |
KR950010615Y1 (en) | Data access device using dma cycle pause period | |
JP2617132B2 (en) | Direct memory access method | |
JPS59189433A (en) | Data erasing system by direct memory access | |
JPH07134675A (en) | Dram control circuit | |
JPH04298787A (en) | Display control circuit | |
JPH02292793A (en) | Memory controller | |
JPH1055317A (en) | Backup memory circuit | |
JPS62287495A (en) | Semiconductor storage device | |
JPS59231589A (en) | Image memory control circuit | |
JPH07262127A (en) | Ic test equipment | |
JPH01209486A (en) | Character display control circuit | |
JPS61162888A (en) | Memory access circuit | |
JPH0284357A (en) | Page memory device | |
JPH0443596B2 (en) | ||
JPS6359169B2 (en) | ||
JPH0351907A (en) | Computer system | |
JPS6343196A (en) | Frame memory controller |