JPS635458A - Acknowledgment signal generating device - Google Patents

Acknowledgment signal generating device

Info

Publication number
JPS635458A
JPS635458A JP15030486A JP15030486A JPS635458A JP S635458 A JPS635458 A JP S635458A JP 15030486 A JP15030486 A JP 15030486A JP 15030486 A JP15030486 A JP 15030486A JP S635458 A JPS635458 A JP S635458A
Authority
JP
Japan
Prior art keywords
clock
command
register
signal
system clock
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
JP15030486A
Other languages
Japanese (ja)
Inventor
Tetsuya Wada
哲也 和田
Kenzo Ono
大野 健造
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP15030486A priority Critical patent/JPS635458A/en
Publication of JPS635458A publication Critical patent/JPS635458A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To guarantee an action of changing over a clock by generating an acknowledgment signal that does not depend on a system clock with respect to a command about the changeover of a clock. CONSTITUTION:If a command to request for the changeover of an input clock to be selected is transmitted from a CPU 1 to an LSI 10, a control part 3 transmits a register selecting signal and a write signal to a command register 4, and outputs an acknowledgment signal simultaneously. The register 4 is actuated by the write signal, and writes the command, and transmits a changeover control signal to a clock selection part 2. The selection part 2 selects, by the changeover control signal, one of input clocks. In such a case, the acknowledgment signal is continuously outputted during a period when the register 4 is writable.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、複数の入力クロックから1つを選択し、その
選択されたクロックで動作するLSIにおいて、CPT
Jから上記り、SI内部のレジスタへのリード、ライト
コマンドに対する、アクノリッジ信号生成装置に関する
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention selects one of a plurality of input clocks and uses the CPT in an LSI that operates with the selected clock.
J. above relates to an acknowledge signal generation device for read and write commands to registers inside an SI.

従来の技術 第3図は従来のアクノリッジ信号生成装置のブロック構
成図を示すものであり、IQは複数の入力クロックを有
するLSIである。1はLSlloに接続されたCPU
である。2は複数の入力クロックのうちの1つを選択す
るクロック選択部である。3はCPU1から入力された
コマンドに従ってLS110内部のレジスタを制御し、
上記コマンドに対するアクノリッジ信号を生成するCP
Uコマンド制御部である。4はコマンドレジスタである
。5はコマンドレジスタ以外の同期レジスタである。
BACKGROUND ART FIG. 3 shows a block diagram of a conventional acknowledge signal generation device, in which IQ is an LSI having a plurality of input clocks. 1 is the CPU connected to LSllo
It is. 2 is a clock selection unit that selects one of a plurality of input clocks. 3 controls the registers inside the LS110 according to commands input from the CPU1,
CP that generates an acknowledge signal for the above command
This is a U command control unit. 4 is a command register. 5 is a synchronization register other than the command register.

以上のように構成された従来のアクノリッジ信号生成装
置では、CPU1からLSI10へ入力されたコマンド
に基づき、CPUコマンド制御部3が1選択すべきレジ
スタを指定するレジスタ選択信号を出力し、コマンドレ
ジスタ4あるいは同期レジスタ6のリード、ライトはシ
ステムクロックに同期して行われる。同時に、CPU1
に対して、CPUコマンド制御部3から、システムクロ
ックに同期してアクノリッジ信号が返される。なおシス
テムクロックは、コマンドレジスタ4の状態に基づいて
クロック選択部2で、複数の入力クロックの中から選択
される。
In the conventional acknowledge signal generation device configured as described above, based on the command input from the CPU 1 to the LSI 10, the CPU command control unit 3 outputs a register selection signal specifying the register to be selected. Alternatively, reading and writing of the synchronization register 6 is performed in synchronization with the system clock. At the same time, CPU1
In response, an acknowledge signal is returned from the CPU command control unit 3 in synchronization with the system clock. Note that the system clock is selected from among a plurality of input clocks by the clock selection section 2 based on the state of the command register 4.

上記のような構成では、コマンドレジスタ4がシステム
クロックに同期して動作するため、選択すべき入力クロ
ックを切換える瞬間におけるシステムクロックのパルス
幅が狭くなる場合があり、コノパルス幅がコマンドレジ
スタ4の書込みに必要なパルス幅以下になれば、コマン
ドレジスタ4の状態は変化せず、クロックの切換えが不
成功となる。−方、コマンドレジスタ4の書込みに対す
るアクノリッジ信号は、CPUコマンド制御部3におい
てシステムクロックに同期して生成されるので、コマン
ドレジスタ4の書込みに失敗してもアクノリッジが返さ
れ、クロックの切換えが実行されないという問題点を有
していた。
In the above configuration, since the command register 4 operates in synchronization with the system clock, the pulse width of the system clock at the moment when the input clock to be selected is switched may become narrower, and the cono pulse width may become narrower than the writing of the command register 4. If the pulse width is less than the required pulse width, the state of the command register 4 will not change and the clock switching will be unsuccessful. - On the other hand, an acknowledge signal for writing to the command register 4 is generated in the CPU command control unit 3 in synchronization with the system clock, so even if writing to the command register 4 fails, an acknowledge signal is returned and clock switching is executed. The problem was that it was not possible.

第4図は上記問題点を説明する説明図である。FIG. 4 is an explanatory diagram illustrating the above problem.

今、CPU1からLSlloへ、同図&〜Cのような制
御信号を入力し、入力クロックの選択を同図dのCK1
から同図eのCK2へ切換えたいとする。このとき同図
&のデータは、コマンドレジスタ4の選択を指示するR
GSL(同図b)信号とレジスタ4への書込みを指示す
るWT(同図C)信号の論理レベルが共にLOWになっ
た(時刻t1)後、システムクロックの立上り(時刻t
2 )によって、コマンドレジスタ4へ書込まれていく
。コマンドレジスタ4は、入力データに基づいてクロッ
ク切換制御を行い、システムクロックが時刻t。
Now, input the control signal shown in &~C in the figure from CPU1 to LSllo, and select the input clock by CK1 in d in the figure.
Let us assume that we want to switch from CK2 to CK2 in e of the same figure. At this time, the data marked & in the figure is R, which instructs the selection of the command register 4.
After the logic levels of the GSL (b in the figure) signal and the WT (C in the figure) signal that instructs writing to register 4 both become LOW (time t1), the rising edge of the system clock (time t
2) is written to the command register 4. The command register 4 performs clock switching control based on input data so that the system clock is at time t.

においてCK2へ切換わる。ところがこの時、システム
クロックは同図fに示すように時刻t2で立上し、時刻
t5には立下がるので、クロック幅が狭くなり、コマン
ドレジスタへの入力データの書込みが不成功となる。よ
って、入力クロックの切換えも不成功となり、時刻t4
には再びOKlがシステムクロックとなる。同図ではシ
ステムクロックを示している。−方、アクノリッジ信号
は同図gのように、システムクロックに同期して返され
るので、時刻t、の人CKの立下りによってWTがHI
GHレベルになり(時刻t5)、クロックの切換えは実
施できなくなってしまう。
Switches to CK2 at . However, at this time, the system clock rises at time t2 and falls at time t5, as shown in FIG. Therefore, the switching of the input clock is also unsuccessful, and the time t4
OKl becomes the system clock again. The figure shows the system clock. - On the other hand, the acknowledge signal is returned in synchronization with the system clock as shown in g in the same figure, so the WT goes HI at the falling edge of human CK at time t.
The signal becomes GH level (time t5), and clock switching becomes impossible.

発明が解決しようとする問題点 コマンドレジスタがシステムクロックに同期して動作す
るため、選択すべき入力クロックを切換える瞬間におけ
るシステムクロックのパルス幅が狭くなる場合があり、
このパルス幅がコマンドレジスタの書込みに必要なパル
ス幅以下になればコマンドレジスタの状態は変化せず、
クロックの切換えが不成功となる。
Problems to be Solved by the Invention Since the command register operates in synchronization with the system clock, the pulse width of the system clock may become narrow at the moment when the input clock to be selected is switched.
If this pulse width becomes less than the pulse width required to write to the command register, the state of the command register will not change.
Clock switching is unsuccessful.

問題点を解決するための手段 本発明は、上記の問題点を解決するために、コマンドレ
ジスタへのデータの書込みを保証する制御部を備え、コ
マンドレジスタの読出し、書込みに関しては、システム
クロックに依存せずにアクノリッジ信号を出力し、コマ
ンドレジスタ以外のレジスタの読出し、書込みに関して
は、システムクロックに同期してアクノリッジ信号を出
力するアクノリッジ信号生成装置である。
Means for Solving the Problems In order to solve the above problems, the present invention includes a control unit that guarantees writing of data to the command register, and relies on the system clock for reading and writing to the command register. This is an acknowledge signal generation device that outputs an acknowledge signal in synchronization with the system clock for reading and writing of registers other than the command register.

作用 本発明は前記した構成によし、LSIの入力クロックを
切換えるコマンドがCPUから与えられた場合、上記コ
マンドは、CPUコマンド制御部から送られる制御信号
によってコマンドレジスタに書込まれ、入力クロックが
切換わる。同時に上記コマンドに対するアクノリッジ信
号がCPUコマンド制御部から、システムクロックには
依存せずに出力され、入力クロックの切換えが終了する
According to the above-described configuration, when the CPU gives a command to switch the input clock of the LSI, the above command is written to the command register by a control signal sent from the CPU command control section, and the input clock is switched off. Change. At the same time, an acknowledge signal for the above command is output from the CPU command control section without depending on the system clock, and the switching of the input clock is completed.

実施例    。Example .

第1図は本発明の一実施例におけるアクノリッジ信号生
成装置のブロック構成図を示すものである。なお第3図
と共通する要素には、同一番号を付す。
FIG. 1 shows a block diagram of an acknowledge signal generation device in an embodiment of the present invention. Note that elements common to those in FIG. 3 are given the same numbers.

本実施例のアクノリッジ信号生成装置について、以下そ
の動作を説明する。第1図において、CPU1から選択
すべき入力クロックの切換えを要求するコマンドがLS
lloに送られると、LS110内部のCPUコマンド
制御部3は、上記コマントヲコマンドレジスタ4に書込
むためにレジスタ選択信号とライト信号をコマンドレジ
スタ4へ送ると同時に、アクノリッジ信号の出力を開始
する。コマンドレジスタ4は上記ライト信号によって動
作し、上記コマンドを書込み、クロック選択部2へ切換
制御信号を送る。クロック選択部2はその切換制御信号
によって入力クロックの1つを選択する。このときアク
ノリッジ信号は、コマンドレジスタ4が書込み可能であ
る期間中出力される。なお、同期レジスタ6へのアクセ
スに関しては、従来通りシステムクロックに同期してア
クノリッジ信号を返す。
The operation of the acknowledge signal generation device of this embodiment will be described below. In FIG. 1, the command requesting switching of the input clock to be selected from the CPU 1 is LS.
When the command is sent to the command register 4, the CPU command control unit 3 inside the LS 110 sends a register selection signal and a write signal to the command register 4 in order to write the command to the command register 4, and at the same time starts outputting an acknowledge signal. The command register 4 is operated by the write signal, writes the command, and sends a switching control signal to the clock selection section 2. The clock selection section 2 selects one of the input clocks according to the switching control signal. At this time, the acknowledge signal is output while the command register 4 is writable. Regarding access to the synchronization register 6, an acknowledge signal is returned in synchronization with the system clock as before.

第2図はクロック切換時における本実施例の動作説明図
である。第2図において、レジスタ選択信号RGSL(
同図b)と書込信号WT(同図C)が共にLOWレベル
の期間が、コマンドレジスタ4の書込みが可能である。
FIG. 2 is an explanatory diagram of the operation of this embodiment at the time of clock switching. In FIG. 2, the register selection signal RGSL (
Writing to the command register 4 is possible during a period when both the write signal WT (b) in the figure and the write signal WT (c) in the figure are at LOW level.

クロック切換コマンドは時刻T、のWTの立下シによっ
て、コマンドレジスタに書込まれ5時刻T2に選択され
るべき入力クロックが、CK1(同図d)からCK2(
同図e)に切換わる。よってシステムクロックSCKは
、同図f′に示すようになる。−方アクツリッジ信号A
CKは、RGSLとWTとの論理によし、同図g′のよ
うに時刻T1から時刻T、4で出力される。
The clock switching command is written to the command register by the falling edge of WT at time T, and the input clock to be selected at time T2 changes from CK1 (d in the figure) to CK2 (
The display switches to e) in the same figure. Therefore, the system clock SCK becomes as shown in f' in the figure. - direction actu ridge signal A
CK is output from time T1 to time T4, as shown in g' in the figure, according to the logic between RGSL and WT.

発明の詳細 な説明したように、本発明によれば、クロック切換えに
関するコマンドに対しては、システムクロックには依存
しないアクノリッジ信号を生成するため・クロックの切
換え動作を保証することができ、その実用的効果は大き
い。
As described in detail, according to the present invention, in response to a command related to clock switching, an acknowledge signal that does not depend on the system clock is generated, and clock switching operation can be guaranteed. The effect is significant.

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

第1図は本発明における一実施例のアクノリッジ信号生
成装置のブロック構成図、第2図は同実施例の動作説明
図、第3図は従来のアクノリッジ信号生成装置のブロッ
ク構成図、第4図は同従来例の動作説明図である。 1・・・・・・CPU、2・・・・・・クロック選択部
、3・・・・・・CPUコマンド制御L 4・・・・・
・コマンドレジスタ、6・・・・・・同期レジスタ、1
0・・・・・・LSI0代理人の氏名 弁理士 中 尾
 敏 男 ほか1名\r −−−−−−−−−−−一−
−−−−−”’−”−Tに!
FIG. 1 is a block configuration diagram of an acknowledge signal generation device according to an embodiment of the present invention, FIG. 2 is an explanatory diagram of the operation of the same embodiment, FIG. 3 is a block configuration diagram of a conventional acknowledge signal generation device, and FIG. 4 is an explanatory diagram of the operation of the conventional example. 1...CPU, 2...Clock selection section, 3...CPU command control L 4...
・Command register, 6...Synchronization register, 1
0... Name of LSI0 agent Patent attorney Toshio Nakao and 1 other person \r −−−−−−−−−−1−
−−−−−”'−”−T!

Claims (1)

【特許請求の範囲】[Claims] 外部から入力される複数のクロックの1つを選択し、選
択されたシステムクロックに同期して動作する同期レジ
スタを有し、CPUから入力されるクロック切換えに関
するコマンドを保持するコマンドレジスタと、前記コマ
ンドレジスタの出力により入力クロックの切換えを行う
クロック選択部と、前記コマンドレジスタの動作を制御
する制御部を備え、CPUから前記同期レジスタへの読
出し、書込みのコマンドに関しては、システムクロック
に同期してアクノリッジ信号を出力し、前記コマンドレ
ジスタへの読出し、書込みのコマンドに関しては、シス
テムクロックに依存せずにアクノリッジ信号を出力する
アクノリッジ信号生成装置。
A command register that selects one of a plurality of externally input clocks and operates in synchronization with the selected system clock, and holds a command related to clock switching input from the CPU; It includes a clock selection section that switches the input clock based on the output of the register, and a control section that controls the operation of the command register, and acknowledges read and write commands from the CPU to the synchronization register in synchronization with the system clock. An acknowledge signal generation device that outputs a signal and outputs an acknowledge signal without depending on a system clock for read and write commands to the command register.
JP15030486A 1986-06-26 1986-06-26 Acknowledgment signal generating device Pending JPS635458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15030486A JPS635458A (en) 1986-06-26 1986-06-26 Acknowledgment signal generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15030486A JPS635458A (en) 1986-06-26 1986-06-26 Acknowledgment signal generating device

Publications (1)

Publication Number Publication Date
JPS635458A true JPS635458A (en) 1988-01-11

Family

ID=15494080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15030486A Pending JPS635458A (en) 1986-06-26 1986-06-26 Acknowledgment signal generating device

Country Status (1)

Country Link
JP (1) JPS635458A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59202531A (en) * 1983-05-02 1984-11-16 Hitachi Ltd Unit for processing information capable of changing machine cycle time
JPS6198426A (en) * 1984-10-19 1986-05-16 Nec Corp Microcomputer containing clock frequency switching function

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59202531A (en) * 1983-05-02 1984-11-16 Hitachi Ltd Unit for processing information capable of changing machine cycle time
JPS6198426A (en) * 1984-10-19 1986-05-16 Nec Corp Microcomputer containing clock frequency switching function

Similar Documents

Publication Publication Date Title
KR860009351A (en) I / O control system
JPS635458A (en) Acknowledgment signal generating device
JP2665836B2 (en) Liquid crystal display controller
JPS61177564A (en) Shared storage device
JPH02181886A (en) Straight line plotting controller
JPH0547657Y2 (en)
JPH09146662A (en) Suspend/resume method and computer system
JP2968636B2 (en) Microcomputer
JP3539823B2 (en) Interrupt control circuit
JPH01112449A (en) Speed converting memory device
JPS61252585A (en) Screen memory controller
SU1425607A1 (en) Program control apparatus
JP2956077B2 (en) Control memory circuit
JPS6157092A (en) Magnetic bubble cassette device
JPH02285454A (en) Interface controller for processor
JPS6349811B2 (en)
JPS63143590A (en) Image processing circuit controller
JPS63105513A (en) Method and apparatus for changing synchronizing clock
JPH02231644A (en) Read control circuit and lsi for register
JPS58224382A (en) Image memory access circuit for crt display
JPH01169691A (en) Ic card
JPS63161493A (en) Display controller
JPS58101358A (en) Memory controlling system
JPS59128621A (en) Controlling device of dma
JPH023853A (en) Interface method for cpu