CN101430577B - Computer system capable of automatically adjusting frequency of clock signal - Google Patents

Computer system capable of automatically adjusting frequency of clock signal Download PDF

Info

Publication number
CN101430577B
CN101430577B CN2007101669677A CN200710166967A CN101430577B CN 101430577 B CN101430577 B CN 101430577B CN 2007101669677 A CN2007101669677 A CN 2007101669677A CN 200710166967 A CN200710166967 A CN 200710166967A CN 101430577 B CN101430577 B CN 101430577B
Authority
CN
China
Prior art keywords
frequency
control chip
door
bit
selection information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2007101669677A
Other languages
Chinese (zh)
Other versions
CN101430577A (en
Inventor
王卫钢
刘士豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fucheng International Machinery Co ltd
Jiangxi Union Speed Technology Co ltd
Zhang Kaijun
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to CN2007101669677A priority Critical patent/CN101430577B/en
Publication of CN101430577A publication Critical patent/CN101430577A/en
Application granted granted Critical
Publication of CN101430577B publication Critical patent/CN101430577B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

The invention discloses a computer system, which comprises M microprocessors, a frequency control chip and a clock generator. The M microprocessors generate M frequency selection messages according to the working frequencies of the microprocessors. The frequency control chip performs a series of operations on the M pieces of frequency selection information to output one of the M pieces of frequency selection information according to the operation result. The clock generator adjusts the frequency of the output clock signal according to the output information of the frequency control chip. The frequency selection information output by the frequency control chip is sent by the microprocessor with the lowest working frequency, and the clock pulse signal generated by the clock pulse generator is suitable for M microprocessors.

Description

能自动调整时脉信号的频率的电脑系统 A computer system that can automatically adjust the frequency of the clock signal

技术领域technical field

本发明是有关于一种电脑系统,且特别是有关于一种能自动调整时脉信号的频率的电脑系统。The present invention relates to a computer system, and in particular to a computer system capable of automatically adjusting the frequency of a clock signal.

背景技术Background technique

在现今科技发达的年代,无可避免地,电脑已成为人们生活上不可或缺的信息处理工具。微处理器是电脑中不可或缺的构件之一,且因应电脑的功能愈趋强大,原本只具备单一微处理器的电脑系统,以发展成双微处理器的架构。In today's era of advanced technology, it is inevitable that computers have become an indispensable information processing tool in people's lives. The microprocessor is one of the indispensable components in the computer, and as the functions of the computer become more and more powerful, the computer system originally only equipped with a single microprocessor has been developed into a dual-microprocessor architecture.

图1绘示为具有双微处理器的传统电脑系统。参照图1,传统电脑系统100包括微处理器110与120、选择电路130以及时脉产生器140。其中,微处理器110会依据其工作频率产生频率选择信息SEL11。相似地,微处理器120也会依据其工作频率产生频率选择信息SEL12。之后,频率选择信息SEL11与SEL12会被传送到选择电路130。FIG. 1 shows a conventional computer system with dual microprocessors. Referring to FIG. 1 , a conventional computer system 100 includes microprocessors 110 and 120 , a selection circuit 130 and a clock generator 140 . Wherein, the microprocessor 110 generates frequency selection information SEL 11 according to its operating frequency. Similarly, the microprocessor 120 will also generate frequency selection information SEL 12 according to its operating frequency. Afterwards, the frequency selection information SEL11 and SEL12 are sent to the selection circuit 130 .

再者,选择电路130会依据切换信号SW11的电平,来输出频率选择信息SEL11与SEL12其中之一。其中,当微处理器110安装在传统电脑系统100时,切换信号SW11的电平会被切换至低电平,使得选择电路130的输出信息SOUT11与频率选择信息SEL11一致。换而言之,此时的时脉产生器140将产生符合微处理器110的工作频率的时脉信号CLK1,并传送至微处理器110与120。Furthermore, the selection circuit 130 outputs one of the frequency selection information SEL 11 and SEL 12 according to the level of the switching signal SW 11 . Wherein, when the microprocessor 110 is installed in the conventional computer system 100 , the level of the switch signal SW 11 will be switched to a low level, so that the output information SOUT 11 of the selection circuit 130 is consistent with the frequency selection information SEL 11 . In other words, the clock generator 140 at this time will generate the clock signal CLK1 conforming to the operating frequency of the microprocessor 110 and transmit it to the microprocessors 110 and 120 .

另一方面,当传统电脑系统100只安装微处理器120时,切换信号SW11的电平会被切换至高电平,使得选择电路130的输出信息SOUT11与频率选择信息SEL12一致。换而言之,此时的时脉产生器140将产生符合微处理器120的工作频率的时脉信号CLK1,并传送至微处理器120。On the other hand, when only the microprocessor 120 is installed in the conventional computer system 100 , the switching signal SW 11 is switched to a high level, so that the output information SOUT 11 of the selection circuit 130 is consistent with the frequency selection information SEL 12 . In other words, the clock generator 140 at this time will generate the clock signal CLK1 conforming to the operating frequency of the microprocessor 120 and transmit it to the microprocessor 120 .

值得注意的是,微处理器110与120只能操作在等于或小于本身工作频率的时脉信号CLK1下。因此,当微处理器110与120都安装在传统电脑系统100,且微处理器110的工作频率大于微处理器120的工作频率时,时脉产生器140所产生的时脉信号CLK1将无法使微处理器120正常动作。It should be noted that the microprocessors 110 and 120 can only operate under the clock signal CLK1 whose operating frequency is equal to or lower than its own. Therefore, when the microprocessors 110 and 120 are installed in the conventional computer system 100, and the operating frequency of the microprocessor 110 is higher than the operating frequency of the microprocessor 120, the clock signal CLK1 generated by the clock generator 140 will not be able to use The microprocessor 120 operates normally.

换而言之,针对具有多个微处理器的电脑系统,如何提供相对应的时脉信号来致使电脑系统中的多个微处理器同时正常动作,已是各个厂商绞尽脑汁所欲解决的问题。In other words, for a computer system with multiple microprocessors, how to provide a corresponding clock signal to cause multiple microprocessors in the computer system to operate normally at the same time has been a problem that various manufacturers have racked their brains to solve. question.

发明内容Contents of the invention

本发明提供一种电脑系统,利用频率控制芯片对时脉产生器的控制,来致使时脉产生器所产生的时脉信号,能符合电脑系统中的多个微处理器。The invention provides a computer system, which utilizes the frequency control chip to control the clock generator, so that the clock signal generated by the clock generator can match multiple microprocessors in the computer system.

本发明提出一种能自动调整时脉信号的频率的电脑系统,包括M个微处理器、频率控制芯片以及时脉产生器。其中,M个微处理器会产生第1至第M个频率选择信息,且第1至第M个频率选择信息分别与M个微处理器一对一对应。在者,频率控制芯片会将第j个频率选择信息依序与第1至第N个预设信息相互比对,以在第j个频率选择信息相等于第i个预设信息时,将第j个频率参考值的数值设定为i。其中,M与N为大于0之整数,且j为整数且1≤j≤M,i为整数且1≤i≤N。The invention proposes a computer system capable of automatically adjusting the frequency of a clock signal, which includes M microprocessors, a frequency control chip and a clock generator. Wherein, the M microprocessors will generate the 1st to the Mth frequency selection information, and the 1st to the Mth frequency selection information are respectively one-to-one corresponding to the M microprocessors. In addition, the frequency control chip compares the j-th frequency selection information with the 1st to N-th preset information in sequence, so that when the j-th frequency selection information is equal to the i-th preset information, the The values of the j frequency reference values are set to i. Wherein, M and N are integers greater than 0, j is an integer and 1≤j≤M, and i is an integer and 1≤i≤N.

此外,当第j个频率选择信息无法与第1至第N个预设信息其中之一比对成功时,频率控制芯片将产生一警示信号。反之,当第1至第M个频率选择资都与第1至第N个预设信息其中之一比对成功时,频率控制芯片将比较第1至第M个频率参考值的大小,以输出最小频率参考值所对应的频率选择信息。In addition, when the jth frequency selection information fails to be successfully compared with one of the 1st to Nth preset information, the frequency control chip will generate a warning signal. Conversely, when the 1st to Mth frequency selection information is successfully compared with one of the 1st to Nth preset information, the frequency control chip will compare the magnitude of the 1st to Mth frequency reference values to output Frequency selection information corresponding to the minimum frequency reference value.

另一方面,时脉产生器会将频率控制芯片的输出信息依序与第1至第N个预设信息相互比对,以将一时脉信号的频率调整至N个频率预设值其中之一。其中,第i个预设信息对应第i个频率预设值,第(i-1)个频率预设值小于第i个频率预设值。藉此,频率控制芯片所输出的频率选择信息,将来自工作频率最低的微处理器,因此M个微处理器将能依据时脉产生器所产生的时脉信号正常操作。On the other hand, the clock generator compares the output information of the frequency control chip with the 1st to Nth preset information in order to adjust the frequency of a clock signal to one of the N frequency preset values. . Wherein, the i-th preset information corresponds to the i-th frequency preset value, and the (i-1)th frequency preset value is smaller than the i-th frequency preset value. In this way, the frequency selection information output by the frequency control chip will come from the microprocessor with the lowest operating frequency, so the M microprocessors will be able to operate normally according to the clock signal generated by the clock generator.

在本发明的一实施例中,上述的频率控制芯片可以利用场可编程门阵列(fieldprogrammable gate array,FPGA)系统、复杂可编程逻辑元件(complex programmablelogic device,CPLD)系统、基板管理控制器(baseboard management controller,BMC)或其他的电路元件来实现。In an embodiment of the present invention, the above-mentioned frequency control chip can utilize a field programmable gate array (fieldprogrammable gate array, FPGA) system, a complex programmable logic device (complex programmable logic device, CPLD) system, a baseboard management controller (baseboard) management controller, BMC) or other circuit components.

本发明利用频率控制芯片来对各个微处理器所发出的频率选择信息进行一连串的运算处理,使得工作频率最低的微处理器所发出的频率选择信息能被截取出。藉此,受控于频率控制芯片的时脉产生器,将产生适用于各个微处理器的时脉信号。The invention utilizes the frequency control chip to perform a series of operations on the frequency selection information sent by each microprocessor, so that the frequency selection information sent by the microprocessor with the lowest operating frequency can be intercepted. In this way, the clock generator controlled by the frequency control chip will generate a clock signal suitable for each microprocessor.

为让本发明的上述特征和优点能更明显易懂,下文特举较佳实施例,并配合附图作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, preferred embodiments are specifically cited below and described in detail with accompanying drawings.

附图说明Description of drawings

图1绘示为具有双微处理器的传统电脑系统。FIG. 1 shows a conventional computer system with dual microprocessors.

图2绘示为依据本发明一实施例的电脑系统的电路方块图。FIG. 2 is a circuit block diagram of a computer system according to an embodiment of the present invention.

图3绘示为用以说明图2实施例的操作流程图。FIG. 3 is a flowchart illustrating the operation of the embodiment shown in FIG. 2 .

图4绘示为依据本发明一实施例的频率控制芯片的电路图。FIG. 4 is a circuit diagram of a frequency control chip according to an embodiment of the invention.

图5绘示为依据本发明另一实施例的电脑系统的电路方块图。FIG. 5 is a circuit block diagram of a computer system according to another embodiment of the present invention.

表1绘示为用以说明图2实施例的频率预设值与预设信息的对照表。Table 1 is a comparison table for illustrating frequency preset values and preset information in the embodiment of FIG. 2 .

表2绘示为用以说明图4实施例的频率控制芯片的真值表。Table 2 is a truth table for illustrating the frequency control chip of the embodiment shown in FIG. 4 .

具体实施方式Detailed ways

在以实施例说明本发明的精神之前,首先假设本发明的电脑系统可以配置一至多个微处理器。此外,无论是配置一个或是多个微处理器,本发明的电脑系统只需提供一个时脉信号。换而言之,配置在本发明的电脑系统中的多个微处理器将共用同一个时脉信号。至于本发明的电脑系统是如何让具有不同工作频率的微处理器共用同一个时脉信号,将在下文中做更进一步的说明。Before describing the spirit of the present invention with an embodiment, it is first assumed that the computer system of the present invention can be configured with one or more microprocessors. In addition, no matter one or more microprocessors are configured, the computer system of the present invention only needs to provide one clock signal. In other words, multiple microprocessors configured in the computer system of the present invention share the same clock signal. As for how the computer system of the present invention allows microprocessors with different operating frequencies to share the same clock signal, it will be further described below.

图2绘示为依据本发明一实施例的电脑系统的电路方块图。请参照图2,电脑系统200包括微处理器210~220、频率控制芯片230以及时脉产生器240。其中,频率控制芯片230耦接至微处理器210~220。时脉产生器240耦接至频率控制芯片230与微处理器210~220。FIG. 2 is a circuit block diagram of a computer system according to an embodiment of the present invention. Referring to FIG. 2 , the computer system 200 includes microprocessors 210 - 220 , a frequency control chip 230 and a clock generator 240 . Wherein, the frequency control chip 230 is coupled to the microprocessors 210-220. The clock generator 240 is coupled to the frequency control chip 230 and the microprocessors 210 - 220 .

请继续参照图2,微处理器210依据其工作频率产生频率选择信息SEL1。相似地,微处理器220也会依据其工作频率产生频率选择信息SEL2。接着,频率控制芯片230将依据图3所绘示的操作流程图,对频率选择信息SEL1与频率选择信息SEL2进一连串的运算处理,以依据运算结果来输出频率选择信息SEL1或频率选择信息SEL2Please continue to refer to FIG. 2 , the microprocessor 210 generates frequency selection information SEL 1 according to its operating frequency. Similarly, the microprocessor 220 will also generate frequency selection information SEL 2 according to its operating frequency. Next, the frequency control chip 230 will perform a series of operations on the frequency selection information SEL 1 and the frequency selection information SEL 2 according to the operation flow chart shown in FIG. Information SEL 2 .

在解说频率控制芯片230的工作原理之前,在此先假设电脑系统200所发出的时脉信号的频率,只能在4个频率预设值VF1~VF4中择一切换。此外,如表1所示的,4个频率预设值VF1~VF4分别与4个预设信息SDE1~SDE4一对一对应,且4个频率预设值VF1~VF4由小到大依序排列。譬如,在本实施例中,频率预设值VF1=133MHz,频率预设值VF2=166MHz,频率预设值VF3=266MHz,且频率预设值VF4=333MHz。Before explaining the working principle of the frequency control chip 230 , it is assumed that the frequency of the clock signal sent by the computer system 200 can only be switched among four preset frequency values VF 1 -VF 4 . In addition, as shown in Table 1, the four preset frequency values VF 1 to VF 4 correspond to the four preset information SDE 1 to SDE 4 respectively, and the four preset frequency values VF 1 to VF 4 are determined by Arranged from smallest to largest. For example, in this embodiment, the preset frequency value VF 1 =133 MHz, the preset frequency value VF 2 =166 MHz, the preset frequency value VF 3 =266 MHz, and the preset frequency value VF 4 =333 MHz.

请参照图2与图3来看频率控制芯片230的细部操作流程。于步骤S310中,频率控制芯片230接收频率选择信息SEL1。在步骤S311~S314中,频率控制芯片230将频率选择信息SEL1依序与预设信息SDE1~SDE4相互比对。当频率选择信息SEL1与预设信息SDE1~SDE4其中之一比对成功时,频率控制芯片230将透过步骤S315~S318其中之一来产生频率参考值FR1Please refer to FIG. 2 and FIG. 3 to see the detailed operation flow of the frequency control chip 230 . In step S310 , the frequency control chip 230 receives the frequency selection information SEL 1 . In steps S311-S314, the frequency control chip 230 compares the frequency selection information SEL 1 with the preset information SDE 1 -SDE 4 in sequence. When the comparison between the frequency selection information SEL 1 and one of the preset information SDE 1 -SDE 4 is successful, the frequency control chip 230 will generate a frequency reference value FR 1 through one of steps S315 - S318.

值得注意的是,频率参考值FR1的数值是随着不同的比对结果而有所不同的。例如,当频率选择信息SEL1相等于预设信息SDE1时,频率参考值FR1的数值将被设定为1(步骤S315)。当频率选择信息SEL1相等于预设信息SDE2时,频率参考值FR1的数值将被设定为2(步骤S316)。以此类推,步骤S317与步骤S318。It should be noted that the value of the frequency reference value FR 1 varies with different comparison results. For example, when the frequency selection information SEL 1 is equal to the preset information SDE 1 , the value of the frequency reference FR 1 is set to 1 (step S315 ). When the frequency selection information SEL 1 is equal to the preset information SDE 2 , the value of the frequency reference value FR 1 is set to 2 (step S316). By analogy, step S317 and step S318.

再者,当频率选择信息SEL1无法与预设信息SDE1~SDE4其中之一比对成功时,则表示微处理器210不适用于电脑系统200。譬如,微处理器210的工作频率大于频率预设值VF1(333MHz)。因此,此时的频率控制芯片230将产生警示信号(步骤S320)。Furthermore, when the frequency selection information SEL 1 cannot be successfully compared with one of the preset information SDE 1 -SDE 4 , it means that the microprocessor 210 is not suitable for the computer system 200 . For example, the working frequency of the microprocessor 210 is higher than the preset frequency VF 1 (333 MHz). Therefore, the frequency control chip 230 at this time will generate a warning signal (step S320).

另一方面,于步骤S330,频率控制芯片230接收频率选择信息SEL2。相似地,在步骤S331~S334中,频率控制芯片230会将频率选择信息SEL2依序与预设信息SDE1~SDE4相互比对。此外,当频率选择信息SEL2与预设信息SDE1~SDE4其中之一比对成功时,频率控制芯片230将透过步骤S335~S338其中之一来产生频率参考值FR2。反之,频率控制芯片230将产生警示信号(步骤S320)。On the other hand, in step S330, the frequency control chip 230 receives the frequency selection information SEL 2 . Similarly, in steps S331-S334, the frequency control chip 230 compares the frequency selection information SEL 2 with the preset information SDE 1 -SDE 4 in sequence. In addition, when the comparison between the frequency selection information SEL 2 and one of the preset information SDE 1 -SDE 4 is successful, the frequency control chip 230 will generate a frequency reference value FR 2 through one of steps S335 - S338. Otherwise, the frequency control chip 230 will generate a warning signal (step S320).

更进一步来看,当频率选择信息SEL1~SEL2各自与预设信息SDE1~SDE4其中之一比对成功时,则表示微处理器210与220适用于电脑系统200,故此时的频率控制芯片230将比较频率参考值FR1与FR2的大小,以输出最小频率参考值所对应的频率选择信息。值得注意的是,频率参考值的数值越小,则表示微处理器的工作频率越低。换而言知,频率控制芯片230所输出的频率选择信息,是由工作频率最低的微处理器所发出。Further, when the frequency selection information SEL 1 - SEL 2 is compared with one of the preset information SDE 1 - SDE 4 successfully, it means that the microprocessors 210 and 220 are suitable for the computer system 200, so the frequency at this time The control chip 230 compares the frequency reference values FR 1 and FR 2 to output frequency selection information corresponding to the minimum frequency reference value. It should be noted that the smaller the value of the frequency reference value, the lower the operating frequency of the microprocessor. In other words, the frequency selection information output by the frequency control chip 230 is sent by the microprocessor with the lowest operating frequency.

举例来说,于步骤S340中,频率控制芯片230将判别频率参考值FR1是否小于频率参考值FR2。当频率参考值FR1小于频率参考值FR2时,频率控制芯片230将输出频率参考值FR1所对应的频率选择信息SEL1(步骤S341)。相对地,当频率参考值FR1大于频率参考值FR2时,频率控制芯片230将输出频率参考值FR2所对应的频率选择信息SEL2(步骤S342)。For example, in step S340 , the frequency control chip 230 will determine whether the frequency reference value FR 1 is smaller than the frequency reference value FR 2 . When the frequency reference value FR1 is smaller than the frequency reference value FR2 , the frequency control chip 230 will output the frequency selection information SEL1 corresponding to the frequency reference value FR1 ( step S341). Relatively, when the frequency reference value FR1 is greater than the frequency reference value FR2 , the frequency control chip 230 will output the frequency selection information SEL2 corresponding to the frequency reference value FR2 ( step S342).

接着,请继续参照图2,时脉产生器240接收频率控制芯片的输出信息SOUT,并依据其所接收到的信息来产生时脉信号CLK。举例来说,假若频率控制芯片230的输出信息SOUT为频率选择信息SEL1。此时,时脉产生器240会将频率选择信息SEL1与预设信息SDE1~SDE4相互比对。当时脉产生器240比对出频率选择信息SEL1相等于预设信息SDE1时,其将把时脉信号CLK的频率调整至频率预设值VF1(133MHz)。Next, please continue to refer to FIG. 2 , the clock generator 240 receives the output information SOUT of the frequency control chip, and generates the clock signal CLK according to the received information. For example, suppose the output information SOUT of the frequency control chip 230 is the frequency selection information SEL 1 . At this time, the clock generator 240 compares the frequency selection information SEL 1 with the preset information SDE 1 -SDE 4 . When the clock generator 240 compares that the frequency selection information SEL 1 is equal to the preset information SDE 1 , it adjusts the frequency of the clock signal CLK to a preset frequency VF 1 (133 MHz).

值得一提的是,由于频率控制芯片230所输出的频率选择信息,由工作频率最低的微处理器所发出,因此时脉产生器240在频率控制芯片的控制下,其所产生的时脉信号CLK将适用配置在电脑系统200中的各个微处理器。It is worth mentioning that since the frequency selection information output by the frequency control chip 230 is sent by the microprocessor with the lowest operating frequency, the clock signal generated by the clock generator 240 under the control of the frequency control chip CLK will be applicable to each microprocessor configured in the computer system 200 .

此外,在本实施例中,此领域具有通常知识者可以利用场可编程门阵列(fieldprogrammable gate array,FPGA)系统、复杂可编程逻辑元件(complex programmablelogic device,CPLD)系统、基板管理控制器(baseboard management controller,BMC)或其他的电路元件来实现频率控制芯片230。In addition, in this embodiment, those with ordinary knowledge in this field can use field programmable gate array (fieldprogrammable gate array, FPGA) system, complex programmable logic device (complex programmable logic device, CPLD) system, baseboard management controller (baseboard management controller, BMC) or other circuit components to implement the frequency control chip 230.

举例来说,倘若频率控制芯片230是由基本的逻辑门组合而成的,且在此假设频率选择信息SEL1~SEL2以及第1至第4个预设信息SDE1~SDE4各自包括3位元,且第一预设信息SDE1被设定为001,第二预设信息SDE2被设定为011,第三预设信息SDE3被设定为000,且第四预设信息SDE4被设定为100的情况下,频率控制芯片230所能接收到的频率选择信息SEL1~SEL2的状态,以及其相对应输出信息SOUT的状态将如表2的真值表所示。藉此,频率控制芯片230的内部架构将可依循表2的真值表,设计成如图4所绘示的电路图。For example, if the frequency control chip 230 is composed of basic logic gates, and it is assumed here that the frequency selection information SEL 1 ˜ SEL 2 and the first to fourth preset information SDE 1 ˜ SDE 4 each include 3 bit, and the first preset information SDE 1 is set to 001, the second preset information SDE 2 is set to 011, the third preset information SDE 3 is set to 000, and the fourth preset information SDE When 4 is set to 100, the state of the frequency selection information SEL 1 -SEL 2 received by the frequency control chip 230 and the state of the corresponding output information SOUT will be shown in the truth table of Table 2. Thus, the internal structure of the frequency control chip 230 can be designed as the circuit diagram shown in FIG. 4 according to the truth table in Table 2.

请参照图4,频率控制芯片230包括与门AND1~AND6、异或门XOR1~XOR2、异或非门XNOR1、或门OR1~OR3以及非门NOT1。其中,b1[0,2]用以表示频率选择信息SEL1中的第1至第3位元,b2[0,2]用以表示频率选择信息SEL2中的第1至第3位元,且b3[0,2]用以表示频率控制芯片230的输出信息SOUT的第1至第3位元。Referring to FIG. 4 , the frequency control chip 230 includes AND gates AND 1 -AND 6 , exclusive OR gates XOR 1 -XOR 2 , exclusive NOR gate XNOR 1 , OR gates OR 1 -OR 3 and NOT gate NOT 1 . Among them, b1[0,2] is used to represent the first to third bits in the frequency selection information SEL 1 , b2[0,2] is used to represent the first to third bits in the frequency selection information SEL 2 , And b3[0,2] is used to represent the first to third bits of the output information SOUT of the frequency control chip 230 .

在此,与门AND1用以接收位元b1[2]与位元b2[2]。与门AND2用以接收位元b1[0]与位元b2[0]。与门AND3用以接收位元b1[1]与位元b2[1]。异或门XOR1用以接收位元b1[0]与位元b1[1]。异或门XOR2用以接收位元b2[0]与位元b2[1]。或闸OR2用以接收位元b1[0]与位元b2[1]。与门AND5用以接收位元b1[2]与位元b2[0]。非门NOT1用以接收位元b2[1]。Here, the AND gate AND 1 is used to receive the bit b1[2] and the bit b2[2]. The AND gate AND 2 is used to receive the bit b1[0] and the bit b2[0]. The AND gate AND 3 is used to receive the bit b1[1] and the bit b2[1]. The XOR gate XOR 1 is used to receive bit b1[0] and bit b1[1]. The XOR gate XOR 2 is used to receive bit b2[0] and bit b2[1]. The OR gate OR 2 is used to receive bit b1[0] and bit b2[1]. The AND gate AND 5 is used to receive the bit b1[2] and the bit b2[0]. The NOT gate NOT 1 is used to receive the bit b2[1].

另一方面,与门AND4耦接至与门AND2的输出端与与门AND3的输出端。异或非门XNOR1耦接至异或门XOR1的输出端与异或门XOR2的输出端。或门OR1耦接至与门AND4的输出端与异或非门XNOR1的输出端。与门AND6耦接至与门AND5的输出端与非门的NOT1输出端。或门OR3耦接至或门OR2的输出端与与门AND6的输出端。藉此,频率控制芯片230将可透过与门AND1的输出端、以及或门OR1与OR3的输出端,来产生最小频率参考值所对应的频率选择信息,也就是输出信息SOUT中的位元b3[0]~b[2]。On the other hand, the AND gate AND 4 is coupled to the output terminal of the AND gate AND 2 and the output terminal of the AND gate AND 3 . The XNOR gate XNOR 1 is coupled to the output end of the XOR gate XOR 1 and the output end of the XOR gate XOR 2 . The OR gate OR 1 is coupled to the output terminal of the AND gate AND 4 and the output terminal of the XNOR gate XNOR 1 . The AND gate AND 6 is coupled to the output terminal of the AND gate AND 5 and the NOT 1 output terminal of the NAND gate. The OR gate OR 3 is coupled to the output terminal of the OR gate OR 2 and the output terminal of the AND gate AND 6 . In this way, the frequency control chip 230 can generate the frequency selection information corresponding to the minimum frequency reference value through the output terminal of the AND gate AND 1 , and the output terminals of the OR gates OR 1 and OR 3 , that is, the output information SOUT The bits b3[0]~b[2] of the

值得一提的是,虽然在图2实施例中已经对电脑系统描绘出了一个可能的型态,但熟知此技术者应知,电脑系统所配置的微处理器的个数,可以依设计者的需求任意更换。此外,电脑系统所发出的时脉信号的频率,也可依设计者的需求来更动频率预设值的个数以及相对应的预设信息。因此,图2实施例的电脑系统将可依据本发明的精神,更动成如图5所绘示的电脑系统。It is worth mentioning that although a possible configuration of the computer system has been depicted in the embodiment of FIG. The demand can be replaced arbitrarily. In addition, the frequency of the clock signal sent by the computer system can also change the number of frequency presets and the corresponding preset information according to the needs of the designer. Therefore, the computer system in the embodiment shown in FIG. 2 can be changed into the computer system shown in FIG. 5 according to the spirit of the present invention.

请参照图5,电脑系统500包括M个微处理器510-1~510-M、频率控制芯片530以及时脉产生器540。在此,电脑系统500所发出的时脉信号的频率,能在N个频率预设值中择一切换,且N个频率预设值与N个预设信息一对一对应。其中,第i个预设信息对应第i个频率预设值,且第(i-1)个频率预设值小于第i个频率预设值,M与N为大于0的整数,i为整数且1≤i≤N。Referring to FIG. 5 , the computer system 500 includes M microprocessors 510 - 1 - 510 -M, a frequency control chip 530 and a clock generator 540 . Here, the frequency of the clock signal sent by the computer system 500 can be switched among N frequency preset values, and the N frequency preset values correspond to the N preset information one-to-one. Wherein, the i-th preset information corresponds to the i-th frequency preset value, and the (i-1)th frequency preset value is smaller than the i-th frequency preset value, M and N are integers greater than 0, and i is an integer And 1≤i≤N.

在整体作动上,微处理器510-1~510-M会各自依据其工作频率产生一频率选择信息,使得M个频率选择信息与M个微处理器510-1~510-M一对一对应。另一方面,频率控制芯片530会将M个频率选择信息分别与N个预设信息相互比对。此外,当第j个频率选择信息相等于第i个预设信息时,频率控制芯片530将会把第j个频率参考值的数值设定为i。换而言之,当M个频率选择资都与N个预设信息其中之一比对成功时,频率控制芯片530将产生M个频率参考值。其中,j为整数且1≤j≤M。In the overall operation, the microprocessors 510-1~510-M will each generate a frequency selection information according to their operating frequency, so that the M frequency selection information is one-to-one with the M microprocessors 510-1~510-M correspond. On the other hand, the frequency control chip 530 compares the M pieces of frequency selection information with the N pieces of preset information respectively. In addition, when the j th frequency selection information is equal to the i th preset information, the frequency control chip 530 will set the value of the j th frequency reference value as i. In other words, when the M frequency selection information is successfully compared with one of the N preset information, the frequency control chip 530 will generate M frequency reference values. Wherein, j is an integer and 1≤j≤M.

另一方面,当第j个频率选择资无法与N个预设信息其中之一比对成功时,频率控制芯片530将产生一警示信号,以得知微处理器510-1~510-M中有一的多个不适用于电脑系统500。反之,当M个频率选择信息都能与N个预设信息其中之一比对成功时,频率控制芯片将比较M个频率参考值的大小,以输出最小频率参考值所对应的频率选择信息。On the other hand, when the j-th frequency selection information cannot be successfully compared with one of the N preset information, the frequency control chip 530 will generate a warning signal to know the One or more are not applicable to the computer system 500 . Conversely, when all the M pieces of frequency selection information are successfully compared with one of the N pieces of preset information, the frequency control chip will compare the magnitudes of the M frequency reference values to output the frequency selection information corresponding to the minimum frequency reference value.

再者,时脉产生器540会将频率控制芯片530的输出信息依序与N个预设信息相互比对,以将其所输出的时脉信号的频率调整至N个频率预设值其中之一。藉此,微处理器510-1~510-M将分别以时脉信号为基准来进行操作。由于频率控制芯片530所输出的频率选择信息,是来自工作频率最低的微处理器,因此时脉产生器540所产生的时脉信号将适用于微处理器510-1~510-M。Furthermore, the clock generator 540 compares the output information of the frequency control chip 530 with the N preset information in order to adjust the frequency of the clock signal output by it to one of the N preset frequency values. one. In this way, the microprocessors 510-1˜510-M will respectively operate based on the clock signal. Since the frequency selection information output by the frequency control chip 530 comes from the microprocessor with the lowest operating frequency, the clock signal generated by the clock generator 540 is suitable for the microprocessors 510-1˜510-M.

综上所述,本发明利用频率控制芯片来对各个微处理器所发出的频率选择信息进行一连串的运算处理,使得工作频率最低的微处理器所发出的频率选择信息能被截取出。之后,时脉产生器将接收来自频率控制芯片的输出信息,并产生适用于各个微处理器的时脉信号。藉此,本发明的电脑系统将能自动化地提供各个微处理器所需的一时脉信号,进而有效地提升电脑系统的市场竞争力以及微型化的优势。To sum up, the present invention uses the frequency control chip to perform a series of operations on the frequency selection information sent by each microprocessor, so that the frequency selection information sent by the microprocessor with the lowest operating frequency can be intercepted. Afterwards, the clock generator will receive the output information from the frequency control chip and generate clock signals suitable for each microprocessor. Thereby, the computer system of the present invention can automatically provide a clock signal required by each microprocessor, thereby effectively enhancing the market competitiveness and miniaturization advantages of the computer system.

虽然本发明已以较佳实施例揭示如上,然其并非用以限定本发明,任何所属技术领域中具有通常知识者,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,因此本发明的保护范围当以权利要求所界定的为准。Although the present invention has been disclosed above with a preferred embodiment, it is not intended to limit the present invention. Anyone with ordinary knowledge in the art can make some modifications and changes without departing from the spirit and scope of the present invention. modification, so the protection scope of the present invention should be defined by the claims.

Claims (5)

1. the computer system that can adjust the frequency of clock signal automatically comprises:
M microprocessor produces the 1st to M frequency selection information, and corresponding one to one with those microprocessors respectively, M is the integer greater than 0;
One frequency control chip, j frequency selection information compared mutually with the 1st to N presupposed information in regular turn, with when j frequency selection information is equal to i presupposed information, with the setting value of j frequency reference value is i, wherein, when j frequency selection information can't be with the 1st to N presupposed information when one of them compares successfully, this frequency control chip produces an alarm signal, otherwise, this frequency control chip is the 1st size to M frequency reference value relatively, and with the pairing frequency selection information of output minimum frequency reference value, N is the integer greater than 0, j is integer and 1≤j≤M, and i is integer and 1≤i≤N; And
One clock pulse generator, the output information of this frequency control chip is compared mutually with the 1st to N presupposed information in regular turn, with the frequency with a clock pulse signal be adjusted to N predetermined frequency value one of them, wherein, those microprocessors are that benchmark is operated with this clock signal respectively, and i corresponding i predetermined frequency value of presupposed information, (i-1) individual predetermined frequency value is less than i predetermined frequency value.
2. computer system as claimed in claim 1 is characterized in that, this frequency control chip is a field programmable gate array system.
3. computer system as claimed in claim 1 is characterized in that, this frequency control chip is a complex programmable logic element system.
4. computer system as claimed in claim 1 is characterized in that, this frequency control chip is a baseboard management controller.
5. computer system as claimed in claim 1, it is characterized in that, as M=2, N=4, and when the 1st to the 2nd frequency selection information and the 1st to the 4th presupposed information comprise 3 bits separately, b1[x] in order to represent the x bit of the 1st frequency selection information, b2[x] in order to represent the x bit of the 2nd frequency selection information, this frequency control chip comprises:
One first with door, in order to receive bit b1[2] with bit b2[2];
One second with door, in order to receive bit b1[0] with bit b2[0];
One the 3rd with door, in order to receive bit b1[1] with bit b2[1];
One the 4th with the door, be coupled to this second with the door output terminal with the 4th with output terminal;
One first XOR gate is in order to receive bit b1[0] and bit b1[1];
One second XOR gate is in order to receive bit b2[0] and bit b2[1];
One first biconditional gate is coupled to the output terminal of this first XOR gate and the output terminal of this second XOR gate;
One first or the door, be coupled to the 4th with the door output terminal and the output terminal of this first biconditional gate;
One second or door, in order to receive bit b1[0] with bit b2[1];
One the 5th with door, in order to receive bit b1[2] with bit b2[0];
One not gate is in order to receive bit b2[1];
One the 6th with the door, be coupled to the 5th with the door output terminal and the output terminal of this not gate; And
One the 3rd or the door, be coupled to this second or the door output terminal with the 6th with output terminal,
Wherein, this frequency control chip see through this first with door, this first or door and the 3rd or the output terminal of door, produce the pairing frequency selection information of minimum frequency reference value, x is integer and 0≤x≤2.
CN2007101669677A 2007-11-08 2007-11-08 Computer system capable of automatically adjusting frequency of clock signal Expired - Fee Related CN101430577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101669677A CN101430577B (en) 2007-11-08 2007-11-08 Computer system capable of automatically adjusting frequency of clock signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101669677A CN101430577B (en) 2007-11-08 2007-11-08 Computer system capable of automatically adjusting frequency of clock signal

Publications (2)

Publication Number Publication Date
CN101430577A CN101430577A (en) 2009-05-13
CN101430577B true CN101430577B (en) 2010-09-22

Family

ID=40646006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101669677A Expired - Fee Related CN101430577B (en) 2007-11-08 2007-11-08 Computer system capable of automatically adjusting frequency of clock signal

Country Status (1)

Country Link
CN (1) CN101430577B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0130469A2 (en) * 1983-06-29 1985-01-09 International Business Machines Corporation Internally distributed monitoring system
CN1372189A (en) * 2001-02-26 2002-10-02 微星科技股份有限公司 A method to increase or decrease CPU frequency in real time
CN1739080A (en) * 2001-09-28 2006-02-22 英特尔公司 Method and apparatus for adjusting the voltage and frequency to minimize power dissipation in a multiprocessor system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0130469A2 (en) * 1983-06-29 1985-01-09 International Business Machines Corporation Internally distributed monitoring system
CN1372189A (en) * 2001-02-26 2002-10-02 微星科技股份有限公司 A method to increase or decrease CPU frequency in real time
CN1739080A (en) * 2001-09-28 2006-02-22 英特尔公司 Method and apparatus for adjusting the voltage and frequency to minimize power dissipation in a multiprocessor system

Also Published As

Publication number Publication date
CN101430577A (en) 2009-05-13

Similar Documents

Publication Publication Date Title
US10498544B2 (en) Security device having physical unclonable function
US8125246B2 (en) Method and apparatus for late timing transition detection
US7876134B2 (en) Circuit for changing frequency of a signal and frequency change method thereof
EP3493017A2 (en) Reconfiguration of clock generation circuitry
JP2009141722A (en) Oob detection circuit and serial ata system
CN102970013B (en) Resetting method and resetting control device of register inside chip based on scanning chain
US8369477B2 (en) Clock frequency divider circuit and clock frequency division method
KR20160042496A (en) Duty cycle error detection device and duty cycle correction device having the same
US8023602B2 (en) Serial data communication apparatus and methods of using a single line
US10613832B2 (en) Random number generating system and random number generating method thereof
CN101151584B (en) Timer circuit and mobile communication terminal and electronic equipment using timer circuit
CN104035018A (en) Voltage self-adaptive adjustment circuit and chip
US7026849B2 (en) Reset circuit having synchronous and/or asynchronous modules
US10180786B1 (en) Control circuit programming levels of pins and operating system utilizing the same
US10416703B2 (en) Counter/timer array for generation of complex patterns independent of software control
CN105850047A (en) Quadrature divider
CN101430577B (en) Computer system capable of automatically adjusting frequency of clock signal
US11906581B2 (en) Hardware component and a method for implementing a camouflage of current traces generated by a digital system
KR20190107431A (en) Pwm apparatus with improved resolution
CN101738548B (en) Clock detection circuit and clock supply device
US7973584B2 (en) Waveform generator
CN110620424B (en) Power supply switching circuit and method for backup power supply domain
CN114846763A (en) Method for detecting disturbances in logic circuits and logic circuits for implementing the method
US20080238490A1 (en) Semiconductor device and method for driving the same
JP2007052596A (en) Soft error detection circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20170811

Address after: Room 8, building 805, sunshine times, Fenghuang Road, Fenghuang County, Shangrao, Jiangxi, Shangrao

Co-patentee after: Zhang Kaijun

Patentee after: Jiangxi union Speed Technology Co.,Ltd.

Address before: Qingnian Road Taiwan Wanhua District of Taipei city China No. 184 3 2 floor

Patentee before: Fucheng International Machinery Co.,Ltd.

Effective date of registration: 20170811

Address after: Qingnian Road Taiwan Wanhua District of Taipei city China No. 184 3 2 floor

Patentee after: Fucheng International Machinery Co.,Ltd.

Address before: Taipei City, Taiwan Chinese Shilin District Hougang Street No. 66

Patentee before: Yingda Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100922

Termination date: 20171108

CF01 Termination of patent right due to non-payment of annual fee