JPS62250580A - Memory controller - Google Patents

Memory controller

Info

Publication number
JPS62250580A
JPS62250580A JP9367686A JP9367686A JPS62250580A JP S62250580 A JPS62250580 A JP S62250580A JP 9367686 A JP9367686 A JP 9367686A JP 9367686 A JP9367686 A JP 9367686A JP S62250580 A JPS62250580 A JP S62250580A
Authority
JP
Japan
Prior art keywords
input
signal
clock
output
data
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
JP9367686A
Other languages
Japanese (ja)
Inventor
Fumio Aono
青野 文雄
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
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 filed Critical NEC Corp
Priority to JP9367686A priority Critical patent/JPS62250580A/en
Publication of JPS62250580A publication Critical patent/JPS62250580A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily change a clock period ratio by forming the timing of data transfer start and the timing of stop in response to a clock recognition signal synchronously with the clock of an input/output device. CONSTITUTION:A clock distributer 1 supplies an input/output device clock recognition signal (c) synchronously with a clock signal (b) of an input/output device to a data sending timing signal forming section 3, the signal forming section 3 uses the signal to form respectively a data sending start timing signal (d) and a data sending stop timing signal (e), which are fed to input/output interface sections 4, 5 respectively. In receiving the signal (d) by the sections 4, 5, data is set to each output register by the signal and the set data is sent respectively to the input/output devices 6, 7 synchronously with the clock signal (b). In receiving the signal (e), the input/output interface sections 4, 5 reset the output register to stop the data transmission (f, g) to the input/output devices 6, 7.

Description

【発明の詳細な説明】 技術分野 本発明はメモリ制御装置に関し、特に入出力装置へのデ
ータ転送の同期制御を行うメモリ制御装置に関する。
TECHNICAL FIELD The present invention relates to a memory control device, and more particularly to a memory control device that performs synchronous control of data transfer to input/output devices.

従来技術 従来、この種のメモリ制御装置では、各インタフェース
部を介して入出力装置との間でデータ転送を行っている
が、メモリ制御装置のクロックよりも入出力装置のクロ
ックの方が遅いので、各インタフェース部でこのデータ
転送のタイミングを夫々制御して行っていた。このメモ
リ制a装置と入出力装置とのりOツク周期比は固定され
ていた。
Prior Art Conventionally, in this type of memory control device, data is transferred between input and output devices via each interface section, but since the clock of the input and output device is slower than the clock of the memory control device, The timing of this data transfer was controlled by each interface section. The connection cycle ratio between this memory control device and the input/output device was fixed.

データ処理装置においては、その試作評価過程あるいは
低速廉価な素子を使用して構成する場合などで、メモリ
制御装置や演算装置のクロックを遅くする必要性が生ず
るが、この場合にはクロック周期比を変えなければなら
ない。しかし、従来のメモリ制御装置では、各インタフ
ェース部でデータ転送のタイミングを制御していたので
、各インタフェース部でこのクロック周期比を変えるに
は多大の労力と時間とを必要とし、このクロック周期比
を容易に変更するのが難しいという欠点があった。
In data processing devices, it is necessary to slow down the clocks of memory control devices and arithmetic units during the prototype evaluation process or when constructing them using low-speed and inexpensive elements. It has to change. However, in conventional memory control devices, the timing of data transfer is controlled in each interface section, so changing the clock period ratio in each interface section requires a great deal of effort and time. The disadvantage is that it is difficult to change easily.

発明の目的 本発明は上記のような従来のものの欠点を除去すべくな
されたもので、入出力装置との間のデータ転送における
クロック周期比を容易に変えることが出来るメモリ制御
装置を提供することを目的とする。
OBJECTS OF THE INVENTION The present invention has been made to eliminate the drawbacks of the conventional devices as described above, and it is an object of the present invention to provide a memory control device that can easily change the clock cycle ratio in data transfer between input and output devices. With the goal.

及rhoソ」承 本発明によるメモリ制御装置は、入出力装置との間にお
いてデータ転送を行うメモリ制御装置であって、前記入
出力装置のクロックに同期したクロック認識信号に応答
して前記データ転送の開始のタイミングと打切りのタイ
ミングとを作成するタイミング作成手段を有することを
特徴とする。
A memory control device according to the present invention is a memory control device that transfers data between an input/output device, and the data transfer is performed in response to a clock recognition signal synchronized with a clock of the input/output device. The present invention is characterized by having timing generation means for generating a start timing and a termination timing.

実施例 次に本発明の一実施例について図面を参照して説明する
Embodiment Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。図
において、メモリ制御装@2にはデータ送出タイミング
信号作成部3と入出力インタフェース部4.5とが設け
られている。
FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, the memory control device @2 is provided with a data sending timing signal generating section 3 and an input/output interface section 4.5.

第2図、第3図は本発明の一実施例のタイムチャートで
ある。第1図と第2図と第3図とを用いて本発明の一実
施例の動作について説明する。
FIGS. 2 and 3 are time charts of an embodiment of the present invention. The operation of one embodiment of the present invention will be explained using FIG. 1, FIG. 2, and FIG. 3.

クロック分配装置1はメモリ制御装置2にメモリ制御装
置用のクロック信号aを供給し、入出力装置6.7に入
出力装置用のクロック信号すを供給している。また、ク
ロック分配装置1はデータ送出タイミング信号作成部3
に入出力装置用のクロック信号すに同期した入出力装置
クロック認識信号Cを供給し、データ送出タイミング信
号作成部3ではこの信号によりデータ送出開始タイミン
グ信号dとデータ送出打切タイミング信号eとを夫々作
成し、これらの信号d及びeを入出力インタフェース部
4.5に送出する。
The clock distribution device 1 supplies the memory control device 2 with a clock signal a for the memory control device, and supplies the input/output device 6.7 with a clock signal a for the input/output device. The clock distribution device 1 also includes a data transmission timing signal generation section 3.
An input/output device clock recognition signal C synchronized with a clock signal for the input/output device is supplied, and the data transmission timing signal generation section 3 uses this signal to generate a data transmission start timing signal d and a data transmission abort timing signal e, respectively. These signals d and e are sent to the input/output interface section 4.5.

入出力インタフェース部4,5では、データ送出開始タ
イミング信号dが夫々入力されると、この信号により夫
々の出力用レジスタ(図示せず)にデータをセットし、
クロック信号すに同期させてこのセットしたデータを入
出力装置6,7に夫々送出する(f、Q)。又、入出力
インタフェース部4,5はデータ送出打切タイミング信
号eが夫々入力されると、出力用レジスタをリセットし
て、入出力装置6.7へのデータ送出f、0を停止させ
る。
When the data transmission start timing signal d is input to the input/output interface sections 4 and 5, data is set in the respective output registers (not shown) by this signal, and
The set data is sent to the input/output devices 6 and 7, respectively, in synchronization with the clock signal (f, Q). Further, when the input/output interface sections 4 and 5 receive the data transmission abort timing signal e, they reset the output registers and stop the data transmission f and 0 to the input/output device 6.7.

第2図は、メモリ制御装置2のクロック信号aと入出力
装置6.7のクロック信号すとのクロック周期比が3:
1の場合を示したタイムチャートであり、第3図はこの
りOツク周期比が3.5=1の場合を示したタイムチャ
ートである。第3図においては、クロック周期比が3.
5:1であるが、入出力装置6,7へのデータ送出f、
Qが整数倍のクロック周期でしか行えないので、クロッ
ク信号すの周111Tの終端部t2にデータ送出f。
FIG. 2 shows that the clock period ratio between the clock signal a of the memory control device 2 and the clock signal S of the input/output device 6.7 is 3:
1, and FIG. 3 is a time chart showing the case where the O-sock period ratio is 3.5=1. In FIG. 3, the clock period ratio is 3.
5:1, but data transmission f to the input/output devices 6 and 7,
Since Q can only be performed in a clock period that is an integral multiple of the clock period, data is sent to the terminal t2 of the clock signal cycle 111T.

qの打切りを合わせて行っている。We are also discontinuing q.

第4図(a)はカウンタ8を用いたデータ送出タイミン
グ信号作成部3の構成図、第4図(b)はシフトレジス
タ11−1〜11−6を用いたデータ送出タイミング信
号作成部3の構成図であり、ともにクロック周期比が3
:1の場合を示している。第4図(a)において、カウ
ンタ8が入出力装置クロック認識信号Cの入力によりリ
セットされ、アンド回路9.10により一定クロック数
がカウントされることによりデータ送出開始タイミング
信号dとデータ送出打切タイミング信号eとが送出され
る。又、第4図(b)においては、入出力装置りOツク
認識信号Cをシフトレジスタ11−1〜11−6で一定
段数遅らせることによりデータ送出開始タイミング信号
dとデータ送出打切タイミング信号eとが送出される。
FIG. 4(a) is a configuration diagram of the data sending timing signal generating section 3 using the counter 8, and FIG. 4(b) is a block diagram of the data sending timing signal generating section 3 using the shift registers 11-1 to 11-6. This is a configuration diagram, and both have a clock period ratio of 3.
: The case of 1 is shown. In FIG. 4(a), the counter 8 is reset by the input of the input/output device clock recognition signal C, and the AND circuit 9.10 counts a certain number of clocks, thereby generating the data transmission start timing signal d and the data transmission abort timing. A signal e is sent out. In addition, in FIG. 4(b), the data transmission start timing signal d and the data transmission abort timing signal e are obtained by delaying the input/output device output recognition signal C by a certain number of stages in the shift registers 11-1 to 11-6. is sent.

カウンタ8を用いる場合にはカウント数を、シフトレジ
スタ11−1〜11−6を用いる場合にはシフト段数を
夫々セレクタ(図示せず)によって切換えることにより
、データ送出開始タイミング信号dとデータ送出打切タ
イミング信号eとをクロック周期比の変化に応じて作成
することができる。
By switching the count number when using the counter 8 and the number of shift stages when using the shift registers 11-1 to 11-6 using respective selectors (not shown), data sending start timing signal d and data sending abort can be set. The timing signal e can be created according to changes in the clock period ratio.

データ送出開始タイミング信号dとデータ送出打切タイ
ミング信号eとが遅延などの為に1クロツクで入出力イ
ンタフェース部4.5に届かない場合には、1クロツク
前にこれらのタイミング信号を送出するようにすること
によって、入出力インタフェース部4.5からのデータ
送出f、Qを行うことができる。
If the data transmission start timing signal d and the data transmission termination timing signal e do not reach the input/output interface unit 4.5 in one clock due to a delay, etc., these timing signals are sent out one clock earlier. By doing so, data transmission f and Q from the input/output interface unit 4.5 can be performed.

このように、入出力インタフェース部4.5のデータ送
出f、Qをデータ送出開始タイミング信号dとデータ送
出打切タイミング信@eとにより制御することによって
、メモリ制御装置2と入出力装置6.7とのクロック周
期比が変化してもこれに柔軟に対応してデータ転送にお
けるクロック周期比を容易に変えることができ、入出力
装置6゜7のクロック信号すがメモリ制til装置2の
クロック信号aの整数倍でなくともこれに対応してクロ
ック周期比を変えることが可能である。さらに、入出力
装置6.7のデータ受取のサイクルタイムの変化に対し
ても対応することができる。
In this way, by controlling the data sending f and Q of the input/output interface section 4.5 using the data sending start timing signal d and the data sending abort timing signal @e, the memory control device 2 and the input/output device 6.7 Even if the clock cycle ratio between the input and output devices 6 and 7 changes, the clock cycle ratio in data transfer can be easily changed in response to this change, and the clock signal of the input/output device 6゜7 is changed to the clock signal of the memory control device 2. Even if it is not an integral multiple of a, it is possible to change the clock period ratio accordingly. Furthermore, it is possible to cope with changes in the cycle time of data reception by the input/output devices 6.7.

免1立1j 以上説明したように本発明によれば、各インタフェース
部からのデータ転送が入出力装置のクロックに同期した
認識信号に応答したタイミング信号で開始と打切りとの
制御によりなされることによって、入出力装置との間の
データ転送におけるクロック周期比を容易に変えること
ができるメモリ制御¥IIを提供することができるとい
う効果がある。
As explained above, according to the present invention, data transfer from each interface unit is started and terminated by controlling the timing signal in response to the recognition signal synchronized with the clock of the input/output device. , it is possible to provide a memory control system that can easily change the clock cycle ratio in data transfer between input and output devices.

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

第1図は本発明の一実施例を示すブロック図、第2図、
第3図は本発明の一実施例のタイムチャート、第4図(
a)はカウンタを用いた第1図のデータ送出タイミング
信号作成部を示す構成図、第4図(b)はシフトレジス
タを用いた第1図のデータ送出タイミング信号作成部の
構成図である。 主要部分の符号の説明 ・
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG.
FIG. 3 is a time chart of one embodiment of the present invention, and FIG. 4 (
4(a) is a block diagram showing the data sending timing signal generating section of FIG. 1 using a counter, and FIG. 4(b) is a block diagram of the data sending timing signal generating section of FIG. 1 using a shift register. Explanation of symbols of main parts ・

Claims (1)

【特許請求の範囲】[Claims] 入出力装置との間においてデータ転送を行うメモリ制御
装置であつて、前記入出力装置のクロックに同期したク
ロック認識信号に応答して前記データ転送の開始のタイ
ミングと打切りのタイミングとを作成するタイミング作
成手段を有することを特徴とするメモリ制御装置。
A memory control device that transfers data with an input/output device, the timing of creating a start timing and a termination timing of the data transfer in response to a clock recognition signal synchronized with a clock of the input/output device. A memory control device characterized by having a creation means.
JP9367686A 1986-04-23 1986-04-23 Memory controller Pending JPS62250580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9367686A JPS62250580A (en) 1986-04-23 1986-04-23 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9367686A JPS62250580A (en) 1986-04-23 1986-04-23 Memory controller

Publications (1)

Publication Number Publication Date
JPS62250580A true JPS62250580A (en) 1987-10-31

Family

ID=14089008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9367686A Pending JPS62250580A (en) 1986-04-23 1986-04-23 Memory controller

Country Status (1)

Country Link
JP (1) JPS62250580A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5588112A (en) * 1978-12-27 1980-07-03 Hitachi Ltd Information processor
JPS56132625A (en) * 1980-03-21 1981-10-17 Nec Corp Input and output controlling device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5588112A (en) * 1978-12-27 1980-07-03 Hitachi Ltd Information processor
JPS56132625A (en) * 1980-03-21 1981-10-17 Nec Corp Input and output controlling device

Similar Documents

Publication Publication Date Title
US5006979A (en) Phase synchronization system
EP0379772B1 (en) Programmable data transfer timing
JPH1131964A (en) Logic circuit
JPS62250580A (en) Memory controller
US5969550A (en) Method and apparatus for mutual synchronization of ASIC devices
JPS63122311A (en) Polyphase clock signal generating circuit
JPH05336091A (en) Bus communication system
JPH1115783A (en) Synchronous circuit
JPH07117938B2 (en) Synchronization method of processing between computers
JPS58166424A (en) Timing control system for interface part
JPH05129936A (en) Programmable counter
JPH04111558A (en) Serial input/output device
JPH01204169A (en) Bus transfer control system
JPS6247787A (en) Image processor
JPH08223247A (en) Signal processor
JPS61271563A (en) Information processing device
JP2000092034A (en) Counter interface
JPS6010946A (en) Data transfer system
JPH10242808A (en) Semiconductor integrated circuit device
JPH05136690A (en) Clock generating circuit
JPH01209832A (en) Data transmission system
JPH04276936A (en) Frame synchronizing circuit
JPS6285360A (en) Serial data input/output circuit
JPS62169252A (en) Data transfer system
JP2002330121A (en) Control unit and network servo control method