









技术领域technical field
本申请涉及芯片技术领域,更具体地,涉及一种供电信息的采集方法、系统以及芯片。The present application relates to the field of chip technology, and more particularly, to a method, system and chip for collecting power supply information.
背景技术Background technique
随着芯片技术的发展,对芯片内部的供电信息的采集也变的越来越重要。目前,通用设计方案一般都是通过状态寄存器来读取芯片内部的供电信息,但是,这种通过寄存器状态读取的方式对芯片内部的供电信息分析了解十分有限。With the development of chip technology, the collection of power supply information inside the chip has become more and more important. At present, the general design scheme generally reads the power supply information inside the chip through the status register. However, this method of reading the state of the register has a very limited understanding of the analysis of the power supply information inside the chip.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,本申请提出了一种供电信息的采集方法、系统以及芯片,以解决上述问题。In view of the above problems, the present application proposes a method, system and chip for collecting power supply information to solve the above problems.
第一方面,本申请实施例提供了一种供电信息的采集方法,应用于芯片的供电信息的采集系统,所述供电信息的采集系统包括多路数据采集系统,所述多路数据采集系统由至少一个多路选择器组成,所述方法包括:获取所述芯片上的多个待采集对象;将所述多路数据采集系统和所述多个待采集对象连接;通过所述多路数据采集系统采集所述多个待采集对象对应的供电信息。In the first aspect, an embodiment of the present application provides a method for collecting power supply information, which is applied to a system for collecting power supply information of a chip. at least one multiplexer, the method includes: acquiring a plurality of objects to be collected on the chip; connecting the multi-channel data acquisition system and the plurality of objects to be collected; collecting data through the multi-channel The system collects power supply information corresponding to the multiple objects to be collected.
第二方面,本申请实施例提供了一种供电信息的采集系统,应用于芯片,所述供电信息的采集系统包括多路数据采集系统,所述多路数据采集系统由至少一个多路选择器组成,其中:所述供电信息的采集系统,用于获取所述芯片上的多个待采集对象;所述供电信息的采集系统,用于将所述多路数据采集系统和所述多个待采集对象连接;所述供电信息的采集系统,用于通过所述多路数据采集系统采集所述多个待采集对象对应的供电信息。In a second aspect, an embodiment of the present application provides a power supply information collection system, which is applied to a chip. The power supply information collection system includes a multi-channel data collection system, and the multi-channel data collection system consists of at least one multiplexer. The power supply information collection system is used for acquiring multiple objects to be collected on the chip; the power supply information collection system is used for collecting the multi-channel data collection system and the multiple objects to be collected. The collection object is connected; the power supply information collection system is used for collecting the power supply information corresponding to the multiple objects to be collected through the multi-channel data collection system.
第三方面,本申请实施例提供了一种芯片,包括供电信息的采集系统,所述供电信息的采集系统包括多路数据采集系统,所述多路数据采集系统由至少一个多路选择器组成,其中:所述供电信息的采集系统,用于获取所述芯片上的多个待采集对象;所述供电信息的采集系统,用于将所述多路数据采集系统和所述多个待采集对象连接;所述供电信息的采集系统,用于通过所述多路数据采集系统采集所述多个待采集对象对应的供电信息。In a third aspect, an embodiment of the present application provides a chip, including a power supply information collection system, the power supply information collection system includes a multi-channel data collection system, and the multi-channel data collection system is composed of at least one multiplexer , wherein: the power supply information collection system is used to obtain multiple objects to be collected on the chip; the power supply information collection system is used to collect the multi-channel data collection system and the multiple objects to be collected The object is connected; the power supply information collection system is used for collecting the power supply information corresponding to the multiple objects to be collected through the multi-channel data collection system.
本申请实施例提供的供电信息的采集方法、系统以及芯片,应用于芯片的供电信息的采集系统,该供电信息的采集系统包括多路数据采集系统,多路数据采集系统由至少一个多路选择器组成,获取芯片上的多个待采集对象,将多路数据采集系统和多个待采集对象连接,通过多路数据采集系统采集多个待采集对象对应的供电信息,从而通过芯片的多路数据采集系统对芯片的多个待采集对象的供电信息进行采集,提升所采集的芯片的待采集对象的数量,以满足对芯片的供电及功耗的分析需求。The method, system, and chip for collecting power supply information provided by the embodiments of the present application are applied to a system for collecting power supply information of a chip. It is composed of a device to obtain multiple objects to be collected on the chip, connect the multi-channel data acquisition system to the multiple objects to be collected, and collect the power supply information corresponding to the multiple objects to be collected through the multi-channel data acquisition system. The data acquisition system collects power supply information of multiple objects to be collected on the chip, and increases the number of objects to be collected on the chip to meet the analysis requirements for power supply and power consumption of the chip.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.
图1示出了本申请一个实施例提供的芯片的示意图;FIG. 1 shows a schematic diagram of a chip provided by an embodiment of the present application;
图2示出了本申请又一个实施例提供的芯片的示意图;FIG. 2 shows a schematic diagram of a chip provided by another embodiment of the present application;
图3示出了本申请再一个实施例提供的芯片的示意图;FIG. 3 shows a schematic diagram of a chip provided by still another embodiment of the present application;
图4示出了本申请实施例提供的供电信息的分析系统的示意图;FIG. 4 shows a schematic diagram of an analysis system for power supply information provided by an embodiment of the present application;
图5示出了本申请一个实施例提供的供电信息的采集方法的流程示意图;5 shows a schematic flowchart of a method for collecting power supply information provided by an embodiment of the present application;
图6示出了本申请又一个实施例提供的供电信息的采集方法的流程示意图;6 shows a schematic flowchart of a method for collecting power supply information provided by another embodiment of the present application;
图7示出了本申请再一个实施例提供的供电信息的采集方法的流程示意图;7 shows a schematic flowchart of a method for collecting power supply information provided by still another embodiment of the present application;
图8示出了本申请另一个实施例提供的供电信息的采集方法的流程示意图;FIG. 8 shows a schematic flowchart of a method for collecting power supply information provided by another embodiment of the present application;
图9示出了本申请又再一个实施例提供的供电信息的采集方法的流程示意图;FIG. 9 shows a schematic flowchart of a method for collecting power supply information provided by still another embodiment of the present application;
图10示出了本申请实施例用于执行根据本申请实施例的供电信息的采集方法的电子设备的框图。FIG. 10 shows a block diagram of an electronic device for implementing the method for collecting power supply information according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to make those skilled in the art better understand the solutions of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.
低功耗供电系统对芯片设计和分析十分重要,性能越优的低功耗设计需要对芯片的硬件行为越了解,并结合软件做合理的电源分配和管理调度。目前,随着芯片规模越来越大,越来越复杂,一款芯片一般都会有超过数十、数百的供电域和供电控制单元,因此,芯片内部的供电信息的获取难度较大。目前,通用设计方案一般都是通过状态寄存器来读取芯片内部的供电信息,但是,这种通过寄存器状态读取的方式对芯片内部的供电信息分析了解十分有限。基本只能停留在静态的供电行为变化,对于动态的行为变化对应的功耗分析来说远远不能满足要求。因此,发明人发现,目前的供电信息的采集技术主要存在以下缺点:1、能力不足,可供检测的信号和数据十分有限。2、单一化,通过寄存器读取的供电信息对于分析的帮助十分有限。3、不灵活,可供读取的信息是固定的,不能任意选择。4、分析方式受限,读取的信息不能充分发挥软件的优势做详细可行的分析。The low-power power supply system is very important for chip design and analysis. A low-power design with better performance requires a better understanding of the hardware behavior of the chip, and reasonable power distribution and management scheduling in combination with software. At present, as the chip scale becomes larger and more complex, a chip generally has more than tens or hundreds of power supply domains and power supply control units. Therefore, it is difficult to obtain the power supply information inside the chip. At present, the general design scheme generally reads the power supply information inside the chip through the status register. However, this method of reading the state of the register has a very limited understanding of the analysis of the power supply information inside the chip. Basically, it can only stay in the static power supply behavior change, which is far from meeting the requirements for the power consumption analysis corresponding to the dynamic behavior change. Therefore, the inventor found that the current power supply information collection technology mainly has the following shortcomings: 1. The capability is insufficient, and the signals and data available for detection are very limited. 2. Simplification, the power supply information read through the register is of very limited help for analysis. 3. Inflexible, the information available for reading is fixed and cannot be selected arbitrarily. 4. The analysis method is limited, and the read information cannot give full play to the advantages of the software for detailed and feasible analysis.
针对上述问题,发明人经过长期的研究发现,并提出了本申请实施例提供的供电信息的采集方法、系统以及芯片,通过芯片的多路数据采集系统对芯片的多个待采集对象的供电信息进行采集,提升所采集的芯片的待采集对象的数量,以满足对芯片的供电及功耗的分析需求。其中,具体的供电信息的采集方法在后续的实施例中进行详细的说明。In view of the above problems, the inventor has discovered through long-term research, and proposed the method, system and chip for collecting power supply information provided by the embodiments of the present application, and the power supply information of multiple objects to be collected on the chip is collected through the multi-channel data collection system of the chip. The collection is performed to increase the number of objects to be collected in the collected chips, so as to meet the analysis requirements for the power supply and power consumption of the chips. The specific method for collecting the power supply information will be described in detail in the following embodiments.
请参阅图1,图1示出了本申请一个实施例提供的芯片的示意图。如图1所示,本申请实施例提供了一种芯片10,该芯片10包括供电信息的采集系统100,该供电信息的采集系统100包括多路数据采集系统110,该多路数据采集系统由至少一个多路选择器组成。其中,该供电信息的采集系统100可以是芯片10自带的,用于将芯片10上需要采集的多个待采集对象对应的电源信息、供电信息、状态信息等信息尽可能多的收集起来,并传输到芯片10外供分析和检测之用。Referring to FIG. 1 , FIG. 1 shows a schematic diagram of a chip provided by an embodiment of the present application. As shown in FIG. 1 , an embodiment of the present application provides a
在一些实施方式中,组成多路数据采集系统110的多路选择器的数量和级数在此不做限定,可以根据针对芯片10上的多个待采集对象的需求灵活摆放或设置,在理论上,该多路数据采集系统110可连接和选择的待采集对象的数量不受限制。可选地,该多路选择器可以采用256选16或32的设计。In some embodiments, the number and series of multiplexers constituting the multi-channel
在一些实施方式中,该芯片10上的多个待采集对象可以包括:供电控制信号,例如,供电域开关、开关请求及应答等。In some embodiments, the multiple objects to be collected on the
在一些实施方式中,该芯片10上的多个待采集对象可以包括:供电状态信号,例如,供电状态、低功耗状态、系统休眠状态等。In some embodiments, the multiple objects to be collected on the
在一些实施方式中,该芯片10上的多个待采集对象可以包括:各类状态机状态值,例如,睡眠/半睡眠控制、供电启动/关断控制等。In some embodiments, the multiple objects to be collected on the
在一些实施方式中,该芯片10上的多个待采集对象可以包括:系统片上电压、电流检测数据。In some embodiments, the multiple objects to be collected on the
在一些实施方式中,该芯片10上的多个待采集对象可以包括:各个子系统工作状态,例如,子系统的空闲状态、子系统的工作状态等。In some embodiments, the plurality of objects to be collected on the
在一些实施方式中,该系统10上的多个待采集对象可以包括:异常保护及请求信号。In some embodiments, the multiple objects to be collected on the
当然,在本实施例中,芯片10上的多个待采集对象还可以包括其他更多,例如,还可以包括片上温度变化、片上频率变化等,在此不做限定。Of course, in this embodiment, the multiple objects to be collected on the
请参阅图2,图2示出了本申请又一个实施例提供的芯片的示意图,如图2所示,该供电信息的采集系统10还包括时间计数器120,其中,多路数据采集系统110和时间计数器120连接,以实现多路数据采集系统110和时间计数器120之间的数据交互,例如,多路数据采集系统110和时间计数器120连接,以实现多路数据采集系统110将采集到的待采集对象对应的供电信息传输至时间计数器120。Please refer to FIG. 2. FIG. 2 shows a schematic diagram of a chip provided by another embodiment of the present application. As shown in FIG. 2, the power supply
其中,对芯片低功耗的分析,不仅仅需要知道芯片的各个待采集对象对应的供电信息,还需要知道各个待采集对象对应的供电信息的状态变化以及持续的时间,以便于更详细的分析来制定合理高效的软件控制。例如,除了知道某个待采集对象对应的供电信息,还需要知道某个待采集对象进入和退出休眠的时间点,或者,除了知道某个待采集对象对应的供电信息,还需要知道某个待采集对象高负荷持续运行的时间,或者,除了知道某个待采集对象对应的供电信息,还需要知道某个子系统闲置的时间等。因此,在本实施例中,可以通过时间计数器120来进行统计。Among them, the analysis of the low power consumption of the chip not only needs to know the power supply information corresponding to each object to be collected on the chip, but also needs to know the state change and duration of the power supply information corresponding to each object to be collected, so as to facilitate more detailed analysis. To develop reasonable and efficient software control. For example, in addition to knowing the power supply information corresponding to an object to be collected, it is also necessary to know the time points when an object to be collected enters and exits dormancy. The time that the collection object continues to run under high load, or, in addition to knowing the power supply information corresponding to a certain object to be collected, it is also necessary to know the idle time of a certain subsystem. Therefore, in this embodiment, statistics can be performed by the
在一些实施方式中,可以获取芯片10上的多个待采集对象,并将多个待采集对象固定在多路数据采集系统110上,通过多路数据采集系统110采集多个待采集对象对应的供电信息,并以32bit输出0-7bit,其中,32bit的输出可以是公用的,0-7bit可以部分分配给供电信息,也可以全部分配给供电信息,在此不做限定。将8bit的多个待采集对象对应的供电信息作为触发事件传输到时间计数器120,其中,时间计数器120可以是64bit,提供纳秒、微秒、毫秒、秒、分、小时到年数量级的时间值,可以根据需求选择。其中,8bit的中的任何一个待采集对象对应的供电信息的变化都会触发一次时间值传输,从而可以基于每次触发的时间值传输获取每个待采集对象对应的供电信息的变化时间和持续时间。其中,8bit的多个待采集对象对应的供电信息可以并行检测8个状态,或者他们的组合可以检测多个状态(其中,1bit对应两个状态,8bit可以包括2^8状态),其中,可以将8个状态赋予特定的编号,并将特定的编号和时间信息同时输出分析,以确定各个事件对应触发的时间。In some embodiments, multiple objects to be collected on the
请参阅图3,图3示出了本申请再一个实施例提供的芯片的示意图,如图3所示,该供电信息的采集系统100还包括数据检测系统130,其中,该数据检测系统130可以是芯片10自带的,该数据检测系统130分别和多路数据采集系统110和时间计数器120连接,以实现数据检测系统130和多路数据采集系统110的数据交互,以及实现数据检测系统130和时间计数器120的数据交互,例如,多路数据采集系统110和数据检测系统130连接,以实现多路数据采集系统110将采集到的待采集对象对应的供电信息传输至数据检测系统130,时间计数器120和数据检测系统130连接,以实现时间计数器120将多个待采集对象对应的供电信息的变化时间,和多个待采集对象保持对应的供电信息的持续时间传输至数据检测系统130。Please refer to FIG. 3 . FIG. 3 shows a schematic diagram of a chip provided by another embodiment of the present application. As shown in FIG. 3 , the power supply
请参阅图4,图4示出了本申请实施例提供的供电信息的分析系统的示意图,如图4所示,该供电信息的分析系统包括芯片10以及分析设备20,其中,芯片10和分析设备20连接,以实现芯片10和分析设备20的数据交互。Please refer to FIG. 4. FIG. 4 shows a schematic diagram of an analysis system for power supply information provided by an embodiment of the present application. As shown in FIG. 4, the analysis system for power supply information includes a
在一些实施方式中,分析设备20包括Debug工具仪器21,该Debug工具仪器21与数据检测系统130连接,数据检测系统130将多个待采集对象对应的供电信息进行打包后传输至Debug工具仪器21,Debug工具仪器21将拿到的数据进行解包,然后传输给分析工具或者软件进行分析或统计,或者,也可以将拿到的信号还原成波形进行分析。In some embodiments, the
在一些实施方式中,分析设备20包括示波器22,该示波器22与多路数据采集系统110连接,多路数据采集系统110将多个待采集对应的供电信息传输至示波器22,示波器22将拿到的数据直接进行显示,以直接观测芯片10内部的供电信息的变化。在本实施例中,多路数据采集系统110选择输出的低16bit可以直接通过芯片10的管脚输出到芯片10外部,并通过连接的示波器22直接进行观测,其中,如果芯片10的管脚资源不受限,也可以将多路数据采集系统110选择输出的32bit信号选取输出并连接到示波器22直接进行观测。In some embodiments, the
请参阅图5,图5示出了本申请一个实施例提供的供电信息的采集方法的流程示意图。所述供电信息的采集方法用于通过芯片的多路数据采集系统对芯片的多个待采集对象的供电信息进行采集,提升所采集的芯片的待采集对象的数量,以满足对芯片的供电及功耗的分析需求。在具体的实施例中,所述供电信息的采集方法应用于芯片的供电信息的采集系统,其中,该供电信息的采集系统包括多路数据采集系统,该多路数据采集系统由至少一个多路选择器组成。下面将针对图5所示的流程进行详细的阐述,所述供电信息的采集方法具体可以包括以下步骤:Referring to FIG. 5 , FIG. 5 shows a schematic flowchart of a method for collecting power supply information provided by an embodiment of the present application. The method for collecting power supply information is used to collect the power supply information of multiple objects to be collected on the chip through the multi-channel data collection system of the chip, so as to increase the number of objects to be collected on the collected chip, so as to meet the requirements of power supply and Analysis of power consumption needs. In a specific embodiment, the power supply information collection method is applied to a chip power supply information collection system, wherein the power supply information collection system includes a multi-channel data collection system, and the multi-channel data collection system consists of at least one multi-channel data collection system. selector composition. The flow shown in FIG. 5 will be described in detail below. The method for collecting power supply information may specifically include the following steps:
步骤S110:获取所述芯片上的多个待采集对象。Step S110: Acquire multiple objects to be collected on the chip.
在本实施例中,芯片上的多个待采集对象可以是系统默认设置的,也可以是用户手动设置的,并且,芯片上的多个待采集对象可以是固定的,也可以是可变的,在此不做限定。在一些实施方式中,多个待采集对象可以包括供电控制信号、供电状态信号、各类状态机状态值、系统片上电压、电流检测数据、各个子系统工作状态、异常保护及请求信号中的一种或几种的组合。其中,不同的芯片对应的待采集对象可以相同,也可以不相同。In this embodiment, the multiple objects to be collected on the chip may be set by default by the system or manually set by the user, and the multiple objects to be collected on the chip may be fixed or variable , which is not limited here. In some embodiments, the multiple objects to be collected may include one of power supply control signals, power supply status signals, various state machine status values, system on-chip voltage, current detection data, working status of each subsystem, abnormal protection and request signals one or a combination of several. The objects to be collected corresponding to different chips may be the same or different.
例如,当不同的芯片对应的待采集对象相同时,可以认为芯片1、芯片2……芯片N对应的待采集对象均包括待采集对象1、待采集对象2、待采集对象3、待采集对象4以及待采集对象5。那么,在获取待分析的芯片后,由于每个芯片对应的待采集对象相同,则可以直接确定该待分析的芯片上的多个待采集对象包括:待采集对象1、待采集对象2、待采集对象3、待采集对象4以及待采集对象5。For example, when the objects to be collected corresponding to different chips are the same, it can be considered that the objects to be collected corresponding to chip 1, chip 2, ... chip N all include the object to be collected 1, the object to be collected 2, the object to be collected 3, the object to be collected 4 and the object to be collected 5. Then, after acquiring the chip to be analyzed, since the objects to be collected corresponding to each chip are the same, it can be directly determined that the multiple objects to be collected on the chip to be analyzed include: object to be collected 1, object to be collected 2, object to be collected Collection object 3 , to-be-collected object 4 , and to-be-collected object 5 .
又例如,当不同的芯片对应的待采集对象不相同时,可以认为芯片1、芯片2……芯片N均有各自对应的待采集对象,如芯片1对应的待采集对象包括待采集对象1、待采集对象2、待采集对象3,芯片2对应的待采集对象包括待采集对象2、待采集对象3、待采集对象2。那么,在获取待分析的芯片后,由于每个芯片对应的待采集对象可能不同,则可以先对待分析的芯片进行识别,再根据识别结果获取该待分析的芯片对应的待采集对象,如识别结果表征待分析的芯片为芯片1时,可以获取该待分析的芯片对应的待采集对象包括待采集对象1、待采集对象2、待采集对象3。For another example, when the objects to be collected corresponding to different chips are not the same, it can be considered that chip 1, chip 2... and chip N have their own corresponding objects to be collected. For example, the objects to be collected corresponding to chip 1 include Object to be collected 2 , object to be collected 3 , and the object to be collected corresponding to chip 2 includes object to be collected 2 , object to be collected 3 , and object to be collected 2 . Then, after obtaining the chips to be analyzed, since the objects to be collected corresponding to each chip may be different, the chips to be analyzed can be identified first, and then the objects to be collected corresponding to the chips to be analyzed can be obtained according to the identification results. The result indicates that when the chip to be analyzed is chip 1, the to-be-collected objects corresponding to the to-be-analyzed chip can be obtained, including to-be-collected object 1, to-be-collected object 2, and to-be-collected object 3.
步骤S120:将所述多路数据采集系统和所述多个待采集对象连接。Step S120: Connect the multi-channel data collection system to the multiple objects to be collected.
在本实施例中,在获取多个待采集对象后,可以将多路数据采集系统和多个待采集对象连接。在一些实施方式中,该多路数据采集系统由至少一个多路选择器组成,则在获取多个待采集对象后,可以将至少一个多路选择器和多个待采集对象连接,其中,所使用的多路选择器的数量可以根据待采集对象的数量确定,一般地,待采集对象的数量越多,则所使用的多路选择器的数量越多,待采集对象的数量越少,则所使用的多路选择器的数量越少。In this embodiment, after acquiring multiple objects to be collected, the multi-channel data collection system can be connected to the multiple objects to be collected. In some embodiments, the multi-channel data acquisition system consists of at least one multiplexer, and after acquiring multiple objects to be collected, the at least one multiplexer can be connected to the multiple objects to be collected, wherein all the The number of multiplexers used can be determined according to the number of objects to be collected. Generally, the greater the number of objects to be collected, the greater the number of multiplexers used, and the less the number of objects to be collected. Fewer multiplexers are used.
在一些实施方式中,该多路选择器可以使用256选16的设计,或者使用256选32的设计。In some embodiments, the multiplexer may use a 256-to-16 design, or a 256-to-32 design.
步骤S130:通过所述多路数据采集系统采集所述多个待采集对象对应的供电信息。Step S130: Collect power supply information corresponding to the multiple objects to be collected through the multi-channel data collection system.
在本实施例中,在将多路数据采集系统和多个待采集对象连接后,可以通过多路数据采集系统采集多个待采集对象对应的供电信息。其中,多路数据采集系统可以从多个数据信号中选择出若干输出信号,即,多路数据采集系统可以采集包括多个待采集对象对应的供电信息在内的多个信息,并从多个信息中选择输出多个待采集对象对应的供电信息,从而实现提升采集的供电信息的数量,满足对芯片的供电及功耗的分析需求。In this embodiment, after the multi-channel data acquisition system is connected to the multiple objects to be collected, the power supply information corresponding to the multiple objects to be collected can be collected through the multi-channel data acquisition system. Among them, the multi-channel data acquisition system can select a number of output signals from a plurality of data signals, that is, the multi-channel data acquisition system can collect a plurality of information including power supply information corresponding to a plurality of objects to be collected, and select a plurality of output signals from a plurality of data signals. The power supply information corresponding to multiple objects to be collected is selected and outputted from the information, so as to increase the quantity of the collected power supply information and meet the analysis requirements for the power supply and power consumption of the chip.
本申请一个实施例提供的供电信息的采集方法,应用于芯片的供电信息的采集系统,该供电信息的采集系统包括多路数据采集系统,多路数据采集系统由至少一个多路选择器组成,获取芯片上的多个待采集对象,将多路数据采集系统和多个待采集对象连接,通过多路数据采集系统采集多个待采集对象对应的供电信息,从而通过芯片的多路数据采集系统对芯片的多个待采集对象的供电信息进行采集,提升所采集的芯片的待采集对象的数量,以满足对芯片的供电及功耗的分析需求。The method for collecting power supply information provided by an embodiment of the present application is applied to a system for collecting power supply information of a chip. The collecting system for power supply information includes a multi-channel data acquisition system, and the multi-channel data acquisition system is composed of at least one multiplexer. Obtain multiple objects to be collected on the chip, connect the multi-channel data acquisition system to the multiple objects to be collected, and collect the power supply information corresponding to the multiple objects to be collected through the multi-channel data acquisition system, so as to pass the multi-channel data acquisition system of the chip. The power supply information of multiple objects to be collected of the chip is collected, and the number of collected objects of the chip to be collected is increased, so as to meet the analysis requirements of the power supply and power consumption of the chip.
请参阅图6,图6示出了本申请又一个实施例提供的供电信息的采集方法的流程示意图。该方法应用于供电信息的采集系统,其中,该供电信息的采集系统包括多路数据采集系统和时间计数器,多路数据采集系统和时间计数器连接,该多路数据采集系统由至少一个多路选择器组成。下面将针对图6所示的流程进行详细的阐述,所述供电信息的采集方法具体可以包括以下步骤:Referring to FIG. 6 , FIG. 6 shows a schematic flowchart of a method for collecting power supply information provided by yet another embodiment of the present application. The method is applied to an acquisition system of power supply information, wherein the acquisition system of power supply information includes a multi-channel data acquisition system and a time counter, the multi-channel data acquisition system and the time counter are connected, and the multi-channel data acquisition system is selected by at least one multiplexer device composition. The flow shown in FIG. 6 will be described in detail below. The method for collecting power supply information may specifically include the following steps:
步骤S210:获取所述芯片上的多个待采集对象。Step S210: Acquire multiple objects to be collected on the chip.
步骤S220:将所述多路数据采集系统和所述多个待采集对象连接。Step S220: Connect the multi-channel data collection system to the multiple objects to be collected.
步骤S230:通过所述多路数据采集系统采集所述多个待采集对象对应的供电信息。Step S230: Collect the power supply information corresponding to the multiple objects to be collected through the multi-channel data collection system.
其中,步骤S210-步骤S230的具体描述请参阅步骤S110-步骤S130,在此不再赘述。The specific description of steps S210 to S230 may refer to steps S110 to S130, which will not be repeated here.
步骤S240:将所述多个待采集对象对应的供电信息传输至所述时间计数器。Step S240: Transmit the power supply information corresponding to the plurality of objects to be collected to the time counter.
在本实施例中,在通过多路数据采集系统采集到多个待采集对象对应的供电信息后,可以将多个待采集对象对应的供电信息传输至与多路数据采集系统连接的时间计数器,以通过时间计数器对多个待采集对象对应的供电信息的变化时间、以及多个待采集对象保持对应的供电信息的保持时间进行采集,以便基于时间因素更加详细的分析多个待采集对象对应的供电信息,并制定合理高效的软件控制。在一些实施方式中,可以复用芯片上的时间计数器来进行时间信息的采集和统计。In this embodiment, after the power supply information corresponding to the multiple objects to be collected is collected through the multi-channel data acquisition system, the power supply information corresponding to the multiple objects to be collected can be transmitted to the time counter connected to the multi-channel data acquisition system, The change time of the power supply information corresponding to the multiple objects to be collected and the holding time of the power supply information corresponding to the multiple objects to be collected are collected through the time counter, so as to analyze the corresponding power supply information of the multiple objects to be collected in more detail based on the time factor. Power supply information, and develop reasonable and efficient software control. In some embodiments, an on-chip time counter can be multiplexed to collect and count time information.
步骤S250:通过所述时间计数器对所述多个待采集对象保持对应的供电信息的持续时间进行采集。Step S250: Collect, by using the time counter, the durations for which the plurality of objects to be collected keep the corresponding power supply information.
在一些实施方式中,多个待采集对象对应的供电信息在传输至时间计数器的过程中,如果多个待采集对象对应的供电信息中的任意待采集对象对应的供电信息发生变化,则会在时间计数器生成触发事件,该触发事件用于触发时间计数器进行一次时间值传输。因此,可以将时间计数器在相邻两次进行时间值传输之间的时间段,作为多个待采集对象保持对应的供电信息的持续时间,并对该持续时间进行采集。作为一种可实施的方式,在时间计数器触发一次时间值传输时开始计时作为第一时间,并监测所述时间计数器是否再次触发时间值传输,当监测到时间计数器触发时间值传输时结束计时作为第二时间,计算第二时间和第一时间之间的差值,将该差值作为多个待采集对象保持对应的供电信息的持续时间。In some embodiments, during the process of transmitting the power supply information corresponding to the multiple objects to be collected to the time counter, if the power supply information corresponding to any object to be collected in the power supply information corresponding to the multiple objects to be collected changes, the power supply information corresponding to any object to be collected changes. The time counter generates a trigger event, which is used to trigger the time counter for a time value transfer. Therefore, the time period between two adjacent time value transmissions by the time counter can be used as the duration for which the corresponding power supply information is kept by the objects to be collected, and the duration is collected. As an implementable manner, when the time counter triggers time value transmission once, start timing as the first time, and monitor whether the time counter triggers time value transmission again, and end timing when it is detected that the time counter triggers time value transmission as the first time. For the second time, the difference between the second time and the first time is calculated, and the difference is used as the duration for which the plurality of objects to be collected keep the corresponding power supply information.
本申请又一个实施例提供的供电信息的采集方法,应用于芯片的供电信息的采集系统,该供电信息的采集系统包括多路数据采集系统和时间计数器,多路数据采集系统和时间计数器连接,多路数据采集系统由至少一个多路选择器组成,获取芯片上的多个待采集对象,将多路数据采集系统和多个待采集对象连接,通过多路数据采集系统采集多个待采集对象对应的供电信息,将多个待采集对象对应的供电信息传输至时间计数器,通过时间计数器对多个待采集对象保持对应的供电信息的持续时间进行采集。相较于图5所示的供电信息的采集方法,本实施例还通过时间计数器对各个待采集对象的供电信息的变化和持续时间进行采集,以便于更详细的分析来制定合理高效的软件控制。The method for collecting power supply information provided by another embodiment of the present application is applied to a system for collecting power supply information of a chip. The collecting system for power supply information includes a multi-channel data acquisition system and a time counter, and the multi-channel data acquisition system and the time counter are connected, The multi-channel data acquisition system is composed of at least one multiplexer, which acquires multiple objects to be collected on the chip, connects the multi-channel data acquisition system with the multiple objects to be collected, and collects multiple objects to be collected through the multi-channel data acquisition system. For the corresponding power supply information, the power supply information corresponding to the multiple objects to be collected is transmitted to the time counter, and the time counters are used to collect the durations of the multiple objects to be collected that keep the corresponding power supply information. Compared with the method for collecting power supply information shown in FIG. 5 , this embodiment also collects the change and duration of the power supply information of each object to be collected through a time counter, so as to facilitate more detailed analysis and formulate reasonable and efficient software control. .
请参阅图7,图7示出了本申请再一个实施例提供的供电信息的采集方法的流程示意图。该方法应用于供电信息的采集系统,其中,该供电信息的采集系统包括多路数据采集系统和数据检测系统,多路数据采集系统和数据检测系统连接,该多路数据采集系统由至少一个多路选择器组成。下面将针对图7所示的流程进行详细的阐述,所述供电信息的采集方法具体可以包括以下步骤:Referring to FIG. 7 , FIG. 7 shows a schematic flowchart of a method for collecting power supply information provided by still another embodiment of the present application. The method is applied to a power supply information acquisition system, wherein the power supply information acquisition system includes a multi-channel data acquisition system and a data detection system, the multi-channel data acquisition system and the data detection system are connected, and the multi-channel data acquisition system consists of at least one multi-channel data acquisition system. Path selector composition. The flow shown in FIG. 7 will be described in detail below. The method for collecting power supply information may specifically include the following steps:
步骤S310:获取所述芯片上的多个待采集对象。Step S310: Acquire a plurality of objects to be collected on the chip.
步骤S320:将所述多路数据采集系统和所述多个待采集对象连接。Step S320: Connect the multi-channel data collection system to the multiple objects to be collected.
步骤S330:通过所述多路数据采集系统采集所述多个待采集对象对应的供电信息。Step S330: Collect power supply information corresponding to the multiple objects to be collected through the multi-channel data collection system.
其中,步骤S310-步骤S330的具体描述请参阅步骤S110-步骤S130,在此不再赘述。The specific description of steps S310-step S330 can refer to steps S110-step S130, and details are not repeated here.
步骤S340:将所述多个待采集对象对应的供电信息传输至所述数据检测系统。Step S340: Transmit the power supply information corresponding to the plurality of objects to be collected to the data detection system.
在本实施例中,在通过多路数据采集系统采集到多个待采集对象对应的供电信息后,可以将多个待采集对象对应的供电信息传输至数据检测系统,以通过数据检测系统对多个待采集对象对应的供电信息进行打包处理后,输出到芯片的外部,以满足各种大型复杂系统的低功耗数据分析和统计需求。在一些实施方式中,可以复用芯片上的数据检测系统,以节省芯片的面积和功耗。In this embodiment, after the power supply information corresponding to the multiple objects to be collected is collected through the multi-channel data collection system, the power supply information corresponding to the multiple objects to be collected can be transmitted to the data detection system, so that the data detection system can compare the power supply information to the multiple objects to be collected. The power supply information corresponding to each object to be collected is packaged and output to the outside of the chip to meet the low-power data analysis and statistical requirements of various large and complex systems. In some embodiments, on-chip data detection systems can be multiplexed to save chip area and power consumption.
步骤S350:通过所述数据检测系统将所述多个待采集对象对应的供电信息进行打包,获得待分析数据。Step S350: Packing the power supply information corresponding to the plurality of objects to be collected by the data detection system to obtain the data to be analyzed.
在本实施例中,数据检测系统在接收到多路数据采集系统传输的多个待采集对象对应的供电信息后,可以对多个待采集对象对应的供电信息进行打包,获得待分析数据。In this embodiment, after receiving the power supply information corresponding to the multiple objects to be collected transmitted by the multi-channel data collection system, the data detection system can package the power supply information corresponding to the multiple objects to be collected to obtain the data to be analyzed.
在一些实施方式中,数据检测系统在接收到多路数据采集系统传输的多个待采集对象对应的供电信息后,可以将多个待采集对象对应的供电信息作为一个整体进行打包,获得待分析数据。In some embodiments, after receiving the power supply information corresponding to the multiple objects to be collected transmitted by the multi-channel data collection system, the data detection system can package the power supply information corresponding to the multiple objects to be collected as a whole to obtain the information to be analyzed. data.
在一些实施方式中,数据检测系统在接收到多路数据采集系统传输的多个待采集对象对应的供电信息后,可以分别对多个待采集对象对应的供电信息中的每个待采集对象对应的供电信息进行打包,获得待分析数据。In some embodiments, after receiving the power supply information corresponding to the multiple objects to be collected transmitted by the multi-channel data collection system, the data detection system can respectively correspond to each object to be collected in the power supply information corresponding to the multiple objects to be collected The power supply information is packaged to obtain the data to be analyzed.
在一些实施方式中,数据检测系统在接收到多路数据采集系统传输的多个待采集对象对应的供电信息后,可以将多个待采集对象对应的供电信息进行分组,每个分组可以包括至少一个待采集对象对应的供电信息,将每个分组中的待采集对象对应的供电信息作为一个整体进行打包,获得待分析数据。其中,可以根据多个待采集对象的类型进行分组、可以根据多个待采集对象对应的供电信息的类型进行分组等,在此不做限定。In some embodiments, after receiving the power supply information corresponding to the multiple objects to be collected transmitted by the multi-channel data collection system, the data detection system may group the power supply information corresponding to the multiple objects to be collected, and each group may include at least For the power supply information corresponding to an object to be collected, the power supply information corresponding to the object to be collected in each group is packaged as a whole to obtain the data to be analyzed. The grouping may be performed according to the types of the multiple objects to be collected, the grouping may be performed according to the types of power supply information corresponding to the multiple objects to be collected, etc., which are not limited herein.
步骤S360:通过所述数据检测系统将所述待分析数据输出。Step S360: Output the data to be analyzed through the data detection system.
在本实施例中,在获得待分析数据后,可以通过数据检测系统将待分析数据输出,并通过外设对待分析数据进行分析,以根据分析结果开发有效的功耗配置和控制,使产品的功耗达到最优化。In this embodiment, after the data to be analyzed is obtained, the data to be analyzed can be output through the data detection system, and the data to be analyzed can be analyzed through peripheral devices, so as to develop effective power consumption configuration and control according to the analysis results, so that the product's Power consumption is optimized.
在一些实施方式中,可以将数据检测系统可以和芯片外部的Debug工具仪器连接。于本实施例中,在获得待分析数据后,可以通过数据检测系统将待分析数据输出至Debug工具仪器,以通过Debug工具仪器对待分析数据解压后进行供电信息的分析。具体地,可以通过Debug工具仪器对待分析数据解压,然后传输至工具或软件进行分析或统计,或者,可以将得到解压后的数据还原成波形进行分析。In some implementations, the data detection system can be connected to a debug tool outside the chip. In this embodiment, after the data to be analyzed is obtained, the data to be analyzed can be output to the debug tool through the data detection system, so that the power supply information can be analyzed after the data to be analyzed is decompressed by the debug tool. Specifically, the data to be analyzed can be decompressed by a debug tool, and then transmitted to a tool or software for analysis or statistics, or the decompressed data can be restored into a waveform for analysis.
本申请再一个实施例提供的供电信息的采集方法,应用于芯片的供电信息的采集系统,该供电信息的采集系统包括多路数据采集系统和数据检测系统,多路数据采集系统和数据检测系统连接,多路数据采集系统由至少一个多路选择器组成,获取芯片上的多个待采集对象,将多路数据采集系统和多个待采集对象连接,通过多路数据采集系统采集多个待采集对象对应的供电信息,将多个待采集对象对应的供电信息传输至数据检测系统,通过数据检测系统将多个待采集对象对应的供电信息进行打包,获得待分析数据,通过数据检测系统将待分析数据输出。相较于图5所示的供电信息的采集方法,本实施例还通过数据检测系统对待采集对象对应的供电信息打包后输出,以满足各种大型复杂系统的低功耗数据分析和统计需求。The method for collecting power supply information provided by still another embodiment of the present application is applied to a system for collecting power supply information of a chip, and the collecting system for power supply information includes a multi-channel data acquisition system and a data detection system, and a multi-channel data acquisition system and a data detection system. Connection, the multi-channel data acquisition system is composed of at least one multiplexer, which acquires multiple objects to be collected on the chip, connects the multi-channel data acquisition system with the multiple objects to be collected, and collects multiple objects to be collected through the multi-channel data acquisition system. Collect the power supply information corresponding to the objects, transmit the power supply information corresponding to the multiple objects to be collected to the data detection system, and package the power supply information corresponding to the multiple objects to be collected through the data detection system to obtain the data to be analyzed. Data output to be analyzed. Compared with the method for collecting power supply information shown in FIG. 5 , this embodiment also uses the data detection system to package and output the power supply information corresponding to the object to be collected, so as to meet the low power consumption data analysis and statistical requirements of various large and complex systems.
请参阅图8,图8示出了本申请另一个实施例提供的供电信息的采集方法的流程示意图。该方法应用于供电信息的采集系统,其中,该供电信息的采集系统包括多路数据采集系统、时间计数器以及数据检测系统,数据检测系统分别与时间计数器和多路数据采集系统连接,多路数据采集系统与时间计数器连接,该多路数据采集系统由至少一个多路选择器组成。下面将针对图8所示的流程进行详细的阐述,所述供电信息的采集方法具体可以包括以下步骤:Referring to FIG. 8 , FIG. 8 shows a schematic flowchart of a method for collecting power supply information provided by another embodiment of the present application. The method is applied to an acquisition system of power supply information, wherein the acquisition system of power supply information includes a multi-channel data acquisition system, a time counter and a data detection system, the data detection system is respectively connected with the time counter and the multi-channel data acquisition system, and the multi-channel data acquisition system The acquisition system is connected with the time counter, and the multi-channel data acquisition system is composed of at least one multiplexer. The flow shown in FIG. 8 will be described in detail below. The method for collecting power supply information may specifically include the following steps:
步骤S410:获取所述芯片上的多个待采集对象。Step S410: Acquire multiple objects to be collected on the chip.
步骤S420:将所述多路数据采集系统和所述多个待采集对象连接。Step S420: Connect the multi-channel data collection system to the multiple objects to be collected.
步骤S430:通过所述多路数据采集系统采集所述多个待采集对象对应的供电信息。Step S430: Collect power supply information corresponding to the multiple objects to be collected through the multi-channel data collection system.
其中,步骤S410-步骤S430的具体描述请参阅步骤S110-步骤S130,在此不再赘述。The specific description of steps S410-step S430 can refer to steps S110-step S130, which will not be repeated here.
步骤S440:将所述多个待采集对象对应的供电信息传输至所述时间计数器。Step S440: Transmit the power supply information corresponding to the plurality of objects to be collected to the time counter.
其中,步骤S440的具体描述请参阅步骤S240,在此不再赘述。For the specific description of step S440, please refer to step S240, which will not be repeated here.
步骤S450:当所述多个待采集对象中的任意待采集对象对应的供电信息发生变化时,通过所述时间计数器获取所述多个待采集对象对应的供电信息的变化时间,并重新对所述多个待采集对象保持对应的供电信息的持续时间进行采集。Step S450: When the power supply information corresponding to any object to be collected among the plurality of objects to be collected changes, obtain the change time of the power supply information corresponding to the plurality of objects to be collected through the time counter, and re-evaluate all the objects to be collected. The plurality of objects to be collected keep the corresponding power supply information for the duration of collection.
在本实施例中,在通过时间计数器接收多路数据采集系统传输的多个待采集对象对应的供电信息的过程中,可以对多个待采集对象中的每个待采集对象对应的供电信息的变化进行监测,其中,当监测到多个待采集对象中的任意待采集对象对应的供电信息发生变化时,表征多个待采集对象对应的供电信息发生变化,则可以通过该时间计数器获取多个待采集对象对应的供电信息的变化时间,并将变化时间作为开始时间,重新对多个待采集对象保持对应的供电信息的持续时间进行采集。In this embodiment, in the process of receiving the power supply information corresponding to multiple objects to be collected transmitted by the multi-channel data collection system through the time counter, the power supply information corresponding to each of the multiple objects to be collected can be collected. Change monitoring, wherein, when the power supply information corresponding to any object to be collected among the multiple objects to be collected changes is monitored, indicating that the power supply information corresponding to the multiple objects to be collected changes, the time counter can be used to obtain multiple The change time of the power supply information corresponding to the object to be collected is collected, and the change time is taken as the start time, and the duration time for which the corresponding power supply information is kept for the plurality of objects to be collected is collected again.
在一些实施方式中,当监测到某个待采集对象对应的供电信息从空闲切换为工作时,可以确定该待采集对象的供电信息发生变化;当监测到某个待采集对象对应的供电信息从关闭切换为打开时,可以确定该待采集对象的供电信息发生变化等,在此不做限定。In some embodiments, when it is monitored that the power supply information corresponding to an object to be collected is switched from idle to working, it can be determined that the power supply information of the object to be collected has changed; When the OFF is switched to ON, it can be determined that the power supply information of the object to be collected has changed, etc., which is not limited here.
步骤S460:将所述多个待采集对象对应的供电信息、所述多个待采集对象对应的供电信息的保持时间以及所述多个待采集对象对应的供电信息的变化时间传输至所述数据检测系统。Step S460: Transmit the power supply information corresponding to the multiple objects to be collected, the retention time of the power supply information corresponding to the multiple objects to be collected, and the change time of the power supply information corresponding to the multiple objects to be collected to the data Detection Systems.
在本实施例中,可以将多路数据采集系统采集到的多个待采集对象对应的供电信息传输至与多路数据采集系统连接的数据检测系统,并将时间计数器采集到的多个待采集对象对应的供电信息的保持时间以及多个待采集对象对应的供电信息的变化时间传输至与时间计数器连接的数据检测系统。In this embodiment, the power supply information corresponding to the multiple objects to be collected collected by the multi-channel data acquisition system can be transmitted to the data detection system connected to the multi-channel data acquisition system, and the multiple data to be collected collected by the time counter The retention time of the power supply information corresponding to the object and the change time of the power supply information corresponding to a plurality of objects to be collected are transmitted to the data detection system connected to the time counter.
在一些实施方式中,可以将多个待采集对象中的每个待采集对象进行编号或标记,在将多个待采集对象对应的供电信息传输至数据检测系统时,可以将每个待采集对象对应的编号或标记一并传输至数据检测系统,同时,在将多个待采集对象对应的供电信息的保持时间以及多个待采集对象对应的供电信息的变化时间传输至数据检测系统,可以将每个待采集对象对应的编号或标记一并传输至数据检测系统,从而可以通过每个待采集对象对应的编号或标记对待采集对象进行标识,以在分析时实现时间和对象的对应。In some embodiments, each to-be-collected object among the multiple to-be-collected objects may be numbered or marked, and when the power supply information corresponding to the multiple to-be-collected objects is transmitted to the data detection system, each to-be-collected object may be The corresponding numbers or marks are transmitted to the data detection system together. At the same time, when the retention time of the power supply information corresponding to the multiple objects to be collected and the change time of the power supply information corresponding to the multiple objects to be collected are transmitted to the data detection system, the The number or mark corresponding to each object to be collected is transmitted to the data detection system together, so that the object to be collected can be identified by the number or mark corresponding to each object to be collected, so as to realize the correspondence between time and object during analysis.
步骤S470:通过所述数据检测系统将所述多个待采集对象对应的供电信息、所述多个待采集对象对应的供电信息的保持时间以及所述多个待采集对象对应的供电信息的变化时间进行打包,获得所述待分析数据。Step S470: Use the data detection system to analyze the power supply information corresponding to the multiple objects to be collected, the retention time of the power supply information corresponding to the multiple objects to be collected, and the changes in the power supply information corresponding to the multiple objects to be collected. Packing time to obtain the data to be analyzed.
在本实施例中,数据检测系统在接收到多路数据采集系统传输的多个待采集对象对应的供电信息、并接收到时间计数器传输的多个待采集对象对应的供电信息的保持时间以及多个待采集对象对应的供电信息的变化时间后,可以对多个待采集对象对应的供电信息、多个待采集对象对应的供电信息的保持时间以及多个待采集对象对应的供电信息的变化时间进行打包,获得待分析数据。In this embodiment, the data detection system receives the power supply information corresponding to the multiple objects to be collected transmitted by the multi-channel data acquisition system, and receives the holding time and the number of power supply information corresponding to the multiple objects to be collected transmitted by the time counter. After the change time of the power supply information corresponding to the multiple objects to be collected, the power supply information corresponding to the multiple objects to be collected, the retention time of the power supply information corresponding to the multiple objects to be collected, and the change time of the power supply information corresponding to the multiple objects to be collected can be analyzed. Pack it to obtain the data to be analyzed.
在一些实施方式中,数据检测系统在接收到多路数据采集系统传输的多个待采集对象对应的供电信息,并接收到时间计数器传输的多个待采集对象对应的供电信息的保持时间以及多个待采集对象对应的供电信息的变化时间后,可以将多个待采集对象对应的供电信息、多个待采集对象对应的供电信息的保持时间以及多个待采集对象对应的供电信息的变化时间作为一个整体进行打包,获得待分析数据。In some embodiments, the data detection system receives the power supply information corresponding to the multiple objects to be collected transmitted by the multi-channel data acquisition system, and receives the holding time and the duration of the power supply information corresponding to the multiple objects to be collected transmitted by the time counter. After the change time of the power supply information corresponding to the multiple objects to be collected, the power supply information corresponding to the multiple objects to be collected, the retention time of the power supply information corresponding to the multiple objects to be collected, and the change time of the power supply information corresponding to the multiple objects to be collected can be calculated. Packaged as a whole to obtain the data to be analyzed.
在一些实施方式中,数据检测系统在接收到多路数据采集系统传输的多个待采集对象对应的供电信息,并接收到时间计数器传输的多个待采集对象对应的供电信息的保持时间以及多个待采集对象对应的供电信息的变化时间后,可以分别对多个待采集对象中的每个待采集对象对应的供电信息、对应的供电信息的保持时间以及对应的供电信息的变化时间进行打包,获得待分析数据。In some embodiments, the data detection system receives the power supply information corresponding to the multiple objects to be collected transmitted by the multi-channel data acquisition system, and receives the holding time and the duration of the power supply information corresponding to the multiple objects to be collected transmitted by the time counter. After the change time of the power supply information corresponding to each object to be collected, the power supply information corresponding to each of the multiple objects to be collected, the retention time of the corresponding power supply information, and the change time of the corresponding power supply information can be packaged separately. to obtain the data to be analyzed.
在一些实施方式中,数据检测系统在接收到多路数据采集系统传输的多个待采集对象对应的供电信息后,可以将多个待采集对象对应的供电信息进行分组,每个分组可以包括至少一个待采集对象对应的供电信息、对应的供电信息的保持时间以及对应的供电信息的变化时间,将每个分组中的待采集对象对应的供电信息、对应的供电信息的保持时间以及对应的供电信息的变化时间作为一个整体进行打包,获得待分析数据。其中,可以根据多个待采集对象的类型进行分组、可以根据多个待采集对象对应的供电信息的类型进行分组等,在此不做限定。In some embodiments, after receiving the power supply information corresponding to the multiple objects to be collected transmitted by the multi-channel data collection system, the data detection system may group the power supply information corresponding to the multiple objects to be collected, and each group may include at least The power supply information corresponding to an object to be collected, the holding time of the corresponding power supply information, and the change time of the corresponding power supply information, and the power supply information corresponding to the object to be collected in each group, the holding time of the corresponding power supply information, and the corresponding power supply information The change time of the information is packaged as a whole to obtain the data to be analyzed. The grouping may be performed according to the types of the multiple objects to be collected, the grouping may be performed according to the types of power supply information corresponding to the multiple objects to be collected, etc., which are not limited herein.
步骤S480:通过所述数据检测系统将所述待分析数据输出。Step S480: Output the data to be analyzed through the data detection system.
其中,步骤S480的具体描述请参阅步骤S360,在此不再赘述。For the specific description of step S480, please refer to step S360, which will not be repeated here.
本申请另一个实施例提供的供电信息的采集方法,应用于芯片的供电信息的采集系统,该供电信息的采集系统包括多路数据采集系统、时间计数器以及数据检测系统,数据检测系统分别和多路数据采集系统与时间计数器连接,多路数据采集系统和时间计数器连接,多路数据采集系统由至少一个多路选择器组成,获取芯片上的多个待采集对象,将多路数据采集系统和多个待采集对象连接,通过多路数据采集系统采集的多个待采集对象对应的供电信息,将多个待采集对象对应的供电信息传输至时间计数器,当多个待采集对象中的任意待采集对象对应的供电信息发生变化时,通过时间计数器获取多个待采集对象对应的供电信息的变化时间,并重新对多个待采集对象保持对应的供电信息的持续时间进行采集,将多个待采集对象对应的供电信息、多个待采集对象对应的供电信息的保持时间以及多个待采集对象对应的供电信息传输至所述数据检测系统,通过数据检测系统将多个待采集对象对应的供电信息、多个待采集对象对应的供电信息的保持时间以及多个待采集对象对应的供电信息的变化时间进行打包,获得待分析数据,通过所述数据检测系统将待分析数据输出。相较于图5所示的供电信息的采集方法,本实施例还通过时间计数器对各个待采集对象对应的供电信息的变化和持续时间进行采集,并通过数据检测系统对待采集对象对应的供电信息和待采集对象对应的供电信息的变化和持续时间进行打包输出,以满足各种复杂系统的更加详细的分析,来制定更加合理高效的软件控制。The method for collecting power supply information provided by another embodiment of the present application is applied to a system for collecting power supply information of a chip. The collecting system for power supply information includes a multi-channel data acquisition system, a time counter and a data detection system. The multi-channel data acquisition system is connected with the time counter, and the multi-channel data acquisition system is connected with the time counter. The multi-channel data acquisition system is composed of at least one multiplexer, which acquires multiple objects to be collected on the chip, and connects the multi-channel data acquisition system with the time counter. Multiple objects to be collected are connected, the power supply information corresponding to the multiple objects to be collected collected by the multi-channel data collection system is transmitted, and the power supply information corresponding to the multiple objects to be collected is transmitted to the time counter. When the power supply information corresponding to the collected objects changes, the change time of the power supply information corresponding to the multiple objects to be collected is obtained through the time counter, and the duration of the corresponding power supply information of the multiple objects to be collected is collected again, and the multiple objects to be collected are collected again. The power supply information corresponding to the collected objects, the holding time of the power supply information corresponding to the multiple objects to be collected, and the power supply information corresponding to the multiple objects to be collected are transmitted to the data detection system, and the power supply corresponding to the multiple objects to be collected is transmitted through the data detection system. The information, the retention time of the power supply information corresponding to the multiple objects to be collected, and the change time of the power supply information corresponding to the multiple objects to be collected are packaged to obtain the data to be analyzed, and the data to be analyzed is output through the data detection system. Compared with the method for collecting power supply information shown in FIG. 5 , this embodiment also collects the change and duration of the power supply information corresponding to each object to be collected through the time counter, and uses the data detection system to collect the power supply information corresponding to the object to be collected. The change and duration of the power supply information corresponding to the object to be collected are packaged and output to meet the more detailed analysis of various complex systems, and to formulate more reasonable and efficient software control.
请参阅图9,图9示出了本申请又再一个实施例提供的供电信息的采集方法的流程示意图。该方法应用于供电信息的采集系统,其中,该供电信息的采集系统包括多路数据采集系统,多路数据采集系统由至少一个多路选择器组成。下面将针对图9所示的流程进行详细的阐述,所述供电信息的采集方法具体可以包括以下步骤:Please refer to FIG. 9. FIG. 9 shows a schematic flowchart of a method for collecting power supply information provided by still another embodiment of the present application. The method is applied to an acquisition system of power supply information, wherein the acquisition system of power supply information includes a multi-channel data acquisition system, and the multi-channel data acquisition system is composed of at least one multiplexer. The flow shown in FIG. 9 will be described in detail below. The method for collecting power supply information may specifically include the following steps:
步骤S510:获取所述芯片上的多个待采集对象。Step S510: Acquire multiple objects to be collected on the chip.
步骤S520:将所述多路数据采集系统和所述多个待采集对象连接。Step S520: Connect the multi-channel data collection system to the multiple objects to be collected.
步骤S530:通过所述多路数据采集系统采集所述多个待采集对象对应的供电信息。Step S530: Collect power supply information corresponding to the multiple objects to be collected through the multi-channel data collection system.
其中,步骤S510-步骤S530的具体描述请参阅步骤S110-步骤S130,在此不再赘述。The specific description of steps S510 to S530 may refer to steps S110 to S130, which will not be repeated here.
步骤S540:通过所述多路数据采集系统将所述多个待采集对象对应的供电信息输出。Step S540: Output the power supply information corresponding to the multiple objects to be collected through the multi-channel data collection system.
在本实施例中,在获得多个待采集对象对应的供电信息后,可以通过多路数据采集系统将多个待采集对象对应的供电信息输出,并通过外设对多个待采集对象对应的供电信息进行分析或展示,以根据分析结果或展示结果开发有效的功耗配置和控制,使产品的功耗达到最优化。In this embodiment, after obtaining the power supply information corresponding to the multiple objects to be collected, the power supply information corresponding to the multiple objects to be collected can be output through the multi-channel data collection system, and the power supply information corresponding to the multiple objects to be collected can be output through the peripheral device. The power supply information is analyzed or displayed to develop effective power consumption configuration and control according to the analysis results or display results, so as to optimize the power consumption of the product.
在一些实施方式中,可以将多路数据采集系统和芯片外部的示波器连接。本实施例中,在获得多个待采集对象对应的供电信息后,可以通过多路数据采集系统将多个待采集对象对应的供电信息传输至示波器,以通过示波器进行供电信息的展示,以通过示波器直接观测芯片内部的信号变化。In some embodiments, a multiplexed data acquisition system can be connected to an oscilloscope outside the chip. In this embodiment, after the power supply information corresponding to the multiple objects to be collected is obtained, the power supply information corresponding to the multiple objects to be collected can be transmitted to the oscilloscope through the multi-channel data acquisition system, so that the power supply information can be displayed by the oscilloscope, so that the power supply information can be displayed through the oscilloscope. The oscilloscope directly observes the signal changes inside the chip.
本申请又再一个实施例提供的供电信息的采集方法,应用于芯片的供电信息的采集系统,该供电信息的采集系统包括多路数据采集系统,多路数据采集系统由至少一个多路选择器组成,获取芯片上的多个待采集对象,将多路数据采集系统和多个待采集对象连接,通过多路数据采集系统采集多个待采集对象对应的供电信息,通过多路数据采集系统将多个待采集对象对应的供电信息输出。相较于图5所示的供电信息的采集方法,本实施例还通过多路数据采集系统直接输出待采集对象对应的供电信息,以实现方便简洁的供电信息的检测分析。Yet another embodiment of the present application provides a method for collecting power supply information, which is applied to a system for collecting power supply information of a chip, where the system for collecting power supply information includes a multi-channel data acquisition system, and the multi-channel data acquisition system consists of at least one multiplexer. It consists of acquiring multiple objects to be collected on the chip, connecting the multi-channel data acquisition system to the multiple objects to be collected, collecting the power supply information corresponding to the multiple objects to be collected through the multi-channel data acquisition system, Power supply information corresponding to multiple objects to be collected is output. Compared with the method for collecting power supply information shown in FIG. 5 , this embodiment also directly outputs the power supply information corresponding to the object to be collected through the multi-channel data acquisition system, so as to realize convenient and concise detection and analysis of the power supply information.
本申请实施例提供了一种供电信息的采集系统,应用于芯片,该供电信息的采集系统包括多路数据采集系统,多路数据采集系统由至少一个多路选择器组成,其中:供电信息的采集系统,用于获取芯片上的多个待采集对象,将多路数据采集系统和多个待采集对象连接,通过所述多路数据采集系统采集所述多个待采集对象对应的供电信息。The embodiment of the present application provides a power supply information collection system, which is applied to a chip. The power supply information collection system includes a multi-channel data collection system, and the multi-channel data collection system is composed of at least one multiplexer, wherein: the power supply information The acquisition system is used to acquire multiple objects to be acquired on the chip, connect the multi-channel data acquisition system to the multiple objects to be acquired, and collect power supply information corresponding to the multiple objects to be acquired through the multi-channel data acquisition system.
本申请实施例提供了一种芯片,包括供电信息的采集系统,供电信息的采集系统包括多路数据采集系统,多路数据采集系统由至少一个多路选择器组成,其中:供电信息的采集系统,用于获取芯片上的多个待采集对象,将多路数据采集系统和多个待采集对象连接,通过多路数据采集系统采集多个待采集对象对应的供电信息。The embodiment of the present application provides a chip, including a power supply information collection system, the power supply information collection system includes a multi-channel data collection system, and the multi-channel data collection system is composed of at least one multiplexer, wherein: the power supply information collection system is used to acquire multiple objects to be collected on the chip, connect the multi-channel data acquisition system to the multiple objects to be collected, and collect the power supply information corresponding to the multiple objects to be collected through the multi-channel data acquisition system.
请参阅图10,其示出了本申请实施例提供的一种电子设备30的结构框图。该电子设备30可以是智能手机、平板电脑、电子书等能够运行应用程序的电子设备。本申请中的电子设备30可以包括一个或多个如下部件:处理器31、存储器32、芯片10以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器32中并被配置为由一个或多个处理器31执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 10 , which shows a structural block diagram of an electronic device 30 provided by an embodiment of the present application. The electronic device 30 may be an electronic device capable of running an application program, such as a smart phone, a tablet computer, an electronic book, or the like. The electronic device 30 in this application may include one or more of the following components: a
其中,处理器31可以包括一个或者多个处理核。处理器31利用各种接口和线路连接整个电子设备30内的各个部分,通过运行或执行存储在存储器32内的指令、程序、代码集或指令集,以及调用存储在存储器32内的数据,执行电子设备30的各种功能和处理数据。可选地,处理器31可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器31可集成中央处理器(CentralProcessing Unit,CPU)、图形处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责待显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器31中,单独通过一块通信芯片进行实现。The
存储器32可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器32可用于存储指令、程序、代码、代码集或指令集。存储器32可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备30在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The
综上所述,本申请实施例提供的供电信息的采集方法、系统以及芯片,应用于芯片的供电信息的采集系统,该供电信息的采集系统包括多路数据采集系统,多路数据采集系统由至少一个多路选择器组成,获取芯片上的多个待采集对象,将多路数据采集系统和多个待采集对象连接,通过多路数据采集系统采集多个待采集对象对应的供电信息,从而通过芯片的多路数据采集系统对芯片的多个待采集对象的供电信息进行采集,提升所采集的芯片的待采集对象的数量,以满足对芯片的供电及功耗的分析需求。To sum up, the method, system, and chip for collecting power supply information provided by the embodiments of the present application are applied to a system for collecting power supply information of a chip. It is composed of at least one multiplexer, acquires multiple objects to be collected on the chip, connects the multiplex data acquisition system with the multiple objects to be collected, and collects the power supply information corresponding to the multiple objects to be collected through the multiplex data acquisition system, thereby The power supply information of multiple objects to be collected on the chip is collected through the multi-channel data collection system of the chip, and the number of collected objects of the chip to be collected is increased to meet the analysis requirements for power supply and power consumption of the chip.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010500475.2ACN111752794B (en) | 2020-06-04 | 2020-06-04 | Method, system and chip for collecting power supply information |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010500475.2ACN111752794B (en) | 2020-06-04 | 2020-06-04 | Method, system and chip for collecting power supply information |
| Publication Number | Publication Date |
|---|---|
| CN111752794Atrue CN111752794A (en) | 2020-10-09 |
| CN111752794B CN111752794B (en) | 2022-08-12 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010500475.2AExpired - Fee RelatedCN111752794B (en) | 2020-06-04 | 2020-06-04 | Method, system and chip for collecting power supply information |
| Country | Link |
|---|---|
| CN (1) | CN111752794B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060197697A1 (en)* | 2005-03-03 | 2006-09-07 | Semiconductor Technology Academic Research Center | On-chip signal waveform measurement apparatus for measuring signal waveforms at detection points on IC chip |
| CN1955936A (en)* | 2005-10-27 | 2007-05-02 | 国际商业机器公司 | Duty cycle measurement apparatus and method |
| US20080143184A1 (en)* | 2006-12-13 | 2008-06-19 | Renesas Technology Corp. | Method of on-chip current measurement and semiconductor ic |
| CN102253875A (en)* | 2011-07-25 | 2011-11-23 | 中国人民解放军国防科学技术大学 | Field programmable gate array (FPGA) logic module debugging and data acquisition method based on PicoBlaze embedded soft core processor |
| CN103631689A (en)* | 2012-08-28 | 2014-03-12 | 瑞萨集成电路设计(北京)有限公司 | Data acquisition device, on-line simulation debugging system and on-line simulation debugging method |
| CN104166353A (en)* | 2014-08-18 | 2014-11-26 | 中国航天科技集团公司第九研究院第七七一研究所 | Multi-channel data collection control circuit and method for satellite |
| CN109030926A (en)* | 2018-06-28 | 2018-12-18 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Multichannel voltage acquisition module |
| CN110990220A (en)* | 2019-11-25 | 2020-04-10 | 北京中电华大电子设计有限责任公司 | Power consumption signal acquisition device of integrated many interfaces |
| CN111210865A (en)* | 2020-04-20 | 2020-05-29 | 南京邮电大学 | On-chip measuring circuit and measuring method for low-voltage SRAM time parameter |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060197697A1 (en)* | 2005-03-03 | 2006-09-07 | Semiconductor Technology Academic Research Center | On-chip signal waveform measurement apparatus for measuring signal waveforms at detection points on IC chip |
| CN1955936A (en)* | 2005-10-27 | 2007-05-02 | 国际商业机器公司 | Duty cycle measurement apparatus and method |
| US20080143184A1 (en)* | 2006-12-13 | 2008-06-19 | Renesas Technology Corp. | Method of on-chip current measurement and semiconductor ic |
| CN102253875A (en)* | 2011-07-25 | 2011-11-23 | 中国人民解放军国防科学技术大学 | Field programmable gate array (FPGA) logic module debugging and data acquisition method based on PicoBlaze embedded soft core processor |
| CN103631689A (en)* | 2012-08-28 | 2014-03-12 | 瑞萨集成电路设计(北京)有限公司 | Data acquisition device, on-line simulation debugging system and on-line simulation debugging method |
| CN104166353A (en)* | 2014-08-18 | 2014-11-26 | 中国航天科技集团公司第九研究院第七七一研究所 | Multi-channel data collection control circuit and method for satellite |
| CN109030926A (en)* | 2018-06-28 | 2018-12-18 | 西南电子技术研究所(中国电子科技集团公司第十研究所) | Multichannel voltage acquisition module |
| CN110990220A (en)* | 2019-11-25 | 2020-04-10 | 北京中电华大电子设计有限责任公司 | Power consumption signal acquisition device of integrated many interfaces |
| CN111210865A (en)* | 2020-04-20 | 2020-05-29 | 南京邮电大学 | On-chip measuring circuit and measuring method for low-voltage SRAM time parameter |
| Publication number | Publication date |
|---|---|
| CN111752794B (en) | 2022-08-12 |
| Publication | Publication Date | Title |
|---|---|---|
| CN114328102A (en) | Equipment state monitoring method, device, equipment and computer readable storage medium | |
| JP4212224B2 (en) | Semiconductor integrated circuit | |
| CN108664367B (en) | Power consumption control method and device based on processor | |
| CN106557400A (en) | Method for dynamic data collection in a device and corresponding device | |
| CN115543746B (en) | Graphics processor monitoring method, system, device and electronic equipment | |
| CN111722993A (en) | Method, system, terminal device and storage medium for monitoring abnormal power consumption of communication terminal | |
| US7043718B1 (en) | System real-time analysis tool | |
| JP2023100844A (en) | Logic analyzer for integrated circuit | |
| CN113009407B (en) | Voltage event recording method and device for double-core intelligent ammeter and double-core intelligent ammeter | |
| CN111752794B (en) | Method, system and chip for collecting power supply information | |
| CN117806900A (en) | Server management method, device, electronic equipment and storage medium | |
| CN113297020A (en) | Method, device and equipment for testing hardware module in chip and readable storage medium | |
| US10352999B2 (en) | Logic analyzer for evaluating an electronic product, method of retrieving data of the same, and method of performance testing | |
| CN108052354A (en) | Definite method, apparatus, processor and terminal of the application program without response | |
| CN114817339A (en) | Water quality monitoring method and system for multiple water areas, storage medium and electronic equipment | |
| CN113949673A (en) | Sensor data processing method, device, wearable electronic device and storage medium | |
| CN111459768A (en) | Hard disk management method, device, equipment and machine readable storage medium | |
| CN107066421B (en) | Oscilloscope and collected data reporting method thereof | |
| CN115202977A (en) | Chip running state monitoring method, system and chip | |
| CN115729729A (en) | A method, system, terminal device and storage medium for locating abnormal power consumption | |
| CN100474262C (en) | Fixed cycle operation method and system | |
| US8799753B2 (en) | Trace/failure observation system, trace/failure observation method, and trace/failure observation program | |
| CN113849375B (en) | Remote management method, system and medium for computer | |
| CN111371646A (en) | Detection method, detection device and detection equipment for performance of storage system | |
| CN112782642B (en) | Voltage qualification rate recording method and device for double-core intelligent ammeter |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20220812 | |
| CF01 | Termination of patent right due to non-payment of annual fee |