TWI771301B - Semiconductor device and semiconductor system - Google Patents

Semiconductor device and semiconductor system Download PDF

Info

Publication number
TWI771301B
TWI771301B TW106116871A TW106116871A TWI771301B TW I771301 B TWI771301 B TW I771301B TW 106116871 A TW106116871 A TW 106116871A TW 106116871 A TW106116871 A TW 106116871A TW I771301 B TWI771301 B TW I771301B
Authority
TW
Taiwan
Prior art keywords
clock
block
management circuit
channel management
signal
Prior art date
Application number
TW106116871A
Other languages
Chinese (zh)
Other versions
TW201837652A (en
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
Priority claimed from KR1020170000609A external-priority patent/KR102712345B1/en
Priority claimed from KR1020170010945A external-priority patent/KR102467172B1/en
Priority claimed from US15/414,819 external-priority patent/US10303203B2/en
Application filed by 南韓商三星電子股份有限公司 filed Critical 南韓商三星電子股份有限公司
Publication of TW201837652A publication Critical patent/TW201837652A/en
Application granted granted Critical
Publication of TWI771301B publication Critical patent/TWI771301B/en

Links

Images

Landscapes

  • Semiconductor Integrated Circuits (AREA)
  • Noodles (AREA)
  • Bipolar Transistors (AREA)

Abstract

A semiconductor device and a semiconductor system are provided. The semiconductor device includes a first control circuit controlling a first child clock source to receive a clock signal from a parent clock source, a first channel management (CM) circuit transmitting a first clock request to the first control circuit in response to a first clock request received from a first IP block, a second control circuit controlling a second child clock source to receive the clock signal from the parent clock source, a second CM circuit transmitting a second clock request to the second control circuit in response to a second IP clock request received from a second IP block, and a power management unit transmitting a power control command to the first CM circuit and the second CM circuit to control a power state of the first IP block and the second IP block. The first CM circuit and the second CM circuit exchange signals to maintain a master-slave relationship.

Description

半導體裝置及半導體系統 Semiconductor devices and semiconductor systems

本發明是有關於一種半導體裝置、半導體系統和操作半導體裝置的方法。The present invention relates to a semiconductor device, a semiconductor system, and a method of operating a semiconductor device.

系統晶片(System-on-Chip,SOC)可以包含一個或多個智慧財產權塊(intellectual property block,IP塊)、時脈管理單元(clock management unit,CMU)和功率管理單元(power management unit,PMU)。時脈管理單元將時脈信號提供到IP塊中的一個或多個。另外,時脈管理單元停止將時脈信號提供到不再執行的IP塊,由此使得有可能降低使用SoC的系統中的資源的不必要的浪費。A System-on-Chip (SOC) may contain one or more intellectual property blocks (IP blocks), clock management units (CMUs) and power management units (PMUs) ). The clock management unit provides clock signals to one or more of the IP blocks. In addition, the clock management unit stops supplying clock signals to IP blocks that are no longer executed, thereby making it possible to reduce unnecessary waste of resources in a system using the SoC.

本發明的至少一個示例性實施例提供使用主從關係來執行功率管理的半導體裝置,在所述主從關係中的時脈信號控制是通過硬體管理的。At least one exemplary embodiment of the present invention provides a semiconductor device that performs power management using a master-slave relationship in which clock signal control is managed by hardware.

本發明的至少一個實施例提供使用主從關係來執行功率管理的半導體系統,在所述主從關係中的時脈信號控制是通過硬體管理的。At least one embodiment of the present invention provides a semiconductor system that performs power management using a master-slave relationship in which clock signal control is managed by hardware.

本發明的至少一個實施例提供使用主從關係來執行功率管理的半導體裝置的操作方法,在所述主從關係中的時脈信號控制是通過硬體管理的。At least one embodiment of the present invention provides a method of operating a semiconductor device that performs power management using a master-slave relationship in which clock signal control is managed by hardware.

根據本發明的示例性實施例,半導體裝置包含第一時脈控制電路、第一通道管理電路、第二時脈控制電路、第二通道管理電路和功率管理單元(PMU)。PMU可以通過電路實施。第一時脈控制電路控制第一子代時脈源從親代時脈源中接收時脈信號。第一通道管理電路回應於從第一智慧財產權(IP)塊接收的第一IP塊時脈請求將第一時脈請求傳輸到第一時脈控制電路。第二時脈控制電路控制第二子代時脈源從親代時脈源中接收時脈信號。第二通道管理電路回應於從第二IP塊接收的第二IP塊時脈請求將第二時脈請求傳輸到第二時脈控制電路。功率管理單元將功率控制命令傳輸到第一通道管理電路和第二通道管理電路以控制第一IP塊和第二IP塊的功率狀態。第一通道管理電路將第三時脈請求傳輸到第二通道管理電路,並且第二通道管理電路將第三時脈請求的接收的確認傳輸到第一通道管理電路以維持主從關係。According to an exemplary embodiment of the present invention, a semiconductor device includes a first clock control circuit, a first channel management circuit, a second clock control circuit, a second channel management circuit, and a power management unit (PMU). The PMU can be implemented in a circuit. The first clock control circuit controls the first child clock source to receive a clock signal from the parent clock source. The first channel management circuit transmits the first clock request to the first clock control circuit in response to the first IP block clock request received from the first intellectual property (IP) block. The second clock control circuit controls the second child clock source to receive the clock signal from the parent clock source. The second channel management circuit transmits the second clock request to the second clock control circuit in response to the second IP block clock request received from the second IP block. The power management unit transmits power control commands to the first channel management circuit and the second channel management circuit to control the power states of the first IP block and the second IP block. The first channel management circuit transmits the third clock request to the second channel management circuit, and the second channel management circuit transmits an acknowledgement of receipt of the third clock request to the first channel management circuit to maintain the master-slave relationship.

根據本發明的示例性實施例,提供一種半導體裝置,其包含第一通道管理電路、第二通道管理電路和功率管理單元。第一通道管理電路將時脈信號提供到第一智慧財產權塊(IP塊)。第二通道管理電路從第一通道管理電路中接收時脈請求並且根據時脈請求將時脈信號提供到第二IP塊。功率管理單元(PMU)將功率控制命令傳輸到第一通道管理電路和第二通道管理電路以控制第一IP塊和第二IP塊的功率狀態。According to an exemplary embodiment of the present invention, there is provided a semiconductor device including a first channel management circuit, a second channel management circuit, and a power management unit. The first channel management circuit provides the clock signal to the first intellectual property block (IP block). The second channel management circuit receives the clock request from the first channel management circuit and provides the clock signal to the second IP block according to the clock request. A power management unit (PMU) transmits power control commands to the first channel management circuit and the second channel management circuit to control the power states of the first IP block and the second IP block.

根據本發明的示例性實施例,提供有系統晶片(SoC),其包括上述半導體裝置、第一IP塊和第二IP塊。SoC可進一步包含外部裝置(例如,記憶體裝置、顯示裝置、網路裝置、儲存裝置和輸入/輸出裝置),其中SoC控制外部裝置。According to an exemplary embodiment of the present invention, there is provided a system-on-chip (SoC) including the above-described semiconductor device, a first IP block, and a second IP block. The SoC may further include external devices (eg, memory devices, display devices, network devices, storage devices, and input/output devices), where the SoC controls the external devices.

根據本發明的示例性實施例,提供操作半導體裝置的方法,所述方法包含:第一時脈管理電路將時脈請求發射到第二通道管理電路,第一時脈管理電路將時脈信號提供到第一智慧財產權塊(IP塊);第二時脈管理電路基於時脈請求將時脈信號提供到第二IP塊;第二通道管理電路將時脈請求的接收的確認發射到第一通道管理電路;以及第二時脈管理電路基於從功率管理單元(PMU)電路接收的功率控制命令控制第二IP塊的功率狀態。According to an exemplary embodiment of the present invention, there is provided a method of operating a semiconductor device, the method comprising: a first clock management circuit transmitting a clock request to a second channel management circuit, the first clock management circuit providing a clock signal to the first IP block (IP block); the second clock management circuit provides the clock signal to the second IP block based on the clock request; the second channel management circuit transmits an acknowledgement of receipt of the clock request to the first channel a management circuit; and a second clock management circuit controls a power state of the second IP block based on a power control command received from a power management unit (PMU) circuit.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more obvious and easy to understand, the following embodiments are given and described in detail with the accompanying drawings as follows.

圖1是說明根據本發明的示例性實施例的半導體裝置的示意圖。FIG. 1 is a schematic diagram illustrating a semiconductor device according to an exemplary embodiment of the present invention.

參考圖1,根據本發明的示例性實施例的半導體裝置1包含時脈管理單元(CMU)100、智慧財產權塊(IP塊)200(IP1)和210(IP2),以及功率管理單元(PMU)300。CMU可以通過電路實施。在示例性實施例中,半導體裝置1被實施為系統晶片(SoC),但是本發明的範圍不限於此。Referring to FIG. 1 , a semiconductor device 1 according to an exemplary embodiment of the present invention includes a clock management unit (CMU) 100 , intellectual property blocks (IP blocks) 200 ( IP1 ) and 210 ( IP2 ), and a power management unit (PMU) 300. The CMU can be implemented in a circuit. In the exemplary embodiment, the semiconductor device 1 is implemented as a system-on-chip (SoC), but the scope of the present invention is not limited thereto.

時脈管理單元100將時脈信號提供到IP塊200和210。雖然圖1中描繪的實施例示出了兩個IP塊,但是本發明不限於此。舉例來說,在替代實施例中,可能存在額外的IP塊或僅僅存在單個IP塊。在此實施例中,時脈管理單元100包含時脈元件120a、120b、120c、120d、120e、120f和120g,通道管理電路130和132,以及時脈管理單元控制器(CMU控制器)110。時脈元件120a、120b、120c、120d、120e、120f和120g產生待提供到IP塊200和210的時脈信號,並且通道管理電路130和132安置在時脈元件120f和120g與IP塊200和210之間以提供時脈管理單元100與IP塊200和210之間的通信通道CH。另外,時脈管理單元控制器110使用時脈元件120a、120b、120c、120d、120e、120f和120g將時脈信號提供到IP塊200和210。The clock management unit 100 provides clock signals to the IP blocks 200 and 210 . Although the embodiment depicted in Figure 1 shows two IP blocks, the invention is not so limited. For example, in alternate embodiments, there may be additional IP blocks or only a single IP block. In this embodiment, the clock management unit 100 includes clock elements 120a , 120b , 120c , 120d , 120e , 120f and 120g , channel management circuits 130 and 132 , and a clock management unit controller (CMU controller) 110 . Clock elements 120a, 120b, 120c, 120d, 120e, 120f, and 120g generate clock signals to be provided to IP blocks 200 and 210, and channel management circuits 130 and 132 are disposed between clock elements 120f and 120g and IP blocks 200 and 210. 210 to provide a communication channel CH between the clock management unit 100 and the IP blocks 200 and 210 . In addition, the clock management unit controller 110 provides clock signals to the IP blocks 200 and 210 using the clock elements 120a, 120b, 120c, 120d, 120e, 120f and 120g.

在一個實施例中,時脈元件120a通過鎖相回路(phase-locked loop,PLL)控制器實施。在一個實施例中,PLL控制器從振盪器OSC中接收恒定頻率信號或通過振盪器OSC振盪的變化的頻率信號以及通過PLL輸出的PLL信號,並且基於一定條件輸出兩個接收到的信號中的一個。當元件需要PLL信號時,PLL控制器輸出PLL信號。當元件需要振盪器信號時,PLL控制器輸出振盪器信號。舉例來說,PLL控制器可以使用環形振盪器或晶體振盪器實施。在一個實施例中,時脈元件120b是接收來自第一時脈元件120a的第一時脈信號CLK1和來自外部來源(例如,外部CMU)的第二時脈信號CLK2的時脈多工器單元。In one embodiment, the clock element 120a is implemented by a phase-locked loop (PLL) controller. In one embodiment, the PLL controller receives a constant frequency signal or a variable frequency signal oscillated by the oscillator OSC and a PLL signal output by the PLL from the oscillator OSC, and outputs one of the two received signals based on a certain condition One. When the element requires a PLL signal, the PLL controller outputs the PLL signal. When the element needs an oscillator signal, the PLL controller outputs the oscillator signal. For example, the PLL controller may be implemented using a ring oscillator or a crystal oscillator. In one embodiment, clock element 120b is a clock multiplexer unit that receives a first clock signal CLK1 from first clock element 120a and a second clock signal CLK2 from an external source (eg, an external CMU) .

在本發明的示例性實施例中,提供通過通道管理電路130和132提供的通信通道CH以符合ARM公司的低功率介面(Low Power Interface,LPI)、Q通道介面(ARC)或P通道介面,但是本發明的範圍不限於此。舉例來說,可以提供符合根據各種目的所定義的任意通信協定的通信通道CH。In an exemplary embodiment of the present invention, the communication channel CH provided by the channel management circuits 130 and 132 is provided to conform to ARM's Low Power Interface (LPI), Q-channel interface (ARC) or P-channel interface, However, the scope of the present invention is not limited to this. For example, a communication channel CH may be provided that conforms to any communication protocol defined according to various purposes.

時脈元件120a、120b、120c、120d、120e、120f和120g中的每一個包含時脈源124a、124b、124c、124d、124e、124f和124g,以及控制時脈源124a、124b、124c、124d、124e、124f和124g中的每一個的時脈控制電路(Clock control Circuit,CC)122a、122b、122c、122d、122e、122f和122g。時脈源(Clock control Source,CS)124a、124b、124c、124d、124e、124f和124g(例如)可以包含多工電路(multiplexing circuit,MUX電路)、時脈劃分電路、較短停止電路或時脈門控電路。MUX電路可用於接收多個時脈信號作為輸入,並且選擇接收到的時脈信號中的一個作為輸出。時脈劃分電路可用於通過值來劃分輸入時脈信號以產生經劃分的時脈信號。值作為一個實例可以為整數。時脈劃分電路可用於改變輸入時脈信號的頻率。在一個實施例中,短路停止電路暫時將時脈信號設置為一個邏輯層級(例如,通常的較低層級)。舉例來說,通過短路停止電路輸出的時脈信號將包含具有來自輸入時脈信號的脈衝的第一週期、不具有脈衝(例如,恒定較低層級)的第二週期以及隨後具有來自輸入時脈信號的脈衝的第三週期。第二週期的長度可以基於應用而不同。Clock elements 120a, 120b, 120c, 120d, 120e, 120f, and 120g each contain clock sources 124a, 124b, 124c, 124d, 124e, 124f, and 124g, and control clock sources 124a, 124b, 124c, 124d Clock control circuits (CC) 122a, 122b, 122c, 122d, 122e, 122f and 122g of each of , 124e, 124f and 124g. Clock control sources (CS) 124a, 124b, 124c, 124d, 124e, 124f, and 124g, for example, may include multiplexing circuits (MUX circuits), clock division circuits, shorter stop circuits, or clock Pulse gating circuit. The MUX circuit can be used to receive multiple clock signals as input and select one of the received clock signals as output. A clock division circuit may be used to divide the input clock signal by value to generate a divided clock signal. The value as an instance can be an integer. The clock division circuit can be used to change the frequency of the input clock signal. In one embodiment, the short-circuit stop circuit temporarily sets the clock signal to one logical level (eg, a generally lower level). For example, the clock signal output by the short-circuit stop circuit will include a first period with pulses from the input clock signal, a second period with no pulses (eg, a constant lower level), and then with pulses from the input clock signal The third period of the pulse of the signal. The length of the second period may vary based on the application.

時脈元件120a、120b、120c、120d、120e、120f和120g形成彼此之間的親子關係。在本實施例中,時脈元件120a是時脈元件120b的親代,並且時脈元件120b是時脈元件120a的子代和時脈元件120c的親代。並且,時脈元件120e是兩個時脈元件120f和120g的親代,並且時脈元件120f和120g是時脈元件120e的子代。安置於最接近鎖相環路(PLL)的時脈元件120a可被稱為根時脈元件,並且安置於最接近IP塊200和210的時脈元件120f和120g可被稱為葉時脈元件。此類親子關係還必然基於時脈元件120a、120b、120c、120d、120e、120f和120g之間的親子關係在時脈控制電路122a、122b、122c、122d、122e、122f和122g之間形成以及在時脈源124a、124b、124c、124d、124e、124f和124g之間形成。The clock elements 120a, 120b, 120c, 120d, 120e, 120f, and 120g form a parent-child relationship with each other. In this embodiment, clock element 120a is a parent of clock element 120b, and clock element 120b is a child of clock element 120a and a parent of clock element 120c. Also, clock element 120e is the parent of two clock elements 120f and 120g, and clock elements 120f and 120g are children of clock element 120e. The clock element 120a positioned closest to the phase locked loop (PLL) may be referred to as the root clock element, and the clock elements 120f and 120g positioned closest to the IP blocks 200 and 210 may be referred to as leaf clock elements . Such parent-child relationships must also be formed between clock control circuits 122a, 122b, 122c, 122d, 122e, 122f, and 122g based on parent-child relationships between clock elements 120a, 120b, 120c, 120d, 120e, 120f, and 120g, and Formed between clock sources 124a, 124b, 124c, 124d, 124e, 124f and 124g.

時脈控制電路122b、122c、122d、122e、122f和122g將時脈請求(REQ)信號傳輸到親代時脈控制電路。時脈控制電路122a、122b、122c和122d從子代時脈控制電路中接收REQ信號。時脈控制電路122e從兩個子代時脈控制電路(即,時脈控制電路122f和時脈控制電路122g)中的每一個中接收REQ信號。時脈控制電路122f和122g相應地從通道管理電路130和132中接收REQ信號。時脈控制電路122a、122b、122c和122d將確認(ACK)信號傳輸到子代時脈控制電路。時脈控制電路122b、122c、122d和122e從親代時脈控制電路中接收ACK信號。時脈控制電路122e將第一ACK信號傳輸到時脈控制電路122f,並且將第二ACK信號傳輸到時脈控制電路122g。時脈控制電路122f和時脈控制電路122g相應地將ACK信號傳輸到通道管理電路130和132。時脈源124a、124b、124c、124d、124e、124f和124g將時脈信號提供到IP塊200和210。Clock control circuits 122b, 122c, 122d, 122e, 122f, and 122g transmit clock request (REQ) signals to the parental clock control circuits. Clock control circuits 122a, 122b, 122c, and 122d receive REQ signals from the child clock control circuits. The clock control circuit 122e receives the REQ signal from each of the two descendant clock control circuits (ie, the clock control circuit 122f and the clock control circuit 122g). Clock control circuits 122f and 122g receive REQ signals from channel management circuits 130 and 132, respectively. Clock control circuits 122a, 122b, 122c, and 122d transmit acknowledgement (ACK) signals to the sub-generation clock control circuits. Clock control circuits 122b, 122c, 122d, and 122e receive the ACK signal from the parental clock control circuit. The clock control circuit 122e transmits the first ACK signal to the clock control circuit 122f, and transmits the second ACK signal to the clock control circuit 122g. The clock control circuit 122f and the clock control circuit 122g transmit the ACK signal to the channel management circuits 130 and 132, respectively. Clock sources 124a , 124b , 124c , 124d , 124e , 124f and 124g provide clock signals to IP blocks 200 and 210 .

舉例來說,如果IP塊200並不需要時脈信號(例如,如果IP塊200需要在休眠狀態中),那麼時脈管理單元100停止將時脈信號提供到IP塊200。For example, if the IP block 200 does not need a clock signal (eg, if the IP block 200 needs to be in a sleep state), the clock management unit 100 stops providing the clock signal to the IP block 200 .

在示例性實施例中,通道管理電路130在時脈管理單元100或時脈管理單元控制器110的控制下將第一信號傳輸到IP塊200,這指示停止將時脈信號提供到IP塊200。在接收第一信號之後,IP塊200將第二信號傳輸到通道管理電路130,這指示可以立刻停止時脈信號或在特定事件之後停止時脈信號。舉例來說,第二信號可以指示可在完成通過IP塊200處理的工作(例如,命令、程式等)之後停止時脈信號。在從IP塊200中接收第二信號之後,通道管理電路130請求對應於它的親代的時脈元件120f停止提供時脈信號。舉例來說,通道管理電路130可以通過將REQ信號發送到時脈元件120f來做出這一請求。In an exemplary embodiment, the channel management circuit 130 transmits a first signal to the IP block 200 under the control of the clock management unit 100 or the clock management unit controller 110, which instructs to stop providing the clock signal to the IP block 200 . After receiving the first signal, the IP block 200 transmits a second signal to the channel management circuit 130, which indicates that the clock signal can be stopped immediately or after a certain event. For example, the second signal may indicate that the clock signal may be stopped after work (eg, commands, routines, etc.) processed by the IP block 200 is completed. After receiving the second signal from the IP block 200, the channel management circuit 130 requests the clock element 120f corresponding to its parent to stop providing the clock signal. For example, channel management circuit 130 may make this request by sending a REQ signal to clock element 120f.

作為一個實例,如果通過通道管理電路130提供的通信通道CH符合Q通道介面,那麼通道管理電路130將具有第一邏輯值(例如,邏輯低,在下文中通過L指示)的QREQn信號作為第一信號傳輸到IP塊200。之後,通道管理電路130從IP塊200中接收(例如)具有第一邏輯值的QACCEPTn信號作為第二信號,且隨後將(例如)具有第一邏輯值的時脈請求(REQ)傳輸到時脈元件120f。在此情況下,具有第一邏輯值的時脈請求(REQ)是指“時脈供應停止請求”。As an example, if the communication channel CH provided by the channel management circuit 130 conforms to the Q-channel interface, then the channel management circuit 130 treats the QREQn signal having a first logic value (eg, logic low, hereinafter indicated by L) as the first signal Transfer to IP block 200. Afterwards, the channel management circuit 130 receives the QACCEPTn signal having, for example, the first logic value from the IP block 200 as the second signal, and then transmits, for example, the clock request (REQ) having the first logic value to the clock element 120f. In this case, the clock request (REQ) having the first logic value refers to a "clock supply stop request".

在從通道管理電路130中接收具有第一邏輯值的時脈請求(REQ)(例如,時脈供應停止請求)之後,時脈控制電路122f停用時脈源124f(例如,時脈門控電路)以停止時脈信號的供應,並且因此IP塊200可以進入休眠模式。在此過程中,時脈控制電路122f可以向通道管理電路130提供具有第一邏輯值的ACK信號。應注意,儘管在傳輸具有第一邏輯值的時脈供應停止請求之後通道管理電路130接收具有第一邏輯值的ACK信號,但是並不確保從時脈源124f中停止時脈供應。然而,上述ACK信號意味著時脈控制電路122f認識到作為通道管理電路130的親代的時脈元件120f並不需要另外提供時脈信號到通道管理電路130。After receiving a clock request (REQ) having a first logic value from the channel management circuit 130 (eg, a clock supply stop request), the clock control circuit 122f disables the clock source 124f (eg, a clock gating circuit ) to stop the supply of the clock signal, and thus the IP block 200 can enter the sleep mode. During this process, the clock control circuit 122f may provide the channel management circuit 130 with an ACK signal having a first logic value. It should be noted that although the channel management circuit 130 receives the ACK signal with the first logic value after transmitting the clock supply stop request with the first logic value, it does not ensure that the clock supply is stopped from the clock source 124f. However, the above-mentioned ACK signal means that the clock control circuit 122f recognizes that the clock element 120f, which is the parent of the channel management circuit 130, does not need to additionally provide a clock signal to the channel management circuit 130.

在示例性實施例中,時脈元件120f的時脈控制電路122f將具有第一邏輯值的時脈請求(REQ)傳輸到對應於它的親代的時脈元件120e的時脈控制電路122e。如果IP塊210也並不需要時脈信號(例如,當時脈控制電路122e從時脈控制電路122g中接收時脈停止請求時),那麼時脈控制電路122e停用時脈源124e(例如,時脈劃分電路)以停止時脈信號的供應。因此,IP塊200和210可以進入休眠模式。舉例來說,在此實施例中,時脈源124f並不停止時脈信號的供應直至它從子代時脈控制電路122f和122g兩者中接收到具有第一邏輯值的ACK信號。In the exemplary embodiment, clock control circuit 122f of clock element 120f transmits a clock request (REQ) having a first logic value to clock control circuit 122e of clock element 120e corresponding to its parent. If the clock signal is also not required by IP block 210 (eg, when clock control circuit 122e receives a clock stop request from clock control circuit 122g), then clock control circuit 122e disables clock source 124e (eg, when clock pulse division circuit) to stop the supply of the clock signal. Therefore, IP blocks 200 and 210 can enter sleep mode. For example, in this embodiment, clock source 124f does not stop supplying clock signals until it receives an ACK signal with a first logic value from both child clock control circuits 122f and 122g.

此類操作可以類似地在其它時脈控制電路122a、122b、122c和122d上執行。Such operations may similarly be performed on the other clock control circuits 122a, 122b, 122c, and 122d.

在示例性實施例中,儘管時脈元件120f的時脈控制電路122f將具有第一邏輯值的時脈請求(REQ)信號傳輸到對應於它的親代的時脈元件120e的時脈控制電路122e,但是如果IP塊210在運行狀態中,那麼時脈控制電路122e並不停用時脈源124e。之後,僅當IP塊210不再需要時脈信號時,時脈控制電路122e停用時脈源124e,並且將具有第一邏輯值的時脈請求(REQ)傳輸到對應於它的親代的時脈控制電路120d。也就是說,僅當接收來自對應于子代的時脈控制電路122f和122g兩者的時脈供應停止請求時,時脈控制電路122e停用時脈源124e。In the exemplary embodiment, although clock control circuit 122f of clock element 120f transmits a clock request (REQ) signal having a first logic value to the clock control circuit of clock element 120e corresponding to its parent 122e, but the clock control circuit 122e does not disable the clock source 124e if the IP block 210 is in the run state. Afterwards, only when the IP block 210 no longer needs the clock signal, the clock control circuit 122e deactivates the clock source 124e and transmits a clock request (REQ) with the first logic value to the corresponding to its parent The clock control circuit 120d. That is, only when receiving a clock supply stop request from both the clock control circuits 122f and 122g corresponding to the children, the clock control circuit 122e disables the clock source 124e.

在示例性實施例中,當在IP塊200和210的休眠狀態期間停用所有時脈源124a、124b、124c、124d、124e和124f且隨後IP塊200進入運行狀態時,時脈管理單元100恢復將時脈信號提供到IP塊200和210。In an exemplary embodiment, when all clock sources 124a, 124b, 124c, 124d, 124e, and 124f are disabled during the sleep state of IP blocks 200 and 210 and then IP block 200 enters the run state, clock management unit 100 Resume provides clock signals to IP blocks 200 and 210 .

通道管理電路130將具有第二邏輯值(例如,邏輯高,在下文中通過H指示)的時脈請求(REQ)信號傳輸到對應於它的親代的時脈元件120f的時脈控制電路122f,並且等待來自時脈控制電路122f的確認(ACK)。此處,具有第二邏輯值的時脈請求(REQ)是指“時脈供應請求”,並且時脈供給請求的確認(ACK)信號意味著時脈供應已經從時脈源124f中恢復。在一個實施例中,時脈控制電路122f並不立刻啟用時脈源124f(例如,時脈門控電路)並且等待來自親代的時脈信號的供應。在一個實施例中,時脈控制電路122f等待直至它在啟用時脈源124f之前從親代中接收ACK信號。Channel management circuit 130 transmits a clock request (REQ) signal having a second logic value (eg, logic high, hereinafter indicated by H) to clock control circuit 122f corresponding to its parent's clock element 120f, And wait for an acknowledgement (ACK) from the clock control circuit 122f. Here, the clock request (REQ) having the second logic value is referred to as a "clock supply request", and an acknowledgement (ACK) signal of the clock supply request means that the clock supply has been restored from the clock source 124f. In one embodiment, the clock control circuit 122f does not immediately enable the clock source 124f (eg, a clock gating circuit) and waits for the supply of a clock signal from the parent. In one embodiment, clock control circuit 122f waits until it receives an ACK signal from the parent before enabling clock source 124f.

接下來,時脈控制電路122f將具有第二邏輯值(例如,時脈供應請求)的時脈請求(REQ)傳輸到對應於它的親代的時脈控制電路122e,並且等待來自時脈控制電路122e的確認(ACK)。此類操作可以類似地在時脈控制電路122a、122b、122c和122d上執行。Next, the clock control circuit 122f transmits a clock request (REQ) having a second logic value (eg, a clock supply request) to the clock control circuit 122e corresponding to its parent, and waits for a signal from the clock control Acknowledgement (ACK) of circuit 122e. Such operations may similarly be performed on clock control circuits 122a, 122b, 122c, and 122d.

時脈控制電路122a啟用時脈源124a(例如,多工電路)並且將確認(ACK)信號傳輸到時脈控制電路122b,所述時脈控制電路122a是已經從時脈控制電路122b中接收具有第二邏輯值的時脈請求(REQ)的根時脈元件。當時脈源124b、124c、124d、124d和124e以此方式依序啟用時,時脈控制電路122e將指示時脈供應已經從時脈源124e中恢復的確認(ACK)信號傳輸到時脈控制電路122f。Clock control circuit 122a enables clock source 124a (eg, a multiplexer circuit) and transmits an acknowledgement (ACK) signal to clock control circuit 122b that has received from clock control circuit 122b with The root clock element of the clock request (REQ) of the second logic value. When the clock sources 124b, 124c, 124d, 124d, and 124e are sequentially enabled in this manner, the clock control circuit 122e transmits an acknowledgement (ACK) signal to the clock control circuit indicating that the clock supply has been restored from the clock source 124e 122f.

在接收確認(ACK)信號之後,時脈控制電路122f啟用時脈源124f、將時脈信號提供到IP塊200並且將確認(ACK)信號提供到通道管理電路130。After receiving the acknowledgement (ACK) signal, the clock control circuit 122f enables the clock source 124f, provides the clock signal to the IP block 200, and provides the acknowledgement (ACK) signal to the channel management circuit 130.

以此方式,時脈控制電路122a、122b、122c、122d、122e、122f和122g通過在親代與子代之間交換時脈請求(REQ)信號和確認(ACK)信號以全握手(例如,同步握手)的方式操作。因此,時脈控制電路122a、122b、122c、122d、122e、122f和122g以硬體方式控制時脈源124a、124b、124c、124d、124e、124f和124g,並且控制提供到IP塊200和210的時脈信號。In this manner, clock control circuits 122a, 122b, 122c, 122d, 122e, 122f, and 122g execute a full handshake (eg, synchronous handshake). Thus, clock control circuits 122a, 122b, 122c, 122d, 122e, 122f, and 122g control clock sources 124a, 124b, 124c, 124d, 124e, 124f, and 124g in hardware, and control is provided to IP blocks 200 and 210 clock signal.

時脈控制電路122a、122b、122c、122d、122e、122f和122g可以獨立地操作以傳輸時脈請求(REQ)信號到親代或控制時脈源124a、124b、124c、124d、124e、124f和124g,並且可以在時脈管理單元控制器110的控制下操作。在本發明的示例性實施例中,時脈控制電路122a、122b、122c、122d、122e、122f和122g包含有限狀態機(finite state machine,FSM),所述有限狀態機基於在親代與子代之間交換的時脈請求(REQ)信號控制時脈源124a、124b、124c、124d、124e、124f和124g中的每一個。Clock control circuits 122a, 122b, 122c, 122d, 122e, 122f, and 122g may operate independently to transmit clock request (REQ) signals to parents or to control clock sources 124a, 124b, 124c, 124d, 124e, 124f and 124g, and can operate under the control of the clock management unit controller 110. In an exemplary embodiment of the invention, clock control circuits 122a, 122b, 122c, 122d, 122e, 122f, and 122g comprise finite state machines (FSMs) based on Clock request (REQ) signals exchanged between generations control each of clock sources 124a, 124b, 124c, 124d, 124e, 124f, and 124g.

圖2是說明根據本發明的示例性實施例的半導體裝置的示意圖。FIG. 2 is a schematic diagram illustrating a semiconductor device according to an exemplary embodiment of the present invention.

參考圖2,在根據本發明的實施例的半導體裝置1中,功率管理單元300將功率控制命令(power control command,CMD)傳輸到時脈管理單元110,以便執行IP塊200和210的功率控制操作並且控制IP塊200和210的功率狀態。在本發明的示例性實施例中,功率控制命令CMD包含斷電命令(D_REQ)以指導IP塊200和210進入休眠模式。在一個實施例中,IP塊200和210在休眠模式中使用較少功率,並且在正常模式中使用較多功率。舉例來說,在休眠模式期間,IP塊可以執行與在正常模式中相比更少數量的功能。2 , in the semiconductor device 1 according to the embodiment of the present invention, the power management unit 300 transmits a power control command (CMD) to the clock management unit 110 in order to perform power control of the IP blocks 200 and 210 Operates and controls the power states of IP blocks 200 and 210 . In an exemplary embodiment of the present invention, the power control command CMD includes a power down command (D_REQ) to direct the IP blocks 200 and 210 to enter sleep mode. In one embodiment, IP blocks 200 and 210 use less power in sleep mode and more power in normal mode. For example, during sleep mode, the IP block may perform a smaller number of functions than in normal mode.

在本發明的示例性實施例中,IP塊200和IP塊210具有主從關係。在一個實施例中,IP塊200是主要裝置,並且IP塊210是從屬裝置。在此情況下,僅當IP塊200(例如,主要)在休眠模式中時IP塊210(即,從屬)進入休眠模式,並且僅在IP塊210蘇醒之後IP塊200蘇醒(例如,退出休眠模式)。下文中,將參考圖3到圖5更詳細地描述基於此類主從關係的IP塊200的通道管理電路130和IP塊210的通道管理電路132的操作。In an exemplary embodiment of the present invention, IP block 200 and IP block 210 have a master-slave relationship. In one embodiment, IP block 200 is the master device and IP block 210 is the slave device. In this case, IP block 210 (ie, slave) enters sleep mode only when IP block 200 (eg, master) is in sleep mode, and IP block 200 wakes up (eg, exits sleep mode) only after IP block 210 wakes up ). Hereinafter, the operations of the channel management circuit 130 of the IP block 200 and the channel management circuit 132 of the IP block 210 based on such a master-slave relationship will be described in more detail with reference to FIGS. 3 to 5 .

在接收來自功率管理單元300的功率控制命令CMD之後,時脈管理單元控制器110基於功率控制命令CMD控制通道管理電路130和132,並且其後時脈管理單元控制器110將確認(ACK)信號傳輸到功率管理單元300。After receiving the power control command CMD from the power management unit 300, the clock management unit controller 110 controls the channel management circuits 130 and 132 based on the power control command CMD, and thereafter the clock management unit controller 110 will acknowledge (ACK) the signal transmitted to the power management unit 300 .

在示例性實施例中,時脈管理單元控制器110將斷電命令(D_REQ)傳輸到負責與主要IP塊200的通信通道的通道管理電路130和負責與從屬IP塊210的通信通道的通道管理電路132。在接收斷電命令(D_REQ)之後,通道管理電路130和132設置QREQn的值為L,所述值與從IP塊200和210接收的QACTIVE的值無關。通道管理電路130和132通過檢查QACCEPTn的值變為L知曉IP塊200和210是否已經進入休眠模式。在一個實施例中,斷電命令(D_REQ)與蘇醒命令相比具有較高優先順序,所述蘇醒命令使得IP塊200和210進入蘇醒模式(即,離開休眠模式)。In an exemplary embodiment, the clock management unit controller 110 transmits a power down command (D_REQ) to the channel management circuit 130 responsible for the communication channel with the master IP block 200 and the channel management circuit 130 responsible for the communication channel with the slave IP block 210 circuit 132. After receiving the power down command (D_REQ), channel management circuits 130 and 132 set the value of QREQn to L, which is independent of the value of QACTIVE received from IP blocks 200 and 210 . The channel management circuits 130 and 132 know whether the IP blocks 200 and 210 have entered the sleep mode by checking that the value of QCCEPTn becomes L. In one embodiment, a power down command (D_REQ) has a higher priority than a wakeup command that causes IP blocks 200 and 210 to enter a wakeup mode (ie, leave a sleep mode).

在通道管理電路130和132根據斷電命令(D_REQ)完成操作之後,僅通道管理電路130將斷電命令(D_REQ)的確認(D_ACK)信號傳輸到時脈管理單元控制器110。After the channel management circuits 130 and 132 complete operations according to the power down command (D_REQ), only the channel management circuit 130 transmits an acknowledgement (D_ACK) signal of the power down command (D_REQ) to the clock management unit controller 110 .

負責與主要IP塊200的通信通道的通道管理電路130和負責與從屬IP塊210的通信通道的通道管理電路132交換時脈請求(CLK_REQ)信號和確認(CLK_ACK)信號以形成主從關係。The channel management circuit 130 responsible for the communication channel with the master IP block 200 and the channel management circuit 132 responsible for the communication channel with the slave IP block 210 exchange clock request (CLK_REQ) signals and acknowledgement (CLK_ACK) signals to form a master-slave relationship.

圖3是說明根據本發明的示例性實施例的半導體裝置的示例性操作的示意圖。FIG. 3 is a schematic diagram illustrating an exemplary operation of a semiconductor device according to an exemplary embodiment of the present invention.

參考圖3,通道管理電路130和132具有運行狀態(Q_RUN)、休眠模式進入狀態(Q_CLK_REQ)、休眠狀態(Q_STOPPED)和休眠模式退出狀態(Q_EXIT)。Referring to FIG. 3 , the channel management circuits 130 and 132 have a running state (Q_RUN), a sleep mode entry state (Q_CLK_REQ), a sleep state (Q_STOPPED), and a sleep mode exit state (Q_EXIT).

當滿足使得IP塊200和210退出運行狀態(Q_RUN)的閒置條件時,通道管理電路130和132轉換成休眠模式進入狀態(Q_CLK_REQ)以設置QREQn的值為L。之後,在檢查從IP塊200和210接收的QACCEPTn的值變為L之後,通道管理電路130和132轉換成休眠狀態(Q_STOPPED)。When the idle condition that causes IP blocks 200 and 210 to exit the run state (Q_RUN) is satisfied, the channel management circuits 130 and 132 transition to the sleep mode entry state (Q_CLK_REQ) to set the value of QREQn to L. After that, after checking that the value of QACCEPTn received from the IP blocks 200 and 210 becomes L, the channel management circuits 130 and 132 transition to the sleep state (Q_STOPPED).

接下來,當滿足用於喚醒IP塊200和210的喚醒條件時,通道管理電路130和132轉換成休眠模式退出狀態(Q_EXIT)以設置QREQn的值為H,並且隨後,在檢查從IP塊200和210接收的QACCEPTn的值變為H之後,通道管理電路130和132轉換成運行狀態(Q_RUN)。Next, when the wake-up condition for waking up the IP blocks 200 and 210 is satisfied, the channel management circuits 130 and 132 transition to the sleep mode exit state (Q_EXIT) to set the value of QREQn to H, and then, after checking the slave IP block 200 After the value of QACCEPTn received by the sum 210 becomes H, the channel management circuits 130 and 132 transition to the running state (Q_RUN).

應注意,因為通道管理電路130負責與主要IP塊200的通信通道並且通道管理電路132負責與從屬IP塊210的通信通道,所以通道管理電路130和通道管理電路132也具有主從關係。因此,可能出現以下限制。It should be noted that since the channel management circuit 130 is responsible for the communication channel with the master IP block 200 and the channel management circuit 132 is responsible for the communication channel with the subordinate IP block 210, the channel management circuit 130 and the channel management circuit 132 also have a master-slave relationship. Therefore, the following restrictions may occur.

在示例性實施例中,僅當通道管理電路130轉換成休眠狀態(Q_STOPPED)時,通道管理電路130將指示時脈信號的供給將停止的信號(CLK_REQ=L)提供到通道管理電路132。在一個實施例中,當通道管理電路130連續生成時脈請求(CLK_REQ=H)並且滿足閒置條件時,通道管理電路132並不轉換成休眠模式進入狀態(Q_CLK_REQ)。因此,為了將通道管理電路132轉換成休眠模式進入狀態(Q_CLK_REQ),使得IP塊210進入休眠模式的閒置條件需要得到滿足,並且同時,有必要從通道管理電路130中接收指示停止時脈信號的信號(CLK_REQ=L)。舉例來說,僅當主要IP塊200已經在休眠模式中時,從屬IP塊210進入休眠模式。In an exemplary embodiment, only when the channel management circuit 130 transitions to the sleep state (Q_STOPPED), the channel management circuit 130 provides a signal (CLK_REQ=L) indicating that the supply of the clock signal is to be stopped to the channel management circuit 132 . In one embodiment, the channel management circuit 132 does not transition to the sleep mode entry state (Q_CLK_REQ) when the channel management circuit 130 continuously generates clock requests (CLK_REQ=H) and the idle condition is satisfied. Therefore, in order to transition the channel management circuit 132 into the sleep mode entry state (Q_CLK_REQ), the idle condition for the IP block 210 to enter sleep mode needs to be satisfied, and at the same time, it is necessary to receive from the channel management circuit 130 a signal indicating a stop clock signal signal (CLK_REQ=L). For example, the slave IP block 210 enters sleep mode only when the master IP block 200 is already in sleep mode.

在示例性實施例中,通道管理電路132在從通道管理電路130中接收CLK_REQ=L之後將CLK_ACK=L發送到通道管理電路130。在此實施例中,通道管理電路132並不指導主要IP塊200休眠直至它從通道管理電路132中接收指示從屬IP塊210已經被指導進行休眠的確認(例如,CLK_ACK=L)。In an exemplary embodiment, channel management circuit 132 sends CLK_ACK=L to channel management circuit 130 after receiving CLK_REQ=L from channel management circuit 130 . In this embodiment, the channel management circuit 132 does not instruct the master IP block 200 to sleep until it receives an acknowledgement from the channel management circuit 132 indicating that the slave IP block 210 has been instructed to sleep (eg, CLK_ACK=L).

另外,當在休眠狀態(Q_STOPPED)中的通道管理電路130滿足喚醒條件時,通道管理電路130將時脈請求(CLK_REQ=H)發送到通道管理電路132,並且僅在從通道管理電路132中接收時脈請求(CLK_REQ=H)的確認(CLK_ACK=H)之後通道管理電路130轉換成休眠模式退出狀態(Q_EXIT)。當通道管理電路132在休眠狀態(Q_STOPPED)中時,即使當並不滿足喚醒條件時,如果從通道管理電路130中接收到時脈請求(CLK_REQ=H),那麼通道管理電路132立刻轉換成休眠模式退出狀態(Q_EXIT)並且將確認(CLK_ACK=H)傳輸到通道管理電路130。舉例來說,僅在從屬IP塊210蘇醒之後主要IP塊200蘇醒。In addition, when the channel management circuit 130 in the sleep state (Q_STOPPED) satisfies the wake-up condition, the channel management circuit 130 transmits a clock request (CLK_REQ=H) to the channel management circuit 132 and only receives it from the channel management circuit 132 The channel management circuit 130 transitions to the sleep mode exit state (Q_EXIT) after the acknowledgement (CLK_ACK=H) of the clock request (CLK_REQ=H). When the channel management circuit 132 is in the sleep state (Q_STOPPED), even when the wake-up condition is not satisfied, if a clock request (CLK_REQ=H) is received from the channel management circuit 130, the channel management circuit 132 immediately transitions to sleep mode exit status (Q_EXIT) and transmit an acknowledgment (CLK_ACK=H) to channel management circuit 130 . For example, the master IP block 200 wakes up only after the slave IP block 210 wakes up.

圖4是說明根據本發明的示例性實施例的半導體裝置的示例性操作的示意圖,並且圖5是說明根據本發明的示例性實施例的半導體裝置的示例性操作的示意圖。4 is a schematic diagram illustrating an exemplary operation of a semiconductor device according to an exemplary embodiment of the present invention, and FIG. 5 is a schematic diagram illustrating an exemplary operation of a semiconductor device according to an exemplary embodiment of the present invention.

參考圖4,在本發明的示例性實施例中,當IP塊包含多個主要IP塊和單個從屬IP塊時,包含負責與從屬IP塊的通信通道的通道管理電路410的第一電路從負責與多個主要IP塊的通信通道的通道管理電路400、402和404中接收多個時脈請求(CLK_REQ1、CLK_REQ2和CLK_REQ3)。舉例來說,第一電路可以包含或閘和通道管理電路410Referring to FIG. 4, in an exemplary embodiment of the present invention, when an IP block contains multiple primary IP blocks and a single subordinate IP block, the first circuit including the channel management circuit 410 responsible for the communication channel with the subordinate IP block is responsible for Multiple clock requests (CLK_REQ1, CLK_REQ2, and CLK_REQ3) are received in channel management circuits 400, 402, and 404 for communication channels with multiple primary IP blocks. For example, the first circuit may include OR gate and channel management circuit 410

在此實施例中,第一電路接收多個時脈請求(CLK_REQ1、CLK_REQ2和CLK_REQ3)並且在多個時脈請求(CLK_REQ1、CLK_REQ2和CLK_REQ3)上執行或邏輯操作以產生單個時脈請求(OR_CLK_REQ)。換句話說,當多個主要IP中的僅一者生成時脈請求時,需要喚醒從屬IP。舉例來說,如果CLK_REQ1具有邏輯H,那麼即使CLK_REQ2和CLK_REQ3是邏輯L,由於它們與彼此為或邏輯,所以通道管理電路410將結果解譯為需要喚醒從屬IP。In this embodiment, the first circuit receives multiple clock requests (CLK_REQ1, CLK_REQ2, and CLK_REQ3) and performs an OR logic operation on the multiple clock requests (CLK_REQ1, CLK_REQ2, and CLK_REQ3) to generate a single clock request (OR_CLK_REQ) . In other words, the slave IP needs to be woken up when only one of the multiple master IPs generates a clock request. For example, if CLK_REQ1 has a logic H, then even though CLK_REQ2 and CLK_REQ3 are logic L, since they are ORed with each other, the channel management circuit 410 interprets the result as a need to wake up the slave IP.

參考圖5,在本發明的示例性實施例中,如果IP塊包含單個主要IP塊和多個從屬IP塊,那麼包含負責與主要IP塊的通信通道的通道管理電路400的第二電路從負責與多個從屬IP塊的通信通道的通道管理電路410、412和414中接收多個確認(CLK_ACK1、CLK_ACK2和CLK_ACK3)。舉例來說,第二電路可以包含和門以及通道管理電路400。Referring to FIG. 5, in an exemplary embodiment of the present invention, if an IP block contains a single primary IP block and multiple subordinate IP blocks, then a second circuit containing the channel management circuit 400 responsible for the communication channel with the primary IP block is responsible for the secondary IP block. Multiple acknowledgments (CLK_ACK1, CLK_ACK2, and CLK_ACK3) are received in channel management circuits 410, 412, and 414 of the communication channel with multiple slave IP blocks. For example, the second circuit may include AND gates and channel management circuit 400 .

在此實施例中,第二電路接收多個確認(CLK_ACK1、CLK_ACK2和CLK_ACK3)並且在多個確認(CLK_ACK1、CLK_ACK2和CLK_ACK3)上執行和邏輯操作以產生單個確認(AND_CLK_ACK)。舉例來說,僅當喚醒所有多個從屬IP時喚醒主要IP。舉例來說,如果CLK_ACK1、CLK_ACK2和CLK_ACK中的任何一個為邏輯L,那麼由於它們與彼此為和邏輯,所以通道管理電路410將結果解譯為並不需要喚醒主要IP。In this embodiment, the second circuit receives multiple acknowledgments (CLK_ACK1, CLK_ACK2, and CLK_ACK3) and performs AND logic operations on the multiple acknowledgments (CLK_ACK1, CLK_ACK2, and CLK_ACK3) to generate a single acknowledgment (AND_CLK_ACK). For example, wake up the master IP only when all multiple slave IPs are woken up. For example, if any of CLK_ACK1, CLK_ACK2, and CLK_ACK is a logic L, then since they are AND logic with each other, the channel management circuit 410 interprets the result as not needing to wake up the primary IP.

圖6是說明根據本發明的示例性實施例的半導體裝置的示例性操作的時序圖。FIG. 6 is a timing diagram illustrating an exemplary operation of a semiconductor device according to an exemplary embodiment of the present invention.

參考圖6,在在T1處在運行狀態(IP1=H)中的主要IP塊200在T2處開始進入休眠模式,並且在T3處轉換成休眠狀態(IP1=L)。因此,主要IP塊200的通道管理電路130將指示停止時脈供應的信號(CLK_REQ=L)提供到從屬IP塊210的通道管理電路132,由此誘發從屬IP塊210進入休眠模式。Referring to FIG. 6 , the main IP block 200 in the active state (IP1=H) at T1 begins to enter the sleep mode at T2, and transitions to the sleep state (IP1=L) at T3. Therefore, the channel management circuit 130 of the master IP block 200 provides a signal (CLK_REQ=L) instructing to stop the clock supply to the channel management circuit 132 of the slave IP block 210, thereby inducing the slave IP block 210 to enter the sleep mode.

因此,從屬IP塊210在T4處開始進入休眠模式,並且在T7處轉換成休眠狀態(IP2=L)。如上文所述,為了稍後喚醒主要IP塊200,需要首先喚醒從屬IP塊210。Therefore, the dependent IP block 210 begins to enter sleep mode at T4 and transitions to sleep state at T7 (IP2=L). As mentioned above, in order to wake up the master IP block 200 later, the slave IP block 210 needs to be woken up first.

然而,當在T6處從時脈管理單元控制器110中接收斷電命令(D_REQ)時,雖然從屬IP塊210在T4到T7的間隔中進入休眠模式,但是由於斷電命令(D_REQ)的優先順序高於從主要IP塊200接收的蘇醒命令(例如,時脈請求(CLK_REQ=H)),所以在T6之後,從屬IP塊210的通道管理電路132忽略從主要IP塊200的通道管理電路130接收的時脈請求(CLK_REQ)。However, when the power down command (D_REQ) is received from the clock management unit controller 110 at T6, although the slave IP block 210 enters sleep mode in the interval from T4 to T7, due to the priority of the power down command (D_REQ) The order is higher than the wakeup command received from the master IP block 200 (eg, clock request (CLK_REQ=H)), so after T6, the channel management circuit 132 of the slave IP block 210 ignores the channel management circuit 130 from the master IP block 200 Received clock request (CLK_REQ).

因此,當主要IP塊200在T5處滿足喚醒條件並且等待具有為H的QACTIVE值的從屬IP塊210的蘇醒時,由於從屬IP塊210的通道管理電路132忽略了從主要IP塊200的通道管理電路130接收的時脈請求(CLK_REQ),可能出現並不喚醒主要IP塊200和從屬IP塊210中的兩者的鎖死。Therefore, when the master IP block 200 satisfies the wake-up condition at T5 and waits for the wake-up of the slave IP block 210 with the QACTIVE value of H, since the path management circuit 132 of the slave IP block 210 ignores the path management from the master IP block 200 The clock request (CLK_REQ) received by the circuit 130, may lock up without waking up both the master IP block 200 and the slave IP block 210.

圖7和圖8是說明根據本發明的示例性實施例的半導體裝置的示意圖。7 and 8 are schematic diagrams illustrating semiconductor devices according to exemplary embodiments of the present invention.

參考圖7和圖8,為了防止在根據本發明的示例性實施例的半導體裝置中參考圖6所描述的鎖死的出現,主要IP塊200的通道管理電路130將授權信號(GRANT_D_REQ)傳輸到從屬IP塊210的通道管理電路132。授權信號(GRANT_D_REQ)是考慮主從關係的基於功率控制命令(例如,斷電命令(D_REQ))確定是否操作通道管理電路132的信號。7 and 8 , in order to prevent the occurrence of the lockup described with reference to FIG. 6 in the semiconductor device according to the exemplary embodiment of the present invention, the channel management circuit 130 of the main IP block 200 transmits a grant signal (GRANT_D_REQ) to The channel management circuit 132 of the slave IP block 210 . The grant signal (GRANT_D_REQ) is a signal that determines whether to operate the channel management circuit 132 based on a power control command (eg, a power-down command (D_REQ)) in consideration of a master-slave relationship.

在示例性實施例中,基於從時脈管理單元控制器110接收的斷電命令(D_REQ)匯出的信號和從主要IP塊200的通道管理電路130接收的授權信號(S_D_REQ),從屬IP塊210的通道管理電路132執行斷電操作。舉例來說,通道管理電路132可以包含圖8中所示的接收D_REQ和GRANT_D_REQ的和門,並且在D_REQ和GRANT_D_REQ上執行和邏輯操作以獲取授權信號(S_D_REQ)。In an exemplary embodiment, the slave IP block is based on a signal derived from the power down command (D_REQ) received from the clock management unit controller 110 and the grant signal (S_D_REQ) received from the channel management circuit 130 of the master IP block 200 . The channel management circuit 132 of 210 performs a power down operation. For example, channel management circuit 132 may include the AND gate shown in FIG. 8 that receives D_REQ and GRANT_D_REQ, and performs an AND logic operation on D_REQ and GRANT_D_REQ to obtain a grant signal (S_D_REQ).

因此,在其中從屬IP塊210從時脈管理單元控制器110中接收斷電命令(D_REQ)但是需要喚醒主要IP塊200的情況中,從屬IP塊210蘇醒。在示例性實施例中,當其中主要IP塊200可以執行斷電操作的狀態被傳輸至從屬IP塊210作為授權信號(GRANT_D_REQ)時,通過確保主要IP塊200沒有蘇醒使得從屬IP塊210經受斷電。Therefore, in the case where the slave IP block 210 receives a power down command (D_REQ) from the clock management unit controller 110 but needs to wake up the master IP block 200, the slave IP block 210 wakes up. In an exemplary embodiment, when a state in which the master IP block 200 can perform a power-down operation is transmitted to the slave IP block 210 as a grant signal (GRANT_D_REQ), the slave IP block 210 is subjected to the interruption by ensuring that the master IP block 200 is not awake Electricity.

當已經完成IP塊200和210的斷電時,僅通道管理電路130傳輸斷電命令(D_REQ)的確認(D_ACK)到時脈管理單元控制器110。When the power down of the IP blocks 200 and 210 has been completed, only the channel management circuit 130 transmits an acknowledgement (D_ACK) of the power down command (D_REQ) to the clock management unit controller 110 .

圖9是說明根據本發明的示例性實施例的半導體裝置的示例性操作的時序圖。FIG. 9 is a timing diagram illustrating an exemplary operation of a semiconductor device according to an exemplary embodiment of the present invention.

參考圖9,在T1處的運行狀態(IP1=H)中的主要IP塊200在T2處開始進入休眠模式,並且在T3處轉換成休眠狀態(IP1=L)。因此,主要IP塊200的通道管理電路130將指示停止時脈供應的信號(CLK_REQ=L)提供到從屬IP塊210的通道管理電路132,由此誘發從屬IP塊210進入休眠模式。Referring to FIG. 9 , the main IP block 200 in the running state (IP1=H) at T1 begins to enter the sleep mode at T2, and transitions to the sleep state (IP1=L) at T3. Therefore, the channel management circuit 130 of the master IP block 200 provides a signal (CLK_REQ=L) instructing to stop the clock supply to the channel management circuit 132 of the slave IP block 210, thereby inducing the slave IP block 210 to enter the sleep mode.

因此,從屬IP塊210在T4處開始進入休眠模式並且在T7處轉換成休眠狀態(IP2=L)。如上文所述,為了稍後喚醒主要IP塊200,需要首先喚醒從屬IP塊210。Therefore, the dependent IP block 210 starts entering sleep mode at T4 and transitions to sleep state at T7 (IP2=L). As mentioned above, in order to wake up the master IP block 200 later, the slave IP block 210 needs to be woken up first.

當在T6處從時脈管理單元控制器110中接收斷電命令(D_REQ)時,雖然從屬IP塊210在T4到T7的間隔中進入休眠模式,但是斷電命令(D_REQ)的優先順序高於從主要IP塊200接收的蘇醒命令(例如,時脈請求(CLK_REQ=H))。然而,由於通道管理電路130並不將授權信號(GRANT_D_REQ)傳輸到通道管理電路130,所以在T6之後,從屬IP塊210的通道管理電路132並不忽略從主要IP塊200的通道管理電路130接收的時脈請求(CLK_REQ)。When a power down command (D_REQ) is received from the clock management unit controller 110 at T6, although the slave IP block 210 enters sleep mode in the interval from T4 to T7, the power down command (D_REQ) has a higher priority than A wake-up command (eg, a clock request (CLK_REQ=H)) received from the primary IP block 200 . However, since the channel management circuit 130 does not transmit the grant signal (GRANT_D_REQ) to the channel management circuit 130, after T6, the channel management circuit 132 of the slave IP block 210 does not ignore the reception from the channel management circuit 130 of the master IP block 200 the clock request (CLK_REQ).

因此,當主要IP塊200在T5處滿足喚醒條件並且等待具有為H的QACTIVE值的從屬IP塊210的蘇醒時,基於從主要IP塊200的通道管理電路130接收的時脈請求(CLK_REQ),從屬IP塊210的通道管理電路132在T9到T10的間隔中蘇醒。Therefore, when the master IP block 200 satisfies the wake-up condition at T5 and waits for the wake-up of the slave IP block 210 with the QACTIVE value of H, based on the clock request (CLK_REQ) received from the channel management circuit 130 of the master IP block 200, The channel management circuit 132 of the slave IP block 210 wakes up in the interval T9 to T10.

之後,在通道管理電路130中,在T11處授權信號(GRANT_D_REQ)被傳輸至通道管理電路132之後,執行從屬IP塊210的斷電操作。After that, in the channel management circuit 130, after the grant signal (GRANT_D_REQ) is transmitted to the channel management circuit 132 at T11, the power-off operation of the subordinate IP block 210 is performed.

圖10和圖11是說明根據本發明的示例性實施例的半導體裝置的示意圖。10 and 11 are schematic diagrams illustrating semiconductor devices according to exemplary embodiments of the present invention.

參考圖10和圖11,為了防止在根據本發明的示例性實施例的半導體裝置中參考圖6所描述的鎖死的出現,從屬IP塊210的通道管理電路132接收從主要IP塊200中傳輸到通道管理電路130的QACTIVE信號(第一有源信號)。10 and 11 , in order to prevent the occurrence of the lockup described with reference to FIG. 6 in the semiconductor device according to the exemplary embodiment of the present invention, the channel management circuit 132 of the slave IP block 210 receives a transmission from the master IP block 200 QACTIVE signal (first active signal) to channel management circuit 130 .

本實施例是基於主從關係的,在所述主從關係中在喚醒主要IP塊200之前首先需要喚醒的從屬IP塊210的限制是寬鬆的。因此,通道管理電路130和132中的每一個從時脈管理單元控制器110中接收斷電命令(D_REQ1和D_REQ2),並且在已經執行斷電之後將確認(D_ACK1和D_ACK2)傳輸到時脈管理單元110。This embodiment is based on a master-slave relationship, in which the restriction on the slave IP block 210 that needs to be woken up first before the master IP block 200 is woken up is loose. Accordingly, each of the channel management circuits 130 and 132 receives power down commands (D_REQ1 and D_REQ2) from the clock management unit controller 110 and transmits acknowledgments (D_ACK1 and D_ACK2) to the clock management after power down has been performed unit 110.

在示例性實施例中,基於從主要IP塊200傳輸到通道管理電路130的QACTIVE信號(第一有源信號)和從從屬IP塊210接收的QACTIVE信號(第二有源信號),從屬IP塊210的通道管理電路132執行斷電操作。舉例來說,通道管理電路基於信號(S_QACTIVE)執行斷電操作,所述信號(S_QACTIVE)是通過在從主要IP塊200傳輸到通道管理電路130的QACTIVE信號(第一有源信號)和從從屬IP塊210接收的QACTIVE信號(第二有源信號)上執行或邏輯操作獲取的。舉例來說,通道管理電路132可以包含圖11中所示的執行或操作的或閘。In an exemplary embodiment, based on the QACTIVE signal (the first active signal) transmitted from the master IP block 200 to the channel management circuit 130 and the QACTIVE signal (the second active signal) received from the slave IP block 210 , the slave IP block The channel management circuit 132 of 210 performs a power down operation. For example, the channel management circuit performs a power down operation based on the signal (S_QACTIVE) which is passed through the QACTIVE signal (first active signal) transmitted from the master IP block 200 to the channel management circuit 130 and the slave slave Obtained by performing an OR logic operation on the QACTIVE signal (the second active signal) received by the IP block 210 . For example, the channel management circuit 132 may include the OR gate shown in FIG. 11 that performs the OR operation.

因此,在其中從屬IP塊210從時脈管理單元控制器110中接收斷電命令(D_REQ)但是需要喚醒主要IP塊200的情況中,從屬IP塊蘇醒。Therefore, in the case where the slave IP block 210 receives a power down command (D_REQ) from the clock management unit controller 110 but needs to wake up the master IP block 200, the slave IP block wakes up.

圖12是說明根據本發明的示例性實施例的半導體裝置的示意圖。FIG. 12 is a schematic diagram illustrating a semiconductor device according to an exemplary embodiment of the present invention.

圖12不同於圖7之處在於,功率管理單元300直接地將斷電命令(D_REQ)傳輸到通道管理電路130和132,以便執行IP塊200和210的功率控制操作並且控制IP塊200和210的功率狀態。FIG. 12 differs from FIG. 7 in that the power management unit 300 directly transmits a power down command (D_REQ) to the channel management circuits 130 and 132 in order to perform the power control operations of the IP blocks 200 and 210 and control the IP blocks 200 and 210 power state.

因此,基於從功率管理單元300接收的斷電命令(D_REQ)和從主要IP塊200的通道管理電路130接收的授權信號(GRANT_D_REQ),從屬IP塊210的通道管理電路132執行斷電操作。舉例來說,基於通過在從功率管理單元300接收的斷電命令(D_REQ)上執行和邏輯操作所獲取的信號(S_D_REQ)和從主要IP塊200的通道管理電路130接收的授權信號(GRANT_D_REQ),通道管理電路執行斷電操作。Therefore, based on the power-down command (D_REQ) received from the power management unit 300 and the grant signal (GRANT_D_REQ) received from the channel management circuit 130 of the master IP block 200, the channel management circuit 132 of the slave IP block 210 performs a power-down operation. For example, based on a signal (S_D_REQ) obtained by performing AND logical operations on a power down command (D_REQ) received from the power management unit 300 and a grant signal (GRANT_D_REQ) received from the channel management circuit 130 of the main IP block 200 , the channel management circuit performs a power-down operation.

因此,在其中從屬IP塊210從功率管理單元300中接收斷電命令(D_REQ)但是需要喚醒主要IP塊200的情況中,從屬IP塊210蘇醒。在示例性實施例中,當其中主要IP塊200可以執行斷電操作的狀態被傳輸至從屬IP塊210作為授權信號(GRANT_D_REQ)時,通過確保主要IP塊200沒有蘇醒而執行從屬IP塊210的斷電。Therefore, in the case where the slave IP block 210 receives a power down command (D_REQ) from the power management unit 300 but needs to wake up the master IP block 200, the slave IP block 210 wakes up. In an exemplary embodiment, when a state in which the master IP block 200 can perform a power-down operation is transmitted to the slave IP block 210 as a grant signal (GRANT_D_REQ), the slave IP block 210 is performed by ensuring that the master IP block 200 is not awake. Power off.

當已經完成IP塊200和210的斷電時,僅通道管理電路130傳輸斷電命令(D_REQ)的確認(D_ACK)到功率管理單元300。When the power down of the IP blocks 200 and 210 has been completed, only the channel management circuit 130 transmits an acknowledgement (D_ACK) of the power down command (D_REQ) to the power management unit 300 .

圖13是說明根據本發明的示例性實施例的半導體裝置的示意圖。13 is a schematic diagram illustrating a semiconductor device according to an exemplary embodiment of the present invention.

圖13不同於圖10之處在於,電源管理單元300直接地將斷電命令(D_REQ)傳輸到通道管理電路130和132,以便執行IP塊200和210的功率控制操作並且控制IP塊200和210的功率狀態。FIG. 13 differs from FIG. 10 in that the power management unit 300 directly transmits a power down command (D_REQ) to the channel management circuits 130 and 132 in order to perform the power control operations of the IP blocks 200 and 210 and control the IP blocks 200 and 210 power state.

通道管理電路130和132中的每一個從功率管理單元300中接收斷電命令(D_REQ1和D_REQ2),並且在已經執行斷電之後將確認(D_ACk1和D_ACK2)傳輸到功率管理單元300。Each of channel management circuits 130 and 132 receives power down commands (D_REQ1 and D_REQ2) from power management unit 300 and transmits acknowledgments (D_ACk1 and D_ACK2) to power management unit 300 after power down has been performed.

基於從主要IP塊200傳輸到通道管理電路130的QACTIVE信號(第一有源信號)和從從屬IP塊210接收的QACTIVE信號(第二有源信號),從屬IP塊210的通道管理電路132執行斷電操作。舉例來說,通道管理電路132基於信號(S_QACTIVE)執行斷電操作,所述信號(S_QACTIVE)是通過在從主要IP塊200傳輸到通道管理電路130的QACTIVE信號(第一有源信號)和從從屬IP塊210接收的QACTIVE信號(第二有源信號)上執行或邏輯操作獲取的。Based on the QACTIVE signal (first active signal) transmitted from the master IP block 200 to the channel management circuit 130 and the QACTIVE signal (second active signal) received from the slave IP block 210 , the channel management circuit 132 of the slave IP block 210 performs Power off operation. For example, the channel management circuit 132 performs a power down operation based on the signal (S_QACTIVE) which is passed between the QACTIVE signal (first active signal) transmitted from the main IP block 200 to the channel management circuit 130 and the slave Obtained by performing an OR logic operation on the QACTIVE signal (second active signal) received by the slave IP block 210 .

因此,在其中從屬IP塊210從時脈管理單元控制器110中接收斷電命令(D_REQ)但是需要喚醒主要IP塊200的情況中,從屬IP塊蘇醒。Therefore, in the case where the slave IP block 210 receives a power down command (D_REQ) from the clock management unit controller 110 but needs to wake up the master IP block 200, the slave IP block wakes up.

圖14是半導體系統的框圖,對於所述半導體系統來說根據本發明的一些實施例的半導體裝置和半導體裝置的操作方法是適用的。14 is a block diagram of a semiconductor system for which a semiconductor device and a method of operating a semiconductor device according to some embodiments of the present invention are applicable.

參考圖14,半導體系統包含半導體裝置(SoC)1、處理器10、記憶體裝置20、顯示裝置30、網路裝置40、儲存裝置50和輸入/輸出裝置60。半導體裝置(SoC)1、處理器10、記憶體裝置20、顯示裝置30、網路裝置40、儲存裝置50和輸入/輸出裝置60可以通過匯流排70彼此發射和接收資料。14 , the semiconductor system includes a semiconductor device (SoC) 1 , a processor 10 , a memory device 20 , a display device 30 , a network device 40 , a storage device 50 , and an input/output device 60 . The semiconductor device (SoC) 1 , the processor 10 , the memory device 20 , the display device 30 , the network device 40 , the storage device 50 and the input/output device 60 may transmit and receive data to and from each other through the bus bar 70 .

在本發明在各種實施例中所描述的半導體裝置(SoC)1內部的IP塊包含控制記憶體裝置20的記憶體控制器、控制顯示裝置30的顯示控制器、控制網路裝置40的網路控制器、控制儲存裝置50的儲存控制器和控制輸入輸出裝置60的輸入輸出控制器中的至少一個。半導體系統可進一步包含控制這些裝置的額外的處理器10。The IP blocks inside the semiconductor device (SoC) 1 described in various embodiments of the present invention include a memory controller that controls the memory device 20 , a display controller that controls the display device 30 , and a network that controls the network device 40 . At least one of a controller, a storage controller that controls the storage device 50 , and an input-output controller that controls the input-output device 60 . The semiconductor system may further include an additional processor 10 that controls these devices.

圖15到圖17是示例性半導體系統,對於所述半導體系統來說根據本發明的一些實施例的半導體裝置和半導體裝置的操作方法是適用的。15 to 17 are exemplary semiconductor systems for which semiconductor devices and methods of operation of semiconductor devices in accordance with some embodiments of the present invention are applicable.

圖15是說明平板個人電腦(PC)1200的圖式,圖16是說明膝上型電腦1300的圖式,並且圖17說明智慧型電話1400。根據本發明的各種實施例的半導體裝置可用於平板PC 1200、膝上型電腦1300或智慧型電話1400內。然而,由於半導體裝置還可以用於未示出的各種其它裝置和積體電路裝置內,所以本發明不限於此。FIG. 15 is a diagram illustrating a tablet personal computer (PC) 1200 , FIG. 16 is a diagram illustrating a laptop computer 1300 , and FIG. 17 is a diagram illustrating a smartphone 1400 . The semiconductor device according to various embodiments of the present invention may be used in a tablet PC 1200 , a laptop computer 1300 , or a smart phone 1400 . However, since the semiconductor device can also be used in various other devices and integrated circuit devices not shown, the present invention is not limited thereto.

在本發明的一些實施例中,半導體系統可以被提供為電腦、例如超級移動PC(ultra mobile PC,UMPC)、工作站、上網本、個人數位助理(personal digital assistants,PDA)、可擕式電腦、無線電話、行動電話、電子圖書閱讀器、可擕式多媒體播放機(portable multimedia player,PMP)、可擕式遊戲機、導航裝置、黑匣子、數碼相機、三維電視、數位音訊記錄器、數位音訊播放機、數位圖片記錄器、數位圖片播放機、數位錄影機或數位視訊播放機。In some embodiments of the present invention, the semiconductor system may be provided as a computer such as an ultra mobile PC (UMPC), workstation, netbook, personal digital assistants (PDA), portable computer, wireless Telephones, mobile phones, e-book readers, portable multimedia players (PMP), portable game consoles, navigation devices, black boxes, digital cameras, 3D TVs, digital audio recorders, digital audio players , digital picture recorder, digital picture player, digital video recorder or digital video player.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed above by the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, The protection scope of the present invention shall be determined by the scope of the appended patent application.

1‧‧‧系統晶片;10‧‧‧處理器;20‧‧‧記憶體裝置;30‧‧‧顯示裝置;40‧‧‧網路裝置;50‧‧‧儲存裝置;60‧‧‧輸入/輸出裝置;70‧‧‧匯流排;100‧‧‧時脈管理單元;110‧‧‧CMU控制器;120a‧‧‧時脈元件;120b‧‧‧時脈元件;120c‧‧‧時脈元件;120d‧‧‧時脈元件;120e‧‧‧時脈元件;120f‧‧‧時脈元件;120g‧‧‧時脈元件;122a‧‧‧時脈控制電路;122b‧‧‧時脈控制電路;122c‧‧‧時脈控制電路;122d‧‧‧時脈控制電路;122e‧‧‧時脈控制電路;122f‧‧‧時脈控制電路;122g‧‧‧時脈控制電路;124a‧‧‧時脈源;124b‧‧‧時脈源;124c‧‧‧時脈源;124d‧‧‧時脈源;124e‧‧‧時脈源;124f‧‧‧時脈源;124g‧‧‧時脈源;130‧‧‧通道管理電路;132‧‧‧通道管理電路;200‧‧‧智慧財產權塊;210‧‧‧智慧財產權塊;300‧‧‧功率管理單元;400‧‧‧通道管理電路;402‧‧‧通道管理電路;404‧‧‧通道管理電路;410‧‧‧通道管理電路;412‧‧‧通道管理電路;414‧‧‧通道管理電路;1200‧‧‧平板個人電腦;1300‧‧‧膝上型電腦;1400‧‧‧智慧型電話;OSC‧‧‧振盪器;PLL‧‧‧鎖相回路;CC‧‧‧時脈控制電路;CS‧‧‧時脈源;REQ‧‧‧時脈請求;ACK‧‧‧時脈請求的確認;CLK‧‧‧時脈信號;CLK1‧‧‧第一時脈信號;CLK2‧‧‧第二時脈信號;CM‧‧‧通道管理電路;PMU‧‧‧功率管理單元;CMD‧‧‧功率控制命令;D_REQ、D_REQ1、D_REQ2‧‧‧斷電命令;D_ACK、D_ACK1、D_ACK2‧‧‧斷電命令的確認;CLK_REQ、CLK_REQ1、CLK_REQ2、CLK_REQ3、OR_CLK_REQ‧‧‧時脈請求;CLK_ACK、CLK_ACK1、CLK_ACK2、CLK_ACK3、AND_CLK_ACK‧‧‧時脈請求的確認;QREQn、QACCEPTn、QACTIVE‧‧‧信號;Q_RUN‧‧‧運行狀態;Q_CLK_REQ‧‧‧休眠模式進入狀態;Q_STOPPED‧‧‧休眠狀態;Q_EXIT‧‧‧休眠模式退出狀態;T1~T16‧‧‧時間點;GRANT_D_REQ‧‧‧授權信號;S_D_REQ‧‧‧信號/授權信號;S_QACTIVE‧‧‧信號。1‧‧‧System Chip; 10‧‧‧Processor; 20‧‧‧Memory Device; 30‧‧‧Display Device; 40‧‧‧Network Device; 50‧‧‧Storage Device; 60‧‧‧Input/ Output device; 70‧‧‧bus; 100‧‧‧clock management unit; 110‧‧‧CMU controller; 120a‧‧‧clock element; 120b‧‧‧clock element; ;120d‧‧‧clock component;120e‧‧‧clock component;120f‧‧‧clock component;120g‧‧‧clock component;122a‧‧‧clock control circuit;122b‧‧‧clock control circuit ;122c‧‧‧Clock Control Circuit; 122d‧‧‧Clock Control Circuit; 122e‧‧‧Clock Control Circuit; 122f‧‧‧Clock Control Circuit; 122g‧‧‧Clock Control Circuit; 124a‧‧‧ 124b‧‧‧Clock Source; 124c‧‧‧Clock Source; 124d‧‧‧Clock Source; 124e‧‧‧Clock Source; 124f‧‧‧Clock Source; 124g‧‧‧Clock Source Source; 130‧‧‧Channel Management Circuit; 132‧‧‧Channel Management Circuit; 200‧‧‧IP Block; 210‧‧‧IP Block; 300‧‧‧Power Management Unit; 402‧‧‧Channel management circuit; 404‧‧‧Channel management circuit; 410‧‧‧Channel management circuit; 412‧‧‧Channel management circuit; 414‧‧‧Channel management circuit; ‧‧Laptop Computer; 1400‧‧‧Smart Phone; OSC‧‧‧Oscillator; ‧Clock request; ACK‧‧‧Clock request confirmation; CLK‧‧‧clock signal; CLK1‧‧‧first clock signal; CLK2‧‧‧second clock signal; CM‧‧‧channel management circuit ;PMU‧‧‧Power Management Unit; CMD‧‧‧Power Control Command; D_REQ, D_REQ1, D_REQ2‧‧‧Power-Down Command; D_ACK, D_ACK1, D_ACK2‧‧‧Power-Down Command Confirmation; , OR_CLK_REQ‧‧‧ clock request; CLK_ACK, CLK_ACK1, CLK_ACK2, CLK_ACK3, AND_CLK_ACK‧‧‧ clock request confirmation; QREQn, QACCEPTn, QACTIVE‧‧‧ signal; Q_RUN‧‧‧ running state; Q_CLK_REQ‧‧‧ sleep mode Enter state; Q_STOPPED‧‧‧ sleep state; Q_EXIT‧‧‧ sleep mode exit state; T1~T16‧‧‧ time point; GRANT_D_REQ‧‧‧authorization signal; S_D_REQ‧‧‧signal number/authorization signal; S_QACTIVE‧‧‧ signal.

圖1是說明根據本發明的示例性實施例的半導體裝置的示意圖。 圖2是說明根據本發明的示例性實施例的半導體裝置的示意圖。 圖3是說明根據本發明的示例性實施例的半導體裝置的示例性操作的示意圖。 圖4是說明根據本發明的示例性實施例的半導體裝置的示例性操作的示意圖。 圖5是說明根據本發明的示例性實施例的半導體裝置的示例性操作的示意圖。 圖6是說明根據本發明的示例性實施例的半導體裝置的示例性操作的時序圖。 圖7和圖8是說明根據本發明的示例性實施例的半導體裝置的示意圖。 圖9是說明根據本發明的示例性實施例的半導體裝置的示例性操作的時序圖。 圖10和圖11是說明根據本發明的示例性實施例的半導體裝置的示意圖。 圖12是說明根據本發明的示例性實施例的半導體裝置的示意圖。 圖13是說明根據本發明的示例性實施例的半導體裝置的示意圖。 圖14是半導體系統的框圖,對於所述半導體系統來說根據本發明的至少一個實施例的半導體裝置和半導體裝置的操作方法是適用的。 圖15到圖17是示例性半導體系統,對於所述半導體系統來說根據本發明的一些實施例的半導體裝置和半導體裝置的操作方法是適用的。FIG. 1 is a schematic diagram illustrating a semiconductor device according to an exemplary embodiment of the present invention. FIG. 2 is a schematic diagram illustrating a semiconductor device according to an exemplary embodiment of the present invention. FIG. 3 is a schematic diagram illustrating an exemplary operation of a semiconductor device according to an exemplary embodiment of the present invention. FIG. 4 is a schematic diagram illustrating an exemplary operation of a semiconductor device according to an exemplary embodiment of the present invention. FIG. 5 is a schematic diagram illustrating an exemplary operation of a semiconductor device according to an exemplary embodiment of the present invention. FIG. 6 is a timing diagram illustrating an exemplary operation of a semiconductor device according to an exemplary embodiment of the present invention. 7 and 8 are schematic diagrams illustrating semiconductor devices according to exemplary embodiments of the present invention. FIG. 9 is a timing diagram illustrating an exemplary operation of a semiconductor device according to an exemplary embodiment of the present invention. 10 and 11 are schematic diagrams illustrating semiconductor devices according to exemplary embodiments of the present invention. FIG. 12 is a schematic diagram illustrating a semiconductor device according to an exemplary embodiment of the present invention. 13 is a schematic diagram illustrating a semiconductor device according to an exemplary embodiment of the present invention. 14 is a block diagram of a semiconductor system to which a semiconductor device and a method of operating a semiconductor device according to at least one embodiment of the present invention are applicable. 15 to 17 are exemplary semiconductor systems for which semiconductor devices and methods of operation of semiconductor devices according to some embodiments of the present invention are applicable.

1:系統晶片 1: System chip

100:時脈管理單元 100: clock management unit

110:CMU控制器 110: CMU Controller

120a、120b、120c、120d、120e、120f、120g:時脈元件 120a, 120b, 120c, 120d, 120e, 120f, 120g: clock elements

122a、122b、122c、122d、122e、122f、122g:時脈控制電路 122a, 122b, 122c, 122d, 122e, 122f, 122g: clock control circuit

124a、124b、124c、124d、124e、124f、124g:時脈源 124a, 124b, 124c, 124d, 124e, 124f, 124g: clock source

130:通道管理電路 130: Channel management circuit

132:通道管理電路 132: Channel management circuit

200:智慧財產權塊 200: IP Block

210:智慧財產權塊 210: Intellectual Property Block

300:功率管理單元 300: Power Management Unit

OSC:振盪器 OSC: Oscillator

PLL:鎖相回路 PLL: Phase Locked Loop

CC:時脈控制電路 CC: Clock Control Circuit

CM:通道管理電路 CM: Channel Management Circuit

CS:時脈源 CS: clock source

REQ:時脈請求 REQ: clock request

ACK:時脈請求的確認 ACK: Acknowledgement of the clock request

CLK:時脈信號 CLK: clock signal

CLK1:第一時脈信號 CLK1: The first clock signal

CLK2:第二時脈信號 CLK2: The second clock signal

Claims (20)

一種半導體裝置,其包括:第一時脈控制電路,其控制第一子代時脈源從親代時脈源中接收時脈信號;第一通道管理電路,其回應於從第一智慧財產權塊接收的第一智慧財產權塊時脈請求將第一時脈請求傳輸到所述第一時脈控制電路;第二時脈控制電路,其控制第二子代時脈源從所述親代時脈源中接收所述時脈信號;第二通道管理電路,其回應於從第二智慧財產權塊接收的第二智慧財產權塊時脈請求將第二時脈請求傳輸到所述第二時脈控制電路;功率管理單元,其將功率控制命令傳輸到所述第一通道管理電路以及所述第二通道管理電路以控制所述第一智慧財產權塊以及所述第二智慧財產權塊的功率狀態,其中所述第一通道管理電路將第三時脈請求傳輸到所述第二通道管理電路,並且所述第二通道管理電路將所述第三時脈請求的接收的確認傳輸到所述第一通道管理電路以維持主從關係。 A semiconductor device comprising: a first clock control circuit that controls a first child clock source to receive a clock signal from a parent clock source; a first channel management circuit that responds to a clock signal from a first IP block The received first IP block clock request transmits the first clock request to the first clock control circuit; the second clock control circuit controls the second child clock source from the parent clock receiving the clock signal at the source; a second channel management circuit that transmits a second clock request to the second clock control circuit in response to a second IP block clock request received from the second IP block a power management unit that transmits power control commands to the first channel management circuit and the second channel management circuit to control the power states of the first IP block and the second IP block, wherein all the first channel management circuit transmits a third clock request to the second channel management circuit, and the second channel management circuit transmits an acknowledgement of receipt of the third clock request to the first channel management circuit to maintain the master-slave relationship. 如申請專利範圍第1項所述的半導體裝置,其中所述第一通道管理電路將授權信號傳輸到所述第二通道管理電路並且所述第二通道管理電路基於所述功率控制命令以及所述授權信號操作。 The semiconductor device of claim 1, wherein the first channel management circuit transmits an authorization signal to the second channel management circuit and the second channel management circuit is based on the power control command and the Authorize signal operations. 如申請專利範圍第2項所述的半導體裝置,其中所述第二通道管理電路基於通過在所述功率控制命令以及所述授權信號上執行和邏輯操作所獲取的結果信號來控制所述第二智慧財產權塊的所述功率狀態。 The semiconductor device of claim 2, wherein the second channel management circuit controls the second channel based on a resultant signal obtained by performing AND logical operations on the power control command and the grant signal The power state of the IP block. 如申請專利範圍第2項所述的半導體裝置,其中所述第一通道管理電路將所述功率控制命令的接收的確認傳輸到所述功率管理單元。 The semiconductor device of claim 2, wherein the first channel management circuit transmits an acknowledgement of the reception of the power control command to the power management unit. 如申請專利範圍第1項所述的半導體裝置,其中所述第二通道管理電路接收通過所述第一智慧財產權塊傳輸到所述第一通道管理電路的第一有源信號,其中所述第一有源信號指示所述第一智慧財產權塊是否已經蘇醒。 The semiconductor device of claim 1, wherein the second channel management circuit receives a first active signal transmitted through the first IP block to the first channel management circuit, wherein the first An active signal indicates whether the first IP block has woken up. 如申請專利範圍第5項所述的半導體裝置,其中所述第二通道管理電路基於通過在所述第一有源信號以及通過所述第二智慧財產權塊傳輸到所述第二通道管理電路的第二有源信號上執行或邏輯操作所獲取的結果信號來控制所述第二智慧財產權塊的所述功率狀態,其中所述第二有源信號指示所述第二智慧財產權塊是否已經蘇醒。 The semiconductor device of claim 5, wherein the second channel management circuit is based on a signal transmitted through the first active signal and through the second IP block to the second channel management circuit The power state of the second IP block is controlled by a result signal obtained by performing an OR logic operation on a second active signal, wherein the second active signal indicates whether the second IP block has woken up. 如申請專利範圍第5項所述的半導體裝置,其中所述第一通道管理電路以及所述第二通道管理電路將所述功率控制命令的接收的確認傳輸到所述功率管理單元。 The semiconductor device of claim 5, wherein the first channel management circuit and the second channel management circuit transmit an acknowledgement of the reception of the power control command to the power management unit. 如申請專利範圍第1項所述的半導體裝置,其中所述第一智慧財產權塊是主要裝置,並且所述第二智慧財產權塊是從屬裝置。 The semiconductor device of claim 1, wherein the first IP block is a master device and the second IP block is a slave device. 如申請專利範圍第8項所述的半導體裝置,其中僅當所述第一智慧財產權塊已經在睡眠模式中時所述第二智慧財產權塊進入睡眠模式,並且僅在所述第二智慧財產權塊已經蘇醒之後第一智慧財產權塊蘇醒。 The semiconductor device of claim 8, wherein said second IP block enters sleep mode only when said first IP block is already in sleep mode, and wherein said second IP block enters sleep mode only when said second IP block is already in sleep mode. After having woken up the first IP block wakes up. 如申請專利範圍第1項所述的半導體裝置,其中所述功率管理單元將所述功率控制命令傳輸到時脈管理單元控制器,並且所述時脈管理單元控制器基於所述功率控制命令控制所述第一通道管理電路或所述第二通道管理電路並且隨後將所述功率控制命令的接收的確認傳輸到所述功率管理單元。 The semiconductor device of claim 1, wherein the power management unit transmits the power control command to a clock management unit controller, and the clock management unit controller controls based on the power control command The first channel management circuit or the second channel management circuit and then transmits an acknowledgement of receipt of the power control command to the power management unit. 一種半導體裝置,其包括:第一通道管理電路,其控制時脈信號輸出到第一智慧財產權塊;第二通道管理電路,其從所述第一通道管理電路中接收時脈請求並且根據所述時脈請求控制時脈信號輸出到第二智慧財產權塊;以及功率管理單元,其將功率控制命令傳輸到所述第一通道管理電路以及所述第二通道管理電路以控制所述第一智慧財產權塊以 及所述第二智慧財產權塊的功率狀態。 A semiconductor device comprising: a first channel management circuit that controls the output of a clock signal to a first IP block; a second channel management circuit that receives a clock request from the first channel management circuit and according to the a clock request control clock signal output to a second IP block; and a power management unit that transmits power control commands to the first channel management circuit and the second channel management circuit to control the first IP block with and the power state of the second IP block. 如申請專利範圍第11項所述的半導體裝置,其中所述第二通道管理電路將所述時脈請求的接收的確認傳輸到所述第一通道管理電路。 The semiconductor device of claim 11, wherein the second channel management circuit transmits an acknowledgement of receipt of the clock request to the first channel management circuit. 如申請專利範圍第11項所述的半導體裝置,其中所述第一通道管理電路將授權信號傳輸到所述第二通道管理電路並且所述第二通道管理電路基於所述功率控制命令以及所述授權信號操作。 The semiconductor device of claim 11, wherein the first channel management circuit transmits an authorization signal to the second channel management circuit and the second channel management circuit is based on the power control command and the Authorize signal operations. 如申請專利範圍第13項所述的半導體裝置,其中所述第二通道管理電路基於通過在所述功率控制命令以及所述授權信號上執行和邏輯操作所獲取的結果信號來控制所述第二智慧財產權塊的所述功率狀態。 The semiconductor device of claim 13, wherein the second channel management circuit controls the second channel based on a resultant signal obtained by performing AND logical operations on the power control command and the grant signal The power state of the IP block. 如申請專利範圍第13項所述的半導體裝置,其中所述第一通道管理電路將所述功率控制命令的接收的確認傳輸到所述功率管理單元。 The semiconductor device of claim 13, wherein the first channel management circuit transmits an acknowledgement of the reception of the power control command to the power management unit. 如申請專利範圍第11項所述的半導體裝置,其中所述第二通道管理電路接收通過所述第一IP塊傳輸到所述第一通道管理電路的第一有源信號,其中所述第一有源信號指示所述第一智慧財產權塊是否已經蘇醒。 The semiconductor device of claim 11, wherein the second channel management circuit receives a first active signal transmitted to the first channel management circuit through the first IP block, wherein the first An active signal indicates whether the first IP block has woken up. 如申請專利範圍第11項所述的半導體裝置,其中所述功率管理單元將所述功率控制命令傳輸到時脈管理單元控制器,並且 所述時脈管理單元控制器基於所述功率控制命令控制所述第一通道管理電路或所述第二通道管理電路,並且隨後將所述功率控制命令的接收的確認傳輸到所述功率管理單元。 The semiconductor device of claim 11, wherein the power management unit transmits the power control command to a clock management unit controller, and The clock management unit controller controls the first channel management circuit or the second channel management circuit based on the power control command, and then transmits an acknowledgement of receipt of the power control command to the power management unit . 一種半導體系統,其包括:系統晶片,其包括根據申請專利範圍第1項所述的半導體裝置;所述第一智慧財產權塊;以及所述第二智慧財產權塊。 A semiconductor system comprising: a system chip including the semiconductor device according to claim 1; the first IP block; and the second IP block. 如申請專利範圍第18項所述的半導體系統,其進一步包括外部裝置,其中所述外部裝置包含記憶體裝置、顯示裝置、網路裝置、儲存裝置以及輸入輸出裝置中的至少一個,並且所述系統晶片控制所述外部裝置。 The semiconductor system of claim 18, further comprising an external device, wherein the external device includes at least one of a memory device, a display device, a network device, a storage device, and an input/output device, and the The system chip controls the external device. 如申請專利範圍第19項所述的半導體系統,其中所述第一智慧財產權塊或所述第二智慧財產權塊包括控制所述記憶體裝置的記憶體控制器、控制所述顯示裝置的顯示控制器、控制所述網路裝置的網路控制器、控制所述儲存裝置的儲存控制器以及控制所述輸入輸出裝置的輸入輸出控制器中的一個。 The semiconductor system of claim 19, wherein the first IP block or the second IP block includes a memory controller that controls the memory device, a display control that controls the display device one of a controller, a network controller that controls the network device, a storage controller that controls the storage device, and an input-output controller that controls the input-output device.
TW106116871A 2017-01-03 2017-05-22 Semiconductor device and semiconductor system TWI771301B (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
??10-2017-0000609 2017-01-03
KR1020170000609A KR102712345B1 (en) 2016-01-25 2017-01-03 Semiconductor device, semiconductor system and method for operating semiconductor device
KR10-2017-0000609 2017-01-03
KR1020170010945A KR102467172B1 (en) 2016-01-25 2017-01-24 Semiconductor device
US15/414,819 2017-01-25
US15/414,819 US10303203B2 (en) 2016-01-25 2017-01-25 Semiconductor device, semiconductor system and method for operating semiconductor device

Publications (2)

Publication Number Publication Date
TW201837652A TW201837652A (en) 2018-10-16
TWI771301B true TWI771301B (en) 2022-07-21

Family

ID=64901783

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106116871A TWI771301B (en) 2017-01-03 2017-05-22 Semiconductor device and semiconductor system

Country Status (1)

Country Link
TW (1) TWI771301B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5793993A (en) * 1995-01-26 1998-08-11 General Magic, Inc. Method for transmitting bus commands and data over two wires of a serial bus
US6915438B2 (en) * 2003-04-04 2005-07-05 Arraycomm, Inc Distributed power management method for monitoring control/status signal of sub-modules to manage power of sub-modules by activating clock signal during operation of sub-modules
US7111183B1 (en) * 2002-10-10 2006-09-19 Lattice Semiconductor Corporation Expansion method for complex power-sequencing applications
US20150026504A1 (en) * 2013-07-16 2015-01-22 Ford Global Technologies, Llc Controller timing system and method
TW201537332A (en) * 2014-03-28 2015-10-01 Mitsubishi Electric Corp Clock phase control circuit
TW201604684A (en) * 2014-06-20 2016-02-01 半導體能源研究所股份有限公司 Semiconductor device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5793993A (en) * 1995-01-26 1998-08-11 General Magic, Inc. Method for transmitting bus commands and data over two wires of a serial bus
US7111183B1 (en) * 2002-10-10 2006-09-19 Lattice Semiconductor Corporation Expansion method for complex power-sequencing applications
US6915438B2 (en) * 2003-04-04 2005-07-05 Arraycomm, Inc Distributed power management method for monitoring control/status signal of sub-modules to manage power of sub-modules by activating clock signal during operation of sub-modules
US20150026504A1 (en) * 2013-07-16 2015-01-22 Ford Global Technologies, Llc Controller timing system and method
TW201537332A (en) * 2014-03-28 2015-10-01 Mitsubishi Electric Corp Clock phase control circuit
TW201604684A (en) * 2014-06-20 2016-02-01 半導體能源研究所股份有限公司 Semiconductor device

Also Published As

Publication number Publication date
TW201837652A (en) 2018-10-16

Similar Documents

Publication Publication Date Title
US11747853B2 (en) Semiconductor device, semiconductor system and method for operating semiconductor device
US10928849B2 (en) Semiconductor device, semiconductor system and method for operating semiconductor device
US10503674B2 (en) Semiconductor device including a clock source for generating a clock signal and a clock control circuit for controlling the clock source in hardware, a semiconductor system including the semiconductor device, and a method of operating the semiconductor device
TWI772300B (en) Semiconductor device
US10587265B2 (en) Semiconductor device and semiconductor system
TWI771301B (en) Semiconductor device and semiconductor system
US11860687B2 (en) Semiconductor device
KR102712345B1 (en) Semiconductor device, semiconductor system and method for operating semiconductor device
US10248155B2 (en) Semiconductor device including clock generating circuit and channel management circuit
CN108268117B (en) Semiconductor device and semiconductor system
US10429881B2 (en) Semiconductor device for stopping an oscillating clock signal from being provided to an IP block, a semiconductor system having the semiconductor device, and a method of operating the semiconductor device
TWI752067B (en) Semiconductor device and a semiconductor system
KR20170088749A (en) Semiconductor device, semiconductor system and method for operating semiconductor device
CN108268085B (en) Semiconductor device with a semiconductor device having a plurality of semiconductor chips
KR102568225B1 (en) Semiconductor device, semiconductor system and method for operating semiconductor device
CN108268087B (en) Semiconductor device, semiconductor system, and method of operating semiconductor device
TWI756225B (en) System on chip, semiconductor system and clock signal output circuit
CN108268086B (en) Semiconductor device, semiconductor system, and method of operating semiconductor device