JPS6375827A - Memory device - Google Patents

Memory device

Info

Publication number
JPS6375827A
JPS6375827A JP21807186A JP21807186A JPS6375827A JP S6375827 A JPS6375827 A JP S6375827A JP 21807186 A JP21807186 A JP 21807186A JP 21807186 A JP21807186 A JP 21807186A JP S6375827 A JPS6375827 A JP S6375827A
Authority
JP
Japan
Prior art keywords
data
bus
buffer memory
page
memory
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
JP21807186A
Other languages
Japanese (ja)
Inventor
Masahiko Murata
昌彦 村田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP21807186A priority Critical patent/JPS6375827A/en
Publication of JPS6375827A publication Critical patent/JPS6375827A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To increase the write speed or the like by dividing a page buffer memory into plural memory areas and writing data of the next page in the memory area from which data read is terminated. CONSTITUTION:Print data is written in a page buffer memory 9 through a system address bus 1 and a system data bus 2 by the control of a CPU. This memory device is provided with a DMA address bus 3, a DMA data bus 4, an address bus group 5, a data bus group 6, and three-state bi-directional address and data buffer gate groups 7 and 8. The memory 9 consists of plural divided buffer memory areas 1-(n) connected to plural address busses 1-(n) and data busses 1-(n) respectively. Since data of the next page is written in the memory area from which data read is terminated, the capacity of the page buffer memory 9 is reduced.

Description

【発明の詳細な説明】 [産業上の利用分野1 本発明は、ページプリンタ等に用いられるページバッフ
ァメモリの如きメモリからデータブロックを読み出し、
その読み出し終了後に同一のデータブロック或いは、次
のデータブロックを読み出し、または次のデータブロッ
クを現データブロックの読み出し中に上記メモリに書き
込むメモリ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field 1] The present invention is a method for reading data blocks from a memory such as a page buffer memory used in a page printer, etc.
The present invention relates to a memory device that reads the same data block or the next data block after the reading is completed, or writes the next data block to the memory while the current data block is being read.

[従来の技術J この種のメモリ装置では、一般に読み出しと書き込みで
はメモリをアクセスするソースが異なるので、読み出し
用のバスと書き込み用のバスの2つのバスに接続されて
いる。例えば、印字速度が遅いページプリンタの如き装
置ではデータの一部(例えば1バイト)を読み出し後、
そのデータのパラレルシリアル変換等の印字処理を行っ
ている間に、読み出し用バスから書き込み用バスに使用
バスを切り換え、すでに読み出しの終った記憶領域に新
たなデータを書き込んでいる。一方、印字速度の速い装
置では読み出しの間隔で書き込むことができないので、
もう1つ同じページバッファメモリを設けて、一方のメ
モリが読み出し中に他方のメモリに書き込み、読み出し
、書き込みが終了すると、それらをバスの切り換えによ
って読み出しと書き込みを入れ替えて同じ処理を行フて
いる。
[Prior Art J] This type of memory device is generally connected to two buses, a read bus and a write bus, because the sources for accessing the memory are different for reading and writing. For example, in a device such as a page printer with a slow printing speed, after reading part of the data (for example, 1 byte),
While printing processing such as parallel-to-serial conversion of the data is being performed, the bus used is switched from the read bus to the write bus, and new data is written in the storage area that has already been read. On the other hand, devices with high printing speeds cannot write at the read interval, so
Another same page buffer memory is provided, and one memory writes to the other memory while reading, and when the reading and writing are completed, the reading and writing are exchanged by switching the bus to perform the same processing. .

[発明が解決しようとする問題点〕 しかしながら、このような従来装置では、特に低速装置
においてはバスの切り換えがたえず必要であること、高
速装置においては、ページバッファメモリの容量が実際
の1ページの2倍必要になるという欠点があフた。
[Problems to be solved by the invention] However, in such conventional devices, bus switching is constantly required, especially in low-speed devices, and in high-speed devices, the capacity of the page buffer memory is larger than the actual capacity of one page. The drawback of needing twice as much was eliminated.

そこで、本発明は、上述の欠点を除去するとともに、1
つのページバッファメモリからのデータの読み出し、そ
のメモリへの書き込みが同時にできることによってメモ
リ容量が1ペ一ジ分で充分になり、さらに従来読み出し
と書き込みの2組あったバスが一部を共有させることに
よって1組のバスにすることもできるメモリ装置を提供
することを目的とする。
Therefore, the present invention eliminates the above-mentioned drawbacks and also provides:
By being able to read data from one page buffer memory and write data to that memory at the same time, the memory capacity becomes sufficient for one page, and in addition, a part of the bus, which conventionally had two sets for reading and writing, can be shared. An object of the present invention is to provide a memory device that can be configured as a set of buses by using the following methods.

[問題点を解決するための手段1 かかる目的を達成するため、本発明は一つのメモリ領域
を複数のブロック領域に分割し、ブロック領域の各々と
バスとを接続するゲートまたはセレクタを設け、ゲート
またはセレクタを介して読み出しが終ったブロック領域
に次の情報を書き込むことにより、読み出しと書き込み
を同時に行うことを特徴とする。
[Means for Solving Problems 1] In order to achieve the above object, the present invention divides one memory area into a plurality of block areas, provides a gate or selector to connect each block area to a bus, and connects each block area to a bus. Alternatively, reading and writing can be performed simultaneously by writing the next information into the block area from which reading has been completed via a selector.

[作 用] 本発明では、ページバッファメモリをいくつかのメモリ
エリアに分けて、データの読み出しが終了したメモリエ
リアに次ページのデータを書き込むようにしたので、1
ペ一ジ分のベージバッファメモリで従来のダブルバッフ
ァと同様な高い読み出し書き込み速度が実現でき、ペー
ジバッフアメそりの容量を半分に減らすことができる。
[Function] In the present invention, the page buffer memory is divided into several memory areas, and the data of the next page is written to the memory area where data reading is completed.
With the page buffer memory for one page, it is possible to achieve the same high read and write speed as a conventional double buffer, and the capacity of the page buffer memory can be cut in half.

さらに、本発明によればバスの共通化による回路および
プリントパターンの簡素化、バス上の通過ゲート数の減
少により、より高速化が図れる。
Furthermore, according to the present invention, higher speeds can be achieved by simplifying the circuit and printed pattern by sharing a bus and by reducing the number of passing gates on the bus.

[実施例] ′以下、図面を参照して本発明の実施例を詳細に説明す
る。
[Embodiments] `Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明実施例の構成を示す。ここで、1はシス
テムアドレスバス、2はシステムデータバスであり、こ
れらのバスは印字データを図示しない、(:PU  (
中央演算処理装置)の制御によりベージバッファメモリ
9に書き込むために用いられる。
FIG. 1 shows the configuration of an embodiment of the present invention. Here, 1 is a system address bus, 2 is a system data bus, and these buses do not show print data (:PU (
It is used for writing to the page buffer memory 9 under the control of the central processing unit (Central Processing Unit).

3はDMAアドレスバス、4はDMAデータバスであり
、これらのバスはページバッフアンメモリ9上のデータ
を図示しない印字データ処理部にDMA(ダイレクト 
メモリ アクセス)転送するために用いられる。5はア
ドレスバス群(Aバス1〜Aバスn)、6はデータバス
群(Dバス1〜Dバスn)であり、両バス群はn個に区
切られたシステムバス1,2とDMAバス3.4によっ
て共用される。7はアドレスバス群5の書き込みと読み
出しの切り換えを行うスリーステート双方向アドレスバ
ッファゲート群(AゲートO〜Aゲートn)である。8
は同じくデータバス群6の書き込みと読み出しの切り換
えを行うスリーステートデータバッファゲート群(Dゲ
ート0〜Dゲートn)である。
3 is a DMA address bus, 4 is a DMA data bus, and these buses transfer data on the page buffer unmemory 9 to a print data processing section (not shown) via DMA (direct
memory access). 5 is an address bus group (A bus 1 to A bus n), 6 is a data bus group (D bus 1 to D bus n), and both bus groups are divided into n system buses 1 and 2 and a DMA bus. 3.4. Reference numeral 7 denotes a three-state bidirectional address buffer gate group (A gate 0 to A gate n) for switching between writing and reading of the address bus group 5. 8
is a three-state data buffer gate group (D gates 0 to D gates n) that similarly performs writing and reading switching of the data bus group 6.

ページバッファメモリ9は複数のAバス1〜n、および
Dバス1〜nにそれぞれ接続されることにより分割され
たベージバッファメモリであり、複数のバッファメモリ
エリア1〜nからなる。このバッファメモリエリア1〜
nで1ペ一ジ分となる。ここで、7および8で示すバッ
ファゲート0〜nのうちでいずれか1組は必ずハイイン
ピーダンス状態となり、残りの他のバッファゲートは信
号の伝達を行なう。これにより、ハイインピーダンスの
バッファゲートの位置からシステムバス1,2側のバス
群5.6はシステムバスとなり、かつ、 DMAバス3
.4側のバス群はDMAバスとなる。これにより9で示
すバッファメモリエリア1〜nを書き込み用と読み出し
用に任意の位置で分断することができる。
The page buffer memory 9 is a page buffer memory divided by being connected to a plurality of A buses 1 to n and D buses 1 to n, respectively, and is composed of a plurality of buffer memory areas 1 to n. This buffer memory area 1~
n equals one page. Here, any one of the buffer gates 0 to n indicated by 7 and 8 is always in a high impedance state, and the remaining buffer gates transmit signals. As a result, bus groups 5 and 6 on the system buses 1 and 2 from the high-impedance buffer gate position become system buses, and DMA bus 3
.. The bus group on the fourth side becomes a DMA bus. As a result, the buffer memory areas 1 to n indicated by 9 can be divided at arbitrary positions for writing and reading.

第2図〜第4図は第1図の本発明実施例の動作状態の一
例を示す。
2 to 4 show an example of the operating state of the embodiment of the present invention shown in FIG.

第2図ではページバッファメモリ9には1ペ一ジ分のデ
ータが既に書き込まれているものとする。このデータは
9で示すバッファメモリエリア1の先頭アドレスからバ
ッファメモリエリアnまで順に書き込まれているものと
する。この状態を初期状態として説明する。
In FIG. 2, it is assumed that data for one page has already been written in the page buffer memory 9. It is assumed that this data is written in order from the start address of buffer memory area 1 indicated by 9 to buffer memory area n. This state will be described as an initial state.

まず、7.8で示すゲート0をハイインピーダンス状態
、残りの他のゲートをオン状態(アドレスゲート7はD
MAアドレスの伝達方向)とし、先頭データから読み出
しを開始する。
First, gate 0 shown in 7.8 is in a high impedance state, and the remaining gates are in an on state (address gate 7 is
MA address transmission direction), and reading starts from the first data.

バッファメモリエリア1の読み出しが終了後、第3図に
示すようにゲートをハイインピーダンスにし、ゲート0
をオン状態にする。これにより、システムバス1,2と
DMAバス3.4の境界はゲート1に移り、バッファメ
モリエリア2からデータを読み出し、すでにデータの読
み出しが終了したバッファメモリエリア1には次ページ
のデータをシステムバス1,2から書き込むことができ
る。このように、1つのバッファメモリエリアの読み出
しが終了後、ハイインピーダンスとなるバッファゲート
を1つずらすことによって読み出しの終ったバッファメ
モリエリアに順次次ページのデータを書き込むことがで
きる。
After reading out buffer memory area 1, the gate is set to high impedance as shown in Figure 3, and gate 0 is set to high impedance.
Turn on. As a result, the boundary between system buses 1 and 2 and DMA buses 3 and 4 moves to gate 1, data is read from buffer memory area 2, and data of the next page is transferred to buffer memory area 1 from which data has already been read. Writing can be done from buses 1 and 2. In this way, after reading from one buffer memory area is completed, data of the next page can be sequentially written to the buffer memory area from which reading has been completed by shifting the buffer gate that becomes high impedance by one.

その後、第4図に示すように、バッファメモリエリアn
まで読み出しが終了すると、ゲートnをハイインピーダ
ンス状態、残りの他のゲートは導通状態にする。これに
より、バッファメモリ9に接続するすべてのバスはシス
テムバス1,2となり、すべてのバッファメモリエリア
は書き込み可能となる。この状態で、全データの書き込
みが終了すると、ハイインピーダンスのゲートは再びゲ
ートOになり、第2図に示すように書き込まれているデ
ータの読み出しが可能となる。
After that, as shown in FIG.
When reading is completed, gate n is placed in a high impedance state, and the remaining gates are placed in a conductive state. As a result, all buses connected to the buffer memory 9 become system buses 1 and 2, and all buffer memory areas become writable. In this state, when all data has been written, the high impedance gate becomes gate O again, and the written data can be read as shown in FIG.

以上の操作をくり返すことによりデータの読み出しと書
き込みを行う。また同一パターンのデータを何枚も印刷
する場合には、次ページのデータの書き込みを最終ペー
ジの読み出し中に行なう。
Data is read and written by repeating the above operations. In addition, when printing data of the same pattern on many sheets, data for the next page is written while the last page is being read.

なお、パイインピーダンスとなるゲートの切り換又は、
1つのバッファメモリエリアの読み出し終了直後に図示
しないハードウェアによって自動的に行うことができる
が、l10(人出力)コマンドによってソフト的に切り
換えるようにしてもよい。
In addition, switching the gate that becomes pi impedance or
This can be done automatically by hardware (not shown) immediately after reading from one buffer memory area is finished, but it may also be done by software using an l10 (human output) command.

このように、本実施例によれば、1ペ一ジ分のページバ
ッファメモリで従来のダブルバッファと同様な高い印字
速度が実現でき、さらにバスの共通化による回路および
プリントパターンの簡素化が得られる。
As described above, according to this embodiment, the same high printing speed as the conventional double buffer can be achieved with the page buffer memory for one page, and the circuit and print pattern can be simplified by using a common bus. It will be done.

上述の本実施例では、ゲートによりバスをいくつかに区
切って、区切った各バスをシステムバス1.2とDMA
バス3.4の共有としたが、システムバスとDMAバス
とを複数のセレクタによって各バッファメモリエリア毎
に切り換えて、上述の実施例と同様な操作を行うことも
できる。第5図はこのような本発明の他の実施例の構成
を示す。
In this embodiment described above, the bus is divided into several parts by gates, and each divided bus is connected to the system bus 1.2 and the DMA bus.
Although buses 3 and 4 are shared, the system bus and DMA bus can be switched for each buffer memory area by a plurality of selectors to perform the same operation as in the above embodiment. FIG. 5 shows the structure of another embodiment of the present invention.

第5図においてIOはシステムアドレスバス、llはシ
ステムデータバス、12はDMAアドレスバス、13は
DMAデータバスである。また、14はアドレスバスセ
レクタ(Aセレクタ)、15はデータバスセレクタ(D
セレクタ)、16はベージバッファメモリである。ペー
ジバッファメモリ16は複数のバッファメモリエリア1
〜nを有する。
In FIG. 5, IO is a system address bus, 11 is a system data bus, 12 is a DMA address bus, and 13 is a DMA data bus. Further, 14 is an address bus selector (A selector), and 15 is a data bus selector (D
16 is a page buffer memory. The page buffer memory 16 includes a plurality of buffer memory areas 1
~ has n.

最初すべてのセレクタ14.15はDMAバス12.1
3を選択しており、バッフ1メモリエリア1から印字デ
ータの読み出しが行なわれ、上述の本発明実施例$tI
〆と同様に、各バッファメモリエリア1〜nの読み出し
が終了後、セレクタをシステムバス10.11側に切り
換える。これにより、そのバッファメモリエリア1〜n
にデータの書き込みが可能となる。
Initially all selectors 14.15 are on the DMA bus 12.1
3 is selected, print data is read from buffer 1 memory area 1, and print data is read from buffer 1 memory area 1.
Similarly to the final step, after the reading of each buffer memory area 1 to n is completed, the selector is switched to the system bus 10.11 side. This allows the buffer memory area 1 to n
Data can be written to.

また、読み出し終了したバッファメモリエリアをセレク
タ14.15により逐次システムバス10.11側に切
り換えることにより、データの読み出しと書き込みが同
時に行なえる。
Further, by sequentially switching the buffer memory area from which reading has been completed to the system bus 10.11 side using the selector 14.15, reading and writing of data can be performed simultaneously.

全てのデータの読み出しが終了後、最後のセレクタnを
システムバス10.11側に切り換え、16で示す全バ
ッファメモリエリア1ないしnを書き込み可能とし、次
ページデータの書き込みが終了後、全てのセレクタをD
MAバス側に切り換え、バッファメモリエリア1から読
み出しを開始し、上述と同様の操作を繰り返す。この第
5図の実施例では、バッファメモリエリアの読み出し順
番は自由に選ぶこともできる。また本実施例ではバス上
の通過ゲート数が減少するので、より高速化が図れる。
After reading all data, switch the last selector n to the system bus 10.11 side to make all buffer memory areas 1 to n indicated by 16 writable, and after writing the next page data, switch all selectors to the system bus 10.11 side. D
Switch to the MA bus side, start reading from buffer memory area 1, and repeat the same operation as described above. In the embodiment shown in FIG. 5, the order in which the buffer memory areas are read can be freely selected. Furthermore, in this embodiment, the number of passing gates on the bus is reduced, so higher speeds can be achieved.

[発明の効果] 以上説明したように、本発明によれば、ベージバッファ
メモリをいくつかのメモリエリアに分けて、データの読
み出しが終了したメモリエリアに次ページのデータを書
き込むようにしたので、1ペ一ジ分のページバッファメ
モリで従来のダブルバッファと同様な高い読み出し書き
込み速度が実現でき、ページバッファメモリの容量を半
分に減らすことができる。
[Effects of the Invention] As explained above, according to the present invention, the page buffer memory is divided into several memory areas, and the data of the next page is written to the memory area from which reading of data has been completed. With a page buffer memory for one page, high read and write speeds similar to those of conventional double buffers can be achieved, and the capacity of the page buffer memory can be reduced by half.

″さらに、本発明によればパスの共通化による回路およ
びプリントパターンの簡素化、パス上の通過ゲート数の
減少により、より高速化が図れる。
``Furthermore, according to the present invention, higher speeds can be achieved by simplifying the circuit and printed pattern by making the path common, and by reducing the number of passing gates on the path.

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

第1図は本発明実施例のメモリ装置の構成を示す構成図
、 第2図〜第4図は第1図の本発明実施例の動作中の状態
を示す状態図、 第5図は本発明の他の実施例の構成を示す構成図である
。 1.10−・・システムアドレスバス、2.11・・・
システムデータバス、 3.12・・・DMAアドレスバス、 4.113・・・DMAデータバス、 5・・・共用のアドレスバス群、 6・・・共用のデータバス群、 7・・・スリーステート双方向アドレスバッファゲート
群、 8・・・スリーステートデータバッファゲート群、9.
16・・・n個に区切られたベージバッファメモリエリ
ア1〜nからなるページバッファメモリ、14・・・ア
ドレスセレクタ、 15・・・データセレクタ。
FIG. 1 is a configuration diagram showing the configuration of a memory device according to an embodiment of the present invention. FIGS. 2 to 4 are state diagrams showing the state of the embodiment of the present invention in operation in FIG. 1. FIG. It is a block diagram which shows the structure of another Example. 1.10--system address bus, 2.11...
System data bus, 3.12... DMA address bus, 4.113... DMA data bus, 5... Shared address bus group, 6... Shared data bus group, 7... Three-state Bidirectional address buffer gate group, 8... Three-state data buffer gate group, 9.
16... Page buffer memory consisting of page buffer memory areas 1 to n divided into n pieces, 14... Address selector, 15... Data selector.

Claims (1)

【特許請求の範囲】[Claims] 一つのメモリ領域を複数のブロック領域に分割し、該ブ
ロック領域の各々とバスとを接続するゲートまたはセレ
クタを設け、該ゲートまたはセレクタを介して読み出し
が終った前記ブロック領域に次の情報を書き込むことに
より、読み出しと書き込みを同時に行うことを特徴とす
るメモリ装置。
Divide one memory area into a plurality of block areas, provide a gate or selector to connect each of the block areas to a bus, and write the next information into the block area that has been read through the gate or selector. A memory device characterized in that reading and writing can be performed simultaneously.
JP21807186A 1986-09-18 1986-09-18 Memory device Pending JPS6375827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21807186A JPS6375827A (en) 1986-09-18 1986-09-18 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21807186A JPS6375827A (en) 1986-09-18 1986-09-18 Memory device

Publications (1)

Publication Number Publication Date
JPS6375827A true JPS6375827A (en) 1988-04-06

Family

ID=16714191

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21807186A Pending JPS6375827A (en) 1986-09-18 1986-09-18 Memory device

Country Status (1)

Country Link
JP (1) JPS6375827A (en)

Similar Documents

Publication Publication Date Title
JPS63155843A (en) Variable control system for data transfer speed
JPS6113268B2 (en)
JPS6375827A (en) Memory device
JPH0225958A (en) High-speed data transfer system
JPH0715670B2 (en) Data processing device
JPH03204753A (en) Dma controller
JPS62182857A (en) Input and output controller
JPS63100550A (en) Controlling system for bit map memory
JPH024020B2 (en)
RU1835551C (en) Data processor
JPS62216046A (en) Record control system for logical simulation device
JP2953169B2 (en) Data processing device
JPH0160864B2 (en)
JPS62105259A (en) Data transfer circuit
JPS61153770A (en) Image processor
JPS63168720A (en) Memory buffer device
JPH0317789A (en) Microcomputer
JPS63259746A (en) Inter-bank-memory data transmission system
JPH04165438A (en) Memory access system
JPS58166469A (en) High-speed data transfer buffer circuit
JPS63142446A (en) Address generating system
JPH1040167A (en) Picture processor
JPH06161945A (en) Memory data transfer device
JPS61248149A (en) Data transfer controlling system between memories
JPH04105148A (en) Data transfer control system