JPS60211559A - Common memory control system - Google Patents

Common memory control system

Info

Publication number
JPS60211559A
JPS60211559A JP6866784A JP6866784A JPS60211559A JP S60211559 A JPS60211559 A JP S60211559A JP 6866784 A JP6866784 A JP 6866784A JP 6866784 A JP6866784 A JP 6866784A JP S60211559 A JPS60211559 A JP S60211559A
Authority
JP
Japan
Prior art keywords
data
memory
transfer
section
computer
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
JP6866784A
Other languages
Japanese (ja)
Inventor
Akihiro Sugita
杉田 明広
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP6866784A priority Critical patent/JPS60211559A/en
Publication of JPS60211559A publication Critical patent/JPS60211559A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus

Abstract

PURPOSE:To use more efficiently a memory by adding a specific code before and after a data to be changed to prevent competition when the memory is used in common asynchronously and a computer revises the content of the memory. CONSTITUTION:When the compter rewrites the data of the memory MEM, the specific code (SKIP and END) is added before and after the data to be modified and the result is transmitted to a data bus so as to revise the content of the memory. When the specific code SKIP is detected by a decoder section 13, it is transferred to a transfer control section 14, which stops the transfer of data. When the revision of the memory is finished, the decoder section 13 detects the specific code END, gives it to the control section 14, which restarts the data transfer. In this case, an address signal outputted by an address counter section 16 is not affected by the stop of data transfer. Further, the computer can revise optionally the content of memory as required. Thus, the competition of the use of the memory is prevented and the memory is used more efficiently.

Description

【発明の詳細な説明】 発明の属する技術分野 本発明は、コンピュータとデータ転送回路(DMA等)
が共通メモリを非同期で使用する場合のデータアクセス
の競合を制御するための共通メモリ制御方式に関する。
[Detailed Description of the Invention] Technical field to which the invention pertains The present invention relates to a computer and a data transfer circuit (DMA etc.)
This invention relates to a common memory control method for controlling data access conflicts when a common memory is used asynchronously.

従来技術 従来、この種共通メモリを使用する場合は、メモリへの
競合を防11−するために、一方の装置がメモリ使用中
は、他方のメモリアクセスを待たせるように制御するに
過ぎない。しかし、1.6の従来方式では、データ転送
回路が例えばCR7画面のリフレッシュのように定期的
なデータ転送を心霊としている場^には、メモリアクセ
スの待合せによって、リフレッシュのタイミングか狂っ
てしまうという欠点がある。また、データ転送側で、外
部装置の処理能力等の都合でデータ転送を見合せている
WAIT状態のときにもコンピュータかメモリを使用す
ることができないという不都合もある。
BACKGROUND ART Conventionally, when using this type of common memory, in order to prevent contention for the memory, while one device is using the memory, the other device is simply controlled to wait for the other device to access the memory. However, in the conventional method of 1.6, if the data transfer circuit is designed to transfer data periodically, such as when refreshing a CR7 screen, the refresh timing will be disrupted due to waiting for memory access. There are drawbacks. Furthermore, on the data transfer side, there is also the inconvenience that the computer or memory cannot be used even during a WAIT state in which data transfer is suspended due to the processing capacity of an external device.

発明の[1的 本発明の目的は、」−述の従来の欠点を解決し、メモリ
を非同期で共通使用する場合に、それぞれのタイミング
を狂わせることなくメモリ使用の競合を防止し、より効
率的なメモリの使用を実現することにある。
[1] An object of the present invention is to solve the above-mentioned conventional drawbacks, and to prevent conflicts in memory use without disrupting each timing when memory is used in common asynchronously, thereby making it more efficient. The goal is to realize efficient memory usage.

発明の構成 本発明の共通メモリ制御方式は、コンピュータに接続さ
れたメモリに格納されたデータを前記コンピュータとは
非同期で外部へ転送する転送制御?粥を備えた共通メモ
リ制御方式において、前記コンピュータは変更中のデー
タの前後に特殊コードを伺加してデータバス上に送出す
るようにし、上記データバス上のデータを解読し前記特
殊コードを検出するメツセージデコーダ部を設けて、前
記転送制御部は」−記メッセージデコーダ部の出力信号
によってデータ転送動作を停止または再開することを特
徴とする。
Composition of the Invention The common memory control method of the present invention is a transfer control method that transfers data stored in a memory connected to a computer to the outside asynchronously with the computer. In the common memory control system with porridge, the computer adds a special code before and after the data being changed and sends it on the data bus, and decodes the data on the data bus to detect the special code. The data transfer control section is characterized in that the transfer control section stops or restarts the data transfer operation according to an output signal of the message decoder section.

発明の実施例 次に、本発明について、図面を参照して詳細に説明する
Embodiments of the Invention Next, the present invention will be described in detail with reference to the drawings.

i1図は、本発明の一実施例を示すブロック図である。Figure i1 is a block diagram showing one embodiment of the present invention.

すなわち、データバスに接続されたメモリHEMと、該
メモリのデータをDMA転送する転送制御部14と、デ
ータバス上のメツセージを解読し特殊コード(SK I
PおよびENロコード)を検出すると該情報を示す信号
を転送制御部I4に送出してその動作を制御するメツセ
ージデコーダ部11とから構成される。転送制御部14
は、メツセージを外部装置へ出力するためのバッファ部
15と、メモリMENから転送するアドレスを決定する
アドレスカウンタ部16等のハードウェアロジックによ
って構成され、通常はメモリMEHの読出しアドレスを
順次カランI・アップしてデータを取出し、4777部
15から外部装置に出力している。
That is, a memory HEM connected to a data bus, a transfer control unit 14 that transfers data in the memory by DMA, and a special code (SKI) that decodes messages on the data bus.
The message decoder section 11 sends a signal indicating the information to the transfer control section I4 to control its operation when it detects the P and EN code. Transfer control unit 14
consists of hardware logic such as a buffer section 15 for outputting messages to an external device and an address counter section 16 for determining the address to be transferred from the memory MEH. It uploads the data, takes out the data, and outputs it from the 4777 section 15 to an external device.

メツセージデコーダ部11は、データバス」二のディジ
タルデータ101を−Illf保持するためのレジスタ
部12と、レジスタ部12の出力を解読し、特殊コード
を検出すると、その情報を転送制御部14に送出するデ
コーダ部13AJのハードウェアロジックから構成され
ている。
The message decoder section 11 decodes the register section 12 for holding the digital data 101 on the data bus "2" and the output of the register section 12, and upon detecting a special code, sends the information to the transfer control section 14. It consists of hardware logic of a decoder section 13AJ.

前記転送制す1部14は1通常の転送動作中に、メツセ
ージデコーダ部11からSKIP信号−を受信すると、
4777部15から外部へのデータ転送を停+1−する
。しかしアドレスカウンタFiR18は、通常通りカウ
ントアツプ動作を継続する。次に、メツセージデコーダ
部11からEND信号を受信すると、通常の転送動作を
再開する。このとき、アドレスカウンタ部I6の1イ」
力するアドレス信号は、データ転送が中11−されなか
った場合と同じであるから、データ転送の中止によって
転送データのタイミングか狂うことはない。
When the transfer control section 14 receives a SKIP signal from the message decoder section 11 during normal transfer operation,
The data transfer from the 4777 unit 15 to the outside is stopped +1-. However, the address counter FiR18 continues its count-up operation as usual. Next, upon receiving the END signal from the message decoder section 11, the normal transfer operation is resumed. At this time, address counter section I6 1'
Since the input address signal is the same as if the data transfer had not been carried out, the timing of the transferred data will not be disrupted by stopping the data transfer.

次に木実施例の動作について説明する。通常の転送動作
については前述した通りであるが、コンピュータかメモ
リHEMのデータを書変えるときは、第2図に示すよう
に、変更データの前後に特殊コード(SKIPとEND
 )を付加してデータバス上に送出し、メモリの内容を
更新する。上述の特殊コード5KIPかデコーダ部13
によって検出されると該情報が転送制御部14に送出さ
れ、転送制御部14はデータの転送を停止にする。従っ
て、変更中の不1〕データか外部へ送出されることはな
い。しかし、アドレスカウンタ部16は、カウントアツ
プ動作を継続している。そして、メモリの更新が完了す
るとデコーダ部13が特殊コードENDを検出し、その
情報を転送制御部14に送り、転送制御j?R14は転
送動作を11110Hする。この場合、アIζ1/スカ
ウンタ部16の出力するアドレスイカ1弓はデータ転送
中11−によって何ら影響ごれていないから、転送デー
タのタイミングが狛ねないことはTi1i述した通りで
ある。従って、例えば、画面のリフレッシュデータは対
応する画面位置に表示されることになる。
Next, the operation of the tree embodiment will be explained. The normal transfer operation is as described above, but when rewriting data in the computer or memory HEM, special codes (SKIP and END) are added before and after the changed data, as shown in Figure 2.
) and sends it onto the data bus to update the memory contents. Special code 5KIP or decoder section 13 mentioned above
When detected, the information is sent to the transfer control unit 14, and the transfer control unit 14 stops the data transfer. Therefore, the data being changed is not sent to the outside. However, the address counter section 16 continues the count-up operation. Then, when the memory update is completed, the decoder unit 13 detects the special code END, sends the information to the transfer control unit 14, and transfers control j? R14 performs a transfer operation of 11110H. In this case, since the address squid 1 output from the counter unit 16 is not affected by the data transfer 11-, the timing of the transferred data is not compromised, as described in Ti1i. Therefore, for example, screen refresh data will be displayed at the corresponding screen position.

一方コンピュータ側では、転送制御部14がメモリME
Mを使用して転送動作中であるか査かに拘らず、必要な
ときに任意にメモリの内容を更新することが可能で、よ
り効率的なメモリ使用ができる。
On the other hand, on the computer side, the transfer control unit 14
By using M, the contents of the memory can be arbitrarily updated when necessary, regardless of whether the transfer operation is in progress or not, allowing more efficient memory use.

発明の効果 以上のように、本発明においては、コンピータがメモリ
の内容を更新する際に、変更データの前後に特殊コード
を伺加するようにし、転送制御部は、上記特殊コートの
検出によってデータ転送の中11−およびlIf聞を行
ない、かつ、転送中11−巾も転送制御部内のアドレス
カウンタ部は通常通りカウントアツプを継続するように
構成したから、変更中の不良データを外部へ転送するこ
とを防止できるという効果がある。また、転送再開時に
転送データのタイミングが狂うことがない。さらに、デ
ータ転送中にコンピュータがメモリにアクセスすること
を禁1卜したり、コンピュータによるメモリ更新時に転
送制御部からのメモリアクセスを禁11−することがな
く、より効率的なメモリ使用が可1七となる。
Effects of the Invention As described above, in the present invention, when the computer updates the contents of the memory, a special code is added before and after the changed data, and the transfer control unit updates the data by detecting the special code. Since the address counter section in the transfer control section is configured to continue counting up as usual during the 11- and lIf times during the transfer, and during the 11-time period during the transfer, the defective data being changed can be transferred to the outside. This has the effect of preventing this. Further, the timing of the transferred data will not be out of order when the transfer is restarted. Furthermore, it does not prohibit the computer from accessing the memory during data transfer, or prohibits the transfer control unit from accessing the memory when the computer updates the memory, allowing for more efficient memory use. It becomes seven.

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

第1図は本発明の一実施例を示すブロック図、第2図は
上記実施例における変更データおよび特殊コードの挿入
例を示す図である。 図にむ゛て・11”j ) −t −’:;デ1−ダ部
・12゛ レレジスタ部、13:デコーダ部、14:転
送制御部、+5:/<ツファ部、16:アドレスカウン
タ部、101:ディジタルデータ、MEN :メモリ。 出願人 日本電気株式会社 代理人 弁理士 住田俊宗 第1図 第2L
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a diagram showing an example of insertion of change data and special codes in the above embodiment. Referring to the figure, 11"j) -t -':; De-1-der section, 12-register section, 13: Decoder section, 14: Transfer control section, +5: /< Transfer section, 16: Address counter section , 101: Digital data, MEN: Memory. Applicant: NEC Corporation Agent Patent attorney: Tosumune Sumita Figure 1, Figure 2L

Claims (1)

【特許請求の範囲】[Claims] コンピュータに接続されたメモリに格納されたデータを
前記コンピュータとは非同期で外部へ転送する転送制御
部を備えた共通メモリ制御方式において、前記コンピュ
ータは変更中のデータの前後に特殊コードを付加してデ
ータバス上に送出するようにし、上記データバス上のデ
ータを解読し前記特殊コードを検出するメツセージデコ
ーダ部を設けて、前記転送制御部は上記メツセージデコ
ーダ部の出力信号によってデータ転送動作を停止または
再開することを特徴とする共通メモリ制御方式。
In a common memory control system that includes a transfer control unit that transfers data stored in a memory connected to a computer to the outside asynchronously with the computer, the computer adds a special code before and after the data being changed. A message decoder section is provided to decode the data on the data bus and detect the special code, and the transfer control section stops or stops the data transfer operation according to the output signal of the message decoder section. A common memory control method featuring restart.
JP6866784A 1984-04-06 1984-04-06 Common memory control system Pending JPS60211559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6866784A JPS60211559A (en) 1984-04-06 1984-04-06 Common memory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6866784A JPS60211559A (en) 1984-04-06 1984-04-06 Common memory control system

Publications (1)

Publication Number Publication Date
JPS60211559A true JPS60211559A (en) 1985-10-23

Family

ID=13380290

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6866784A Pending JPS60211559A (en) 1984-04-06 1984-04-06 Common memory control system

Country Status (1)

Country Link
JP (1) JPS60211559A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2349717A (en) * 1999-05-04 2000-11-08 At & T Lab Cambridge Ltd Low latency network
US8073994B2 (en) 2000-05-03 2011-12-06 At&T Laboratories Data transfer, synchronising applications, and low latency networks

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2349717A (en) * 1999-05-04 2000-11-08 At & T Lab Cambridge Ltd Low latency network
WO2000067131A2 (en) * 1999-05-04 2000-11-09 At & T Laboratories-Cambridge Limited Data transfer, synchronising applications, and low latency networks
WO2000067131A3 (en) * 1999-05-04 2001-09-13 At & T Lab Cambridge Ltd Data transfer, synchronising applications, and low latency networks
US8346971B2 (en) 1999-05-04 2013-01-01 At&T Intellectual Property I, Lp Data transfer, synchronising applications, and low latency networks
US8423675B2 (en) 1999-05-04 2013-04-16 At&T Intellectual Property I, L.P. Data transfer, synchronising applications, and low latency networks
US8843655B2 (en) 1999-05-04 2014-09-23 At&T Investments Uk Llc Data transfer, synchronising applications, and low latency networks
US9769274B2 (en) 1999-05-04 2017-09-19 At&T Investments Uk Llc Data transfer, synchronising applications, and low latency networks
US8073994B2 (en) 2000-05-03 2011-12-06 At&T Laboratories Data transfer, synchronising applications, and low latency networks

Similar Documents

Publication Publication Date Title
KR950004453B1 (en) Register circuit having the function of inter-register copying
JPS60211559A (en) Common memory control system
JPH04323755A (en) Dma device
JPS62256298A (en) Refresh device for dynamic random access memory
JP2600376B2 (en) Memory controller
JPS63191397A (en) Information processor
JPH09311812A (en) Microcomputer
JPS6055459A (en) Control method of block data transfer and storage
JP2679440B2 (en) Information processing device
JPS5837098Y2 (en) display control device
JPS6045866A (en) Interruption control system
JPS5825291B2 (en) Direct memory access sofa
JPH10224410A (en) Data transfer system
JPS6222167A (en) Time-out detector
JPS63191398A (en) Information processor
JPH03181092A (en) Refresh control circuit
JPH05274220A (en) Memory bank busy control system
JPH0474745B2 (en)
JPS61250766A (en) Memory access control system
JPS62222340A (en) Dual port memory
JPH11176155A (en) Dram-refreshing circuit
JPH0831895B2 (en) Interrupt request type switching request signal monitoring method
JPH06242964A (en) Interruption processing system and microcomputer
JPS59167899A (en) Refresh method of dynamic random access memory
JPH05241702A (en) Parallel interface circuit