TWI324299B - Processor system and method for reducing power consumption of a processor - Google Patents
Processor system and method for reducing power consumption of a processor Download PDFInfo
- Publication number
- TWI324299B TWI324299B TW95112948A TW95112948A TWI324299B TW I324299 B TWI324299 B TW I324299B TW 95112948 A TW95112948 A TW 95112948A TW 95112948 A TW95112948 A TW 95112948A TW I324299 B TWI324299 B TW I324299B
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- output signal
- switching
- original
- unit
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 27
- 230000008859 change Effects 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 5
- 230000000717 retained effect Effects 0.000 claims description 3
- 230000008439 repair process Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 46
- 230000006870 function Effects 0.000 description 10
- 230000009471 action Effects 0.000 description 9
- 230000008901 benefit Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 5
- 238000012937 correction Methods 0.000 description 3
- 230000009467 reduction Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000010977 unit operation Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Bus Control (AREA)
- Power Sources (AREA)
Description
9a m . - » . · 九、發明說明: 【發明所屬之技術領域】 。本發明涉及-種處理n,尤其是透過控制輪出信 號之切換以減少功率消耗。 【先前技術】 在這個電子化的時代,小型化多功能高度整合的 便宜電子裝置具有極Α的市場需求。為迎合這項趨勢, 在電子裝置中減少功率消耗的議題就越形重要。由於一 部計算機中或稱之為中央處理器(CPU)之—處理器消耗 相當大比例的電力,已财多種方法用於減少處理器所 消耗的電力。 傳統的處理器设計可同時一齊啟動超過實際需要 的多個輸出’在許多情況下可容許關閉沒有用到的輪 出。其中一種情形係發生於一處理器對一記憶體或任何 外接周邊裝置的寫入動作較匯流排的寬度窄的情況。例 如僅寫入三十二位元中的八位元即意味著有二十四個 位元疋沒被使用到的。若此二十四位元的電路被關閉, 則不須消耗任何電力。第二種情況發生於傳送位址至記 憶體或任何外接周邊裝置時。一旦上述之記憶體或外接 周邊裝置得知位址後,直到次一位址出現前皆不須更動 位址值。尚且某些週邊裝置於未存取時會自動遞增位 於上料般情財,切換上述之不必要輸出將會浪 費電力,故可關閉上述輸出以節省電力。 【發明内容】 馨於上述之發明背景中,為了符合產業上節省電 力之需求’本發明提供—種處理器可用崎決上述傳統 之處理器未能達成之標的。 〜本發明之一實施例係提供—種處理器系統,透過 簡省切換次數以節省虛理 p名處理益系統之電力消耗。此系統包 ^-處理II核心與至少—切換簡省單心位於處理器内 = 處理器核心係用於執行指令並且產生原始輸出 =°該切換簡省單元係用於連接該處理器之至少 ==號。每—該切換簡省單域收—致能信號與該 原始輪出信號,其包含 信號為關門* 夕一邏輯電路單元以當該致能 _先、才.令該原始輸出信號為-内定值或保留為 號通 代該原始μ㈣產生—最終㈣信號以取 树明之另一實施例係提 ::::::欠數以節省處理器―消耗。此裝: 内 器核心係料執行指令並且產生原 部之該處=核心與至少—切換簡省單元。位於處理器 始輸 修正替換頁 出信號。該核心更包含一解碼單元以產生一致能信號。 該切換簡省單元係用於連接該處理器之至少一原始輸 出信號。每一該切換簡省單元接收一致能信號與該原始 輸出信號,其包含至少一邏輯電路單元以當該致能信號 為關閉時令該原始輸出信號為一内定值或保留為一先 前值以及當該致能信號為開啟時令該原始輸出信號通 過該切換簡省單元,據此產生一最終輸出信號以取代該 原始輸出信號。 本發明之另一實施例係提供一種透過簡省切換次 數以節省處理器系統之電力消耗的方法。該方法包含接 收一原始輸出信號與一致能信號、判斷該致能信號是否 開啟、當該致能信號為開啟時,令該原始輸出信號為一 最終輸出信號、以及當該致能信號為關閉時,令該原始 輸出信號為内定值或保留為一先前值。 【實施方式】 本發明在此所探討的方向為一種處理器。為了能 徹底地瞭解本發明,將在下列的描述中提出詳盡的步驟 及其組成。顯然地,本發明的施行並未限定於處理器之 技藝者所熟習的特殊細節。另一方面,眾所周知的組成 或步驟並未描述於細節中,以避免造成本發明不必要之 限制。本發明的較佳實施例會詳細描述如下,然而除了 這些詳細描述之外,本發明還可以廣泛地施行在其他的 實施例中,且本發明的範圍不受限定,其以之後的專利 範圍為準。 參考第一 A圖所示,其係為一簡化電腦系統之一 方塊示意圖。一電腦系統可被簡化僅包含至少三個主要 元件:至少一處理器110、至少一記憶體單元120與至 少一輸出入子系統130。上述之處理器110通常亦被稱 為中央處理器。記憶體單元120係用於儲存程式指令與 資料。而輸出入子系統130則與不同的輸出入裝置140 介接,與此電腦系統連接的這些輸出入裝置140亦被稱 為周邊裝置,其主要具有兩種目的:與外界進行溝通以 及儲存資料。諸如鍵盤、顯示螢幕、印表機與數據機之 類的輸出入裝置140係用於提供使用者介面;如磁碟之 類的輸出入裝置140則是次級資料儲存裝置。 第一 A圖亦示出被稱為系統匯流排之一連接網 路,其係用於提供上述三種元件之間的溝通管道。此系 統匯流排包含三個主要元件:一位址匯流排150、一資 料匯流排160與一控制匯流排170。位址匯流排150的 寬度決定此處理器110可定址之實體記憶體的大小。資 料匯流排160的寬度決定此處理器110與記憶體單元 120或輸出入子系統130之間交換資料的大小。控制匯 j 9知11^〆7日修r..換哀 流排170則包含一組控制信號。典型的控制信號包含記 憶體讀取、記憶體寫入、輸出入讀取、輸出入寫入、中 斷、中斷認知(acknowledge)、匯流排要求與匯流排應允 (grant)等控制信號。上述控制信號係用於指明此系統匯 流排上所進行的動作種類。 請參考第一 B圖所示,其係為習知技術中一處理 器180之一處理器核心181中信號傳輸的一方塊示意 圖。此處理器180通常具有三種輸出信號:位址、資料 與控制信號。一處理器核心181係用於執行指令並且將 其結果傳送至一電腦系統之其他元件。在傳統處理器設 計中,上述三種輸出信號將如第一 B圖所示,由此處理 器核心181直接傳送至輸出匯流排。於習知技術中,解 碼單元182並無產生任何控制信號以便控制輸出之切 換,亦即甚至當某些輸出為無效或可以關閉時,還必須 開啟所有的輸出。 請參考第一 C圖所示,其係為習知技術中一解碼 單元190之一方塊示意圖。一解碼單元190自一管線架 構處理器之指令提取單元接收資料與指令,以便對此管 線前一階段之指令提取單元所傳送的指令進行解碼。此 解碼單元190係用於產生足夠的控制信號以供給此管 線次一階段之執行單元,以供執行單元進行已解碼指令 13242999a m . - » . · Nine, invention description: [Technical field to which the invention belongs]. The present invention relates to processing n, particularly by controlling the switching of the round-out signals to reduce power consumption. [Prior Art] In this era of electronicization, miniaturization of highly versatile and highly integrated inexpensive electronic devices has extremely high market demand. To cater to this trend, the issue of reducing power consumption in electronic devices is becoming more important. Since a computer, or central processing unit (CPU), consumes a significant proportion of the power, a variety of methods have been used to reduce the power consumed by the processor. Conventional processor designs can simultaneously initiate multiple outputs beyond what is actually needed. In many cases, it is acceptable to turn off unused turns. One such situation occurs when the write action of a processor to a memory or any external peripheral device is narrower than the width of the bus. For example, writing only eight bits out of thirty-two bits means that twenty-four bits are not used. If the twenty-four-bit circuit is turned off, no power is consumed. The second case occurs when the address is transferred to the memory or any external peripheral device. Once the above memory or external peripheral device knows the address, it does not need to change the address value until the next address appears. Moreover, some peripheral devices will automatically increment in the case of unloading, and switching the above unnecessary output will waste power, so the above output can be turned off to save power. SUMMARY OF THE INVENTION In the context of the above-described invention, in order to meet the industry's need for power saving, the present invention provides a processor that can be used to defeat the above-mentioned conventional processors. An embodiment of the present invention provides a processor system that saves power consumption of the virtual system by simplifying the number of handovers. This system package ^-process II core and at least - switch simple single center is located in the processor = processor core is used to execute instructions and produce raw output = ° the switch simple unit is used to connect the processor at least = = number. Each of the switches simply saves the single-domain receive-enable signal and the original round-trip signal, and the signal includes a signal to close the gate to the first logic circuit unit to enable the original output signal to be the default value. Or retaining the number to pass the original μ (four) generation - the final (four) signal to take another embodiment of the tree: ::::: under-number to save processor - consumption. This device: The internal core system executes the instructions and generates the original where = core and at least - switches the simplified unit. Located at the processor to start the correction replacement page output signal. The core further includes a decoding unit to generate a consistent energy signal. The switching simple unit is for connecting at least one original output signal of the processor. Each of the switching simplification units receives a coincidence signal and the original output signal, and includes at least one logic circuit unit to cause the original output signal to be a default value or to remain a previous value when the enable signal is off and when When the enable signal is turned on, the original output signal passes through the switching simple unit, thereby generating a final output signal instead of the original output signal. Another embodiment of the present invention provides a method of saving power consumption of a processor system by simplifying the number of switching cycles. The method includes receiving an original output signal and a consistent energy signal, determining whether the enable signal is turned on, making the original output signal a final output signal when the enable signal is turned on, and when the enable signal is off , let the original output signal be a default value or leave it as a previous value. [Embodiment] The direction of the invention discussed herein is a processor. In order to thoroughly understand the present invention, detailed steps and compositions thereof will be set forth in the following description. Obviously, the implementation of the present invention is not limited to the specific details familiar to those skilled in the art. On the other hand, well-known components or steps are not described in detail to avoid unnecessarily limiting the invention. The preferred embodiments of the present invention are described in detail below, but the present invention may be widely practiced in other embodiments, and the scope of the present invention is not limited by the scope of the following patents. . Referring to Figure A, it is a block diagram of a simplified computer system. A computer system can be simplified to include only at least three main components: at least one processor 110, at least one memory unit 120, and at least one input-output subsystem 130. The processor 110 described above is also commonly referred to as a central processing unit. The memory unit 120 is used to store program instructions and data. The input and output subsystems 130 are interfaced with different input and output devices 140. These input and output devices 140 connected to the computer system are also referred to as peripheral devices. The two main purposes are to communicate with the outside world and store data. Input and output devices 140 such as a keyboard, display screen, printer, and data machine are used to provide a user interface; and input and output devices 140 such as a magnetic disk are secondary data storage devices. The first A diagram also shows a connection network called a system bus, which is used to provide a communication channel between the above three components. This system bus contains three main components: a destination bus 150, a data bus 160, and a control bus 170. The width of the address bus 150 determines the size of the physical memory that the processor 110 can address. The width of the data bus 160 determines the size of the data exchanged between the processor 110 and the memory unit 120 or the input/output subsystem 130. Control sink j 9 know 11 ^ 〆 7 day repair r.. change mourning Flow row 170 contains a set of control signals. Typical control signals include control signals such as memory read, memory write, output read, output write, interrupt, interrupt acknowledgement, bus request, and bus grant. The above control signals are used to indicate the type of action performed on the bus bar of this system. Please refer to FIG. B, which is a block diagram of signal transmission in a processor core 181 of a processor 180 in the prior art. This processor 180 typically has three output signals: address, data, and control signals. A processor core 181 is used to execute instructions and communicate the results to other components of a computer system. In a conventional processor design, the above three output signals will be as shown in the first B diagram, whereby the processor core 181 is directly transferred to the output bus. In the prior art, the decoding unit 182 does not generate any control signals to control the switching of the outputs, i.e., even when some of the outputs are inactive or can be turned off, all of the outputs must be turned on. Please refer to the first C diagram, which is a block diagram of a decoding unit 190 in the prior art. A decoding unit 190 receives data and instructions from an instruction fetch unit of a pipeline architecture processor to decode instructions transmitted by the instruction fetch unit of the previous stage of the pipeline. The decoding unit 190 is configured to generate a sufficient control signal to supply the execution unit of the next stage of the pipeline for the execution unit to perform the decoded instruction 1324299
的執行作業。指令於此解碼單元190内之指令解碼方塊 192進行解碼。已解碼之指令與資料自此解碼單元190 傳送至此管線次一階段之執行單元以供其進行已解碼 指令的執行作業。 請參考第二A圖所示,其係為根據本發明之一解 碼單元250的一方塊示意圖。本發明揭露額外之一致能 (enable)控制信號257以當現行指令之資料需要更新時 可提供控制。當必須更新資料時,此致能控制信號257 將會被啟動;當處於那些不須更新資料的情況時,此致 能控制信號257則會被關閉。總共有三種型態的致能信 號:位址致能信號、資料致能信號與控制致能信號以分 別控制位址匯流排、資料匯流排與控制信號匯流排。一 解碼單元250之一接收功能方塊251係用於接收來自管 線架構前一階段之指令提取單元的指令與資料。所接收 之指令將於解碼功能方塊252中被解碼。接著,傳送功 能方塊253將此解碼單元250所產生之資料與已解碼指 令傳送至管線架構次一階段之執行單元以供執行,而上 述之致能控制信號257將直接傳送至處理器的輸出電 路0 請參考第二B圖所示,其係為具有複數個切換簡 省(switching reduction)單元以連接一輸出位址匯流 10 1324299 排、一輸出資料匯流排與一控制信號匯流排之一處理器 的一方塊示意圖。如同第一 A圖所示,一處理器具有 三種輸出匯流排:一位址匯流排150、一資料匯流排160 與一控制信號匯流排170。本發明於上述各匯流排的每 一位元上各加入一切換簡省單元以減少輸出電路的開 關切換動作。自一處理器核心220所產生之一輸出位址 A D D R將被饋入相對於輸出位址匯流排寬度的複數個 切換簡省單元210-1至210-N,而由此處理器之解碼單 元230所產生之位址致能信號ADDR_EN亦被饋入上述 之複數個切換簡省單元210-1至210-N。此解碼單元230 將一指令轉換成為一讀取或寫入的作業,其必須控制位 址、資料與控制信號。所需切換簡省單元的數量係視輸 出位址匯流排的寬度而定,例如一個32位元的輸出位 址匯流排應該具有32個切換簡省單元210-1至 210-N(N=32)。接著,於每一個切換簡省單元210-1至 210-N中執行簡省開關切換的功能,而所有切換簡省單 元210-1至210-N的結果將被組合成為一最終輸出 QUIET_ADDR,並且根據上述輸出位址ADDR之目的 地將此最終輸出傳送至記憶體單元120或輸出入次系 統單元130。 以相同之方式,簡省輸出資料DATA開關切換之 11 1324299 satiiz . 動作亦可由將輸出資料DATA透過相對應於資料匯流 排寬度之複數個切換簡省單元211-1至211-N進行傳送 來達成。資料致能信號DATA_EN將控制透過複數個切 換簡省單元211之輸出資料DATA的每個位元是否需要 進行修改以達成簡省開關切換之目的。自所有切換簡省 單元211收集的最終輸出資料QUIET_DATA將會傳送 至第一 A圖所示出之記憶體單元120或輸出入次系統 單元130。 某些控制信號CONTROL亦可利用相同技術以減 少最終控制輸出QUEIT_CONTROL信號的開關切換動 作。來自處理器解碼單元230之控制致能信號 CONTROL_EN與複數個切換簡省單元212-1至212-N 係用於簡省控制信號的開關切換動作。對應至控制信號 匯流排所需的切換簡省單元數目N亦與此控制信號匯 流排之寬度相關。 當需要一次存取八位元(一位元組)時,所需建構之 切換簡省單元的數目亦可隨之變化。對於每一位元組而 言,可實作單一切換簡省單元以一齊啟閉這八個位元。 以一個32位元寬度的匯流排為例,應實作四個允許啟 閉八位元之切換簡省單元以獨立控制每個位元組。據 此,於一匯流排上所實作之切換簡省單元的數目亦相對 12 丄 私牡高7日ίϋ赶; 1 ___— ------------ 應於此匯流排之寬度、此匯流排之位元組數目,亦或是 &何所需之隨機位元數。 請參考第三圖所示,其係為一微處理器中關於一 輪出資料匯流排之複數個切換簡省單元的一方塊示意 圖。以一個32位元的資料輸出匯流排DATA為例,應 如第二B圖所示實作32個切換簡省單元311至31M。 然而上述32個切換簡省單元311至31M可分為四個小 組’第一組311係對應至第一位元組的各位元、第二組 312係對應至第二位元組的各位元、第三組313係對應 至第三位元組的各位元’而第四組31M(314)係對應至 第四位元組的各位元。由解碼單元330所產生以控制上 述32個切換簡省單元311至31M之資料致能信號 DATA_EN亦可為第二B圖示出之單一信號,或可分為Execution of the job. The instruction decode block 192 in the decoding unit 190 is instructed to decode. The decoded instructions and data are transferred from this decoding unit 190 to the execution unit of the pipeline one stage for execution of the decoded instructions. Please refer to FIG. 2A, which is a block diagram of a decoding unit 250 according to one embodiment of the present invention. The present invention discloses an additional enable control signal 257 to provide control when the data of the current instruction needs to be updated. This enable control signal 257 will be activated when the data has to be updated; this enable control signal 257 will be turned off when there is no need to update the data. There are three types of enable signals: address enable signal, data enable signal and control enable signal to control the address bus, data bus and control signal bus. A receiving function block 251 of a decoding unit 250 is for receiving instructions and data from an instruction fetch unit of a previous stage of the pipe architecture. The received instructions will be decoded in decoding function block 252. Then, the transfer function block 253 transfers the data generated by the decoding unit 250 and the decoded instruction to the execution unit of the next stage of the pipeline architecture for execution, and the above-mentioned enable control signal 257 is directly transmitted to the output circuit of the processor. 0 Refer to the second B diagram, which is a processor with multiple switching reduction units to connect an output address sink 10 1324299 row, an output data bus and a control signal bus A block diagram of the one. As shown in the first A diagram, a processor has three output bus bars: a bit bus bar 150, a data bus bar 160, and a control signal bus bar 170. The present invention adds a switching simple unit to each bit of each of the above bus bars to reduce the switching operation of the output circuit. One of the output address ADDR generated from a processor core 220 will be fed into a plurality of switching simple cells 210-1 to 210-N with respect to the output address bus width, and thus the decoding unit 230 of the processor The generated address enable signal ADDR_EN is also fed to the plurality of switching simple units 210-1 to 210-N described above. The decoding unit 230 converts an instruction into a read or write job that must control the address, data, and control signals. The number of required simple switching units depends on the width of the output address bus. For example, a 32-bit output address bus should have 32 switching simple units 210-1 to 210-N (N=32). ). Next, the function of the simple switch switching is performed in each of the switching simple units 210-1 to 210-N, and the results of all the switching simple units 210-1 to 210-N are combined into a final output QUIET_ADDR, and This final output is transferred to the memory unit 120 or the output sub-system unit 130 according to the destination of the output address ADDR described above. In the same way, the simple output data DATA switch switch 11 1324299 satiiz. The action can also be achieved by transmitting the output data DATA through a plurality of switching simple units 211-1 to 211-N corresponding to the width of the data bus. . The data enable signal DATA_EN will control whether each bit of the output data DATA through the plurality of switching simple units 211 needs to be modified to achieve a simple switching switch. The final output data QUIET_DATA collected from all the switching simple units 211 will be transferred to the memory unit 120 or the output sub-system unit 130 shown in the first A diagram. Some control signals CONTROL can also utilize the same technique to reduce the switching action of the final control output QUEIT_CONTROL signal. The control enable signal CONTROL_EN from the processor decoding unit 230 and the plurality of switching simple units 212-1 to 212-N are used for the switching operation of the control signal. The number of switching simple cells required to correspond to the control signal bus is also related to the width of the control signal bus. When it is necessary to access octets (one tuple) at a time, the number of switching simple units that need to be constructed can also vary. For each tuple, a single switching simple unit can be implemented to open and close the eight bits together. Taking a busbar with a width of 32 bits as an example, four switching units that allow the octet to be turned on and off should be implemented to control each byte independently. According to this, the number of switching simple units on the one busbar is also relatively high on the 7th 丄 ; ;; 1 ____ ------------ should be in this bus The width, the number of bytes in this bus, or the number of random bits required. Please refer to the third figure, which is a block diagram of a plurality of switching simple units in a microprocessor for a round of data bus. Taking a 32-bit data output bus DATA as an example, 32 switching simple units 311 to 31M should be implemented as shown in the second B. However, the above 32 switching simple units 311 to 31M can be divided into four groups. The first group 311 corresponds to each of the first byte, and the second group 312 corresponds to the second byte. The third group 313 corresponds to the bits of the third byte and the fourth group 31M (314) corresponds to the bits of the fourth byte. The data enable signal DATA_EN generated by the decoding unit 330 to control the 32 switching simple units 311 to 31M may also be a single signal shown in the second B, or may be divided into
四個次信號,BYTE_1_EN、BYTE 2 EN、BYTE 3 EN —— 與BYTE_M_EN(BYTE_4一ΕΝ)以分別控制輸出資料 DATA的四個位元組。將單一個資料致能信號DΑΤΑ_ΕΝ 分成Μ個位元組資料控制信號β ΥΤΕ_Μ_ΕΝ具有僅需 開啟必要改變之位元組且令其他位元組不受影響的優 點。假设僅須存取一匯流排之第一位元組,僅需致能 ΒΥΤΕ_1_ΕΝ仏號所相關之各切換簡省單元,而可關閉 BYTE_2_EN、BYTE一3—EN 與 βγΤΕ—4_EN 所相關之各 13 1324299 兕私胸修正替_ 切換簡省單元。於此情況下,將單一資料致能信號 DATA_EN切割為多個次信號以控制個另以立元組之啟閉 可節省一些電力。對於具有其他寬度之資料匯流排而 言,位元組資料控制信號的數量Μ可據而調整,以令 一個位元組資料控制信號ΒΥΤΕ_Μ_ΕΝ用於控制一個 位元組。據此,每個位元組可被獨立地啟閉以最小化輸 出開關切換次數,進而於一電腦系統中使用較少的電 力。雖然於第三圖示出的是一資料輸出匯流排,亦可於 一位址輸出匯流排與一控制信號匯流排中使用相同技 術以分離致能信號,進而開啟那些必須改變的位元組而 令其餘位元保持不變。 請參考第四圖所示,其係為一微處理器中關於一 輸出資料匯流排之複數個切換簡省單元的一方塊示意 圖。於此圖中,每一個切換簡省單元411至41Μ係對 應至此資料匯流排DATA的每一個位元組。很顯然地, 數字Μ係等同於此資料匯流排的全部位元組數量。來 自解碼單元430之致能信號亦根據資料匯流排的位元 組數量而被分為Μ個次信號,亦即ΒΥΤΕ_1_ΕΝ至 ΒΥΤΕ_Μ—ΕΝ。於此一 32位元資料匯流排之實施範例 中,具有四個切換簡省單元411、412、413與414以及 四個致能資料次信號BYTE 1 ΕΝ、BYTE 2 ΕΝ、 14 1324299 ΒΥΤΕ_3_ΕΝ與ΒΥΤΕ_4_ΕΝ。透過第四圖已經示出之資 料匯流排為例,同樣的概念可適用於位址匯流排ADDR 與控制信號匯流排CONTROL。第四圖較第三圖優越之 處在於第四圖僅須第三圖八分之一的切換簡省單元,其 可顯著地減少許多的邏輯電路。 於第五圖所示之另一實施例中,切換簡省單元510 至512可位於處理器530之外。此處理器530之輸出通 常包含一輸出位址ADDR、一輸出資料DATA與一輸出 控制信號CONTROL。上述位址/資料/控制信號之每一 位元皆會傳送至位於此處理器530外部之切換簡省單 元510至512以簡省輸出電路的切換。此處理器530之 解碼單元540亦提供致能信號。於處理器530外部加入 切換簡省單元510至512的此一概念亦可應用於第二、 三與四圖那類將切換簡省單元置於處理器内部之情況。 切換簡省單元結構的五個實施例將分別於第六、 七、八、九與十圖中揭露。第六至九圖所揭露的前四個 實施例揭示了設定無效輸出值為一内定值的第一種方 法,而第十圖所示之實施例則揭示將無效輸出值保留為 先前值的第二種方法。請參考第六圖所示,其係為根據 本發明一第一實施例之一切換簡省單元600的一方塊 示意圖。此切換簡省單元600包含單一個及閘610。當 15 一處理器之一原始輸出信號OUTPUT與一致能信號 ENABLE同時輸入此及閘610時’來自處理器解碼單元 之致能信號ENABLE將可控制上述原始輸出信號^ OUTPUT 將如何轉變為一最終輸出信號 QUIET一OUTPUT。當致能信號ENABLE為開啟時,此 及閘610將會令上述原始輸出信號OUTPUT絲毫不變 地通過此及閘610。反之,當致能信號ENABLE為關閉 時,上述原始輸出信號OUTPUT將會被設定為一内定 值0以減少輸出切換的次數。應注意的是上述之原始輪· 出信號OUTPUT可為一位址、一資料,或一控制信號; 同樣地,上述之最終輸出信號QUIET_OUTPUT亦可分 別為一最終位址、一最終資料,或一最終控制信號。 請注意第六圖方塊圖所示之作業情況僅為符合本 發明範圍與精神的眾多實施例之一。利用一及閘61 〇僅 為減少輸出切換次數的一種可能實作方式,亦可使用其 他種邏輯單元或邏輯單元之組合以達成同樣的功能與 目的。舉例來說,可利用一系列的及閘以取代單一個及 閘。當致能信號為關閉時,一系列的及閘亦能將輸出值 設定為一内定值。另外一種作法係同時反轉一反或閘 (NOR)的兩個輸出,其功能亦等效於一及閘。熟悉此項 技藝者可輕易推導出其他種邏輯電路單元以達成上述 1324299 當致能信號為關閉時令輸出值為一内定值的相同功 能。減少輸出切換次數可減少一處理器的總消耗功率’ 並且延長一電子裝置的電池使用時間。 第七圖示出之一或閘710亦可用於達成當致能信 號為關閉時令輸出值為一内定值的功能。當一致能信號 ENABLE為開啟時,一原始輸出信號OUTPUT可通過 此或閘710成為一最終輸出信號QUIET_OUTPUT。一 真值表可輕易顯示當此致能信號ENABLE為關閉時, 此最終輸出信號QUIET_OUTPUT可被設定為一内定值 1,而非使用一及閘時的内定值〇。由於當此致能信號 ENABLE為關閉時的最終輸出信號QUIET_OUTPUT會 被忽略不計,因此將它設定為〇或1是無關緊要的。 第八圖示出之一多工器810亦可作為本發明另一 實施例。此多工器810之一第一輸入係用於接收一原始 輸出信號OUTPUT,而其一第二輸入係連接至一穩定 值,如0或1。一選擇信號ENABLE係用於控制輸出之 切換。當此選擇信號ENABLE為開啟時,上述之原始 輸出信號OUTPUT將會通過此多工器810並且變成一 最終輸出信號QUIET_OUTPUT。反之,一個關閉的選 擇信號ENABLE將會阻止上述原始輸出信號OUTPUT 通過此多工器810,並且令上述第二輸入值成為最終輸 17 1324299Four sub-signals, BYTE_1_EN, BYTE 2 EN, BYTE 3 EN - and BYTE_M_EN (BYTE_4) to control the four bytes of the output data DATA, respectively. Dividing a single data enable signal DΑΤΑ_ΕΝ into a single byte data control signal β ΥΤΕ_Μ_ΕΝ has the advantage of only having to turn on the necessary changes to the byte and leaving the other bytes unaffected. Assume that only the first byte of a busbar needs to be accessed, and only the switches of the 简_1_ ΕΝ仏 相关 简 简 简 , , , , , , BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY BY 1324299 兕 胸 胸 _ _ 切换 简 简 简 简 简 简 切换 切换In this case, cutting the single data enable signal DATA_EN into multiple sub-signals to control the opening and closing of the other triad can save some power. For data buses with other widths, the number of byte data control signals can be adjusted accordingly so that a byte data control signal ΒΥΤΕ_Μ_ΕΝ is used to control a byte. Accordingly, each byte can be independently turned on and off to minimize the number of output switch switches, thereby using less power in a computer system. Although a data output bus is shown in the third figure, the same technique can be used in the address output bus and a control signal bus to separate the enable signals, thereby turning on the bits that must be changed. Keep the remaining bits unchanged. Please refer to the fourth figure, which is a block diagram of a plurality of switching simple units in a microprocessor for an output data bus. In this figure, each of the switching simple units 411 to 41 corresponds to each byte of the data bus DATA. Obviously, the number is the same as the total number of bytes in this data bus. The enable signal from the decoding unit 430 is also divided into sub-signals according to the number of bytes of the data bus, that is, ΒΥΤΕ_1_ΕΝ to ΒΥΤΕ_Μ-ΕΝ. In the implementation example of the 32-bit data bus, there are four switching simple units 411, 412, 413 and 414 and four enabling data secondary signals BYTE 1 ΕΝ, BYTE 2 ΕΝ, 14 1324299 ΒΥΤΕ_3_ΕΝ and ΒΥΤΕ_4_ΕΝ. Taking the data bus shown in the fourth figure as an example, the same concept can be applied to the address bus ADDR and the control signal bus CONTROL. The fourth figure is superior to the third figure in that the fourth picture only requires one-eighth switching of the simplified unit in the third figure, which can significantly reduce many logic circuits. In another embodiment, shown in FIG. 5, the switching simplification units 510 through 512 can be located outside of the processor 530. The output of the processor 530 typically includes an output address ADDR, an output data DATA, and an output control signal CONTROL. Each bit of the above address/data/control signal is transmitted to the switching simple units 510 to 512 located outside the processor 530 to simplify the switching of the output circuit. The decoding unit 540 of the processor 530 also provides an enable signal. This concept of adding the switching simple units 510 to 512 outside the processor 530 can also be applied to the case where the switching simple cells are placed inside the processor in the second, third and fourth pictures. Five embodiments for switching the simplified unit structure will be disclosed in the sixth, seventh, eighth, ninth and tenth views, respectively. The first four embodiments disclosed in the sixth to ninth embodiments disclose the first method of setting the invalid output value to a default value, and the embodiment shown in the tenth embodiment reveals that the invalid output value is retained as the previous value. Two methods. Please refer to the sixth figure, which is a block diagram of switching the simplified unit 600 according to a first embodiment of the present invention. This switching simplification unit 600 includes a single one and a gate 610. When the original output signal OUTPUT and the coincidence signal ENABLE of the 15-processor are simultaneously input to the AND gate 610, the enable signal ENABLE from the processor decoding unit can control how the original output signal ^OUTPUT will be converted into a final output. Signal QUIET is an OUTPUT. When the enable signal ENABLE is on, the AND gate 610 will cause the original output signal OUTPUT to pass through the gate 610 unchanged. Conversely, when the enable signal ENABLE is off, the above raw output signal OUTPUT will be set to a default value of 0 to reduce the number of output switchings. It should be noted that the original round output signal OUTPUT may be a single address, a data, or a control signal; likewise, the final output signal QUIET_OUTPUT may also be a final address, a final data, or a Final control signal. Please note that the operation shown in the block diagram of the sixth figure is only one of many embodiments consistent with the scope and spirit of the present invention. It is also possible to use a combination of other logic units or logic units to achieve the same function and purpose by using one and the gate 61 〇 only to reduce the number of output switching times. For example, a series of gates can be used to replace a single gate. When the enable signal is off, a series of gates can also set the output value to a default value. Another method is to simultaneously reverse the two outputs of a reverse or gate (NOR), and its function is equivalent to a gate. Those skilled in the art can easily derive other types of logic circuit units to achieve the same function as the above-mentioned 1324299 when the enable signal is turned off and the output value is a default value. Reducing the number of output switchings reduces the total power consumption of a processor' and extends the battery life of an electronic device. The seventh diagram shows that one or the gate 710 can also be used to achieve the function of setting the output value to a default value when the enable signal is off. When the coincidence signal ENABLE is on, an original output signal OUTPUT can pass through the OR gate 710 to become a final output signal QUIET_OUTPUT. A truth table can be easily displayed. When the enable signal ENABLE is off, the final output signal QUIET_OUTPUT can be set to a default value of 1, instead of using the default value of one and the gate. Since the final output signal QUIET_OUTPUT when the enable signal ENABLE is off is ignored, it is irrelevant to set it to 〇 or 1. The eighth figure shows that one of the multiplexers 810 can also be used as another embodiment of the present invention. One of the first inputs of the multiplexer 810 is for receiving an original output signal OUTPUT, and a second input is coupled to a stable value, such as 0 or 1. A selection signal ENABLE is used to control the switching of the output. When the selection signal ENABLE is on, the above-mentioned original output signal OUTPUT will pass through the multiplexer 810 and become a final output signal QUIET_OUTPUT. Conversely, a closed selection signal ENABLE will prevent the original output signal OUTPUT from passing through the multiplexer 810 and cause the second input value to become the final input 17 1324299
出信號 QUIET_〇UTPUT。 請參考第九圖所示,其係為根據本發明另一實施 例之切換簡省單元的一示意圖。當一選擇信號ENABLE 為開啟時,一透明閂(latch)910可允許一原始輸出信號 OUTPUT通過成為一最終輸出信號QUIET_OUTPUT。 反之,一個關閉的選擇信號ENABLE將會阻止上述原 始輸出信號OUTPUT通過,故此最終輸出信號 QUIET一OUTPUT將被設為一内定值。 第十圖示出切換簡省單元結構的第五個實施例。 此切換簡省單元100包含一多工器102,其具有一第一 輸入值以接收從上述多工器102的輸出並且由一正反 器101所產生之一反饋信號與一第二輸入值以接收一 原始輸出信號OUTPUT。同樣地,上述之原始輸出信號 OUTPUT可為一位址、一資料,或一控制信號。來自處 理器解碼單元之一選擇信號enable饋入此多工器 102以控制輸出切換。此切換簡省單元100之最終輸出 值被稱為一最終輸出信號QUIET_〇UTPUT,其可代表 一最終位址、一最終資料,或一最終控制信號。當此選 擇信號ENABLE為關閉時’此切換簡省單元1〇〇執行 保留此原始輸出信號OUTPUT的動作。然而當此選擇 信號ENABLE為開啟時’原始輸出信號OUTPUT將會 18 1324299 9a ιϊ· 一 λ 通過切換簡省單元ΙΟΟ以形成上述之最終輸出信號 QUIET_OUTPUT。則其他邏輯電路|元或邏輯單元 之組合取代上述之正反器1〇1與多工器1〇2以達成當選 擇信號ENABLE為關閉時保留此原始輸出信號 OUTPUT的功能,係符合本發明之範圍與精神。 請參考第十一圖所示,其係為根據本發明第一至 第四實施例所揭示之令輸出值設為一内定值的第一種 方法以減少一連續輸出串流A1〜A7之輸出切換次數的 一示意圖。每一個輸出值A1〜A7可代表第二B圖、第 二圖與第四圖所示之—個位元、一個位元組或其他任何 位元數。一致能信號(ENABLE)與一原始輸出信號 (OUTPUT)被饋入第六圖示出之及閘61〇中。當此致能 信號為開啟時,及閘610允許上述原始輸出信號通過並 且成為最終輸出信號QUIET_OUTPUT。諸如A卜A2、 A4與A5等信號可不變地通過成為最終輸出信號。於另 一方面’當此致能信號為關閉時,如A3、A6與A7信 號’最終輪出信號即被設為内定值0。輸出的内定值可 事先設定為〇或1。於原始輸出信號A1〜A7時,於一連 續輸出串流中會產生六個切換。本發明所產生的優點可 從至少有兩個致能信號為關閉時的連續輸出中看到。例 如由於A6與A7信號時的致能信號皆為關閉,故此時 19 的最終輸出信號皆為0而省去原本於A6與A7信號間 的切換動作。根據本發明之第一至第四實施例所揭示的 切換簡省單元,總切換次數自六次變為五次。若第Η— 圖所示之每一個原始輸出信號代表一個位元,由於Α6 與Α7信號可設為0,則實作第六至九圖所示之切換簡 省單元將具有減少一位元切換的優點。然而,若每一個 原始輸出信號代表一個位元組,則簡省Α6與Α7信號 間的切換可有效地節省一個位元組的切換。顯然地,致 能信號關閉的時間越久,則可簡省越多次切換並且據以 節省更多電力。 請參考第十二圖所示,其係為根據本發明第五實 施例所揭示之保留無效輸出值為一先前值的第二種方 法以減少輸出切換次數之一示意圖。利用第Η —圖示出 之相同Α1〜Α7及致能信號以比較第一至四實施例揭示 之第一種方法與第五實施例揭示之第二種方法所達成 的簡省切換次數。請參考第十圖所示之第五實施例,原 始輸出信號(OUTPUT)與致能信號(ENABLE)係為此切 換簡省單元100之輸入值,而切換簡省的功能將由此切 換簡省單元100内部之正反器101與多工器102來執 行。再者,此切換簡省單元100之最終輸出值被稱為一 最終輸出信號QUIET_OUTPUT。對於那些致能信號為 20 1324299 ί极7曰修正替換頁j 開啟狀態的原始輸出信號而言,如第十二圖所示出之 A1、A2、A4與A5等信號,其可如前四實施例一般不 變地通過此切換簡省單元100。當致能信號為關閉狀態 時,此切換簡省單元100内之正反器101與多工器102 將會保留輸入之先前值。舉A3信號為例,A3將會保留 其先前值,亦即本實施例中的A2值。顯然地,保留先 前值將可消去A2與A3信號間的切換。比較第十一圖 與第十二圖之A3信號,第十一圖採用的將輸出設為内 定值之第一種方式切換輸出值自一有效值至一閘控值 (A2值轉為0),再切換為次一有效值(亦即由0轉為A4 值);然而第十二圖採用的保留先前值之第二種方法僅 當一個新有效值出現時始進行切換(直接由A2值轉為 A4值)。同樣地,A6將會保留A5的先前值,而A7亦 同。若比較第十一圖與第十二圖之A5至A7時的最終 輸出信號,第十一圖中具有一個切換動作(A5至A6), 而第十二圖則沒有任何切換動作。而第十二圖示出之第 二種方法成功地消除了 A5至A6間的切換動作,進而 更節省處理器的電力消耗。比較第十一圖與第十二圖之 最終輸出信號,第十一圖總共具有五次切換動作,而第 十二圖僅須三次。當考慮到輸出匯流排的尺度或是匯流 排的負載程度時,即可了解所節省的電力是相當可觀 21 1324299 9a a 27... ' 的。雖然實作第五實施例需要兩個邏輯電路單元,亦即 - 一個正反器101與一個多工器102,然而其減少切換的 數量顯然要比第一實施例之及閘610或第二、三、四實 施例之或閘710、多工器810與閂910來得多。 . 增加致能信號數量所獲致的優點可輕易地自第十 三圖與第十四圖的比較中得知。請參考第十三圖所示, 其係為於四位元組寬度之一匯流排中利用一致能信號 ® 以簡省輸出切換次數的一示意圖。請回顧第二圖,每一 個匯流排具有一致能信號,而其切換簡省單元的數量係 對應至匯流排寬度的位元組數以減少輸出切換的次 數。為方便圖示之故,第十三圖所考慮的是一個具有四 位元組寬度之匯流排。此四位元组寬度匯流排之原始輸 出信號以八位元為單位來表示,如AnBnCnDn,η可為 任意整數。單一個致能信號以全開全關的模式來控制這 ^ 四個位元組的輸出。例如當此致能信號為開啟時,所有 • 四個位元組A1B1C1D1將會輸出為A1B1C1D卜反之, ' 當此致能信號為關閉時且採用保留先前值的方法,如 A4B4C4D4時,貝先前之A3B3C3D3值將被保留為最終 輸出值。 請參考第十四圖所示,其係為於四位元組寬度之 一匯流排中利用四個致能信號以簡省輸出切換次數的 22 1324299 、、ΊSignal QUIET_〇UTPUT. Please refer to the ninth figure, which is a schematic diagram of a switching simple unit according to another embodiment of the present invention. When a select signal ENABLE is on, a transparent latch 910 allows an original output signal OUTPUT to pass through as a final output signal QUIET_OUTPUT. Conversely, a closed selection signal ENABLE will prevent the above-mentioned original output signal OUTPUT from passing, so the final output signal QUIET-OUTPUT will be set to a default value. The tenth diagram shows a fifth embodiment of switching the simplified unit structure. The switching simplification unit 100 includes a multiplexer 102 having a first input value for receiving an output from the multiplexer 102 and a feedback signal generated by a flip flop 101 and a second input value. Receive an original output signal OUTPUT. Similarly, the above-mentioned original output signal OUTPUT can be a bit address, a data, or a control signal. A selection signal enable from the processor decode unit is fed into the multiplexer 102 to control the output switching. The final output value of this switching simplification unit 100 is referred to as a final output signal QUIET_〇UTPUT, which may represent a final address, a final data, or a final control signal. When this selection signal ENABLE is off, this switching unit 1 performs the action of retaining this original output signal OUTPUT. However, when the selection signal ENABLE is on, the original output signal OUTPUT will be 18 1324299 9a ιϊ· λ by switching the simple unit ΙΟΟ to form the final output signal QUIET_OUTPUT described above. Then, the combination of the other logic circuit | meta or logic unit replaces the above-mentioned flip-flop 1 〇 1 and multiplexer 1 〇 2 to achieve the function of retaining the original output signal OUTPUT when the selection signal ENABLE is off, which is in accordance with the present invention. Scope and spirit. Referring to FIG. 11 , which is the first method for setting the output value to a default value according to the first to fourth embodiments of the present invention to reduce the output of a continuous output stream A1 to A7. A schematic diagram of the number of handovers. Each of the output values A1 to A7 may represent a bit, a byte, or any other number of bits as shown in the second B, second, and fourth figures. The coincidence signal (ENABLE) and an original output signal (OUTPUT) are fed into the gate 61 of the sixth figure. When the enable signal is on, the AND gate 610 allows the above-mentioned original output signal to pass and becomes the final output signal QUIET_OUTPUT. Signals such as A, A2, A4, and A5 can pass unchanged to become the final output signal. On the other hand, when the enable signal is off, the final turn-out signal such as A3, A6 and A7 signals is set to the default value of zero. The default value of the output can be set to 〇 or 1 in advance. At the original output signals A1 to A7, six switches are generated in a continuous output stream. The advantages produced by the present invention can be seen in a continuous output when at least two enable signals are off. For example, since the enable signals of the A6 and A7 signals are all off, the final output signal of 19 is 0 at this time, and the switching operation between the A6 and A7 signals is omitted. According to the switching simple unit disclosed in the first to fourth embodiments of the present invention, the total number of switching times is changed from six times to five times. If the first output signal shown in Figure 代表 represents one bit, since the Α6 and Α7 signals can be set to 0, then the switching simple unit shown in Figure 6 to Figure 9 will have a one-bit switching reduction. The advantages. However, if each of the original output signals represents a byte, switching between the Α6 and Α7 signals can effectively save one byte switching. Obviously, the longer the enable signal is turned off, the easier it is to switch more times and to save more power. Referring to Fig. 12, it is a schematic diagram of the second method of retaining the invalid output value as a previous value to reduce the number of output switching times according to the fifth embodiment of the present invention. The same Α1 to Α7 and enable signals are used to compare the first method disclosed in the first to fourth embodiments with the second method disclosed in the fifth embodiment. Referring to the fifth embodiment shown in FIG. 10, the original output signal (OUTPUT) and the enable signal (ENABLE) are used to switch the input value of the unit 100, and the switching function is simplified. The internal flip-flop 101 and the multiplexer 102 are executed. Furthermore, the final output value of this switching simplification unit 100 is referred to as a final output signal QUIET_OUTPUT. For those original output signals whose enable signal is 20 1324299 ί pole 7 曰 correction replacement page j open state, such as A1, A2, A4 and A5 signals shown in Fig. 12, which can be implemented as the first four The example generally simplifies the unit 100 by this switching. When the enable signal is off, the flip-flop 101 and multiplexer 102 in the switching unit 100 will retain the previous value of the input. Taking the A3 signal as an example, A3 will retain its previous value, which is the A2 value in this embodiment. Obviously, retaining the previous value will eliminate the switch between the A2 and A3 signals. Comparing the A3 signals of the eleventh and twelfth figures, the eleventh mode uses the first mode of setting the output to the default value to switch the output value from a valid value to a gating value (the A2 value is turned to 0). And then switch to the next valid value (that is, from 0 to A4); however, the second method of retaining the previous value used in the twelfth figure only switches when a new valid value occurs (directly by the A2 value) Change to A4 value). Similarly, A6 will retain the previous value of A5, and A7 will be the same. If the final output signals of the eleventh and twelfth graphs A5 to A7 are compared, the eleventh diagram has a switching action (A5 to A6), and the twelfth graph does not have any switching action. The second method shown in Fig. 12 successfully eliminates the switching action between A5 and A6, thereby saving the power consumption of the processor. Comparing the final output signals of the eleventh and twelfth figures, the eleventh figure has a total of five switching actions, and the twelfth picture only needs three times. When considering the scale of the output bus or the load level of the bus, it can be seen that the power saved is quite considerable 21 1324299 9a a 27... '. Although the fifth embodiment requires two logic circuit units, that is, one flip-flop 101 and one multiplexer 102, the number of switching reductions is obviously larger than that of the first embodiment and the gate 610 or the second. The gate 710, the multiplexer 810, and the latch 910 are much more similar to the third embodiment. The advantages obtained by increasing the number of enable signals can be easily seen from the comparison between the 13th and 14th. Please refer to the thirteenth figure, which is a schematic diagram of using the consistent signal ® in one of the four byte width busbars to simplify the number of output switching. Looking back at the second diagram, each bus has a consistent energy signal, and the number of switching simple cells corresponds to the number of bytes in the bus width to reduce the number of output switchings. For the sake of illustration, the thirteenth figure considers a bus with a width of four bytes. The original output signal of this four-byte width bus is expressed in units of octets, such as AnBnCnDn, and η can be any integer. A single enable signal controls the output of these four bytes in a fully open and fully closed mode. For example, when the enable signal is on, all four bytes A1B1C1D1 will be output as A1B1C1D, and vice versa, 'When this enable signal is off and the method of retaining the previous value, such as A4B4C4D4, the previous A3B3C3D3 value Will be retained as the final output value. Please refer to the fourteenth figure, which is to use four enable signals in one bus of the width of four bytes to simplify the number of output switching 22 1324299, Ί
一示意圖。支援第十四圖所示波型之處理器結構係為第 四圖所示之處理器。切換簡省單元與致能信號之數量皆 相對應於匯流排寬度的位元組數以減少輸出切換的次 數。一個具有四個位元組寬度之匯流排將具有四個切換 簡省單元與四個獨立的致能信號,每一個皆控制八個位 元的輸出信號。由於大多數的匯流排存取動作係為8位 元、16位元與32位元,故上述之致能信號可分別開啟 1個、2個、或4個位元。當開啟四個致能信號時,例 如A1B1C1D1,則四個位元組都將不變地輸出。當 A2B2C2D2僅開啟單一個致能信號0001時,貝1J頭三個 位元組即保留為先前值而最後一個位元組將改變為新 值,其最終輸出信號將為A1B1C1D2。改變兩位元組的 情況可觀察A3B3C3D3以及A5B5C5D5的時候。透過 拆解控制匯流排之致能信號以更細膩地進一步減少輸 出切換的次數。比較這兩圖的切換次數,具有單一致能 信號的第十三圖完整地切換了三次;而具有多重致能信 號的第十四圖則部分地切換三次(A2B2C2D2時切換了 四分之一,A3B3C3D3以及A5B5C5D5時各切換了一 半)。故節省的切換次數從3x32即96位元減到了 (0.25+0.5+0.5)χ32即40位元,簡省比例達到58.5%。 請參考第十五圖所示,其係為切換簡省單元運作 23A schematic diagram. The processor structure supporting the waveform shown in Fig. 14 is the processor shown in Fig. 4. The number of switching simple cells and enable signals corresponds to the number of bytes of the bus width to reduce the number of output switching. A bus with four byte widths will have four switching simple cells and four independent enable signals, each controlling the output signal of eight bits. Since most of the bus access operations are 8-bit, 16-bit, and 32-bit, the above enable signals can be turned on 1, 2, or 4 bits, respectively. When four enable signals are turned on, such as A1B1C1D1, all four bytes will be output unchanged. When A2B2C2D2 only turns on a single enable signal 0001, the first three bytes of Bay 1J remain as the previous value and the last byte will change to the new value, and the final output signal will be A1B1C1D2. Changing the two-tuple can be observed when A3B3C3D3 and A5B5C5D5 are observed. The number of output switchings is further reduced by further dissolving the enable signal of the control bus. Comparing the number of switchings of the two figures, the thirteenth picture with a single consistent energy signal is completely switched three times; the fourteenth picture with multiple enabling signals is partially switched three times (A2B2C2D2 is switched by a quarter, A3B3C3D3 and A5B5C5D5 are switched halfway each). Therefore, the number of switchings saved is reduced from 3x32 or 96 bits to (0.25+0.5+0.5)χ32 or 40 bits, and the province's ratio is 58.5%. Please refer to the fifteenth figure, which is to switch the simplified unit operation 23
方式之一流程示意圖。流程開始後進行步驟151,—户 理器之一輸出信號與一致能信號被每一切換簡省單元 接收。於次一步驟152中,判斷對應於目前輸出之位址 /貧料/控制之輸出位元/位元組信號的致能信號是否為 開啟。若此致能信號確為開啟,則進行步驟153令上述 之輪出信號不變地通過切換簡省單元成為最終輪出信 號。反之,若此致能信號為關閉狀態,則流程進行步驟 以執行本發明所提供之簡省輸出切換次數的兩種方 法。第-種方法係如第六至九圖所示之當致能信號為關 閉時令輸出值設為-内定值。第二種方法係如第十圖所 示之當致能信號為關閉時保留輸出值為先前值。上述兩 種方法均可有效地減少輸出切換的次數。接著於次一步 驟155中,判定目前的位址/資料/控制之輸出位元/位= 組信號是否為輸出位址/#料/控制信號的結尾。若非如 此’則其餘位址/資料/㈣之每—輸綠元/位元組信號 都將經歷步驟152至155的流程,直至輸出位址/資料/ 控制信號結束為止。再者’若已到達輸出位址/資料/控 制信號的結尾,雜如步驟156所示,切換簡省單元將 會持續等待下-個輸出絲/_/控·號的到來。當 次-輸出位址/資料/控㈣號到來時,整個迴圈將再回 心驟151。同樣再一次地,一個完整位址/資料/控制 24 1324299 H27· ‘· 年月日修正f換頁i 信號的每一輸出位元/位元組信號都再將經歷步驟151 至155的流程,以簡省輸出切換次數並且進而減少電力 消耗與改善系統消耗。 前述之實施例係透過一及閘/或閘/多工器/閂以達 成令輸出值設為一内定值或透過一正反器與一多工器 以保留輸出值為一先前值的方式以簡省輸出切換次 數。請注意亦可實作其他符合本發明之範圍與精神的另 類電路。例如以一連串之及閘等其他邏輯電路單元或邏 輯電路單元之組合亦可令輸出值設為一内定值。同樣 地,上述之正反器與/或多工器亦可由其他等效之邏輯 電路單元或邏輯電路單元的組合來取代。於本發明中, 於第六至十圖所示之實施例以及本說明書之内容僅作 為特定優點的示範,其可由本發明各實施例中對於切換 簡省單元的使用來達成。 顯然地,依照上面實施例中的描述,本發明可能 有許多的修正與差異。因此需要在其附加的權利要求項 之範圍内加以理解,除了上述詳細的描述外,本發明還 可以廣泛地在其他的實施例中施行。上述僅為本發明之 較佳實施例而已,並非用以限定本發明之申請專利範 圍;凡其它未脫離本發明所揭示之精神下所完成的等效 改變或修飾,均應包含在下述申請專利範圍内。 25 1324299A schematic diagram of one of the ways. After the process starts, step 151 is performed, wherein one of the output signals and the consistent energy signal of the user is received by each switching unit. In a next step 152, it is determined whether the enable signal corresponding to the currently output address/lean/control output bit/byte signal is on. If the enable signal is indeed on, then step 153 is performed to cause the above-mentioned round-trip signal to become the final turn-out signal by switching the simplified unit. Conversely, if the enable signal is off, the flow proceeds to two steps to perform the simpler number of output switching times provided by the present invention. The first method is as shown in the sixth to ninth diagrams. When the enable signal is off, the output value is set to - the default value. The second method, as shown in the tenth figure, retains the output value as the previous value when the enable signal is off. Both of the above methods can effectively reduce the number of output switching. Next, in a second step 155, it is determined whether the current address/data/control output bit/bit=group signal is the end of the output address/#material/control signal. If not, then each of the remaining address/data/(4)-transmission TG/byte signals will go through the process of steps 152 to 155 until the output address/data/control signal ends. Furthermore, if the end of the output address/data/control signal has been reached, as shown in step 156, the switching simple unit will continue to wait for the next output wire/_/ control number to arrive. When the secondary-output address/data/control (4) arrives, the entire loop will return to heart 151. Again, once again, a complete address/data/control 24 1324299 H27· '· Year Month Day Correction f Each page of the i-signal/bytes signal will go through the flow of steps 151 to 155, Jane saves the number of switchings and thus reduces power consumption and improves system consumption. The foregoing embodiment uses a gate and/or gate/multiplexer/latch to achieve an output value set to a default value or a flip-flop and a multiplexer to retain the output value as a previous value. Jane saves the number of output switches. It is noted that other circuits that are within the scope and spirit of the present invention can be implemented. For example, a combination of other logic circuit units or logic circuit units such as a series of gates can also set the output value to a default value. Similarly, the above-described flip-flops and/or multiplexers may be replaced by other equivalent logic circuit units or combinations of logic circuit units. In the present invention, the embodiments shown in the sixth to tenth embodiments and the contents of the present specification are merely exemplary of specific advantages, which can be achieved by the use of the switching simple unit in the embodiments of the present invention. Obviously, many modifications and differences may be made to the invention in light of the above description. It is therefore to be understood that within the scope of the appended claims, the invention may be The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the claims of the present invention; all other equivalent changes or modifications which are not departing from the spirit of the present invention should be included in the following claims. Within the scope. 25 1324299
【圖式簡單說明】 第一 A圖係為一簡化電腦系統之一方塊示意圖; 第一 B圖係為習知技術中一處理器之一核心中信 號傳輸的一方塊示意圖; 第一 C圖係為習知技術中一解碼單元之一方塊示 意圖; • 第二A圖係為根據本發明之一解碼單元的一方塊 示意圖; 第二B圖係為具有複數個切換簡省單元以連接一 輸出位址匯流排、一輸出資料匯流排與一控制信號匯流 排之一處理器的一方塊示意圖; 第三圖係為一微處理器中關於一輸出資料匯流排 φ 之複數個切換簡省單元的一方塊示意圖; 第四圖係為一微處理器中關於一輸出資料匯流排 之複數個切換簡省單元的一方塊示意圖; 第五圖係為具有複數個切換簡省單元以於一處理 器外部連接一輸出位址匯流排、一輸出資料匯流排與一 控制信號匯流排之一方塊示意圖; 第六圖係為根據本發明一第一實施例之一切換簡 26 省單元的一方塊示意圖; 圖係為根據本發明一第二實施例之一切換 省單元的一方塊示意圖; 第圖係為根據本發明一第三實施例之一切換簡 省單元的一方塊示意圖; 第九圖係為根據本發明一第四實施例之一切換簡 省單元的一方塊示意圖; 第十圖係為根據本發明一第五實施例之一切換簡 省單元的一方塊示意圖; 第十一圖係為根據本發明第一至第四實施例所揭 不之令輸出值设為一内定值的第一種方法 切換次數的一示意圖; 翰出 第十一圖係為根據本發明第五實施例所揭示之保 留輸出值為-先前值的第二種方法以減少輸出切換次 數的一示意圖; ' 第十三圖係為於四位元組寬度之一匯流排中利用 致也彳§號以間省輸出切換次數的一示意圖; 第十四圖係為於四位元組寬度之一匯流排中利用 四個致能信號以簡省輸出切換次數的一示意圖; 27 1324299BRIEF DESCRIPTION OF THE DRAWINGS The first A diagram is a block diagram of a simplified computer system; the first B diagram is a block diagram of signal transmission in a core of a processor in the prior art; A block diagram of a decoding unit in the prior art; • A second diagram is a block diagram of a decoding unit according to the present invention; and a second diagram B has a plurality of switching simple units to connect an output bit A block diagram of a processor of an address bus, an output data bus and a control signal bus; the third picture is a plurality of switching simple units of a microprocessor for an output data bus φ The block diagram is a block diagram of a plurality of switching simple units in a microprocessor for an output data bus; the fifth picture is a plurality of switching simple units for external connection of a processor A block diagram of an output address bus, an output data bus and a control signal bus; the sixth figure is a switch according to a first embodiment of the present invention 26 is a block diagram of a unit in accordance with a second embodiment of the present invention; and FIG. 1 is a block diagram of switching a simplified unit according to a third embodiment of the present invention; FIG. 9 is a block diagram showing a switching unit in accordance with a fourth embodiment of the present invention; and a tenth block diagram showing a simplified unit in accordance with a fifth embodiment of the present invention; 11 is a schematic diagram showing the number of switching times of the first method in which the output value is set to a predetermined value according to the first to fourth embodiments of the present invention; A second method for retaining the output value of the previous value disclosed in the fifth embodiment to reduce the number of output switching times; 'the thirteenth figure is to utilize the chimney in one of the four byte widths. § No. 1 is a schematic diagram of the number of times of output switching; the fourteenth figure is a schematic diagram of using four enable signals in one of the four byte widths to simplify the number of output switching times; 27 1324299
第十五圖係為切換簡省單元運作方式之一流程示 意圖。 【主要元件符號說明】 100 切換簡省單元 101 正反器 102 多工器 110 處理器 120 記憶體單元 130 輸出入子系統 140 輸出入裝置 150 位址匯流排 151〜156本發明一實施例之實施步驟 160 資料匯流排 170 控制匯流排 180 處理器 181 處理裔核心 182 解碼單元 190 解碼單元 191 接收 192 解碼 193 傳送 28 1324299 48.牟ί·|Τ 日修.!了 k 210 切換簡省單元 211 切換簡省單元 212 切換簡省單元 220 處理器核心 230 解碼單元 250 解碼單元 251 接收 252 解碼 253 傳送 254 傳送致能信號 257 致能控制信號 311-31M 切換簡省單元 330 解碼單元 411-41M 切換簡省單元 430 解碼單元 510〜512切換簡省單元 540 解碼單元 530 處理器 600 切換簡省單元 610 及閘 700 切換簡省單元 29 1324299 fgsm:'27 , j年片.Βί)介 710 或閘 800 切換簡省單元 810 多工器 900 切換簡省單元 910 閂The fifteenth figure is a schematic diagram of the flow of switching the operation of the simplified unit. [Main component symbol description] 100 switching simple unit 101 flip-flop 102 multiplexer 110 processor 120 memory unit 130 output-in subsystem 140 output-in device 150 address bus 151 to 156 implementation of an embodiment of the present invention Step 160 Data Bus 170 Control Bus 180 Processor 181 Processing Core 182 Decoding Unit 190 Decoding Unit 191 Receiving 192 Decoding 193 Transmitting 28 1324299 48.牟ί·|Τ日修.! k 210 Switching Simplified Unit 211 Switching Simple province unit 212 switching simple unit 220 processor core 230 decoding unit 250 decoding unit 251 reception 252 decoding 253 transmission 254 transmission enable signal 257 enable control signal 311-31M switching simple unit 330 decoding unit 411-41M switching simple province Unit 430 decoding unit 510~512 switch simple unit 540 decoding unit 530 processor 600 switching simple unit 610 and gate 700 switching simple unit 29 1324299 fgsm: '27, j years. Βί) 710 or gate 800 switching simple Provincial unit 810 multiplexer 900 switching simple province unit 910 latch
3030
Claims (1)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US67068105P | 2005-04-13 | 2005-04-13 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW200636440A TW200636440A (en) | 2006-10-16 |
| TWI324299B true TWI324299B (en) | 2010-05-01 |
Family
ID=36946907
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW95112948A TWI324299B (en) | 2005-04-13 | 2006-04-12 | Processor system and method for reducing power consumption of a processor |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN100527048C (en) |
| TW (1) | TWI324299B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101780422B1 (en) | 2010-11-15 | 2017-09-22 | 삼성전자주식회사 | Nonvolatile memory device, reading method thereof and memory system including the same |
| WO2016000174A1 (en) * | 2014-06-30 | 2016-01-07 | 华为技术有限公司 | Power consumption management method, power consumption management device, and processor |
-
2006
- 2006-04-12 CN CNB2006100735041A patent/CN100527048C/en active Active
- 2006-04-12 TW TW95112948A patent/TWI324299B/en active
Also Published As
| Publication number | Publication date |
|---|---|
| CN100527048C (en) | 2009-08-12 |
| CN1828482A (en) | 2006-09-06 |
| TW200636440A (en) | 2006-10-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8661199B2 (en) | Efficient level two memory banking to improve performance for multiple source traffic and enable deeper pipelining of accesses by reducing bank stalls | |
| US7441064B2 (en) | Flexible width data protocol | |
| CN102884489B (en) | V-CLK is used to gate delayed equipment and method for COM1 | |
| CN1120430C (en) | Microprocessing device having programmable waist states | |
| US7257678B2 (en) | Dynamic reconfiguration of cache memory | |
| CN101751980B (en) | Embedded programmable memory based on memory IP core | |
| US7930462B2 (en) | Interface controller that has flexible configurability and low cost | |
| CN100576811C (en) | Bus device, bus system and information transmission method | |
| US20210326073A1 (en) | Power Management in a Seamlessly Integrated Microcontroller Chip | |
| WO2015172419A1 (en) | Computer system and data reading and writing method | |
| US8284792B2 (en) | Buffer minimization in interface controller | |
| WO2023283886A1 (en) | Register array circuit and method for accessing register array | |
| CN110968544B (en) | An SoC storage system based on embedded spin transfer torque magnetic random access memory | |
| TWI324299B (en) | Processor system and method for reducing power consumption of a processor | |
| CN101313290B (en) | Systems and methods for performing N-bit write access to only MxN-bit peripherals | |
| CN101228505A (en) | Systems and methods for power conservation in pipelined microprocessors | |
| van de Burgwal et al. | Hydra: An Energy-efficient and Reconfigurable Network Interface. | |
| CN113407239B (en) | Pipeline processor based on asynchronous monorail | |
| CN109558076A (en) | A kind of configurable virtual SPI-FLASH | |
| KR0184633B1 (en) | Cfiucore | |
| JP3563223B2 (en) | Register circuit | |
| CN101110261B (en) | Multi-read port register file level drive bit cell circuit | |
| JP3147874B2 (en) | Output buffer control circuit | |
| CN107015943A (en) | Processor with mixed kernel architecture and related methods | |
| US20030236963A1 (en) | Method for fetching word instruction in a word-based processor and circuit to perform the same |