JP2023184327A - Computer - Google Patents

Computer Download PDF

Info

Publication number
JP2023184327A
JP2023184327A JP2022098401A JP2022098401A JP2023184327A JP 2023184327 A JP2023184327 A JP 2023184327A JP 2022098401 A JP2022098401 A JP 2022098401A JP 2022098401 A JP2022098401 A JP 2022098401A JP 2023184327 A JP2023184327 A JP 2023184327A
Authority
JP
Japan
Prior art keywords
power
computer
sequence
power supply
programmable logic
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
JP2022098401A
Other languages
Japanese (ja)
Inventor
誠 下東
Makoto Shimohigashi
子門 黒川
Shimon Kurokawa
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP2022098401A priority Critical patent/JP2023184327A/en
Publication of JP2023184327A publication Critical patent/JP2023184327A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

To update the configuration of an internal logic circuit of a PLD without causing power interruption of a computer.SOLUTION: A computer 10 includes a PLD30 having a memory 32, and a power supply section 40. The memory 32 stores a first sequence of turning on power of the computer 10 again after turning off the power of the computer 10, and the power supply section 40 supplies power to the computer 10 according to control from the PLD30 based on the first sequence. The PLD30 determines whether or not the power of the computer 10 is turned on when the configuration of an internal logic circuit of the PLD30 is updated, causes the power supply section 40 to execute processing in accordance with the first sequence when the power of the computer 10 is not turned on, and does not cause the power supply section 40 to execute the processing in accordance with the first sequence when the power of the computer 10 is turned on.SELECTED DRAWING: Figure 1

Description

本開示は、コンピュータに関する。 TECHNICAL FIELD This disclosure relates to computers.

プログラマブルロジックデバイス(Programmable Logic Device:PLD)が搭載されたコンピュータの中には、PLDがコンピュータの電源制御を行うものがある。 Some computers are equipped with a programmable logic device (PLD) in which the PLD controls the power supply of the computer.

特開2001-290758号公報Japanese Patent Application Publication No. 2001-290758 特開2015-142361号公報Japanese Patent Application Publication No. 2015-142361 特開2020-109553号公報Japanese Patent Application Publication No. 2020-109553

PLDが電源制御を行うコンピュータでは、コンピュータの電源が投入された状態でPLDの内部論理回路の構成が更新されるとコンピュータの電源断が発生してしまうため、PLDの内部論理回路の構成が更新されるときには、コンピュータの稼働が停止してしまう。 In computers where the PLD controls the power supply, if the configuration of the PLD's internal logic circuit is updated while the computer is powered on, the computer will be powered off, so the configuration of the PLD's internal logic circuit must be updated. When this happens, the computer stops working.

そこで、本開示では、コンピュータの電源断を発生させることなくPLDの内部論理回路の構成を更新できる技術を提案する。 Therefore, the present disclosure proposes a technique that can update the configuration of the internal logic circuit of a PLD without powering off the computer.

本開示のコンピュータは、メモリを有するプログラマブルロジックデバイスと、電源供給部とを有する。前記メモリは、前記コンピュータの電源を落とした後に前記電源を再投入する第一シーケンスを記憶する。前記電源供給部は、前記第一シーケンスに基づいた前記プログラマブルロジックデバイスからの制御に従って前記コンピュータへの電源供給を行う。前記プログラマブルロジックデバイスは、前記プログラマブルロジックデバイスの内部論理回路の構成が更新されるときに、前記コンピュータの電源が投入されているか否かを判定する。そして、前記プログラマブルロジックデバイスは、前記電源が投入されていないときは、前記電源供給部に前記第一シーケンスに従った処理を実行させる一方で、前記電源が投入されているときは、前記電源供給部に前記第一シーケンスに従った前記処理を実行させない。 A computer according to the present disclosure includes a programmable logic device having a memory and a power supply section. The memory stores a first sequence for powering down and then powering the computer back on. The power supply unit supplies power to the computer according to control from the programmable logic device based on the first sequence. The programmable logic device determines whether the computer is powered on when the configuration of the internal logic circuit of the programmable logic device is updated. The programmable logic device causes the power supply unit to execute processing according to the first sequence when the power is not turned on, while supplying the power when the power is turned on. prevent the unit from executing the processing according to the first sequence.

本開示によれば、コンピュータの電源断を発生させることなくPLDの内部論理回路の構成を更新できる。 According to the present disclosure, the configuration of the internal logic circuit of a PLD can be updated without powering off the computer.

図1は、本開示の実施例1のコンピュータの構成例を示す図である。FIG. 1 is a diagram illustrating an example configuration of a computer according to a first embodiment of the present disclosure. 図2は、本開示の実施例1のコンピュータにおける処理手順の一例を示すフローチャートである。FIG. 2 is a flowchart illustrating an example of a processing procedure in a computer according to the first embodiment of the present disclosure. 図3は、本開示の実施例1のコンピュータにおけるタイミングチャートの一例である。FIG. 3 is an example of a timing chart in the computer according to the first embodiment of the present disclosure. 図4は、本開示の実施例2のコンピュータにおける処理手順の一例を示すフローチャートである。FIG. 4 is a flowchart illustrating an example of a processing procedure in a computer according to a second embodiment of the present disclosure. 図5は、本開示の実施例2のコンピュータにおけるタイミングチャートの一例である。FIG. 5 is an example of a timing chart in the computer according to the second embodiment of the present disclosure.

以下、本開示の実施例を図面に基づいて説明する。以下の実施例において同一の構成、及び、同一の処理を行うステップには同一の符号を付す。 Hereinafter, embodiments of the present disclosure will be described based on the drawings. In the following embodiments, the same configurations and steps that perform the same processing are denoted by the same reference numerals.

[実施例1]
<コンピュータの構成>
図1は、本開示の実施例1のコンピュータの構成例を示す図である。図1において、コンピュータ10は、CPU(Central Processing Unit)20と、PLD30と、電源供給部40と、制御対象デバイス50と、電圧V1,V2のプルアップ電源と、プルアップ抵抗R1,R2とを有する。PLD30は、制御部31と、メモリ32と、バッファ33,34とを有する。PLDの一例として、SPLD(Simple PLD)、CPLD(Complex PLD)、FPGA(Field Programmable Gate Array)等が挙げられる。
[Example 1]
<Computer configuration>
FIG. 1 is a diagram illustrating an example configuration of a computer according to a first embodiment of the present disclosure. In FIG. 1, a computer 10 includes a CPU (Central Processing Unit) 20, a PLD 30, a power supply section 40, a controlled device 50, a pull-up power source with voltages V1 and V2, and pull-up resistors R1 and R2. have The PLD 30 includes a control section 31, a memory 32, and buffers 33 and 34. Examples of PLDs include SPLD (Simple PLD), CPLD (Complex PLD), and FPGA (Field Programmable Gate Array).

メモリ32には、制御シーケンスが予め記憶されている。制御シーケンスは、コンピュータ10の電源を落とした後にコンピュータ10の複数の電源を再投入するシーケンス(以下では「第一シーケンス」と呼ぶことがある)を含む。制御部31は、第一シーケンスに基づいてHighレベルの電源制御信号PCS(以下では「HighレベルPCS」と呼ぶことがある)と、Lowレベルの電源制御信号PCS(以下では「LowレベルPCS」と呼ぶことがある)とを出力することにより電源供給部40を制御する。電源供給部40は、制御部31からの制御に従ってコンピュータ10への電源供給を行う。電源供給部40に入力される電源制御信号PCSがHighレベルPCSであるときは、電源供給部40はコンピュータ10へ電源を供給するためコンピュータ10の電源が投入される一方で、電源供給部40に入力される電源制御信号PCSがLowレベルPCSであるときは、電源供給部40はコンピュータ10へ電源を供給しないためコンピュータ10の電源が落とされる。第一シーケンスには、制御部31がLowレベルPCSを出力した後にHighレベルPCSを出力することが規定されており、制御部31が第一シーケンスに従って電源制御信号PCSをPLD30の外部へ出力することで、コンピュータ10の電源が一旦落とされた後に再投入される。 A control sequence is stored in the memory 32 in advance. The control sequence includes a sequence (hereinafter sometimes referred to as a "first sequence") of turning off the power of the computer 10 and then turning on the power of the computer 10 again. The control unit 31 outputs a high level power control signal PCS (hereinafter sometimes referred to as "High level PCS") and a low level power control signal PCS (hereinafter referred to as "Low level PCS") based on the first sequence. The power supply unit 40 is controlled by outputting the following: The power supply section 40 supplies power to the computer 10 under control from the control section 31 . When the power control signal PCS input to the power supply unit 40 is at High level PCS, the power supply unit 40 supplies power to the computer 10, so while the computer 10 is powered on, the power supply unit 40 When the input power control signal PCS is at a low level PCS, the power supply unit 40 does not supply power to the computer 10, so the power of the computer 10 is turned off. The first sequence stipulates that the control unit 31 outputs the High level PCS after outputting the Low level PCS, and the control unit 31 outputs the power control signal PCS to the outside of the PLD 30 in accordance with the first sequence. Then, the power of the computer 10 is once turned off and then turned on again.

コンピュータ10の電源とは別にPLD30の電源が用意され、コンピュータ10の電源が投入されていないときでも、PLD30は稼働することが可能である。 A power source for the PLD 30 is prepared separately from the power source for the computer 10, and the PLD 30 can operate even when the computer 10 is not powered on.

制御対象デバイス50は、リセット信号RSに基づいて再起動する。メモリ32に記憶されている制御シーケンスは、第一シーケンスに加えて、複数のリセット信号RSを制御するシーケンス(以下では「第二シーケンス」と呼ぶことがある)をさらに含む。制御部31は、第二シーケンスに基づいてHighレベルのリセット信号RS(以下では「HighレベルRS」と呼ぶことがある)と、Lowレベルのリセット信号RS(以下では「LowレベルRS」と呼ぶことがある)とを出力することにより制御対象デバイス50を制御する。制御対象デバイス50に入力されるリセット信号RSがHighレベルRSであるときは、制御対象デバイス50は再起動せずに制御対象デバイス50の起動が維持される一方で、制御対象デバイス50に入力されるリセット信号RSがLowレベルRSであるときは、制御対象デバイス50は再起動する。第二シーケンスには、制御部31がLowレベルRSを出力した後にHighレベルRSを出力することが規定されており、制御部31が第二シーケンスに従ってリセット信号RSをPLD30の外部へ出力することで、制御対象デバイス50が再起動される。 The controlled device 50 is restarted based on the reset signal RS. In addition to the first sequence, the control sequences stored in the memory 32 further include a sequence (hereinafter sometimes referred to as a "second sequence") for controlling a plurality of reset signals RS. The control unit 31 generates a high level reset signal RS (hereinafter sometimes referred to as "High level RS") and a low level reset signal RS (hereinafter referred to as "Low level RS") based on the second sequence. The control target device 50 is controlled by outputting the following. When the reset signal RS input to the controlled device 50 is at High level RS, the controlled device 50 is not restarted and the activated state of the controlled device 50 is maintained; When the reset signal RS is at a low level RS, the controlled device 50 is restarted. The second sequence stipulates that the control unit 31 outputs the High level RS after outputting the Low level RS, and the control unit 31 outputs the reset signal RS to the outside of the PLD 30 according to the second sequence. , the controlled device 50 is restarted.

また、制御部31は、バッファ33,34を制御し、バッファ33,34をハイインピーダンス状態またはローインピーダンス状態の何れかに設定する。制御部31からバッファ33,34へハイインピーダンス制御信号HCSが出力されているときはバッファ33,34のハイインピーダンスが有効になるためバッファ33,34がハイインピーダンス状態となる一方で、制御部31からバッファ33,34へハイインピーダンス制御信号HCSが出力されていないときはバッファ33,34のハイインピーダンスが無効になるためバッファ33,34がローインピーダンス状態となる。 Further, the control unit 31 controls the buffers 33 and 34, and sets the buffers 33 and 34 to either a high impedance state or a low impedance state. When the high impedance control signal HCS is output from the control unit 31 to the buffers 33 and 34, the high impedance of the buffers 33 and 34 is enabled, so the buffers 33 and 34 are in a high impedance state, while the control signal HCS is output from the control unit 31 When the high impedance control signal HCS is not output to the buffers 33 and 34, the high impedance of the buffers 33 and 34 is disabled, so the buffers 33 and 34 enter a low impedance state.

バッファ33がローインピーダンス状態にあるときは、制御部31と電源供給部40とが導通するため、制御部31から出力される電源制御信号PCSが電源供給部40に入力される。一方で、バッファ33がハイインピーダンス状態にあるときは、制御部31から出力される電源制御信号PCSがバッファ33によって遮断されるため、PLD30の外部では、電源供給部40に入力される電源制御信号PCSが存在しなくなる。 When the buffer 33 is in a low impedance state, the control section 31 and the power supply section 40 are electrically connected, so that the power control signal PCS output from the control section 31 is input to the power supply section 40 . On the other hand, when the buffer 33 is in a high impedance state, the power control signal PCS output from the control unit 31 is blocked by the buffer 33, so that the power control signal input to the power supply unit 40 is not transmitted outside the PLD 30. PCS no longer exists.

そこで、プルアップ電源の電圧V1がプルアップ抵抗R1を介して電源供給部40の入力に印加されることにより、バッファ33がハイインピーダンス状態にあって電源供給部40に入力される電源制御信号PCSが存在しなくなるときでも、電源供給部40の入力レベルはHighレベルに維持される。このため、バッファ33がハイインピーダンス状態にあるときは、電源供給部40からコンピュータ10への電源の供給が維持され、コンピュータ10の電源は投入されたままになる。コンピュータ10への電源供給が行われていないときは、プルアップ電源V1が投入されていないため、電源供給部40の入力レベルはLowレベルとなる。 Therefore, by applying the voltage V1 of the pull-up power supply to the input of the power supply unit 40 via the pull-up resistor R1, the buffer 33 is in a high impedance state and the power supply control signal PCS input to the power supply unit 40 is Even when no longer exists, the input level of the power supply unit 40 is maintained at High level. Therefore, when the buffer 33 is in a high impedance state, the power supply from the power supply unit 40 to the computer 10 is maintained, and the computer 10 remains powered on. When power is not being supplied to the computer 10, the pull-up power supply V1 is not turned on, so the input level of the power supply unit 40 is at Low level.

また、バッファ34がローインピーダンス状態にあるときは、制御部31と制御対象デバイス50とが導通するため、制御部31から出力されるリセット信号RSが制御対象デバイス50に入力される。一方で、バッファ34がハイインピーダンス状態にあるときは、制御部31から出力されるリセット信号RSがバッファ34によって遮断されるため、PLD30の外部では、制御対象デバイス50に入力されるリセット信号RSが存在しなくなる。 Furthermore, when the buffer 34 is in a low impedance state, the control section 31 and the controlled device 50 are electrically connected, so that the reset signal RS output from the control section 31 is input to the controlled device 50. On the other hand, when the buffer 34 is in a high impedance state, the reset signal RS output from the control unit 31 is blocked by the buffer 34, so that the reset signal RS input to the controlled device 50 is not output outside the PLD 30. cease to exist.

そこで、プルアップ電源の電圧V2がプルアップ抵抗R2を介して制御対象デバイス50の入力に印加されることにより、バッファ34がハイインピーダンス状態にあって制御対象デバイス50に入力される制御信号RSが存在しなくなるときでも、制御対象デバイス50の入力レベルはHighレベルに維持される。このため、バッファ34がハイインピーダンス状態にあるときは、制御対象デバイス50は再起動せず、制御対象デバイス50の起動が維持される。コンピュータ10への電源供給が行われていないときは、プルアップ電源V2が投入されていないため、制御対象デバイス50の入力レベルはLowレベルとなる。 Therefore, by applying the voltage V2 of the pull-up power supply to the input of the controlled device 50 via the pull-up resistor R2, the control signal RS input to the controlled device 50 while the buffer 34 is in a high impedance state is Even when the controlled device 50 ceases to exist, the input level of the controlled device 50 is maintained at High level. Therefore, when the buffer 34 is in a high impedance state, the controlled device 50 is not restarted, and the controlled device 50 remains activated. When power is not being supplied to the computer 10, the pull-up power supply V2 is not turned on, so the input level of the controlled device 50 is at Low level.

また、CPU20は、制御部31の設定を更新することによりPLD30の内部論理回路の構成を更新する。 Further, the CPU 20 updates the configuration of the internal logic circuit of the PLD 30 by updating the settings of the control unit 31.

電源供給部40は、電源供給部40がコンピュータ10に電源を供給している状態にあるか否か、つまり、コンピュータ10の電源が投入されているか否かを示す信号(以下では「電源状態信号」と呼ぶことがある)PSSを制御部31へ出力する。 The power supply section 40 sends a signal (hereinafter referred to as a "power state signal") indicating whether or not the power supply section 40 is supplying power to the computer 10, that is, whether or not the computer 10 is powered on. ”) is output to the control unit 31.

制御部31は、CPU20によってPLD30の内部論理回路の構成が更新されるときに、電源状態信号PSSに基づいて、コンピュータ10の電源が投入されているか否かを判定する。 The control unit 31 determines whether the computer 10 is powered on based on the power state signal PSS when the configuration of the internal logic circuit of the PLD 30 is updated by the CPU 20.

そして、制御部31は、コンピュータ10の電源が投入されていないときは、電源供給部40に第一シーケンスに従った処理を実行させる一方で、コンピュータ10の電源が投入されているときは、電源供給部40に第一シーケンスに従った処理を実行させない。また、制御部31は、コンピュータ10の電源が投入されていないときは、制御対象デバイス50を再起動させない一方で、コンピュータ10の電源が投入されているときは、制御対象デバイス50を再起動させる。 Then, when the computer 10 is not powered on, the control unit 31 causes the power supply unit 40 to execute processing according to the first sequence, while when the computer 10 is powered on, the The supply unit 40 is not caused to perform processing according to the first sequence. Further, the control unit 31 does not restart the controlled device 50 when the computer 10 is not powered on, but restarts the controlled device 50 when the computer 10 is powered on. .

<コンピュータにおける処理手順>
図2は、本開示の実施例1のコンピュータにおける処理手順の一例を示すフローチャートである。図2に示すフローチャートは、CPU20によってPLD30の内部論理回路の構成が更新されるときに開始される。
<Processing procedure on computer>
FIG. 2 is a flowchart illustrating an example of a processing procedure in a computer according to the first embodiment of the present disclosure. The flowchart shown in FIG. 2 is started when the configuration of the internal logic circuit of the PLD 30 is updated by the CPU 20.

ステップS100では、制御部31は、ハイインピーダンス制御信号HCSをバッファ33,34へ出力してバッファ33,34のハイインピーダンスを有効にする。これにより、ステップS100では、バッファ33,34がハイインピーダンス状態となるため、制御部31から出力される電源制御信号PCSがバッファ33によって遮断されるとともに、制御部31から出力されるリセット信号RSがバッファ34によって遮断される。 In step S100, the control unit 31 outputs the high impedance control signal HCS to the buffers 33 and 34 to enable the high impedance of the buffers 33 and 34. As a result, in step S100, the buffers 33 and 34 enter a high impedance state, so that the power supply control signal PCS output from the control section 31 is cut off by the buffer 33, and the reset signal RS output from the control section 31 is cut off. It is blocked by buffer 34.

次いで、ステップS105では、制御部31は、電源状態信号PSSに基づいて、コンピュータ10の電源が投入されているか否かを判定する。コンピュータ10の電源が投入済みであるときは(ステップS105:Yes)、処理はステップS110へ進み、コンピュータ10の電源が投入されていないときは(ステップS105:No)、処理はステップS120へ進む。 Next, in step S105, the control unit 31 determines whether the computer 10 is powered on based on the power state signal PSS. When the computer 10 is powered on (step S105: Yes), the process proceeds to step S110, and when the computer 10 is not powered on (step S105: No), the process proceeds to step S120.

ステップS110では、制御部31は、メモリ32に記憶されている制御シーケンスを実行する。ここで、ステップS110で制御シーケンスが実行されるときには、バッファ33,34がハイインピーダンス状態にあるため、制御部31から電源供給部40への出力が遮断された状態でPLD30内で第一シーケンスの実行が完了するとともに、制御部31から制御対象デバイス50への出力が遮断された状態でPLD30内で第二シーケンスの実行が完了する。このように、制御部31は、コンピュータ10の電源が投入されているときは(ステップS105:Yes)、制御部31から電源供給部40への出力が遮断された状態で(ステップS100)PLD30内で第一シーケンスの実行を完了することにより、電源供給部40に第一シーケンスに従った処理を実行させない。また、制御部31は、コンピュータ10の電源が投入されているときは(ステップS105:Yes)、制御部31から制御対象デバイス50への出力が遮断された状態で(ステップS100)PLD30内で第二シーケンスの実行を完了することにより、制御対象デバイス50を再起動させない。 In step S110, the control unit 31 executes the control sequence stored in the memory 32. Here, when the control sequence is executed in step S110, since the buffers 33 and 34 are in a high impedance state, the first sequence is executed within the PLD 30 while the output from the control section 31 to the power supply section 40 is cut off. When the execution is completed, the execution of the second sequence is completed within the PLD 30 with the output from the control unit 31 to the controlled device 50 being cut off. In this way, when the computer 10 is powered on (step S105: Yes), the control unit 31 controls the PLD 30 while the output from the control unit 31 to the power supply unit 40 is cut off (step S100). By completing the execution of the first sequence, the power supply unit 40 is not caused to execute the process according to the first sequence. In addition, when the computer 10 is powered on (step S105: Yes), the control unit 31 controls the control unit 31 in the PLD 30 while the output from the control unit 31 to the controlled device 50 is cut off (step S100). By completing the execution of the second sequence, the controlled device 50 is not restarted.

ステップS110の処理が完了した後、ステップS115では、制御部31は、バッファ33,34へのハイインピーダンス制御信号HCSの出力を停止してバッファ33,34のハイインピーダンスを無効にする。これにより、ステップS115では、バッファ33,34がローインピーダンス状態となるため、制御部31から出力される電源制御信号PCSが電源供給部40に入力されるようになるとともに、制御部31から出力されるリセット信号RSが制御対象デバイス50に入力されるようになる。ステップS115の処理後、図2に示すフローチャートは終了する。 After the process in step S110 is completed, in step S115, the control unit 31 stops outputting the high impedance control signal HCS to the buffers 33 and 34 to disable the high impedance of the buffers 33 and 34. As a result, in step S115, the buffers 33 and 34 enter a low impedance state, so that the power control signal PCS output from the control section 31 is input to the power supply section 40, and the power control signal PCS is output from the control section 31. The reset signal RS is now input to the controlled device 50. After the process of step S115, the flowchart shown in FIG. 2 ends.

一方で、ステップS120では、制御部31は、バッファ33,34へのハイインピーダンス制御信号HCSの出力を停止してバッファ33,34のハイインピーダンスを無効にする。 On the other hand, in step S120, the control unit 31 stops outputting the high impedance control signal HCS to the buffers 33 and 34 to disable the high impedance of the buffers 33 and 34.

ステップS120でバッファ33,34のハイインピーダンスが無効になった後、ステップS125では、制御部31は、メモリ32に記憶されている制御シーケンスを実行する。ステップS125の処理後、図2に示すフローチャートは終了する。 After the high impedance of the buffers 33 and 34 is disabled in step S120, the control unit 31 executes the control sequence stored in the memory 32 in step S125. After the process of step S125, the flowchart shown in FIG. 2 ends.

<コンピュータにおけるタイミングチャート>
図3は、本開示の実施例1のコンピュータにおけるタイミングチャートの一例である。以下、コンピュータ10の電源が投入されていないとき(電源未投入時)のタイミングチャートと、コンピュータ10の電源が投入されているとき(電源投入済時)のタイミングチャートとに分けて説明する。
<Timing chart in computer>
FIG. 3 is an example of a timing chart in the computer according to the first embodiment of the present disclosure. Hereinafter, a timing chart for when the computer 10 is not powered on (when the power is not turned on) and a timing chart when the computer 10 is powered on (when the power is turned on) will be explained separately.

<電源未投入時>
図3の電源未投入時において、PLD30の内部論理回路の構成の更新が開始されると(PLD:設定更新開始)、制御部31はバッファ33,34のハイインピーダンスを有効にする(ステップS100)。
<When power is not turned on>
When the power is not turned on in FIG. 3, when updating of the configuration of the internal logic circuit of the PLD 30 is started (PLD: start of setting update), the control unit 31 enables high impedance of the buffers 33 and 34 (step S100). .

次いで、時刻t11では、コンピュータ10の電源が投入されていないため(ステップS105:No)、制御部31はバッファ33,34のハイインピーダンスを無効にする(ステップS120)。バッファ33,34のハイインピーダンスが有効になっている間は、電源制御信号PCS及びリセット信号RSはPLD30の外部に現れない。プルアップ電源V1,V2が投入されていないため、電源供給部40の入力レベル及び制御対象デバイス50の入力レベルはLowレベルとなる。 Next, at time t11, since the computer 10 is not powered on (step S105: No), the control unit 31 disables the high impedance of the buffers 33 and 34 (step S120). While the high impedance of the buffers 33 and 34 is enabled, the power supply control signal PCS and the reset signal RS do not appear outside the PLD 30. Since the pull-up power supplies V1 and V2 are not turned on, the input level of the power supply unit 40 and the input level of the controlled device 50 are at Low level.

次いで、時刻t12では、バッファ33,34のハイインピーダンスが無効になっている状態で、制御部31は、制御シーケンスの実行を開始する(ステップS125)。バッファ33,34のハイインピーダンスが無効になっている間は、制御部31から出力される電源制御信号PCS及びリセット信号RSがバッファ33,34によって遮断されずにPLD30の外部に現れるため、電源制御信号PCSが電源供給部40に入力されるとともに、リセット信号RSが制御対象デバイス50に入力される。 Next, at time t12, the control unit 31 starts executing the control sequence while the high impedance of the buffers 33 and 34 is disabled (step S125). While the high impedance of the buffers 33 and 34 is disabled, the power supply control signal PCS and the reset signal RS output from the control unit 31 are not cut off by the buffers 33 and 34 and appear outside the PLD 30, so that the power supply control signal is disabled. The signal PCS is input to the power supply section 40, and the reset signal RS is input to the controlled device 50.

PLD30の内部で制御シーケンスを実行中の制御部31は、第一シーケンスに従って、時刻t12でLowレベルPCSを出力し、時刻t13でHighレベルPCSを出力する。また、PLD30の内部で制御シーケンスを実行中の制御部31は、第二シーケンスに従って、時刻t12でLowレベルRSを出力し、時刻t14でHighレベルRSを出力する。 The control unit 31 executing the control sequence inside the PLD 30 outputs the Low level PCS at time t12 and the High level PCS at time t13 according to the first sequence. Further, the control unit 31 executing the control sequence inside the PLD 30 outputs the Low level RS at time t12 and the High level RS at time t14 according to the second sequence.

そして、時刻t15では、バッファ33,34のハイインピーダンスが無効になっている状態で、制御部31は、制御シーケンスの実行を完了する。 Then, at time t15, the control unit 31 completes execution of the control sequence while the high impedance of the buffers 33 and 34 is disabled.

<電源投入済時>
図3の電源投入済時において、PLD30の内部論理回路の構成の更新が開始されると(PLD:設定更新開始)、制御部31はバッファ33,34のハイインピーダンスを有効にする(ステップS100)。
<When power is turned on>
When the power is turned on in FIG. 3, when updating of the configuration of the internal logic circuit of the PLD 30 is started (PLD: start of setting update), the control unit 31 enables high impedance of the buffers 33 and 34 (step S100). .

次いで、時刻t21では、コンピュータ10の電源が投入されているため(ステップS105:Yes)、バッファ33,34のハイインピーダンスが有効になっている状態で、制御部31は、制御シーケンスの実行を開始する(ステップS110)。バッファ33,34のハイインピーダンスが有効になっている間は、制御部31からの出力はバッファ33,34によって遮断されるため、制御部31から出力される電源制御信号PCS及びリセット信号RSはPLD30の外部に現れない。 Next, at time t21, since the computer 10 is powered on (step S105: Yes), the control unit 31 starts executing the control sequence while the high impedance of the buffers 33 and 34 is enabled. (Step S110). While the high impedance of the buffers 33 and 34 is enabled, the output from the control unit 31 is blocked by the buffers 33 and 34, so the power control signal PCS and reset signal RS output from the control unit 31 are output from the PLD 30. It does not appear outside of.

よって、PLD30の内部で制御シーケンスを実行中の制御部31が第一シーケンスに従って時刻t21で出力したLowレベルPCS、及び、PLD30の内部で制御シーケンスを実行中の制御部31が第一シーケンスに従って時刻t22で出力したHighレベルPCSは、電源供給部40に入力されない。 Therefore, the low level PCS that the control unit 31 that is executing the control sequence inside the PLD 30 outputs at time t21 according to the first sequence, and the low level PCS that the control unit 31 that is executing the control sequence inside the PLD 30 outputs at time t21 according to the first sequence. The High level PCS output at t22 is not input to the power supply section 40.

また、PLD30の内部で制御シーケンスを実行中の制御部31が第二シーケンスに従って時刻t21で出力したLowレベルRS、及び、PLD30の内部で制御シーケンスを実行中の制御部31が第二シーケンスに従って時刻t23で出力したHighレベルRSは、制御対象デバイス50に入力されない。 In addition, the control unit 31 that is executing the control sequence inside the PLD 30 outputs the low level RS at time t21 according to the second sequence, and the control unit 31 that is executing the control sequence inside the PLD 30 outputs the low level RS at time t21 according to the second sequence. The High level RS output at t23 is not input to the controlled device 50.

次いで、時刻t24では、バッファ33,34のハイインピーダンスが有効になっている状態で、制御部31は、制御シーケンスの実行を完了する。 Next, at time t24, the control unit 31 completes execution of the control sequence while the high impedance of the buffers 33 and 34 is enabled.

バッファ33,34のハイインピーダンスが有効になっている期間では、プルアップ電源V1,V2が投入されているため、電源供給部40の入力レベル及び制御対象デバイス50の入力レベルはHighレベルに維持される。 During the period when the high impedance of the buffers 33 and 34 is enabled, the pull-up power supplies V1 and V2 are turned on, so the input level of the power supply unit 40 and the input level of the controlled device 50 are maintained at High level. Ru.

そして、時刻t25では、制御部31はバッファ33,34のハイインピーダンスを無効にする(ステップS115)。 Then, at time t25, the control unit 31 disables the high impedance of the buffers 33 and 34 (step S115).

以上、実施例1について説明した。 The first embodiment has been described above.

[実施例2]
以下、実施例1と異なる点について説明する。
[Example 2]
Hereinafter, points different from Example 1 will be explained.

<コンピュータにおける処理手順>
図4は、本開示の実施例2のコンピュータにおける処理手順の一例を示すフローチャートである。図4に示すフローチャートは、CPU20によってPLD30の内部論理回路の構成が更新されるときに開始される。
<Processing procedure on computer>
FIG. 4 is a flowchart illustrating an example of a processing procedure in a computer according to a second embodiment of the present disclosure. The flowchart shown in FIG. 4 is started when the configuration of the internal logic circuit of the PLD 30 is updated by the CPU 20.

ステップS100の処理後、処理はステップS105へ進む。 After the process in step S100, the process advances to step S105.

ステップS105においてコンピュータ10の電源が投入済みであるときは(ステップS105:Yes)、処理はステップS200へ進み、ステップS105においてコンピュータ10の電源が投入されていないときは(ステップS105:No)、処理はステップS120へ進む。 If the computer 10 has been powered on in step S105 (step S105: Yes), the process proceeds to step S200, and if the computer 10 has not been powered on in step S105 (step S105: No), the process The process advances to step S120.

ステップS200では、制御部31は、メモリ32に記憶されている制御シーケンスの実行をスキップする。つまり、ステップS200では、制御シーケンスが実行されない。このように、制御部31は、コンピュータ10の電源が投入されているときは(ステップS105:Yes)、制御部31から電源供給部40への出力が遮断された状態で(ステップS100)第一シーケンスの実行をスキップすることにより、電源供給部40に第一シーケンスに従った処理を実行させない。また、制御部31は、コンピュータ10の電源が投入されているときは(ステップS105:Yes)、制御部31から制御対象デバイス50への出力が遮断された状態で(ステップS100)第二シーケンスの実行をスキップすることにより、制御対象デバイス50を再起動させない。 In step S200, the control unit 31 skips execution of the control sequence stored in the memory 32. That is, the control sequence is not executed in step S200. In this way, when the computer 10 is powered on (step S105: Yes), the control unit 31 performs the first operation while the output from the control unit 31 to the power supply unit 40 is cut off (step S100) By skipping the execution of the sequence, the power supply unit 40 is not caused to execute the process according to the first sequence. Further, when the computer 10 is powered on (step S105: Yes), the control unit 31 performs the second sequence while the output from the control unit 31 to the controlled device 50 is cut off (step S100). By skipping execution, the controlled device 50 is not restarted.

ステップS200の処理後、処理はステップS115へ進む。 After the process in step S200, the process advances to step S115.

<コンピュータにおけるタイミングチャート>
図5は、本開示の実施例2のコンピュータにおけるタイミングチャートの一例である。コンピュータ10の電源が投入されていないとき(電源未投入時)のタイミングチャートについては実施例1と同一であるため説明を省略する。以下、コンピュータ10の電源が投入されているとき(電源投入済時)のタイミングチャートについて説明する。
<Timing chart in computer>
FIG. 5 is an example of a timing chart in the computer according to the second embodiment of the present disclosure. The timing chart when the power of the computer 10 is not turned on (when the power is not turned on) is the same as that in the first embodiment, so a description thereof will be omitted. A timing chart when the computer 10 is powered on (when the power is already turned on) will be described below.

<電源投入済時>
図5の電源投入済時において、PLD30の内部論理回路の構成の更新が開始されると(PLD:設定更新開始)、制御部31はバッファ33,34のハイインピーダンスを有効にする(ステップS100)。
<When power is turned on>
When the power is turned on in FIG. 5, when updating of the configuration of the internal logic circuit of the PLD 30 is started (PLD: start of setting update), the control unit 31 enables high impedance of the buffers 33 and 34 (step S100). .

次いで、時刻t31では、コンピュータ10の電源が投入されているため(ステップS105:Yes)、バッファ33,34のハイインピーダンスが有効になっている状態で、制御部31は、制御シーケンスの実行をスキップする(ステップS200)。また、時刻t31では、制御部31は、初期状態のLowレベルPCSをHighレベルPCSに変更し、初期状態のLowレベルRSをHighレベルRSに変更する。 Next, at time t31, since the computer 10 is powered on (step S105: Yes), the control unit 31 skips execution of the control sequence while the high impedance of the buffers 33 and 34 is enabled. (Step S200). Further, at time t31, the control unit 31 changes the initial state of Low level PCS to High level PCS, and changes the initial state of Low level RS to High level RS.

バッファ33,34のハイインピーダンスが有効になっている期間では、プルアップ電源V1,V2が投入されているため、電源供給部40の入力レベル及び制御対象デバイス50の入力レベルはHighレベルに維持される。 During the period when the high impedance of the buffers 33 and 34 is enabled, the pull-up power supplies V1 and V2 are turned on, so the input level of the power supply unit 40 and the input level of the controlled device 50 are maintained at High level. Ru.

そして、時刻t32では、制御部31はバッファ33,34のハイインピーダンスを無効にする(ステップS115)。 Then, at time t32, the control unit 31 disables the high impedance of the buffers 33 and 34 (step S115).

以上、実施例2について説明した。 The second embodiment has been described above.

以上のように、本開示のコンピュータ(実施例のコンピュータ10)は、メモリ(実施例のメモリ32)を有するプログラマブルロジックデバイス(実施例のPLD30)と、電源供給部(実施例の電源供給部40)とを有する。メモリは、コンピュータの電源を落とした後にコンピュータの電源を再投入する第一シーケンスを記憶する。電源供給部は、第一シーケンスに基づいたプログラマブルロジックデバイスからの制御に従ってコンピュータへの電源供給を行う。プログラマブルロジックデバイスは、プログラマブルロジックデバイスの内部論理回路の構成が更新されるときに、コンピュータの電源が投入されているか否かを判定する。そして、プログラマブルロジックデバイスは、コンピュータの電源が投入されていないときは、電源供給部に第一シーケンスに従った処理を実行させる一方で、コンピュータの電源が投入されているときは、電源供給部に第一シーケンスに従った処理を実行させない。 As described above, the computer of the present disclosure (computer 10 of the embodiment) includes a programmable logic device (PLD 30 of the embodiment) having a memory (memory 32 of the embodiment), and a power supply section (power supply section 40 of the embodiment). ). The memory stores a first sequence for powering the computer off and then powering it back on. The power supply unit supplies power to the computer under control from the programmable logic device based on the first sequence. The programmable logic device determines whether the computer is powered on when the configuration of the internal logic circuit of the programmable logic device is updated. The programmable logic device causes the power supply unit to execute processing according to the first sequence when the computer is not powered on, while the programmable logic device causes the power supply unit to execute processing according to the first sequence when the computer is powered on. Do not allow processing according to the first sequence to be executed.

例えば、プログラマブルロジックデバイスは、コンピュータの電源が投入されているときは、プログラマブルロジックデバイスから電源供給部への出力が遮断された状態でプログラマブルロジックデバイス内で第一シーケンスの実行を完了することにより、電源供給部に第一シーケンスに従った処理を実行させない。 For example, when the computer is powered on, the programmable logic device completes execution of the first sequence within the programmable logic device with the output from the programmable logic device to the power supply section cut off. Do not allow the power supply unit to execute processing according to the first sequence.

また例えば、プログラマブルロジックデバイスは、コンピュータの電源が投入されているときは、プログラマブルロジックデバイスから電源供給部への出力が遮断された状態で第一シーケンスの実行をスキップすることにより、電源供給部に第一シーケンスに従った処理を実行させない。 For example, when the computer is powered on, the programmable logic device skips the execution of the first sequence while the output from the programmable logic device to the power supply is cut off. Do not allow processing according to the first sequence to be executed.

こうすることで、コンピュータの電源断を発生させることなくプログラマブルロジックデバイスの内部論理回路の構成を更新できる。 By doing so, the configuration of the internal logic circuit of the programmable logic device can be updated without powering off the computer.

また、本開示のコンピュータは、リセット信号に基づいて再起動するデバイス(実施例の制御対象デバイス50)を有する。また、メモリは、リセット信号を制御する第二シーケンスを記憶する。そして、プログラマブルロジックデバイスは、コンピュータの電源が投入されていないときは、デバイスを再起動させる一方で、コンピュータの電源が投入されているときは、デバイスを再起動させない。 Further, the computer of the present disclosure includes a device (the controlled device 50 of the embodiment) that restarts based on a reset signal. The memory also stores a second sequence controlling the reset signal. Then, the programmable logic device restarts the device when the computer is not powered on, but does not restart the device when the computer is powered on.

例えば、プログラマブルロジックデバイスは、コンピュータの電源が投入されているときは、プログラマブルロジックデバイスからデバイスへの出力が遮断された状態でプログラマブルロジックデバイス内で第二シーケンスの実行を完了することにより、デバイスを再起動させない。 For example, a programmable logic device can be activated by completing execution of a second sequence within the programmable logic device while the output from the programmable logic device to the device is cut off when the computer is powered on. Don't restart.

また例えば、プログラマブルロジックデバイスは、コンピュータの電源が投入されているときは、プログラマブルロジックデバイスからデバイスへの出力が遮断された状態で第二シーケンスの実行をスキップすることにより、デバイスを再起動させない。 For example, when the computer is powered on, the programmable logic device skips execution of the second sequence while the output from the programmable logic device to the device is cut off, thereby preventing the device from restarting.

こうすることで、コンピュータの電源断を発生させることなくデバイスを再起動させることができる。 This allows you to restart your device without powering down your computer.

10 コンピュータ
20 CPU
30 PLD
31 制御部
32 メモリ
33,34 バッファ
40 電源供給部
50 制御対象デバイス
V1,V2 プルアップ電源
R1,R2 プルアップ抵抗
10 computer 20 CPU
30 PLD
31 Control unit 32 Memory 33, 34 Buffer 40 Power supply unit 50 Controlled device V1, V2 Pull-up power supply R1, R2 Pull-up resistor

Claims (6)

コンピュータの電源を落とした後に前記電源を再投入する第一シーケンスが記憶されたメモリを有するプログラマブルロジックデバイスと、
前記第一シーケンスに基づいた前記プログラマブルロジックデバイスからの制御に従って前記コンピュータへの電源供給を行う電源供給部と、
を具備し、
前記プログラマブルロジックデバイスは、
前記プログラマブルロジックデバイスの内部論理回路の構成が更新されるときに、前記電源が投入されているか否かを判定し、
前記電源が投入されていないときは、前記電源供給部に前記第一シーケンスに従った処理を実行させる一方で、
前記電源が投入されているときは、前記電源供給部に前記第一シーケンスに従った前記処理を実行させない、
コンピュータ。
a programmable logic device having a memory that stores a first sequence for turning on the power again after turning off the power to the computer;
a power supply unit that supplies power to the computer according to control from the programmable logic device based on the first sequence;
Equipped with
The programmable logic device includes:
determining whether the power is turned on when the configuration of the internal logic circuit of the programmable logic device is updated;
When the power is not turned on, causing the power supply unit to execute processing according to the first sequence,
When the power is turned on, the power supply unit does not execute the process according to the first sequence;
Computer.
前記プログラマブルロジックデバイスは、前記電源が投入されているときは、前記プログラマブルロジックデバイスから前記電源供給部への出力が遮断された状態で前記プログラマブルロジックデバイス内で前記第一シーケンスの実行を完了することにより、前記電源供給部に前記第一シーケンスに従った前記処理を実行させない、
請求項1に記載のコンピュータ。
The programmable logic device may complete execution of the first sequence within the programmable logic device while the output from the programmable logic device to the power supply unit is cut off when the power is turned on. prevents the power supply unit from executing the process according to the first sequence;
A computer according to claim 1.
前記プログラマブルロジックデバイスは、前記電源が投入されているときは、前記プログラマブルロジックデバイスから前記電源供給部への出力が遮断された状態で前記第一シーケンスの実行をスキップすることにより、前記電源供給部に前記第一シーケンスに従った前記処理を実行させない、
請求項1に記載のコンピュータ。
The programmable logic device skips execution of the first sequence in a state where output from the programmable logic device to the power supply unit is cut off when the power is turned on, thereby controlling the power supply unit. does not allow the user to execute the process according to the first sequence;
A computer according to claim 1.
リセット信号に基づいて再起動するデバイス、をさらに具備し、
前記メモリは、前記リセット信号を制御する第二シーケンスをさらに記憶し、
前記プログラマブルロジックデバイスは、
前記電源が投入されていないときは、前記デバイスを再起動させる一方で、
前記電源が投入されているときは、前記デバイスを再起動させない、
請求項1に記載のコンピュータ。
further comprising: a device that restarts based on a reset signal;
the memory further stores a second sequence controlling the reset signal;
The programmable logic device includes:
while restarting the device when the power is not turned on;
not restarting the device when the power is on;
A computer according to claim 1.
前記プログラマブルロジックデバイスは、前記電源が投入されているときは、前記プログラマブルロジックデバイスから前記デバイスへの出力が遮断された状態で前記プログラマブルロジックデバイス内で前記第二シーケンスの実行を完了することにより、前記デバイスを再起動させない、
請求項4に記載のコンピュータ。
The programmable logic device completes execution of the second sequence within the programmable logic device while the output from the programmable logic device to the device is cut off when the power is turned on. do not restart the device,
A computer according to claim 4.
前記プログラマブルロジックデバイスは、前記電源が投入されているときは、前記プログラマブルロジックデバイスから前記デバイスへの出力が遮断された状態で前記第二シーケンスの実行をスキップすることにより、前記デバイスを再起動させない、
請求項4に記載のコンピュータ。
The programmable logic device does not restart the device by skipping execution of the second sequence while the output from the programmable logic device to the device is cut off when the power is turned on. ,
A computer according to claim 4.
JP2022098401A 2022-06-17 2022-06-17 Computer Pending JP2023184327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022098401A JP2023184327A (en) 2022-06-17 2022-06-17 Computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022098401A JP2023184327A (en) 2022-06-17 2022-06-17 Computer

Publications (1)

Publication Number Publication Date
JP2023184327A true JP2023184327A (en) 2023-12-28

Family

ID=89333470

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022098401A Pending JP2023184327A (en) 2022-06-17 2022-06-17 Computer

Country Status (1)

Country Link
JP (1) JP2023184327A (en)

Similar Documents

Publication Publication Date Title
US20130067258A1 (en) Data processor and electronic control unit
US7765415B2 (en) Semiconductor integrated circuit
US20190079748A1 (en) Server with double-firmware storage space and firmware update method therefor
TW201843583A (en) Method and computer system for automatically recovering the BIOS image file
EP2750034A2 (en) Electronic device having updatable bios and bios updating method thereof
CN112925732A (en) System for dynamic bifurcation control and method thereof
JP2006164228A (en) Microcomputer
JP2023184327A (en) Computer
US20150212559A1 (en) Electronic Apparatus Including Programmable Logic Circuit Device and Rewriting Method
CN111208891B (en) CPLD updating system and method
TWI726502B (en) Server without the need to shut down during firmware update and motherboard module
CN110908493A (en) Power supply control method and device
JP2011013915A (en) Control method for measurement device
US6625731B1 (en) Method of configuring a microcontroller during reset mode by generating auxiliary oscillator signal as supply voltage ramps up to read option word from central memory
JP5643584B2 (en) Ring laser gyro device
CN111966199B (en) CPLD online upgrade slow start method, device, equipment and storage medium
JP2008282143A (en) Electronic controller
CN114942897A (en) System and method for selecting an operating mode of a microcontroller unit
JP2017091442A (en) Electronic control unit
WO2024042600A1 (en) Information processing device, information processing method, and program
US11886271B2 (en) Semiconductor device
CN108021386B (en) Server with node latching function and node latching method thereof
TWI792815B (en) Control method and device for powering timing
TWI733279B (en) Server device and method for avoiding firmware cannot be updated again thereof
CN115640249A (en) Server control system