WO2016138706A1 - Clock switching method and clock switching device - Google Patents

Clock switching method and clock switching device Download PDF

Info

Publication number
WO2016138706A1
WO2016138706A1 PCT/CN2015/082234 CN2015082234W WO2016138706A1 WO 2016138706 A1 WO2016138706 A1 WO 2016138706A1 CN 2015082234 W CN2015082234 W CN 2015082234W WO 2016138706 A1 WO2016138706 A1 WO 2016138706A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock
switching
signal value
logical
selection signal
Prior art date
Application number
PCT/CN2015/082234
Other languages
French (fr)
Chinese (zh)
Inventor
文显琼
赵恒正
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016138706A1 publication Critical patent/WO2016138706A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/01Shaping pulses
    • H03K5/04Shaping pulses by increasing duration; by decreasing duration
    • H03K5/05Shaping pulses by increasing duration; by decreasing duration by the use of clock signals or other time reference signals
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION, OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a clock switching method and a clock switching device.
  • the existing solution usually uses a multi-selector to determine the strobed clock according to the number of the input selector, and It is entered into the system.
  • this solution has at least the following disadvantages: in the case where the system needs to perform switching of more than two clocks, the selection signal may be unstable during the switching process, which may cause instability of the clock signal.
  • Embodiments of the present invention provide a clock switching method and a clock switching apparatus, which are designed to reduce the probability of occurrence of a narrow-wave pulse phenomenon on an output clock when a selection signal is randomly switched.
  • an embodiment of the present invention provides a method for clock switching, and the method for clock switching includes the following steps:
  • the first clock is strobed
  • the step of switching the strobe second clock or controlling the first clock to complete a complete clock cycle according to the logical OR operation result includes:
  • the first clock is controlled to complete a complete clock cycle.
  • the selection signal value is a single bit signal value.
  • the selection signal value is a two-bit signal value
  • the two-bit signal value corresponds to four first clocks, a second clock, a third clock, and a fourth clock pre-configured with corresponding one-hot codes.
  • the operating state of the first clock is maintained or the first clock is switched to a second clock depending on whether there is an intermediate state.
  • the step of maintaining the working state of the first clock or switching the first clock to the second clock according to whether there is an intermediate state comprises:
  • the first clock is switched to the second clock.
  • an embodiment of the present invention further provides a clock switching apparatus, where the clock switching apparatus includes:
  • a first acquiring module configured to receive a selection instruction, and obtain a selection signal value
  • the strobe module is configured to strobe the first clock when the selection signal value is the first preset value
  • a receiving module configured to receive a switching signal sent by the second clock
  • a first determining module configured to determine a logical OR operation result of the first clock and the second clock
  • the first control module is configured to switch the strobe second clock or control the first clock to complete a complete clock cycle according to the logical OR operation result.
  • control module comprises:
  • the first switching unit is configured to switch the strobe second clock when the logical OR operation result of the first clock and the second clock is the second preset value;
  • the control unit is configured to control the first clock to complete a complete clock cycle when a logical OR operation result of the first clock and the second clock is a third preset value.
  • the selection signal value is a single bit signal value.
  • the selection signal value is a two-bit signal value
  • the two-bit signal value corresponds to four first clocks, a second clock, a third clock, and a fourth clock pre-configured with corresponding one-hot codes.
  • the clock switching device further includes:
  • a second acquiring module configured to acquire a first bit number of the fourth preset value in the unique heat code of the first clock and a second bit number of the fourth preset value in the unique heat code of the second clock;
  • the second determining module is configured to determine whether there is an intermediate state when the first bit number and the second bit number of the first clock are correspondingly switched to the second clock;
  • the second control module is configured to maintain an operating state of the first clock or switch the first clock to a second clock according to whether an intermediate state exists.
  • the second control module comprises:
  • a working unit configured to maintain an operating state of the first clock if an intermediate state exists
  • the second switching unit is configured to switch the first clock to the second clock if there is no intermediate state.
  • the method for clock switching and the clock switching apparatus determine the logical OR operation result of the first clock and the second clock when receiving the switching signal sent by the second clock, and according to the logical OR operation result, Switching the strobe second clock or controlling the first clock completes a complete clock cycle. In this way, the probability of a narrow-wave pulse phenomenon on the output clock when the selection signal is randomly switched can be reduced.
  • the first clock, the second clock, the third clock, and the fourth clock having the corresponding unique heat codes by the unique heat, it is possible to prevent the plurality of clocks from being turned on to interfere with the working clock due to the instability of the selection signal itself. The phenomenon of the signal ensures a stable state of the clock switching device.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for clock switching according to the present invention
  • FIG. 2 is a schematic diagram of a selection signal and a corresponding output clock signal according to an embodiment of a method for clock switching according to the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for clock switching according to the present invention.
  • FIG. 4 is a schematic flowchart diagram of a third embodiment of a method for clock switching according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of a fourth embodiment of a method for clock switching according to the present invention.
  • FIG. 6 is a schematic diagram of a selection signal and a corresponding output clock signal according to another embodiment of a method for clock switching according to the present invention.
  • FIG. 7 is a schematic diagram of functional modules of a first embodiment of a clock switching apparatus according to the present invention.
  • FIG. 8 is a schematic diagram of functional modules of an embodiment of the first control module of FIG. 7;
  • FIG. 9 is a schematic diagram of functional modules of a second embodiment of a clock switching device according to the present invention.
  • FIG. 10 is a schematic diagram of functional modules of an embodiment of the second control module of FIG. 9.
  • FIG. 10 is a schematic diagram of functional modules of an embodiment of the second control module of FIG. 9.
  • the present invention provides a method for clock switching.
  • the method for clock switching includes the following steps:
  • Step S101 receiving a selection instruction, and acquiring a selection signal value
  • Step S102 when the selection signal value is the first preset value, stroking the first clock
  • the clock switching device acquires the corresponding selection signal value when receiving the selection instruction.
  • the first clock is clk_0 and the second clock is clk_1.
  • the first preset value is 0, and the second preset value is 1.
  • the selection signal value Select is 0, the clk_0 is gated, and when the selection signal value Select is 1, the clk_1 is gated.
  • clk_1 may be strobed when the selection signal value is 0, and clk_0 is strobed when the selection signal value Select is 1.
  • Step S103 receiving a switching signal sent by the second clock
  • A_state indicates that the first clock clk_0 is in an active state in the current clock switching device
  • B_state indicates that the second clock clk_1 in the current clock switching device is in an active state
  • Clk_out indicates an output clock signal of the current clock switching device.
  • A_state is generated by using the first clock clk_0 to shoot the "non" of the select signal select, that is:
  • the way B_state is generated is to use clk_1 to shoot the selection signal select, that is:
  • the A_state generated by the above method has a state in which the integer multiple of clk_0 is used as the jump timing. That is, if the select changes immediately after a rising edge of clk_0, the A_state does not follow the select. The change immediately changes, but after the falling edge of the clock of clk_0 comes, the state of A_state reflects the change of select. This ensures that when the clock is switched, the full cycle of the previous clock is always used as the switching opportunity to avoid unexpected narrow-wave pulses.
  • the selection signal changes immediately after a rising edge of clk_0.
  • the working state A_state corresponding to clk_0 is still in the active state, indicating clk_0
  • the clock switch will continue to output a full pulse of clk_0, and wait until the falling edge of clk_0 arrives, A_state will be invalid.
  • Step S104 determining a logical OR operation result of the first clock and the second clock
  • Step S105 according to the logical OR operation result, switching the strobe second clock or controlling the first clock to complete a complete clock cycle.
  • the clock switching device performs a logical OR operation on the A_state and the B_state, and switches the strobe second clock or controls the first clock to complete a complete clock cycle according to the logical OR operation result.
  • the logical OR operation result may be 0 or 1, and may be reasonably set according to actual needs.
  • the method for clock switching determines the logical OR operation result of the first clock and the second clock when receiving the switching signal sent by the second clock, and switches the strobe second clock according to the logical OR operation result Or controlling the first clock to complete a complete clock cycle. In this way, the probability of a narrow-wave pulse phenomenon on the output clock when the selection signal is randomly switched can be reduced.
  • the step S105 includes:
  • Step S1051 when the logical OR operation result of the first clock and the second clock is a second preset value, switching the strobe second clock;
  • the logical OR operation result is the second preset value, such as 0, it means that there is no clock in the current clock switching device, and a new clock such as the second clock can be turned on at this time, so that the clock can be prevented from being generated when the switch is switched. Narrow wave pulse.
  • Step S1052 Control the first clock to complete a complete clock cycle when a logical OR operation result of the first clock and the second clock is a third preset value.
  • the clock switching device performs a logical OR operation on the A_state and the B_state. If the logical OR operation result is a third preset value, such as 1, it indicates that the first clock is still in the working state when the clk_0 is not closed. The clock switching device does not turn on the new clock and controls the first clock to continue outputting a complete pulse of clk_0 and waits until the falling edge of clk_0 arrives, invalidating A_state even if the first clock is off.
  • a third preset value such as 1
  • the selection signal value is a single-bit signal value, that is, the selection signal value is 0 or 1, corresponding to the first clock clk_0 and the second clock, respectively. Clk_1.
  • the selection signal value is a two-bit signal value, and the two-bit signal value corresponds to four.
  • the first clock, the second clock, the third clock, and the fourth clock are provided with a corresponding one-hot code.
  • the step S103 further includes:
  • Step S107 acquiring a first bit number of the fourth preset value in the unique heat code of the first clock and a second bit number of the fourth preset value in the unique heat code of the second clock;
  • the clock selection signal select is subjected to the unique thermal coding
  • the unique thermal coding is the state corresponding to the number of bits of the selection signal, and only one bit is the fourth preset value such as 1, and the others are all 0.
  • a code system The biggest advantage of this unique thermal coding is that only one bit needs to be compared when making a judgment, which simplifies the decoding logic.
  • the corresponding selected clocks are as shown in Table 1 below, wherein the unique heat code is 4 bits, and the corresponding clock is selected according to 1 on different bits. It can be understood that, in other embodiments, the number of bits of the unique heat code can be set reasonably, or only one bit can be set to 0, and all others are all 1, which is not limited to the embodiment.
  • the bit number of 1 in the first clock clk_0 is obtained as the 0th bit
  • the bit number of 2 in the second clock clk_1 is the 3rd bit.
  • Step S108 determining whether there is an intermediate state when the first bit number and the second bit number of the first clock are correspondingly switched to the second clock;
  • the clock switching device determines whether there is an intermediate state when the first clock clk_0 is switched to the second clock clk_1, and the corresponding unique heat code needs to be switched from 0001 to 0010, that is, the 0th bit of the unique heat code is changed from 1 to 1. 0, the second bit has to change from 0 to 1. It can be understood that there may be a problem that the conversion time is inconsistent at this time, resulting in an intermediate state of 0000 or 0011. When the heat code needs to be switched from 0001 to 0100, its possible intermediate state is 0000 or 0101. When the heat code needs to be switched from 0001 to 1000, its possible intermediate state is 1001 or 1001, and other switching states are no longer. Narration.
  • Step S109 maintaining an operating state of the first clock or switching the first clock to a second clock according to whether there is an intermediate state.
  • the step S109 includes:
  • Step S1091 if there is an intermediate state, maintaining an operating state of the first clock
  • the clock switching device still maintains the previous state, that is, the working state of the first clock until the new state is stable, such that Does not cause an unexpected clock to turn on.
  • step S1092 if there is no intermediate state, the first clock is switched to the second clock.
  • the 0th bit of the unique heat code of the first clock has changed from 1 to 0, and the second The bit has changed from 0 to 1, at which point the clock switching device enters the operating state of the second clock.
  • the present invention further provides a clock switching device 1.
  • the clock switching device 1 includes:
  • the first obtaining module 101 is configured to receive a selection instruction and acquire a selection signal value
  • the strobe module 102 is configured to strobe the first clock when the selection signal value is the first preset value
  • the clock switching device acquires the corresponding selection signal value when receiving the selection instruction.
  • the first clock is clk_0 and the second clock is clk_1.
  • the first preset value is 0, and the second preset value is 1.
  • strobe clk_0 When the selection signal value is 0, strobe clk_0, and when the selection signal value is 1, strobe clk_1.
  • clk_1 may be strobed when the selection signal value is 0, and clk_0 is strobed when the selection signal value is 1.
  • the receiving module 103 is configured to receive a switching signal sent by the second clock
  • A_state indicates that the first clock clk_0 in the current clock switching device 1 is in an active state
  • B_state indicates that the second clock clk_1 in the current clock switching device 1 is in an active state
  • Clk_out indicates an output clock of the current clock switching device. signal.
  • A_state is generated by using the first clock clk_0 to shoot the "non" of the select signal select, that is:
  • the way B_state is generated is to use clk_1 to shoot the selection signal select, that is:
  • the A_state generated by the above method has a state in which the integer multiple of clk_0 is used as the jump timing. That is, if the select changes immediately after a rising edge of clk_0, the A_state does not follow the select. The change immediately changes, but after the falling edge of the clock of clk_0 comes, the state of A_state reflects the change of select. This ensures that when the clock is switched, the full cycle of the previous clock is always used as the switching opportunity to avoid unexpected narrow-wave pulses.
  • the selection signal changes immediately after a rising edge of clk_0.
  • the working state A_state corresponding to clk_0 is still in the active state, indicating clk_0 If the new clock is not turned off and the new clock cannot be turned on, the clock switching device 1 will continue to output a complete pulse of clk_0, and wait until the falling edge of clk_0 arrives, and A_state will be invalid.
  • the first determining module 104 is configured to determine a logical OR operation result of the first clock and the second clock;
  • the first control module 105 is configured to switch the strobe second clock or control the first clock to complete a complete clock cycle according to the logical OR operation result.
  • the clock switching device 1 performs a logical OR operation on the A_state and the B_state, and switches the strobe second clock or controls the first clock to complete a complete clock cycle according to the logical OR operation result.
  • the logical OR operation result may be 0 or 1, and may be reasonably set according to actual needs.
  • the clock switching device 1 determines the logical OR operation result of the first clock and the second clock when receiving the switching signal transmitted by the second clock, and switches the strobe second clock according to the logical OR operation result. Or controlling the first clock to complete a complete clock cycle. In this way, the probability of a narrow-wave pulse phenomenon on the output clock when the selection signal is randomly switched can be reduced.
  • the first control module 105 includes:
  • the first switching unit 1051 is configured to switch the strobe second clock when the logical OR operation result of the first clock and the second clock is the second preset value;
  • the logical OR operation result is the second preset value, such as 0, it means that there is no clock in the current clock switching device, and a new clock such as the second clock can be turned on at this time, so that the clock can be prevented from being generated when the switch is switched. Narrow wave pulse.
  • the control unit 1052 is configured to control the first clock to complete a complete clock cycle when a logical OR operation result of the first clock and the second clock is a third preset value.
  • the clock switching device 1 performs a logical OR operation on the A_state and the B_state. If the logical OR operation result is a third preset value, such as 1, it indicates that the first clock is still in the working state when clk_0 is not closed. At this time, the clock switching device 1 does not turn on a new clock, and controls the first clock to continue outputting a complete pulse of clk_0, and waits until the falling edge of clk_0 comes, causing A_state to be disabled even if the first clock is in the off state.
  • a third preset value such as 1
  • the selection signal value is a single-bit signal value, that is, the selection signal value is 0 or 1, corresponding to the first clock clk_0 and the second clock, respectively. Clk_1.
  • the selection signal value is a two-bit signal value, and the two-bit signal value corresponds to four types of pre-configured corresponding unique heat codes.
  • the clock switching device 1 further includes: a clock, a second clock, a third clock, and a fourth clock:
  • the second obtaining module 107 is configured to obtain a first bit number of the fourth preset value in the unique heat code of the first clock and a second bit number of the fourth preset value in the unique heat code of the second clock;
  • the clock selection signal select is subjected to the unique thermal coding
  • the unique thermal coding is the state corresponding to the number of bits of the selection signal, and only one bit is the fourth preset value such as 1, and the others are all 0.
  • a code system The biggest advantage of this unique thermal coding is that only one bit needs to be compared when making a judgment, which simplifies the decoding logic.
  • the corresponding selected clock is as shown in Table 1, where the heat is unique.
  • the code is 4 bits, and the corresponding clock is selected according to 1 on different bits. It can be understood that, in other embodiments, the number of bits of the unique heat code can be set reasonably, or only one bit can be set to 0, and all others are all 1, which is not limited to the embodiment.
  • the bit number of 1 in the first clock clk_0 is obtained as the 0th bit
  • the bit number of 2 in the second clock clk_1 is the 3rd bit.
  • the second determining module 108 is configured to determine whether there is an intermediate state when the first bit number and the second bit number of the first clock are correspondingly switched to the second clock;
  • the clock switching device 1 determines whether there is an intermediate state when the first clock clk_0 is switched to the second clock clk_1, and the corresponding one-hot code needs to be switched from 0001 to 0010, that is, the 0th bit of the unique heat code is changed from 1 It is 0, and the 2nd bit is changed from 0 to 1. It can be understood that there may be a problem that the conversion time is inconsistent at this time, resulting in an intermediate state of 0000 or 0011. When the heat code needs to be switched from 0001 to 0100, its possible intermediate state is 0000 or 0101. When the heat code needs to be switched from 0001 to 1000, its possible intermediate state is 1001 or 1001, and other switching states are no longer. Narration.
  • the second control module 109 is configured to maintain an operating state of the first clock or switch the first clock to a second clock according to whether an intermediate state exists.
  • the second control module 109 includes:
  • the working unit 1091 is configured to maintain an operating state of the first clock if an intermediate state exists
  • the clock switching device still maintains the previous state, that is, the working state of the first clock until the new state is stable, such that Does not cause an unexpected clock to turn on.
  • the second switching unit 1092 is configured to switch the first clock to the second clock if there is no intermediate state.
  • the 0th bit of the unique heat code of the first clock has changed from 1 to 0, and the second The bit has changed from 0 to 1, at which time the clock switching device 1 enters the operating state of the second clock.
  • the clock switching method and the clock switching apparatus provided by the embodiments of the present invention have the following beneficial effects: it can prevent the phenomenon that multiple clocks are turned on and interfere with the working clock signal due to instability of the selection signal itself. Thereby ensuring a steady state of the clock switching device.

Abstract

Disclosed is a clock switching method. The clock switching method comprises the following steps: receiving a selection instruction, and acquiring a selection signal value; if the selection signal value is a first preset value, then gating a first clock; receiving a switching signal transmitted by a second clock; determining a logic or operation result of the first clock and the second clock; and according to the logic or operation result, switching to gate the second clock or controlling the first clock to perform a complete clock cycle. Also disclosed is a clock switching device. The present invention reduces the probability of an output clock undergoing a narrow wave pulse phenomenon when the selection signal is randomly switched.

Description

时钟切换的方法及时钟切换装置Clock switching method and clock switching device 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种时钟切换的方法及时钟切换装置。The present invention relates to the field of communications technologies, and in particular, to a clock switching method and a clock switching device.
背景技术Background technique
在集成电路中,经常需要根据不同的工作场景,来调整系统的工作时钟频率,现有方案通常是利用一个多选一的选择器,根据输入选择器的编号来决定选通的时钟,并将其输入到系统中。但这种方案至少存在以下缺点:在系统需要进行两个以上时钟的切换的情况下,选择信号在切换过程中可能出现不稳定的状态,这样会造成时钟信号的不稳定。In an integrated circuit, it is often necessary to adjust the operating clock frequency of the system according to different working scenarios. The existing solution usually uses a multi-selector to determine the strobed clock according to the number of the input selector, and It is entered into the system. However, this solution has at least the following disadvantages: in the case where the system needs to perform switching of more than two clocks, the selection signal may be unstable during the switching process, which may cause instability of the clock signal.
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solutions of the present invention, and does not constitute an admission that the above is prior art.
发明内容Summary of the invention
本发明实施例提供了一种时钟切换的方法及时钟切换装置,旨在减少选择信号随机切换时,造成输出时钟出现窄波脉冲现象的发生机率。Embodiments of the present invention provide a clock switching method and a clock switching apparatus, which are designed to reduce the probability of occurrence of a narrow-wave pulse phenomenon on an output clock when a selection signal is randomly switched.
为实现上述目的,本发明实施例提供了一种时钟切换的方法,所述时钟切换的方法包括以下步骤:To achieve the above objective, an embodiment of the present invention provides a method for clock switching, and the method for clock switching includes the following steps:
接收选择指令,并获取选择信号值;Receiving a selection instruction and obtaining a selection signal value;
在选择信号值为第一预设值时,选通第一时钟;When the selection signal value is the first preset value, the first clock is strobed;
接收第二时钟发送的切换信号;Receiving a switching signal sent by the second clock;
判断所述第一时钟与第二时钟的逻辑或运算结果;Determining a logical OR operation result of the first clock and the second clock;
根据所述逻辑或运算结果,切换选通第二时钟或控制所述第一时钟完成完整的时钟周期。Switching the strobe second clock or controlling the first clock completes a complete clock cycle according to the logical OR operation result.
优选地,所述根据所述逻辑或运算结果,切换选通第二时钟或控制所述第一时钟完成完整的时钟周期的步骤包括: Preferably, the step of switching the strobe second clock or controlling the first clock to complete a complete clock cycle according to the logical OR operation result includes:
在所述第一时钟与第二时钟的逻辑或运算结果为第二预设值时,切换选通第二时钟;Switching the strobe second clock when the logical OR operation result of the first clock and the second clock is the second preset value;
在所述第一时钟与第二时钟的逻辑或运算结果为第三预设值时,控制所述第一时钟完成完整的时钟周期。When the logical OR operation result of the first clock and the second clock is a third preset value, the first clock is controlled to complete a complete clock cycle.
优选地,所述选择信号值为单比特信号值。Preferably, the selection signal value is a single bit signal value.
优选地,所述选择信号值为两比特信号值,所述两比特信号值对应四种预设有对应的独热码的第一时钟、第二时钟、第三时钟以及第四时钟,所述接收第二时钟发送的切换信号的步骤之后还包括:Preferably, the selection signal value is a two-bit signal value, and the two-bit signal value corresponds to four first clocks, a second clock, a third clock, and a fourth clock pre-configured with corresponding one-hot codes. After the step of receiving the switching signal sent by the second clock, the method further includes:
获取第一时钟的独热码中第四预设值的第一比特位数和第二时钟的独热码中第四预设值的第二比特位数;Obtaining a first bit number of the fourth preset value in the unique heat code of the first clock and a second bit number of the fourth preset value in the unique heat code of the second clock;
判断在将所述第一时钟的第一比特位数和第二比特位数对应切换为第二时钟时是否存在中间状态;Determining whether there is an intermediate state when the first bit number and the second bit number of the first clock are correspondingly switched to the second clock;
根据是否存在中间状态,保持所述第一时钟的工作状态或将所述第一时钟切换为第二时钟。The operating state of the first clock is maintained or the first clock is switched to a second clock depending on whether there is an intermediate state.
优选地,所述根据是否存在中间状态,保持所述第一时钟的工作状态或将所述第一时钟切换为第二时钟的步骤包括:Preferably, the step of maintaining the working state of the first clock or switching the first clock to the second clock according to whether there is an intermediate state comprises:
若存在中间状态,则保持所述第一时钟的工作状态;If there is an intermediate state, maintaining an operating state of the first clock;
若不存在中间状态,则将所述第一时钟切换为第二时钟。If there is no intermediate state, the first clock is switched to the second clock.
此外,为实现上述目的,本发明实施例还提供了一种时钟切换装置,所述时钟切换装置包括:In addition, in order to achieve the above object, an embodiment of the present invention further provides a clock switching apparatus, where the clock switching apparatus includes:
第一获取模块,设置为接收选择指令,并获取选择信号值;a first acquiring module, configured to receive a selection instruction, and obtain a selection signal value;
选通模块,设置为在选择信号值为第一预设值时,选通第一时钟;The strobe module is configured to strobe the first clock when the selection signal value is the first preset value;
接收模块,设置为接收第二时钟发送的切换信号;a receiving module, configured to receive a switching signal sent by the second clock;
第一判断模块,设置为判断所述第一时钟与第二时钟的逻辑或运算结果; a first determining module, configured to determine a logical OR operation result of the first clock and the second clock;
第一控制模块,设置为根据所述逻辑或运算结果,切换选通第二时钟或控制所述第一时钟完成完整的时钟周期。The first control module is configured to switch the strobe second clock or control the first clock to complete a complete clock cycle according to the logical OR operation result.
优选地,所述控制模块包括:Preferably, the control module comprises:
第一切换单元,设置为在所述第一时钟与第二时钟的逻辑或运算结果为第二预设值时,切换选通第二时钟;The first switching unit is configured to switch the strobe second clock when the logical OR operation result of the first clock and the second clock is the second preset value;
控制单元,设置为在所述第一时钟与第二时钟的逻辑或运算结果为第三预设值时,控制所述第一时钟完成完整的时钟周期。The control unit is configured to control the first clock to complete a complete clock cycle when a logical OR operation result of the first clock and the second clock is a third preset value.
优选地,所述选择信号值为单比特信号值。Preferably, the selection signal value is a single bit signal value.
优选地,所述选择信号值为两比特信号值,所述两比特信号值对应四种预设有对应的独热码的第一时钟、第二时钟、第三时钟以及第四时钟,所述时钟切换装置还包括:Preferably, the selection signal value is a two-bit signal value, and the two-bit signal value corresponds to four first clocks, a second clock, a third clock, and a fourth clock pre-configured with corresponding one-hot codes. The clock switching device further includes:
第二获取模块,设置为获取第一时钟的独热码中第四预设值的第一比特位数和第二时钟的独热码中第四预设值的第二比特位数;a second acquiring module, configured to acquire a first bit number of the fourth preset value in the unique heat code of the first clock and a second bit number of the fourth preset value in the unique heat code of the second clock;
第二判断模块,设置为判断在将所述第一时钟的第一比特位数和第二比特位数对应切换为第二时钟时是否存在中间状态;The second determining module is configured to determine whether there is an intermediate state when the first bit number and the second bit number of the first clock are correspondingly switched to the second clock;
第二控制模块,设置为根据是否存在中间状态,保持所述第一时钟的工作状态或将所述第一时钟切换为第二时钟。The second control module is configured to maintain an operating state of the first clock or switch the first clock to a second clock according to whether an intermediate state exists.
优选地,所述第二控制模块包括:Preferably, the second control module comprises:
工作单元,设置为若存在中间状态,则保持所述第一时钟的工作状态;a working unit, configured to maintain an operating state of the first clock if an intermediate state exists;
第二切换单元,设置为若不存在中间状态,则将所述第一时钟切换为第二时钟。The second switching unit is configured to switch the first clock to the second clock if there is no intermediate state.
本发明实施例提供的时钟切换的方法及时钟切换装置,通过在接收第二时钟发送的切换信号时,判断第一时钟与第二时钟的逻辑或运算结果,并根据所述逻辑或运算结果,切换选通第二时钟或控制所述第一时钟完成完整的时钟周期。这样,可以减少在选择信号随机切换时,输出时钟出现窄波脉冲现象的几率。此外,通过独热编码具有对应的独热码的第一时钟、第二时钟、第三时钟以及第四时钟,可以防止由于选择信号本身的不稳定,而造成多个时钟被打开而干扰工作时钟信号的现象,从而确保时钟切换装置的稳定状态。 The method for clock switching and the clock switching apparatus provided by the embodiment of the present invention determine the logical OR operation result of the first clock and the second clock when receiving the switching signal sent by the second clock, and according to the logical OR operation result, Switching the strobe second clock or controlling the first clock completes a complete clock cycle. In this way, the probability of a narrow-wave pulse phenomenon on the output clock when the selection signal is randomly switched can be reduced. In addition, by encoding the first clock, the second clock, the third clock, and the fourth clock having the corresponding unique heat codes by the unique heat, it is possible to prevent the plurality of clocks from being turned on to interfere with the working clock due to the instability of the selection signal itself. The phenomenon of the signal ensures a stable state of the clock switching device.
附图说明DRAWINGS
图1为本发明时钟切换的方法第一实施例的流程示意图;1 is a schematic flowchart of a first embodiment of a method for clock switching according to the present invention;
图2为本发明时钟切换的方法一实施例的选择信号和对应的输出时钟信号示意图;2 is a schematic diagram of a selection signal and a corresponding output clock signal according to an embodiment of a method for clock switching according to the present invention;
图3为本发明时钟切换的方法第二实施例的流程示意图;3 is a schematic flowchart of a second embodiment of a method for clock switching according to the present invention;
图4为本发明时钟切换的方法第三实施例的流程示意图;4 is a schematic flowchart diagram of a third embodiment of a method for clock switching according to the present invention;
图5为本发明时钟切换的方法第四实施例的流程示意图;FIG. 5 is a schematic flowchart diagram of a fourth embodiment of a method for clock switching according to the present invention; FIG.
图6为本发明时钟切换的方法另一实施例的选择信号和对应的输出时钟信号示意图;6 is a schematic diagram of a selection signal and a corresponding output clock signal according to another embodiment of a method for clock switching according to the present invention;
图7为本发明时钟切换装置第一实施例的功能模块示意图;7 is a schematic diagram of functional modules of a first embodiment of a clock switching apparatus according to the present invention;
图8为图7中第一控制模块一实施例的功能模块示意图;8 is a schematic diagram of functional modules of an embodiment of the first control module of FIG. 7;
图9为本发明时钟切换装置第二实施例的功能模块示意图;9 is a schematic diagram of functional modules of a second embodiment of a clock switching device according to the present invention;
图10为图9中第二控制模块一实施例的功能模块示意图。FIG. 10 is a schematic diagram of functional modules of an embodiment of the second control module of FIG. 9. FIG.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种时钟切换的方法,参照图1,在一实施例中,所述时钟切换的方法包括以下步骤:The present invention provides a method for clock switching. Referring to FIG. 1, in an embodiment, the method for clock switching includes the following steps:
步骤S101,接收选择指令,并获取选择信号值;Step S101, receiving a selection instruction, and acquiring a selection signal value;
步骤S102,在选择信号值为第一预设值时,选通第一时钟;Step S102, when the selection signal value is the first preset value, stroking the first clock;
本优选实施例中,时钟切换装置在接收到选择指令时,会获取对应的选择信号值。所述第一时钟为clk_0,第二时钟为clk_1。第一预设值为0,第二预设值为1。在选择信号值Select为0时,选通clk_0,在选择信号值Select为1时,选通clk_1。当然, 在其他实施例中,可以在选择选择信号值为0时,选通clk_1,在选择信号值Select为1时,选通clk_0。In the preferred embodiment, the clock switching device acquires the corresponding selection signal value when receiving the selection instruction. The first clock is clk_0 and the second clock is clk_1. The first preset value is 0, and the second preset value is 1. When the selection signal value Select is 0, the clk_0 is gated, and when the selection signal value Select is 1, the clk_1 is gated. of course, In other embodiments, clk_1 may be strobed when the selection signal value is 0, and clk_0 is strobed when the selection signal value Select is 1.
步骤S103,接收第二时钟发送的切换信号;Step S103, receiving a switching signal sent by the second clock;
本实施例中,参照图2,A_state表示当前时钟切换装置中第一时钟clk_0处于工作状态,B_state表示当前时钟切换装置中第二时钟clk_1处于工作状态,Clk_out表示当前时钟切换装置的输出时钟信号。In this embodiment, referring to FIG. 2, A_state indicates that the first clock clk_0 is in an active state in the current clock switching device, B_state indicates that the second clock clk_1 in the current clock switching device is in an active state, and Clk_out indicates an output clock signal of the current clock switching device.
A_state的产生方式是用第一时钟clk_0对选择信号select的“非”进行打拍,也就是:A_state is generated by using the first clock clk_0 to shoot the "non" of the select signal select, that is:
always@(negedge clk_0)Always@(negedge clk_0)
A_state<=!selectA_state<=! Select
B_state的产生方式是用clk_1对选择信号select进行打拍,也就是:The way B_state is generated is to use clk_1 to shoot the selection signal select, that is:
always@(posedge clk_1)Always@(posedge clk_1)
B_state<=selectB_state<=select
通过上面的方法产生的A_state,它的状态是以clk_0的整数倍周期为跳转时机,也就是说,如果select在紧邻clk_0的某个上升沿之后发生变化,此时的A_state并不会随select的变化而立即变化,而是等clk_0的时钟下降沿到来后,A_state的状态才反映出select的变化。这样就保证了在时钟切换时,总是以之前那个时钟的完整周期为切换时机,避免出现意外的窄波脉冲。The A_state generated by the above method has a state in which the integer multiple of clk_0 is used as the jump timing. That is, if the select changes immediately after a rising edge of clk_0, the A_state does not follow the select. The change immediately changes, but after the falling edge of the clock of clk_0 comes, the state of A_state reflects the change of select. This ensures that when the clock is switched, the full cycle of the previous clock is always used as the switching opportunity to avoid unexpected narrow-wave pulses.
B_state的变化方式和A_state类似。B_state changes in a similar way to A_state.
也即当需要将第一时钟切换为第二时钟时,选择信号在紧邻clk_0的某个上升沿之后发生变化,在clk_0的下降沿到来前,clk_0对应的工作状态A_state仍然处于有效状态,表示clk_0还未关闭,不能打开新的时钟,时钟切换装置会继续输出clk_0的一个完整脉冲,并等到clk_0的下降沿到来后,A_state失效。That is, when the first clock needs to be switched to the second clock, the selection signal changes immediately after a rising edge of clk_0. Before the falling edge of clk_0 arrives, the working state A_state corresponding to clk_0 is still in the active state, indicating clk_0 The new clock is not turned off, the clock switch will continue to output a full pulse of clk_0, and wait until the falling edge of clk_0 arrives, A_state will be invalid.
步骤S104,判断所述第一时钟与第二时钟的逻辑或运算结果;Step S104, determining a logical OR operation result of the first clock and the second clock;
步骤S105,根据所述逻辑或运算结果,切换选通第二时钟或控制所述第一时钟完成完整的时钟周期。 Step S105, according to the logical OR operation result, switching the strobe second clock or controlling the first clock to complete a complete clock cycle.
本实施例中,时钟切换装置将A_state和B_state进行逻辑或运算,并根据所述逻辑或运算结果,切换选通第二时钟或控制所述第一时钟完成完整的时钟周期。其中,所述逻辑或运算结果可以为0或1,具体可根据实际需要合理设置。In this embodiment, the clock switching device performs a logical OR operation on the A_state and the B_state, and switches the strobe second clock or controls the first clock to complete a complete clock cycle according to the logical OR operation result. The logical OR operation result may be 0 or 1, and may be reasonably set according to actual needs.
本发明提供的时钟切换的方法,通过在接收第二时钟发送的切换信号时,判断第一时钟与第二时钟的逻辑或运算结果,并根据所述逻辑或运算结果,切换选通第二时钟或控制所述第一时钟完成完整的时钟周期。这样,可以减少在选择信号随机切换时,输出时钟出现窄波脉冲现象的几率。The method for clock switching provided by the present invention determines the logical OR operation result of the first clock and the second clock when receiving the switching signal sent by the second clock, and switches the strobe second clock according to the logical OR operation result Or controlling the first clock to complete a complete clock cycle. In this way, the probability of a narrow-wave pulse phenomenon on the output clock when the selection signal is randomly switched can be reduced.
在一实施例中,如图3所示,在上述图1的实施例的基础上,本实施例中,所述步骤S105包括:In an embodiment, as shown in FIG. 3, on the basis of the foregoing embodiment of FIG. 1, in the embodiment, the step S105 includes:
步骤S1051,在所述第一时钟与第二时钟的逻辑或运算结果为第二预设值时,切换选通第二时钟;Step S1051, when the logical OR operation result of the first clock and the second clock is a second preset value, switching the strobe second clock;
本实施例中,若逻辑或运算结果为第二预设值如0,则表示当前时钟切换装置中没有时钟,此时可以打开新的时钟如第二时钟,这样就可避免时钟在切换时产生窄波脉冲。In this embodiment, if the logical OR operation result is the second preset value, such as 0, it means that there is no clock in the current clock switching device, and a new clock such as the second clock can be turned on at this time, so that the clock can be prevented from being generated when the switch is switched. Narrow wave pulse.
步骤S1052,在所述第一时钟与第二时钟的逻辑或运算结果为第三预设值时,控制所述第一时钟完成完整的时钟周期。Step S1052: Control the first clock to complete a complete clock cycle when a logical OR operation result of the first clock and the second clock is a third preset value.
本实施例中,时钟切换装置将A_state和B_state进行逻辑或运算,若逻辑或运算结果为第三预设值如1,则表示表示clk_0还未关闭即所述第一时钟仍处于工作状态,此时时钟切换装置不会打开新的时钟,并控制第一时钟继续输出clk_0的一个完整脉冲,并等到clk_0的下降沿到来后,使A_state失效,即使所述第一时钟处于关闭状态。In this embodiment, the clock switching device performs a logical OR operation on the A_state and the B_state. If the logical OR operation result is a third preset value, such as 1, it indicates that the first clock is still in the working state when the clk_0 is not closed. The clock switching device does not turn on the new clock and controls the first clock to continue outputting a complete pulse of clk_0 and waits until the falling edge of clk_0 arrives, invalidating A_state even if the first clock is off.
在一实施例中,在上述图1或图3的实施例的基础上,所述选择信号值为单比特信号值,即选择信号值为0或1,分别对应第一时钟clk_0和第二时钟clk_1。In an embodiment, on the basis of the foregoing embodiment of FIG. 1 or FIG. 3, the selection signal value is a single-bit signal value, that is, the selection signal value is 0 or 1, corresponding to the first clock clk_0 and the second clock, respectively. Clk_1.
在一实施例中,如图4和图6所示,在上述图1的实施例的基础上,本实施例中,所述选择信号值为两比特信号值,所述两比特信号值对应四种预设有对应的独热码的第一时钟、第二时钟、第三时钟以及第四时钟,所述步骤S103的步骤之后还包括:In an embodiment, as shown in FIG. 4 and FIG. 6, on the basis of the foregoing embodiment of FIG. 1, in the embodiment, the selection signal value is a two-bit signal value, and the two-bit signal value corresponds to four. The first clock, the second clock, the third clock, and the fourth clock are provided with a corresponding one-hot code. The step S103 further includes:
步骤S107,获取第一时钟的独热码中第四预设值的第一比特位数和第二时钟的独热码中第四预设值的第二比特位数; Step S107, acquiring a first bit number of the fourth preset value in the unique heat code of the first clock and a second bit number of the fourth preset value in the unique heat code of the second clock;
本优选实施例中,对时钟选择信号select进行独热编码,所述独热编码就是选择信号的状态对应比特位数,且只有一个比特位为第四预设值如1,其他全为0的一种码制。该独热编码的最大优点就是进行判断时只需要比较一位比特,简化了译码逻辑。将选择信号select的四种状态编为独热码后,对应选择的时钟如下表一所示,其中独热码为4bit,根据不同的比特位上的1,来选择对应的时钟。可以理解的是,在其他实施例中,可以合理设置独热码的比特位数,也可以设置为只有一个比特位为0,其他全为1,并不局限于本实施例。In the preferred embodiment, the clock selection signal select is subjected to the unique thermal coding, and the unique thermal coding is the state corresponding to the number of bits of the selection signal, and only one bit is the fourth preset value such as 1, and the others are all 0. A code system. The biggest advantage of this unique thermal coding is that only one bit needs to be compared when making a judgment, which simplifies the decoding logic. After the four states of the selection signal select are encoded as the unique heat codes, the corresponding selected clocks are as shown in Table 1 below, wherein the unique heat code is 4 bits, and the corresponding clock is selected according to 1 on different bits. It can be understood that, in other embodiments, the number of bits of the unique heat code can be set reasonably, or only one bit can be set to 0, and all others are all 1, which is not limited to the embodiment.
表一:Table I:
select[1:0]Select[1:0] 独热码Single heat code 选择时钟Select clock
0000 00010001 clk_0Clk_0
0101 00100010 clk_1Clk_1
1010 01000100 clk_2Clk_2
1111 10001000 clk_3Clk_3
本实施例中,获取第一时钟clk_0中1的比特位数为第0位,第二时钟clk_1中2的比特位数为第3位。In this embodiment, the bit number of 1 in the first clock clk_0 is obtained as the 0th bit, and the bit number of 2 in the second clock clk_1 is the 3rd bit.
步骤S108,判断在将所述第一时钟的第一比特位数和第二比特位数对应切换为第二时钟时是否存在中间状态;Step S108, determining whether there is an intermediate state when the first bit number and the second bit number of the first clock are correspondingly switched to the second clock;
本实施例中,时钟切换装置判断第一时钟clk_0切换为第二时钟clk_1时是否存在中间状态,对应的独热码需要从0001切换到0010,即独热码的第0位要从1变为0,第2位要从0变为1。可以理解的是,此时可能会存在变换时间不一致的问题,从而导致出现中间状态0000或0011。而当独热码需要从0001切换到0100时,其可能的中间状态为0000或0101,当独热码需要从0001切换到1000时,其可能的中间状态为1001或1001,其他切换状态不再赘述。In this embodiment, the clock switching device determines whether there is an intermediate state when the first clock clk_0 is switched to the second clock clk_1, and the corresponding unique heat code needs to be switched from 0001 to 0010, that is, the 0th bit of the unique heat code is changed from 1 to 1. 0, the second bit has to change from 0 to 1. It can be understood that there may be a problem that the conversion time is inconsistent at this time, resulting in an intermediate state of 0000 or 0011. When the heat code needs to be switched from 0001 to 0100, its possible intermediate state is 0000 or 0101. When the heat code needs to be switched from 0001 to 1000, its possible intermediate state is 1001 or 1001, and other switching states are no longer. Narration.
步骤S109,根据是否存在中间状态,保持所述第一时钟的工作状态或将所述第一时钟切换为第二时钟。 Step S109, maintaining an operating state of the first clock or switching the first clock to a second clock according to whether there is an intermediate state.
本实施例中,若在第一时钟clk_0切换为第二时钟clk_1时存在中间状态0000或0011,则由于无法对应到clk_0到clk_3等任意一个时钟上,所以不会造成意外时钟的开启,时钟切换装置仍然保持上一状态即第一时钟的工作状态,直到新的状态稳定为止。若在第一时钟clk_0切换为第二时钟clk_1时不存在中间状态0000或0011,则完成将所述第一时钟转换为第二时钟的切换。In this embodiment, if there is an intermediate state 0000 or 0011 when the first clock clk_0 is switched to the second clock clk_1, since it cannot correspond to any clock such as clk_0 to clk_3, the unexpected clock is not turned on, and the clock is switched. The device remains in the previous state, the operating state of the first clock, until the new state is stable. If there is no intermediate state 0000 or 0011 when the first clock clk_0 is switched to the second clock clk_1, the switching of converting the first clock to the second clock is completed.
在一实施例中,如图5所示,在上述图4的实施例的基础上,本实施例中,所述步骤S109包括:In an embodiment, as shown in FIG. 5, on the basis of the foregoing embodiment of FIG. 4, in the embodiment, the step S109 includes:
步骤S1091,若存在中间状态,则保持所述第一时钟的工作状态;Step S1091, if there is an intermediate state, maintaining an operating state of the first clock;
本实施例中,若存在中间状态0000或0011,由于无法对应到clk_0到clk_3等任意一个时钟上,时钟切换装置仍然保持上一状态即第一时钟的工作状态,直到新的状态稳定为止,这样不会造成意外时钟的开启。In this embodiment, if there is an intermediate state 0000 or 0011, since it cannot correspond to any clock such as clk_0 to clk_3, the clock switching device still maintains the previous state, that is, the working state of the first clock until the new state is stable, such that Does not cause an unexpected clock to turn on.
步骤S1092,若不存在中间状态,则将所述第一时钟切换为第二时钟。In step S1092, if there is no intermediate state, the first clock is switched to the second clock.
本实施例中,若在将第一时钟切换为第二时钟时,不存在中间状态0000或0011,则表明所述第一时钟的独热码的第0位已经从1变为0,第2位已经从0变为1,此时时钟切换装置进入第二时钟的工作状态。In this embodiment, if the intermediate state 0000 or 0011 is not present when the first clock is switched to the second clock, the 0th bit of the unique heat code of the first clock has changed from 1 to 0, and the second The bit has changed from 0 to 1, at which point the clock switching device enters the operating state of the second clock.
本实施例中,通过独热编码具有对应的独热码的第一时钟、第二时钟、第三时钟以及第四时钟,可以防止由于选择信号本身的不稳定,而造成多个时钟被打开而干扰工作时钟信号的现象,从而确保时钟切换装置的稳定状态。In this embodiment, by independently encoding the first clock, the second clock, the third clock, and the fourth clock having the corresponding heat-up codes, it is possible to prevent multiple clocks from being turned on due to instability of the selection signal itself. The phenomenon of disturbing the working clock signal ensures the steady state of the clock switching device.
本发明还提供一种时钟切换装置1,参照图7,在一实施例中,所述时钟切换装置1包括:The present invention further provides a clock switching device 1. Referring to FIG. 7, in an embodiment, the clock switching device 1 includes:
第一获取模块101,设置为接收选择指令,并获取选择信号值;The first obtaining module 101 is configured to receive a selection instruction and acquire a selection signal value;
选通模块102,设置为在选择信号值为第一预设值时,选通第一时钟;The strobe module 102 is configured to strobe the first clock when the selection signal value is the first preset value;
本优选实施例中,时钟切换装置在接收到选择指令时,会获取对应的选择信号值。所述第一时钟为clk_0,第二时钟为clk_1。第一预设值为0,第二预设值为1。在选择信号值为0时,选通clk_0,在选择信号值为1时,选通clk_1。当然,在其他实施例中,可以在选择选择信号值为0时,选通clk_1,在选择信号值为1时,选通clk_0。In the preferred embodiment, the clock switching device acquires the corresponding selection signal value when receiving the selection instruction. The first clock is clk_0 and the second clock is clk_1. The first preset value is 0, and the second preset value is 1. When the selection signal value is 0, strobe clk_0, and when the selection signal value is 1, strobe clk_1. Of course, in other embodiments, clk_1 may be strobed when the selection signal value is 0, and clk_0 is strobed when the selection signal value is 1.
接收模块103,设置为接收第二时钟发送的切换信号; The receiving module 103 is configured to receive a switching signal sent by the second clock;
本实施例中,参照图2,A_state表示当前时钟切换装置1中第一时钟clk_0处于工作状态,B_state表示当前时钟切换装置1中第二时钟clk_1处于工作状态,Clk_out表示当前时钟切换装置的输出时钟信号。In this embodiment, referring to FIG. 2, A_state indicates that the first clock clk_0 in the current clock switching device 1 is in an active state, B_state indicates that the second clock clk_1 in the current clock switching device 1 is in an active state, and Clk_out indicates an output clock of the current clock switching device. signal.
A_state的产生方式是用第一时钟clk_0对选择信号select的“非”进行打拍,也就是:A_state is generated by using the first clock clk_0 to shoot the "non" of the select signal select, that is:
always@(negedge clk_0)Always@(negedge clk_0)
A_state<=!selectA_state<=! Select
B_state的产生方式是用clk_1对选择信号select进行打拍,也就是:The way B_state is generated is to use clk_1 to shoot the selection signal select, that is:
always@(posedge clk_1)Always@(posedge clk_1)
B_state<=selectB_state<=select
通过上面的方法产生的A_state,它的状态是以clk_0的整数倍周期为跳转时机,也就是说,如果select在紧邻clk_0的某个上升沿之后发生变化,此时的A_state并不会随select的变化而立即变化,而是等clk_0的时钟下降沿到来后,A_state的状态才反映出select的变化。这样就保证了在时钟切换时,总是以之前那个时钟的完整周期为切换时机,避免出现意外的窄波脉冲。The A_state generated by the above method has a state in which the integer multiple of clk_0 is used as the jump timing. That is, if the select changes immediately after a rising edge of clk_0, the A_state does not follow the select. The change immediately changes, but after the falling edge of the clock of clk_0 comes, the state of A_state reflects the change of select. This ensures that when the clock is switched, the full cycle of the previous clock is always used as the switching opportunity to avoid unexpected narrow-wave pulses.
B_state的变化方式和A_state类似。B_state changes in a similar way to A_state.
也即当需要将第一时钟切换为第二时钟时,选择信号在紧邻clk_0的某个上升沿之后发生变化,在clk_0的下降沿到来前,clk_0对应的工作状态A_state仍然处于有效状态,表示clk_0还未关闭,不能打开新的时钟,时钟切换装置1会继续输出clk_0的一个完整脉冲,并等到clk_0的下降沿到来后,A_state失效。That is, when the first clock needs to be switched to the second clock, the selection signal changes immediately after a rising edge of clk_0. Before the falling edge of clk_0 arrives, the working state A_state corresponding to clk_0 is still in the active state, indicating clk_0 If the new clock is not turned off and the new clock cannot be turned on, the clock switching device 1 will continue to output a complete pulse of clk_0, and wait until the falling edge of clk_0 arrives, and A_state will be invalid.
第一判断模块104,设置为判断所述第一时钟与第二时钟的逻辑或运算结果;The first determining module 104 is configured to determine a logical OR operation result of the first clock and the second clock;
第一控制模块105,设置为根据所述逻辑或运算结果,切换选通第二时钟或控制所述第一时钟完成完整的时钟周期。The first control module 105 is configured to switch the strobe second clock or control the first clock to complete a complete clock cycle according to the logical OR operation result.
本实施例中,时钟切换装置1将A_state和B_state进行逻辑或运算,并根据所述逻辑或运算结果,切换选通第二时钟或控制所述第一时钟完成完整的时钟周期。其中,所述逻辑或运算结果可以为0或1,具体可根据实际需要合理设置。 In this embodiment, the clock switching device 1 performs a logical OR operation on the A_state and the B_state, and switches the strobe second clock or controls the first clock to complete a complete clock cycle according to the logical OR operation result. The logical OR operation result may be 0 or 1, and may be reasonably set according to actual needs.
本发明提供的时钟切换装置1,通过在接收第二时钟发送的切换信号时,判断第一时钟与第二时钟的逻辑或运算结果,并根据所述逻辑或运算结果,切换选通第二时钟或控制所述第一时钟完成完整的时钟周期。这样,可以减少在选择信号随机切换时,输出时钟出现窄波脉冲现象的几率。The clock switching device 1 provided by the present invention determines the logical OR operation result of the first clock and the second clock when receiving the switching signal transmitted by the second clock, and switches the strobe second clock according to the logical OR operation result. Or controlling the first clock to complete a complete clock cycle. In this way, the probability of a narrow-wave pulse phenomenon on the output clock when the selection signal is randomly switched can be reduced.
在一实施例中,如图8所示,在上述图7的实施例的基础上,本实施例中,所述第一控制模块105包括:In an embodiment, as shown in FIG. 8, on the basis of the foregoing embodiment of FIG. 7, in the embodiment, the first control module 105 includes:
第一切换单元1051,设置为在所述第一时钟与第二时钟的逻辑或运算结果为第二预设值时,切换选通第二时钟;The first switching unit 1051 is configured to switch the strobe second clock when the logical OR operation result of the first clock and the second clock is the second preset value;
本实施例中,若逻辑或运算结果为第二预设值如0,则表示当前时钟切换装置中没有时钟,此时可以打开新的时钟如第二时钟,这样就可避免时钟在切换时产生窄波脉冲。In this embodiment, if the logical OR operation result is the second preset value, such as 0, it means that there is no clock in the current clock switching device, and a new clock such as the second clock can be turned on at this time, so that the clock can be prevented from being generated when the switch is switched. Narrow wave pulse.
控制单元1052,设置为在所述第一时钟与第二时钟的逻辑或运算结果为第三预设值时,控制所述第一时钟完成完整的时钟周期。The control unit 1052 is configured to control the first clock to complete a complete clock cycle when a logical OR operation result of the first clock and the second clock is a third preset value.
本实施例中,时钟切换装置1将A_state和B_state进行逻辑或运算,若逻辑或运算结果为第三预设值如1,则表示表示clk_0还未关闭即所述第一时钟仍处于工作状态,此时时钟切换装置1不会打开新的时钟,并控制第一时钟继续输出clk_0的一个完整脉冲,并等到clk_0的下降沿到来后,使A_state失效,即使所述第一时钟处于关闭状态。In this embodiment, the clock switching device 1 performs a logical OR operation on the A_state and the B_state. If the logical OR operation result is a third preset value, such as 1, it indicates that the first clock is still in the working state when clk_0 is not closed. At this time, the clock switching device 1 does not turn on a new clock, and controls the first clock to continue outputting a complete pulse of clk_0, and waits until the falling edge of clk_0 comes, causing A_state to be disabled even if the first clock is in the off state.
在一实施例中,在上述图7或图8的实施例的基础上,所述选择信号值为单比特信号值,即选择信号值为0或1,分别对应第一时钟clk_0和第二时钟clk_1。In an embodiment, on the basis of the foregoing embodiment of FIG. 7 or FIG. 8, the selection signal value is a single-bit signal value, that is, the selection signal value is 0 or 1, corresponding to the first clock clk_0 and the second clock, respectively. Clk_1.
在一实施例中,参照9,在上述图7的实施例的基础上,所述选择信号值为两比特信号值,所述两比特信号值对应四种预设有对应的独热码的第一时钟、第二时钟、第三时钟以及第四时钟,所述时钟切换装置1还包括:In an embodiment, referring to 9, on the basis of the foregoing embodiment of FIG. 7, the selection signal value is a two-bit signal value, and the two-bit signal value corresponds to four types of pre-configured corresponding unique heat codes. The clock switching device 1 further includes: a clock, a second clock, a third clock, and a fourth clock:
第二获取模块107,设置为获取第一时钟的独热码中第四预设值的第一比特位数和第二时钟的独热码中第四预设值的第二比特位数;The second obtaining module 107 is configured to obtain a first bit number of the fourth preset value in the unique heat code of the first clock and a second bit number of the fourth preset value in the unique heat code of the second clock;
本优选实施例中,对时钟选择信号select进行独热编码,所述独热编码就是选择信号的状态对应比特位数,且只有一个比特位为第四预设值如1,其他全为0的一种码制。该独热编码的最大优点就是进行判断时只需要比较一位比特,简化了译码逻辑。选择信号select的四种状态编为独热码后,对应选择的时钟如下表一所示,其中独热 码为4bit,根据不同的比特位上的1,来选择对应的时钟。可以理解的是,在其他实施例中,可以合理设置独热码的比特位数,也可以设置为只有一个比特位为0,其他全为1,并不局限于本实施例。In the preferred embodiment, the clock selection signal select is subjected to the unique thermal coding, and the unique thermal coding is the state corresponding to the number of bits of the selection signal, and only one bit is the fourth preset value such as 1, and the others are all 0. A code system. The biggest advantage of this unique thermal coding is that only one bit needs to be compared when making a judgment, which simplifies the decoding logic. After the four states of the selection signal select are coded as the single heat code, the corresponding selected clock is as shown in Table 1, where the heat is unique. The code is 4 bits, and the corresponding clock is selected according to 1 on different bits. It can be understood that, in other embodiments, the number of bits of the unique heat code can be set reasonably, or only one bit can be set to 0, and all others are all 1, which is not limited to the embodiment.
表二:Table II:
select[1:0]Select[1:0] 独热码Single heat code 选择时钟Select clock
0000 00010001 clk_0Clk_0
0101 00100010 clk_1Clk_1
1010 01000100 clk_2Clk_2
1111 10001000 clk_3Clk_3
本实施例中,获取第一时钟clk_0中1的比特位数为第0位,第二时钟clk_1中2的比特位数为第3位。In this embodiment, the bit number of 1 in the first clock clk_0 is obtained as the 0th bit, and the bit number of 2 in the second clock clk_1 is the 3rd bit.
第二判断模块108,设置为判断在将所述第一时钟的第一比特位数和第二比特位数对应切换为第二时钟时是否存在中间状态;The second determining module 108 is configured to determine whether there is an intermediate state when the first bit number and the second bit number of the first clock are correspondingly switched to the second clock;
本实施例中,时钟切换装置1判断第一时钟clk_0切换为第二时钟clk_1时是否存在中间状态,对应的独热码需要从0001切换到0010,即独热码的第0位要从1变为0,第2位要从0变为1。可以理解的是,此时可能会存在变换时间不一致的问题,从而导致出现中间状态0000或0011。而当独热码需要从0001切换到0100时,其可能的中间状态为0000或0101,当独热码需要从0001切换到1000时,其可能的中间状态为1001或1001,其他切换状态不再赘述。In this embodiment, the clock switching device 1 determines whether there is an intermediate state when the first clock clk_0 is switched to the second clock clk_1, and the corresponding one-hot code needs to be switched from 0001 to 0010, that is, the 0th bit of the unique heat code is changed from 1 It is 0, and the 2nd bit is changed from 0 to 1. It can be understood that there may be a problem that the conversion time is inconsistent at this time, resulting in an intermediate state of 0000 or 0011. When the heat code needs to be switched from 0001 to 0100, its possible intermediate state is 0000 or 0101. When the heat code needs to be switched from 0001 to 1000, its possible intermediate state is 1001 or 1001, and other switching states are no longer. Narration.
第二控制模块109,设置为根据是否存在中间状态,保持所述第一时钟的工作状态或将所述第一时钟切换为第二时钟。The second control module 109 is configured to maintain an operating state of the first clock or switch the first clock to a second clock according to whether an intermediate state exists.
本实施例中,参照图6,若在第一时钟clk_0切换为第二时钟clk_1时存在中间状态0000或0011,则由于无法对应到clk_0到clk_3等任意一个时钟上,所以不会造成意外时钟的开启,时钟切换装置1仍然保持上一状态即第一时钟的工作状态,直到新的状态稳定为止。若在第一时钟clk_0切换为第二时钟clk_1时不存在中间状态0000或0011,则完成将所述第一时钟转换为第二时钟的切换。 In this embodiment, referring to FIG. 6, if there is an intermediate state 0000 or 0011 when the first clock clk_0 is switched to the second clock clk_1, since it cannot correspond to any clock such as clk_0 to clk_3, it does not cause an unexpected clock. When turned on, the clock switching device 1 still maintains the previous state, that is, the operating state of the first clock, until the new state is stable. If there is no intermediate state 0000 or 0011 when the first clock clk_0 is switched to the second clock clk_1, the switching of converting the first clock to the second clock is completed.
在一实施例中,参照10,在上述图9的实施例的基础上,本实施例中,所述第二控制模块109包括:In an embodiment, referring to 10, on the basis of the foregoing embodiment of FIG. 9, in the embodiment, the second control module 109 includes:
工作单元1091,设置为若存在中间状态,则保持所述第一时钟的工作状态;The working unit 1091 is configured to maintain an operating state of the first clock if an intermediate state exists;
本实施例中,若存在中间状态0000或0011,由于无法对应到clk_0到clk_3等任意一个时钟上,时钟切换装置仍然保持上一状态即第一时钟的工作状态,直到新的状态稳定为止,这样不会造成意外时钟的开启。In this embodiment, if there is an intermediate state 0000 or 0011, since it cannot correspond to any clock such as clk_0 to clk_3, the clock switching device still maintains the previous state, that is, the working state of the first clock until the new state is stable, such that Does not cause an unexpected clock to turn on.
第二切换单元1092,设置为若不存在中间状态,则将所述第一时钟切换为第二时钟。The second switching unit 1092 is configured to switch the first clock to the second clock if there is no intermediate state.
本实施例中,若在将第一时钟切换为第二时钟时,不存在中间状态0000或0011,则表明所述第一时钟的独热码的第0位已经从1变为0,第2位已经从0变为1,此时时钟切换装置1进入第二时钟的工作状态。In this embodiment, if the intermediate state 0000 or 0011 is not present when the first clock is switched to the second clock, the 0th bit of the unique heat code of the first clock has changed from 1 to 0, and the second The bit has changed from 0 to 1, at which time the clock switching device 1 enters the operating state of the second clock.
本实施例中,通过独热编码具有对应的独热码的第一时钟、第二时钟、第三时钟以及第四时钟,可以防止由于选择信号本身的不稳定,而造成多个时钟被打开而干扰工作时钟信号的现象,从而确保时钟切换装置1的稳定状态。In this embodiment, by independently encoding the first clock, the second clock, the third clock, and the fourth clock having the corresponding heat-up codes, it is possible to prevent multiple clocks from being turned on due to instability of the selection signal itself. The phenomenon of disturbing the working clock signal ensures the steady state of the clock switching device 1.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种时钟切换的方法及时钟切换装置具有以下有益效果:可以防止由于选择信号本身的不稳定,而造成多个时钟被打开而干扰工作时钟信号的现象,从而确保时钟切换装置的稳定状态。 As described above, the clock switching method and the clock switching apparatus provided by the embodiments of the present invention have the following beneficial effects: it can prevent the phenomenon that multiple clocks are turned on and interfere with the working clock signal due to instability of the selection signal itself. Thereby ensuring a steady state of the clock switching device.

Claims (10)

  1. 一种时钟切换的方法,所述时钟切换的方法包括以下步骤:A method for clock switching, the method for clock switching includes the following steps:
    接收选择指令,并获取选择信号值;Receiving a selection instruction and obtaining a selection signal value;
    在选择信号值为第一预设值时,选通第一时钟;When the selection signal value is the first preset value, the first clock is strobed;
    接收第二时钟发送的切换信号;Receiving a switching signal sent by the second clock;
    判断所述第一时钟与第二时钟的逻辑或运算结果;Determining a logical OR operation result of the first clock and the second clock;
    根据所述逻辑或运算结果,切换选通第二时钟或控制所述第一时钟完成完整的时钟周期。Switching the strobe second clock or controlling the first clock completes a complete clock cycle according to the logical OR operation result.
  2. 如权利要求1所述的时钟切换的方法,其中,所述根据所述逻辑或运算结果,切换选通第二时钟或控制所述第一时钟完成完整的时钟周期的步骤包括:The method of clock switching according to claim 1, wherein the step of switching the strobe second clock or controlling the first clock to complete a complete clock cycle according to the logical OR operation result comprises:
    在所述第一时钟与第二时钟的逻辑或运算结果为第二预设值时,切换选通第二时钟;Switching the strobe second clock when the logical OR operation result of the first clock and the second clock is the second preset value;
    在所述第一时钟与第二时钟的逻辑或运算结果为第三预设值时,控制所述第一时钟完成完整的时钟周期。When the logical OR operation result of the first clock and the second clock is a third preset value, the first clock is controlled to complete a complete clock cycle.
  3. 如权利要求1或2中任一项所述的时钟切换的方法,其中,所述选择信号值为单比特信号值。The method of clock switching according to any one of claims 1 to 2, wherein the selection signal value is a single bit signal value.
  4. 如权利要求1或2中任一项所述的时钟切换的方法,其中,所述选择信号值为两比特信号值,所述两比特信号值对应四种预设有对应的独热码的第一时钟、第二时钟、第三时钟以及第四时钟,所述接收第二时钟发送的切换信号的步骤之后还包括:The method of clock switching according to any one of claims 1 to 2, wherein the selection signal value is a two-bit signal value, and the two-bit signal value corresponds to four types of pre-set corresponding one-hot codes. The step of receiving the switching signal sent by the second clock further includes: a clock, a second clock, a third clock, and a fourth clock,
    获取第一时钟的独热码中第四预设值的第一比特位数和第二时钟的独热码中第四预设值的第二比特位数;Obtaining a first bit number of the fourth preset value in the unique heat code of the first clock and a second bit number of the fourth preset value in the unique heat code of the second clock;
    判断在将所述第一时钟的第一比特位数和第二比特位数对应切换为第二时钟时是否存在中间状态; Determining whether there is an intermediate state when the first bit number and the second bit number of the first clock are correspondingly switched to the second clock;
    根据是否存在中间状态,保持所述第一时钟的工作状态或将所述第一时钟切换为第二时钟。The operating state of the first clock is maintained or the first clock is switched to a second clock depending on whether there is an intermediate state.
  5. 如权利要求4所述的时钟切换的方法,其中,所述根据是否存在中间状态,保持所述第一时钟的工作状态或将所述第一时钟切换为第二时钟的步骤包括:The method of clock switching according to claim 4, wherein the step of maintaining an operating state of the first clock or switching the first clock to a second clock according to whether there is an intermediate state comprises:
    若存在中间状态,则保持所述第一时钟的工作状态;If there is an intermediate state, maintaining an operating state of the first clock;
    若不存在中间状态,则将所述第一时钟切换为第二时钟。If there is no intermediate state, the first clock is switched to the second clock.
  6. 一种时钟切换装置,所述时钟切换装置包括:A clock switching device, the clock switching device comprising:
    第一获取模块,设置为接收选择指令,并获取选择信号值;a first acquiring module, configured to receive a selection instruction, and obtain a selection signal value;
    选通模块,设置为在选择信号值为第一预设值时,选通第一时钟;The strobe module is configured to strobe the first clock when the selection signal value is the first preset value;
    接收模块,设置为接收第二时钟发送的切换信号;a receiving module, configured to receive a switching signal sent by the second clock;
    第一判断模块,设置为判断所述第一时钟与第二时钟的逻辑或运算结果;a first determining module, configured to determine a logical OR operation result of the first clock and the second clock;
    第一控制模块,设置为根据所述逻辑或运算结果,切换选通第二时钟或控制所述第一时钟完成完整的时钟周期。The first control module is configured to switch the strobe second clock or control the first clock to complete a complete clock cycle according to the logical OR operation result.
  7. 如权利要求6所述的时钟切换装置,其中,所述第一控制模块包括:The clock switching device of claim 6, wherein the first control module comprises:
    第一切换单元,设置为在所述第一时钟与第二时钟的逻辑或运算结果为第二预设值时,切换选通第二时钟;The first switching unit is configured to switch the strobe second clock when the logical OR operation result of the first clock and the second clock is the second preset value;
    控制单元,设置为在所述第一时钟与第二时钟的逻辑或运算结果为第三预设值时,控制所述第一时钟完成完整的时钟周期。The control unit is configured to control the first clock to complete a complete clock cycle when a logical OR operation result of the first clock and the second clock is a third preset value.
  8. 如权利要求6或7所述的时钟切换装置,其中,所述选择信号值为单比特信号值。The clock switching device according to claim 6 or 7, wherein said selection signal value is a single bit signal value.
  9. 如权利要求6或7所述的时钟切换装置,其中,所述选择信号值为两比特信号值,所述两比特信号值对应四种预设有对应的独热码的第一时钟、第二时钟、第三时钟以及第四时钟,所述时钟切换装置还包括: The clock switching device according to claim 6 or 7, wherein the selection signal value is a two-bit signal value, and the two-bit signal value corresponds to four first clocks and second numbers pre-set with corresponding one-hot codes. The clock switching device further includes: a clock, a third clock, and a fourth clock
    第二获取模块,设置为获取第一时钟的独热码中第四预设值的第一比特位数和第二时钟的独热码中第四预设值的第二比特位数;a second acquiring module, configured to acquire a first bit number of the fourth preset value in the unique heat code of the first clock and a second bit number of the fourth preset value in the unique heat code of the second clock;
    第二判断模块,设置为判断在将所述第一时钟的第一比特位数和第二比特位数对应切换为第二时钟时是否存在中间状态;The second determining module is configured to determine whether there is an intermediate state when the first bit number and the second bit number of the first clock are correspondingly switched to the second clock;
    第二控制模块,设置为根据是否存在中间状态,保持所述第一时钟的工作状态或将所述第一时钟切换为第二时钟。The second control module is configured to maintain an operating state of the first clock or switch the first clock to a second clock according to whether an intermediate state exists.
  10. 如权利要求9所述的时钟切换装置,其中,所述第二控制模块包括:The clock switching device of claim 9, wherein the second control module comprises:
    工作单元,设置为若存在中间状态,则保持所述第一时钟的工作状态;a working unit, configured to maintain an operating state of the first clock if an intermediate state exists;
    第二切换单元,设置为若不存在中间状态,则将所述第一时钟切换为第二时钟。 The second switching unit is configured to switch the first clock to the second clock if there is no intermediate state.
PCT/CN2015/082234 2015-03-03 2015-06-24 Clock switching method and clock switching device WO2016138706A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510094320.2A CN105991110A (en) 2015-03-03 2015-03-03 Clock switching method and clock switching device
CN201510094320.2 2015-03-03

Publications (1)

Publication Number Publication Date
WO2016138706A1 true WO2016138706A1 (en) 2016-09-09

Family

ID=56848313

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/082234 WO2016138706A1 (en) 2015-03-03 2015-06-24 Clock switching method and clock switching device

Country Status (2)

Country Link
CN (1) CN105991110A (en)
WO (1) WO2016138706A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114047799A (en) * 2021-10-21 2022-02-15 深圳市德明利技术股份有限公司 System and method for switching discontinuous clocks

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090251179A1 (en) * 2008-04-07 2009-10-08 Mediatek Inc. Clock disabling circuit and clock switching device utilizing the same
CN103546125A (en) * 2013-09-24 2014-01-29 北京时代民芯科技有限公司 Multi-choice and burr-free clock switching circuit

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6600345B1 (en) * 2001-11-15 2003-07-29 Analog Devices, Inc. Glitch free clock select switch
CN101079636B (en) * 2007-06-19 2011-07-20 无锡中星微电子有限公司 Method for decoding one-bit hot code into binary code and one-bit hot code encoder
CN101592975B (en) * 2008-05-30 2012-10-03 深圳艾科创新微电子有限公司 Clock switching circuit
US8479068B2 (en) * 2010-05-10 2013-07-02 Texas Instruments Incorporated Decoded register outputs enabling test clock to selected asynchronous domains
CN102012717B (en) * 2010-11-16 2012-10-03 青岛海信信芯科技有限公司 Clock switching method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090251179A1 (en) * 2008-04-07 2009-10-08 Mediatek Inc. Clock disabling circuit and clock switching device utilizing the same
CN103546125A (en) * 2013-09-24 2014-01-29 北京时代民芯科技有限公司 Multi-choice and burr-free clock switching circuit

Also Published As

Publication number Publication date
CN105991110A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
KR101156031B1 (en) Delay circuit and variable delay circuit
US6653871B2 (en) Method of and circuit for controlling a clock
CN105490675A (en) Clock dynamic switching method and device
WO2016138706A1 (en) Clock switching method and clock switching device
CN111262559B (en) Delay line circuit with correction function and correction method thereof
CN104716965A (en) BCH soft decoding algorithm and implementation circuit thereof
JP3014997B2 (en) Variable length code decoding device
WO2009095858A1 (en) Electronic clamps for integrated circuits and methods of use
US8923466B2 (en) Multi-phase clock switching device and method thereof
KR20100034014A (en) Synchronous memory devices and control methods for performing burst write operations
JPH08139575A (en) Pulse output circuit
US8390353B2 (en) Duty cycle correction circuit
KR101477053B1 (en) Time to digital converter
TWI743638B (en) Timing generator, timing generating method, and associated control chip
CN108683426B (en) ECC system and memory based on BCH code
US9826606B2 (en) Cloud-based multi-channel stage light adjustment system technical field
CN113824955B (en) Multi-channel video time-sharing multiplexing coding method and system
JP5489871B2 (en) Image processing device
KR101818047B1 (en) Delay circuit and of signal delay method
TWI599182B (en) Decoding device and method thereof
CN114326457A (en) Management controller and control method
JP3215583B2 (en) Semiconductor integrated circuit
US20190377551A1 (en) Semiconductor device and control method of semiconductor device
KR102468680B1 (en) Delay circuit
JP2006011593A (en) Memory controller

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15883763

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15883763

Country of ref document: EP

Kind code of ref document: A1