JPS62226245A - Memory control system - Google Patents

Memory control system

Info

Publication number
JPS62226245A
JPS62226245A JP6831886A JP6831886A JPS62226245A JP S62226245 A JPS62226245 A JP S62226245A JP 6831886 A JP6831886 A JP 6831886A JP 6831886 A JP6831886 A JP 6831886A JP S62226245 A JPS62226245 A JP S62226245A
Authority
JP
Japan
Prior art keywords
address
circuit
memory
data
addresses
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
JP6831886A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Hosobuchi
細渕 良之
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP6831886A priority Critical patent/JPS62226245A/en
Publication of JPS62226245A publication Critical patent/JPS62226245A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shift data at a high speed for processing by changing the contents of a register which sets the head address of each memory circuit having the duplicated addresses. CONSTITUTION:When a memory reading request is produced from a system bus, a comparator 21 of a memory control circuit 20 compares the contents of an address setting circuit 10 and a higher bit of an address and outputs a chip selection signal to a memory circuit 50. Furthermore an address converting circuit 40 converts a lower bit of the address into an address and delivers an address signal to the circuit 50. In such a way, the comparison of addresses is carried out based on the set value of the circuit 10. Therefore a shift is facilitated between two addresses of data just by changing the set value of the circuit 10.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、メモリのアクセスに係り、特にあるアドレス
から他のアドレスへのデータの移動に好適なメモリ制御
方式に関する0 〔従来の技術〕 従来のメモリ制御方式としては、特開昭59−6066
3号公報に記載される様に、一部重複したアドレスを有
するメモリに対し、いずれを使用するかを示すレジスタ
な設けることにより、メモリを拡張するようになってい
た。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to memory access, and in particular to a memory control method suitable for moving data from one address to another. As a memory control method, JP-A-59-6066
As described in Japanese Patent Application No. 3, the memory is expanded by providing a register indicating which address is to be used for a memory having partially overlapping addresses.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術は、重複したアドレスを持つ複数メモリ回
路間のデータの移動に関しては、何ら配慮されておらず
、重複したアドレスの一方のメモリ回路から他方のメモ
リ回路へデータを移動する場合、まず、重複したアドレ
スの一方のメモリ回路からf[しないアドレスへデータ
を移動しておき、次に、重複したアドレスを持つメモリ
回路のいずれかを使用するかを示すレジスタの設定を変
回路へS動するという手順が必要であり、この様な動作
には、多くの処理時間を必要とするという澗題点があっ
た〇 本発明の目的は、かかる問題点解決の為・重複するアド
レスを変更可能とすることにより、高速にデータの移動
処理2行なうメモリ制御方式を提供することにある。
The above conventional technology does not give any consideration to the movement of data between multiple memory circuits having duplicate addresses, and when moving data from one memory circuit with duplicate addresses to the other memory circuit, first, Move data from one memory circuit of the duplicated address to an address that does not contain f[, and then move the register setting indicating whether to use one of the memory circuits with the duplicated address to the change circuit. There was a problem that such an operation required a lot of processing time.The purpose of the present invention is to solve this problem and to make it possible to change duplicate addresses. By doing so, it is an object of the present invention to provide a memory control method that performs data movement processing 2 at high speed.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、重複したアドレスを持つメモリ回路毎に該
当メモリ回路の先頭アドレスを設定するレジスタとリー
ド、ライト条件を設定されるレジスタを設け、重複した
アドレスの一方のメモリ回路から他方のメモリ回路へデ
ータを移動する場合、まず、一方のメモリ回路のアドレ
ス変更をレジスタの設定変更により行ない、次に、新た
に重複したアドレスとなる第6のメモリ回路をレジスタ
の設定変更により、リード、ライト禁止し、アドレス変
換回路により、アドレス変換を行いながら、メモリ制御
回路に従い、データの移動を行ない、史に、レジスタの
設定を元に戻すことで、所望のご動作を完了する。
The above purpose is to provide a register for setting the start address of the corresponding memory circuit and a register for setting read and write conditions for each memory circuit with duplicate addresses, and to transfer the duplicate address from one memory circuit to the other memory circuit. When moving data, first change the address of one memory circuit by changing the register settings, then change the register settings of the sixth memory circuit, which has the newly duplicated address, to prohibit reading and writing. While performing address conversion by the address conversion circuit, data is moved according to the memory control circuit, and the desired operation is completed by restoring the register settings.

′−,) 〔作用〕 従来方法では、重複するアドレスを持つ一方のメモリ回
路から他方のメモリ回路へデータ?j:移動する処理は
、2回の移動動作と、移動するデータを一時的に格納す
るメモリエリアを必要としていたが、前記手段により、
1回の移動動作のみで良く、しかも、移動するデータを
一時的に格納するエリアは不要になるので重複するアド
レスを持つ一方のメモリ回路から、他方のメモリ回路へ
データを移動する処理な高速化できる。
′−,) [Operation] In the conventional method, data is transferred from one memory circuit with duplicate addresses to the other memory circuit. j: The moving process required two moving operations and a memory area to temporarily store the data to be moved.
Only one movement operation is required, and an area to temporarily store the data to be moved is not required, which speeds up the processing of moving data from one memory circuit with duplicate addresses to another memory circuit. can.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により詳細に説明する。 Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例の構成分示すブロック図で
ある。第1図において、10は、アドレス設定回路、2
0は、メモリ制御回路、30は、リード、ライト条件設
定回路、40は、アドレス変換回路、50は、メモリ回
路、である。メモリ制御回路20は、比較回路21と制
御信号発生回路22で構成される。次に、動作例を説明
する アドレスの上位ビット?比較し、比較の結果、一致して
いれば、メモリ回路5oに対し、チップセレクト信号を
出力するワまた、制御信号発生回路21は、リード、ラ
イト条件設定回路3oに、リード許可が設定されていれ
ば、メモリ回路5oに対し、メモリ制御信号を出力する
。更に、アドレス変換回路40は、アドレスの下位ビッ
トをアドレス変換し、メモリ回路50に対し、アドレス
信号を出力する。
FIG. 1 is a block diagram showing the components of an embodiment of the present invention. In FIG. 1, 10 is an address setting circuit;
0 is a memory control circuit, 30 is a read/write condition setting circuit, 40 is an address conversion circuit, and 50 is a memory circuit. The memory control circuit 20 includes a comparison circuit 21 and a control signal generation circuit 22. Next, the upper bits of the address to explain the working example? If they match, the control signal generation circuit 21 outputs a chip select signal to the memory circuit 5o.Also, the control signal generation circuit 21 makes sure that read permission is set in the read/write condition setting circuit 3o. If so, a memory control signal is output to the memory circuit 5o. Further, the address conversion circuit 40 converts the lower bits of the address and outputs an address signal to the memory circuit 50.

その後、メモリ回路5oは、システムバスに対し、デー
タ信号を出方して、リード動作ご完了する。
Thereafter, the memory circuit 5o outputs a data signal to the system bus to complete the read operation.

システムバスからメモリライト要求が発生した場合も同
様であるので、省略する。
The same applies to the case where a memory write request is generated from the system bus, so the description will be omitted.

この様に、アドレスの比較は、アドレス設定回路10の
設定置により行われるので、本設定値を変更することに
より、データのあるアドレスから他のアドレスへの移動
は容易に行なえる。また、リード、ライト設定回路3o
の設定値を変更することにより、リード禁止、許可及び
ライト禁止、許可を自由に変更できる。更に、アドレス
変換回路4゜は、メモリチップが、64KB、256K
B等、データ長より大きいアドレス容量を持つ場合、メ
モリチップ号有効に利用する為、必要となる。例えば、
メモリチップが64KBのアドレスを持ち、データ長が
4KBの場合について、第2図のアドレス変換方法を用
いて説明する。第2図では、メモリ回路50は、16の
ブロックに分割され、各々のブロックに対し、アドレス
設定回路10及びアドレス変換回路40を有する。尚、
説明簡略化の為、リード。
In this way, the comparison of addresses is performed by the settings of the address setting circuit 10, so by changing the settings, data can be easily moved from one address to another. In addition, read and write setting circuit 3o
By changing the setting values, read prohibition, permission, write prohibition, and permission can be freely changed. Furthermore, the address conversion circuit 4゜ has a memory chip of 64KB and 256K.
If the address capacity is larger than the data length, such as B, it is necessary to use the memory chip number effectively. for example,
The case where the memory chip has an address of 64 KB and the data length is 4 KB will be explained using the address conversion method shown in FIG. 2. In FIG. 2, the memory circuit 50 is divided into 16 blocks, and each block has an address setting circuit 10 and an address conversion circuit 40. still,
Lead for simplicity of explanation.

ライト設定回路30、メモリ制御回路2oは、省略しで
ある。
The write setting circuit 30 and memory control circuit 2o are omitted.

システムバスより、メモリアクセス要求が発生ずルト、
アドレスの上位ビットとアドレス設定回路10の内容が
比較される。もし、アドレスの上位ビットがアドレス設
定回路10のうち、ブロック#1の内容と一致した場合
、アドレス変換回路40ハ、アドレスの下位ビットをそ
のまま、メモリ回路5゜のアドレス信号として出力する
。もし、アドレスの上位ビットがアドレス設定回路10
のうち、ブロック#2の内容と一致した場合、アドレス
変換回路40は、アドレスの下位ビットに(1000)
+6を加えて、メモリ回路50のアドレス信号として出
力する。以下、同様に、ブロック#5と一致すれば、(
2000)+6ブロソク#4と一致すれば、(3000
)1610ツク#16!ニ一致すれば、(Fooo)+
6号アドレスの下位ビットに加えて、メモリ回路50の
アドレス信号として出力するQ 以上の説明から重複したアドレスを持つ一方のメモリ回
路から、他方のメモリ回路へデータご移動するのに、−
回のデータの移゛動で良いことが理解される。
No memory access request is generated from the system bus.
The upper bits of the address and the contents of the address setting circuit 10 are compared. If the upper bits of the address match the contents of block #1 in the address setting circuit 10, the address conversion circuit 40 outputs the lower bits of the address as is as an address signal for the memory circuit 5. If the upper bit of the address is
If the contents match the contents of block #2, the address conversion circuit 40 sets (1000) to the lower bits of the address.
+6 is added and output as an address signal for the memory circuit 50. Similarly, if it matches block #5, (
2000) + 6 If it matches #4, (3000
) 1610 Tsuku #16! If it matches, (Fooo)+
In addition to the lower bit of the No. 6 address, Q is output as an address signal for the memory circuit 50. From the above explanation, when moving data from one memory circuit with a duplicate address to the other memory circuit, -
It is understood that it is sufficient to move the data once.

次に、本発明を端末制御装置に適用した場合の実施例を
説明する。端末制御装置には次の機能があるものとする
Next, an embodiment in which the present invention is applied to a terminal control device will be described. It is assumed that the terminal control device has the following functions.

■ビデオ端末入力処理 (α)端末からのデータ号、アドレス’AOOOO’か
ら4KBに受信する。
■Video terminal input processing (α) Receive data number from the terminal in 4KB from address 'AOOOO'.

(b)データをアドレス’BOOOO’に移動する。(b) Move data to address 'BOOOO'.

(C)アドレス’B 0000’のデータごホストへ送
信する。
(C) Send data to the host at address 'B 0000'.

■ビデオ端末出力処理 (α)ホストからのデータをアドレス’Coooo’か
ら4KBに受信する0 (b)データをアドレス’DOOOOに移動する。
■Video terminal output processing (α) Receive 4KB data from the host from address 'Coooo'0 (b) Move data to address 'DOOOO'.

(C)アドレス’Do 000’のデータを端末へ送信
する0■同時プリント処理 (α)ホストからのデータをアドレスcoooo′力ゝ
ら4KBに受信する。
(C) Send data at address 'Do 000' to terminal 0 ■ Simultaneous print processing (α) Receive data from host in 4 KB from address coooo'.

(b)同一データをアドレス’D0000’及び’EO
OOO’へ移動する。
(b) Same data at addresses 'D0000' and 'EO'
Move to OOO'.

(Q)アドレス’DOOOO’のデータごビデオ端末へ
送信する。
(Q) Send the data at address 'DOOOO' to the video terminal.

(d)アドレス’EOOOO’のデータをプリンタ端末
へ送信する。
(d) Send the data at address 'EOOOO' to the printer terminal.

■管理データ蓄積処理 (α)管理データをROMエリアと同一アドレスの’F
OOOO’へ蓄積する。
■Management data accumulation processing (α) Management data is stored in 'F' at the same address as the ROM area.
Accumulate to OOOO'.

(b)通常動作時、アドレス’FOOOO’からROM
の内容がリードされる。
(b) During normal operation, ROM from address 'FOOOO'
The content of is read.

(Q)管理データ出力時、アドレス’FOODO’へ蓄
積された管理データをアドレス’EOOOO’へ移動す
る。
(Q) When outputting management data, move the management data stored at address 'FOODO' to address 'EOOOO'.

(d)アドレス’EOOOO’のデータごプリンタ端末
へ送信する。
(d) Send the data at address 'EOOOO' to the printer terminal.

上記処理における本発明の動作例を第3図〜第6図のフ
ローチャートに示す。
An example of the operation of the present invention in the above process is shown in the flowcharts of FIGS. 3 to 6.

第5図は、ビデオ端末入力処理を示すフローチャートで
ある。まず、アドレス設定回路にアドレス’AOOOO
’を設定(301) L、そこへ端末からデータ号受ケ
る(302)。次に、アドレス設定回路にアドレス’B
OOOO’を設定(303) L、そこからホストへデ
ータを送る(SOa)。このように、端末からの入力デ
ータをホスト送1S用エリアへ移動させる処理をアドレ
ス設定回路の内容変更により瞬時に実行できる。
FIG. 5 is a flowchart showing video terminal input processing. First, write the address 'AOOOOO' into the address setting circuit.
' is set (301) L, and the data signal is received there from the terminal (302). Next, address 'B' is input to the address setting circuit.
Set OOOO' (303) L, and send data from there to the host (SOa). In this way, the process of moving input data from a terminal to the host sending 1S area can be instantaneously executed by changing the contents of the address setting circuit.

第4図は、ビデオ端末出力処理を示すフローチャートで
ある。まず、アドレス設定回路にアドレス’coooo
’を設定(401) L、そこへホストからのデータを
受ける(402)。次に、アドレス設定回路にアドレス
’DOOOO’ご設定(405) L、そこから端末へ
データを送る(404)。このように、ホストからのを
アドレス設定回路の内容変更により、瞬時に実行できる
FIG. 4 is a flowchart showing video terminal output processing. First, set the address 'coooo' to the address setting circuit.
' is set (401) L, and data from the host is received there (402). Next, the address 'DOOOO' is set in the address setting circuit (405), and data is sent from there to the terminal (404). In this way, by changing the contents of the address setting circuit from the host, it can be executed instantly.

第5図は一同時プリント処理?示すフローチャートであ
る。まず、第1メモリ回路のアドレス設定回路にアドレ
ス’coooo’を設定(502) L、またリードラ
イト条件をライト許可に設定する。次に、第2メモリ回
路のアドレス設定回路にアドレス′Coooo’を設定
(504) L、またリードライト条件をライト許可に
設定する。その後、ホストからのデータをアドレス’ 
coooo’に受ける(506)。史に、第1メモリ回
路のアドレス設定回路にアドレス’DOOOO′を設定
(508)I、、次に第2メモリ回路のアドレス設定回
路にアドレス’EOOOO’を設定する(510)。
Is Figure 5 a simultaneous print process? FIG. First, the address 'coooo' is set in the address setting circuit of the first memory circuit (502) L, and the read/write condition is set to write permission. Next, the address 'Coooo' is set in the address setting circuit of the second memory circuit (504) L, and the read/write condition is set to write permission. Then address the data from the host'
Coooo' is received (506). First, the address 'DOOOO' is set in the address setting circuit of the first memory circuit (508), and then the address 'EOOOO' is set in the address setting circuit of the second memory circuit (510).

そして、各々のアドレスから端末へデータを送る(51
2)。このように、2つのメモリ回路を同一アドレスに
設定し共に、ライト許可としておくことにより、ホスト
からの出力データご同時に、2つのメモリ回路に受信す
ることが可能である。つまり、データの複写ご容易に実
行できる。
Then, data is sent from each address to the terminal (51
2). In this way, by setting the two memory circuits to the same address and enabling write, it is possible to simultaneously receive output data from the host into the two memory circuits. In other words, data can be easily copied.

ヤードである。まず、アドレス設定回路にアドレス’F
OOOO’を設定(602) [、、またリードライト
条件をリード禁止に設定した後、そこへ管理データご蓄
積する(604)。そして、アドレス設定回路にアドレ
ス’EO000’ご設定(606) L、そのアドレス
から端末へデータ?送る(6OS)。
It's a yard. First, set the address 'F' to the address setting circuit.
OOOO' is set (602) [,, After setting the read/write condition to read prohibition, management data is accumulated there (604). Then, set the address 'EO000' in the address setting circuit (606) L, data from that address to the terminal? Send (6OS).

このように、通常動作中は蓄積のみで読出すことのない
様なデータに関しては、データ蓄積用のメモリ回路をR
OMと同一アドレスに設定し、リード禁止としておくこ
とにより、実質的なメモリ空間の拡張が可能である◇ 〔発明の効果〕 以上説明したように、本発明によれば、重複したアドレ
スを持つメモリ間のデータ移動処理の時間を短縮でき、
また、あるエリアから他のエリアへのデータの移動、R
OMエリアと同一アドレスを使用することによる実質的
メモリ空間の拡張、及び、アドレスご重複させることに
よるデータの模写が容易になるという効果が得られる。
In this way, for data that is only stored but never read during normal operation, the memory circuit for data storage is set to R.
By setting the same address as the OM and disabling reading, it is possible to substantially expand the memory space ◇ [Effects of the Invention] As explained above, according to the present invention, memory with duplicate addresses You can reduce the time required to move data between
Also, moving data from one area to another, R
By using the same address as the OM area, the actual memory space can be expanded, and by duplicating the address, it is easy to copy data.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図はアドレス変換方法を説明するための図、第3図は
ビデオ端末入力処理を示すフローチャート、第4図はビ
デオ端末出力処理を示すフローチャート、第5図は同時
プリント処理を示すフローチャート、第6図は管理デー
タ蓄積処理を示すフローチャートである。 10・・・アドレス設定回路 20・・・メモリ制御回路 30・・・リード、ライト条件設定回路40・・・アド
レス変換回路 50・・・メモリ回路 ・′了さ 第 2 図
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a diagram for explaining an address conversion method, FIG. 3 is a flowchart showing video terminal input processing, and FIG. 4 is a video terminal output FIG. 5 is a flowchart showing the simultaneous printing process, and FIG. 6 is a flowchart showing the management data accumulation process. 10...Address setting circuit 20...Memory control circuit 30...Read and write condition setting circuit 40...Address conversion circuit 50...Memory circuit Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1、アドレスを設定する回路とリード、ライト条件を設
定する回路とアドレスを変換する回路とメモリを制御す
る回路とメモリ回路を持ち、前記アドレスを設定する回
路に設定されたアドレスを前記メモリ回路全体又はその
一部の先頭アドレスとし、必要であれば、前記アドレス
を変換する回路により、アドレス変換を行った後、前記
リード、ライト条件を設定する回路の設定に従い、前記
メモリ回路のアクセスを行い、その後、前記アドレスを
設定する回路に設定された内容を書き替えることにより
、データの移動を行うことを特徴とするメモリ制御方式
1. It has a circuit for setting addresses, a circuit for setting read and write conditions, a circuit for converting addresses, a circuit for controlling memory, and a memory circuit, and the address set in the circuit for setting the address is transferred to the entire memory circuit. or the start address of a part thereof, and if necessary, after performing address conversion by a circuit that converts the address, accesses the memory circuit according to the settings of the circuit that sets the read and write conditions, A memory control method characterized in that data is then moved by rewriting the contents set in the circuit that sets the address.
JP6831886A 1986-03-28 1986-03-28 Memory control system Pending JPS62226245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6831886A JPS62226245A (en) 1986-03-28 1986-03-28 Memory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6831886A JPS62226245A (en) 1986-03-28 1986-03-28 Memory control system

Publications (1)

Publication Number Publication Date
JPS62226245A true JPS62226245A (en) 1987-10-05

Family

ID=13370351

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6831886A Pending JPS62226245A (en) 1986-03-28 1986-03-28 Memory control system

Country Status (1)

Country Link
JP (1) JPS62226245A (en)

Similar Documents

Publication Publication Date Title
JPS62226245A (en) Memory control system
JP3079956B2 (en) Printer
JPS62299892A (en) Access system for character generator memory
JPS63100550A (en) Controlling system for bit map memory
JP2838443B2 (en) Image processing method and apparatus
JPH0754544B2 (en) Image memory access circuit
JP2537830B2 (en) Image processing device
JP2002024157A (en) Method and device for processing dma
JP2906739B2 (en) Storage device
JPH0329021A (en) Printer server
JPH06332851A (en) Data transfer system
JP3077992B2 (en) Data transmission equipment
JPS61260340A (en) Block transfer control part
JPS6349824A (en) Printer control system
JPH0311474A (en) Image editing device
JPH0516452A (en) Printer
JP2002132706A (en) Dma transfer device
JPS5913766B2 (en) Address control method
JPS6157177A (en) Image processing device
JPH04256056A (en) Computer system
JPH02188856A (en) Memory access circuit
JPS63298466A (en) Data transfer device
JPH05233028A (en) Data exchanging method for programmable controller
JPH07248965A (en) Controller for image forming device
JPS6297047A (en) Input and output controller