A circuit clock frequency inspection device and inspection method
By designing a circuit clock frequency inspection device in a large integrated circuit, using the clock source and output branch information collection unit and the coupling information generation unit, the problem of clock frequency verification complexity is solved, the inspection efficiency and accuracy are improved, and the system scalability.
Patent Information
- Application Number
- CN202210167504.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-23
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-02-23
AI Technical Summary
In large-scale integrated circuits, the number of clock sources and clock branches is large and the logic is complex, which leads to a reduction in the efficiency and accuracy of verification and inspection of clock frequencies, especially the debugging and debugging problems caused by changes in the coupling relationship between multiple sources and multiple output branches Scalability challenges.
A circuit clock frequency checking device is designed. Through the clock source information collection unit, the clock output branch information collection unit, the coupling information generation unit and the clock frequency calculation unit, a coupling information lookup table between the clock source and the clock output branch is established to achieve Efficiently index and calculate the expected frequency of the clock output branch, and improve inspection efficiency and accuracy by comparing the actual frequency.
It realizes efficient index utilization of clock source data information and clock output branch information, improves the efficiency and accuracy of circuit clock frequency inspection, and has good scalability and adaptability.
Smart Images

Figure CN114545214B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of clock frequency of integrated circuits, and in particular to a circuit clock frequency inspection device and inspection method. Background Art
[0002] Large integrated circuits require a clock generation module to provide the required clock for other modules. Checking the accuracy of the clock frequency generated by this part of the circuit is extremely important to ensure the normal operation of the entire chip.
[0003] At present, in the clock generation module circuit, the number of clock sources and clock branches is large and the control logic is complex, which leads to the following difficulties in the verification of this part of the circuit:
[0004] (1) There are many original clock sources, which brings challenges to the recording and retrieval of original clock sources. In order to meet the diversification of output clock frequencies in large integrated circuits, there will be multiple original clock sources upstream, which requires a large amount of data to record the source clock information. However, the huge amount of data makes it difficult to efficiently index and use the clock source information.
[0005] (2) The number of output clock branches is large, similar to complex clock sources, which makes the recording and retrieval of output clock frequencies extremely complicated, thus bringing challenges to the inspection of output clock branch frequencies;
[0006] (3) There is an operational logic between multiple sources and multiple output branches. The inspection device needs to establish a coupling relationship between the clock source and the output clock branch and perform operations. However, changes in the number of clock sources and clock branches at either end will cause the coupling relationship between the clock source and the clock branch to change exponentially, which brings challenges to the debugging and scalability of the inspection device and reduces the efficiency and accuracy of the circuit clock frequency inspection. Summary of the invention
[0007] The embodiments of the present invention provide a circuit clock frequency inspection device and inspection method, so as to realize efficient indexing and utilization of clock source data information and output clock branch information, and at the same time have high scalability, thereby improving the efficiency and accuracy of circuit clock frequency inspection.
[0008] In a first aspect, an embodiment of the present invention provides a circuit clock frequency checking device, comprising:
[0009] A clock source information collection unit, comprising a plurality of clock source information data slices; the clock source information data slices are used to store clock source information; the clock source information data slices correspond to clock sources one by one;
[0010] A clock output branch information collection unit, comprising a plurality of clock output branch information data slices; the clock output branch information data slices are used to store clock output branch information; the clock output branch information data slices correspond to the clock output branches one by one;
[0011] A clock frequency calculation unit, the clock frequency calculation unit is used to traverse the clock output branch and obtain the index number of the clock output branch and the clock output branch information data piece in the process of traversing the clock output branch;
[0012] A coupling information generating unit connected to the clock frequency calculating unit, the coupling information generating unit being used to determine the coupling logic information between the clock source and the clock output branch according to the index number of the clock output branch, and to generate a coupling information query table based on the coupling logic information and feed it back to the clock frequency calculating unit;
[0013] The clock frequency calculation unit is further used to obtain a corresponding clock source information data slice according to the index number of the clock output branch and the coupling information query table, and calculate the expected clock frequency of the clock output branch according to the clock source information on the clock source information data slice and the clock output branch information on the clock output branch information data slice;
[0014] A clock frequency comparison unit is used to receive the expected clock frequency calculated by the clock frequency calculation unit, obtain the actual clock frequency of the clock output branch, and check whether the actual clock frequency is accurate based on the expected clock frequency.
[0015] Optionally, the clock source information on the clock source information data slice includes reference clock frequency information, clock multiplication factor information, clock post-processing division factor information and clock source output clock frequency information; the clock source information collection unit includes:
[0016] a first data matrix generating subunit, the first data matrix generating subunit being used for arranging clock source information data slices of a plurality of clock sources to generate a first data matrix;
[0017] The first link credential archiving subunit is used to encode the index of the clock source information data piece in the first data matrix to form a first link credential when retrieving the clock source information data piece, and save the first link credential; the first link credential corresponds to the clock source information data piece one by one.
[0018] Optionally, the clock output branch information on the clock output branch information data slice includes data path selection branch information, data path frequency coefficient information and data path frequency division control information; the clock output branch information collection unit includes:
[0019] a second data matrix generating subunit, the second data matrix generating subunit being used for arranging the clock output branch information data slices of the plurality of clock output branches to generate a second data matrix;
[0020] The second link voucher archiving subunit is used to encode the index of the clock output branch information data piece in the second data matrix to form a second link voucher when retrieving the clock output branch information data piece, and save the second link voucher, and the second link voucher corresponds one-to-one to the clock output branch information data piece.
[0021] Optionally, the first link credential includes three levels of codes: a clock circuit module code, a clock circuit instance code and a clock source code; the clock source index number includes three levels of codes: a clock circuit module code, a clock circuit instance code and a clock source code; the clock source information collection unit also includes:
[0022] A clock source information data slice output subunit, the clock source information data slice output subunit being used to output a corresponding clock source information data slice when the received clock source index number matches the third-level code of the first link voucher;
[0023] The second link voucher includes three levels of codes: a clock circuit module code, a clock circuit instance code and a clock output branch code; the clock output branch index number includes three levels of codes: a clock circuit module code, a clock circuit instance code and a clock output branch code; the clock output branch information collection unit also includes:
[0024] A clock output branch information data slice output subunit, wherein the clock output branch information data slice output subunit is used to output the corresponding clock output branch information data slice when the received clock output branch index number matches the third-level code of the second link voucher.
[0025] Optionally, the clock source is used to provide a clock signal for one or more clock output branches; the clock source and the clock output branch belong to the same circuit instance; the clock circuit module code and the clock circuit instance code of the clock output branch are the same as the clock circuit module code and the clock circuit instance code of the clock source that provides the clock signal thereto.
[0026] Optionally, the clock frequency calculation unit includes: a clock output branch traverser and a clock frequency calculation subunit;
[0027] The clock output branch traverser is used to traverse the clock output branches in sequence, and send the circuit module code and the clock circuit instance code of the clock output branch determined during the traversal process to the coupling information generation unit;
[0028] The coupling information generating unit is further used to index the coupling logic information between multiple clock sources and multiple clock output branches in the same clock circuit instance under the same circuit module according to the circuit module code and the clock circuit instance code, and generate a coupling information query table based on the coupling logic information and feed it back to the clock frequency calculating subunit;
[0029] The clock frequency calculation subunit is used to determine the clock source code of the clock source corresponding to the traversed clock output branch according to the coupling information query table, and determine the clock source index number according to the clock circuit module code, the clock circuit instance code and the clock source code; wherein the clock source index number is used to retrieve the clock source information data piece in the clock source information library;
[0030] The clock frequency calculation subunit is further used to calculate the expected clock frequency of the clock output branch according to the clock source information on the clock source information data sheet and the clock output branch information on the clock output branch information data sheet.
[0031] Optionally, the clock source is used to provide a clock signal for one or more clock output branches; the clock source and the clock output branches belong to different circuit instances; the clock circuit module code and the clock circuit instance code of the clock output branches belonging to different circuit instances are different from at least one of the clock circuit module code and the clock circuit instance code of the clock source that provides the clock signal therefor.
[0032] Optionally, the clock frequency calculation unit includes: a clock output branch traverser and a clock frequency calculation subunit;
[0033] The clock output branch traverser is used to traverse the clock output branches in sequence, and send the three-level codes of the circuit module code, clock circuit instance code and clock output branch code of the clock output branch determined in the traversal process to the coupling information generation unit;
[0034] The coupling information generating unit is further used to index the coupling logic information between the clock output branch and the clock source providing the clock signal therefor according to the three-level codes of the circuit module code, the clock circuit instance code and the clock output branch code, and generate a coupling information query table based on the coupling logic information and feed it back to the clock frequency calculating subunit;
[0035] The clock frequency calculation subunit is used to determine the clock circuit module code, the clock circuit instance code and the clock source code of the clock source corresponding to the traversed clock output branch according to the coupling information query table, and determine the clock source index number; wherein the clock source index number is used to retrieve the clock source information data piece in the clock source information library;
[0036] The clock frequency calculation subunit is further used to calculate the expected clock frequency of the clock output branch according to the clock source information on the clock source information data sheet and the clock output branch information on the clock output branch information data sheet.
[0037] In a second aspect, an embodiment of the present invention provides a circuit clock frequency inspection method, which is performed by any circuit clock frequency inspection device described in the first aspect; comprising:
[0038] The clock source information collection unit stores a plurality of clock source information data pieces to form a clock source information database; the collected clock source information data pieces correspond to the clock sources one by one;
[0039] The clock output branch information collection unit stores a plurality of clock output branch information data pieces to form a clock output branch information database; the clock output branch information data pieces correspond to the clock output branches one by one;
[0040] The clock frequency calculation unit traverses the clock output branch, and determines the index number of the traversed clock output branch and the clock output branch information data piece in the process of traversing the clock output branch;
[0041] The coupling information generating unit determines the coupling logic information between the clock source and the clock output branch according to the index number of the clock output branch, and generates a coupling information query table based on the coupling logic information and feeds it back to the clock frequency calculating unit; the coupling information generating unit is connected to the clock frequency calculating unit;
[0042] The clock frequency calculation unit acquires a corresponding clock source information data piece according to the index number of the clock output branch and the coupling information query table;
[0043] The clock frequency calculation unit calculates the expected clock frequency of the clock output branch according to the clock source information on the clock source information data sheet and the clock output branch information on the clock output branch information data sheet;
[0044] The clock frequency comparison unit obtains the expected clock frequency and the actual clock frequency of the clock output branch, and checks whether the actual clock frequency is accurate based on the expected clock frequency.
[0045] Optionally, the clock frequency calculation unit includes: a clock output branch traverser and a clock frequency calculation subunit; the clock output branch index number includes three codes: a clock circuit module code, a clock circuit instance code and a clock output branch code; a clock source is used to provide a clock signal for one or more clock output branches; the clock source and the clock output branch belong to the same circuit instance; the clock circuit module code and the clock circuit instance code of the clock output branch are the same as the clock circuit module code and the clock circuit instance code of the clock source that provides the clock signal for the clock output branch;
[0046] The clock frequency calculation unit traverses the clock output branch and determines the index number of the traversed clock output branch in the process of traversing the clock output branch, including:
[0047] The clock output branch traverser traverses the clock output branch and determines the circuit module code and the clock circuit instance code of the clock output branch during the traversal process;
[0048] The clock frequency calculation unit acquires the corresponding clock source information data piece according to the index number of the clock output branch and the coupling information query table, including:
[0049] The clock frequency calculation subunit receives the coupling information query table fed back by the coupling information generation unit; the coupling information query table is generated by the coupling information generation unit according to the coupling logic information between the multiple clock sources and the multiple clock output branches indexed by the circuit module code and the clock circuit instance code;
[0050] The clock frequency calculation subunit determines the clock source code of the clock source corresponding to the traversed clock output branch according to the coupling information query table; and sends the clock source index number determined according to the clock circuit module code, the clock circuit instance code and the clock source code to the clock source information collection unit;
[0051] The clock frequency calculation subunit receives the clock source information data piece indexed by the clock source information collection unit according to the clock source index number.
[0052] Optionally, the clock frequency calculation unit includes: a clock output branch traverser and a clock frequency calculation subunit; the clock output branch index number includes three levels of codes: a clock circuit module code, a clock circuit instance code and a clock output branch code; a clock source is used to provide a clock signal for one or more clock output branches; the clock source and the clock output branch belong to different circuit instances; the clock circuit module code and the clock circuit instance code of the clock output branch are different from at least one of the clock circuit module code and the clock circuit instance code of the clock source that provides the clock signal for the clock output branch;
[0053] The clock frequency calculation unit traverses the clock output branch and determines the index number of the traversed clock output branch in the process of traversing the clock output branch, including:
[0054] The clock output branch traverser traverses the clock output branch and determines a three-level code consisting of a circuit module code, a clock circuit instance code and a clock output branch code of the clock output branch during the traversal process;
[0055] The clock frequency calculation unit acquires the corresponding clock source information data piece according to the index number of the clock output branch and the coupling information query table, including:
[0056] The clock frequency calculation subunit receives the coupling information query table fed back by the coupling information generation unit; the coupling information query table is generated by the coupling information generation unit according to the coupling logic information between the clock output branch and the clock source providing the clock signal therefor, which is indexed by the three-level code consisting of the circuit module code, the clock circuit instance code and the clock output branch code;
[0057] The clock frequency calculation subunit determines the clock circuit module code, the clock circuit instance code and the clock source code of the clock source corresponding to the traversed clock output branch according to the coupling information query table, and sends the determined clock source index number to the clock source information collection unit;
[0058] The clock frequency calculation subunit receives the clock source information data piece indexed by the clock source information collection unit according to the clock source index number.
[0059] An embodiment of the present invention provides a circuit clock frequency inspection device and inspection method, wherein the circuit clock frequency inspection device includes: a clock source information collection unit that collects clock source information data slices; an output clock branch information unit that collects output clock branch information data slices; a coupling information generation unit that stores coupling information between clock sources and output clock branches, the coupling information generation unit is used to index and generate a coupling information query table containing coupling information between clock sources and output clock branches in corresponding clock instances according to a clock module code and a clock instance code; and a clock frequency calculation unit that traverses data slices to obtain information data slices or obtains an index number of a data slice according to the coupling information query table, obtains information data slices according to the index number and the data slice link voucher matching, and calculates the actual value of the output clock frequency according to the data slice. The technical solution provided by the embodiment of the present invention establishes a clock source information cluster and an output clock branch information cluster to respectively store the clock source and clock branch information in the multi-branch clock generation circuit. When the clock source or the output clock branch in the circuit changes, it has excellent scalability and adaptability. A coupling information generation unit is used separately to record the logical relationship between the clock source and the output clock in the multi-branch clock generation circuit, and the clock source is decoupled from the output clock branch, further improving the scalability of the device. Thereby, efficient indexing and utilization of the clock source data information and the clock output branch information is achieved, while having high scalability and improving the efficiency and accuracy of the circuit clock frequency inspection. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 It is a composition and operation diagram of a circuit clock frequency inspection device provided by an embodiment of the present invention;
[0061] Figure 2 is a structural schematic diagram of a clock circuit module provided by an embodiment of the present invention;
[0062] Figure 3 It is a composition and operation schematic diagram of a clock frequency calculation unit provided by an embodiment of the present invention;
[0063] Figure 4 The present invention provides a flow chart of a method for checking a circuit clock frequency. DETAILED DESCRIPTION
[0064] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0065] The embodiment of the present invention provides a device for checking the clock frequency of a circuit. Figure 1is a schematic diagram of the structure of a circuit clock frequency inspection device provided by an embodiment of the present invention, with reference to Figure 1 , the circuit clock frequency checking device comprises:
[0066] The clock source information collection unit 10 includes a plurality of clock source information data pieces 11; the clock source information data pieces 11 are used to store clock source information; the clock source information data pieces 11 correspond to the clock sources one by one;
[0067] The clock output branch information collection unit 20 includes a plurality of clock output branch information data slices 21; the clock output branch information data slices 21 are used to store clock output branch information; the clock output branch information data slices 21 correspond to the clock output branches one by one;
[0068] A clock frequency calculation unit 40, the clock frequency calculation unit 40 is used to traverse the clock output branch and determine the index number of the clock output branch during the traversal of the clock output branch;
[0069] The coupling information generating unit 30 is connected to the clock frequency calculating unit 40 (the connection relationship is not shown). The coupling information generating unit 30 is used to determine the coupling logic information between the clock source and the clock output branch according to the index number of the clock output branch, and generate a coupling information query table 31 based on the coupling logic information and feed it back to the clock frequency calculating unit 40;
[0070] The clock frequency calculation unit 40 is further used to obtain the corresponding clock output branch information data slice 21 and the clock source information data slice 11 according to the index number of the clock output branch and the coupling information query table 31, and calculate the expected clock frequency of the clock output branch according to the clock source information on the clock source information data slice 11 and the clock output branch information on the clock output branch information data slice 21; wherein the expected clock frequency is used to check the accuracy of the actual clock frequency of the clock output branch;
[0071] The clock frequency comparison unit 50 is used to receive the expected clock frequency calculated by the clock frequency calculation unit 40, obtain the actual clock frequency of the clock output branch, and check whether the actual clock frequency is accurate according to the expected clock frequency.
[0072] Specifically, the clock source information collection unit 10 collects a plurality of clock source information data slices 11, so that a clock source information database can be established based on the plurality of clock source information data slices 11. The clock source information data slice 11 is used to store clock source information; the clock source information data slice 11 corresponds to the clock source one by one, that is, one clock source information data slice 11 stores information of one clock source. The number of clock source information data slices 11 collected by the clock source information collection unit 10 can be determined according to actual needs. The clock output branch information collection unit 20 collects a plurality of clock output branch information data slices 21, so that a clock output branch information database can be established based on the plurality of clock output branch information data slices 21. The clock output branch information data slice 21 is used to store clock output branch information; the clock output branch information data slice 21 corresponds to the clock output branch one by one; that is, one clock output branch information data slice 21 stores information of one clock output branch. The number of clock output branch information data slices 21 collected by the clock output branch information collection unit 20 can be determined according to actual needs.
[0073] There is a certain operation logic between multiple clock sources and multiple clock output branches, and the coupling information generation unit 30 records the coupling logic information between the clock source and the output clock branch. The coupling information generation unit 30 indexes the coupling logic information by the corresponding index number, and can generate a coupling information query table 31 according to the indexed coupling logic information. Among them, the coupling information query table 31 includes at least one corresponding relationship between a clock output branch and a clock source that provides a clock signal for it. That is, the coupling information query table 31 may include a corresponding relationship between multiple clock sources and multiple clock output branches. It should be noted that a clock source can provide clock signals to multiple clock output branches, and a clock output branch is provided with a clock signal by a clock source at a certain moment, and can be provided with clock signals by different clock sources at different moments.
[0074] The index number is provided by the clock frequency calculation unit 40. The clock frequency calculation unit 40 is used to traverse the clock output branch, and determine the index number of the clock output branch in the process of traversing the clock output branch; and send the index number to the coupling information generation unit 30, so that the coupling information generation unit 30 indexes the coupling logic information according to the index number, generates a coupling information query table 31 containing the clock output branch and the clock source providing the clock signal for it, and feeds it back to the clock frequency calculation unit 40. The index number may include multiple levels of codes from high to low, and the index number including the full level code can determine a unique clock output branch; the index number of the non-full level can determine multiple clock output branches. If the index number provided by the clock frequency calculation unit 40 to the coupling information generation unit 30 includes all the codes, the coupling information query table 31 includes the corresponding relationship between the clock output branch being checked and the clock source providing the clock signal for it. If the index number provided by the clock frequency calculation unit 40 to the coupling information generation unit 30 includes part of the codes, the coupling information query table 31 may include the corresponding relationship between multiple clock sources and multiple clock output branches. The clock branch and the clock source branch that provides the clock signal therefor may belong to the same circuit or different circuits.
[0075] The clock frequency calculation unit 40 can also obtain the corresponding clock output branch information data piece 21 and clock source information data piece 11 according to the index number of the clock output branch and the coupling information query table 31. Among them, the clock frequency calculation unit 40 first determines the clock output branch of the coupling relationship to be queried according to the index number of the clock output branch, and then determines the clock source corresponding to the clock output branch and the full-level index number of the clock source data piece according to the coupling information query table 31, so that the corresponding clock source data piece can be obtained from the clock source database according to the index number of the clock source data piece. For the acquisition of the clock output branch information data piece 21, the clock frequency calculation unit 40 can determine the index number of the clock output branch when traversing the clock output branch, and then can obtain the corresponding clock output branch information data piece 21 from the clock output branch information collection unit 20 according to the index number of the clock output branch. The clock frequency calculation unit 40 calculates the expected clock frequency of the clock output branch according to the clock source information on the clock source information data piece 11 and the clock output branch information on the clock output branch information data piece 21; wherein the expected clock frequency is used to check the accuracy of the actual clock frequency of the clock output branch. If the actual value is different from the expected value, the actual clock frequency checked is wrong.
[0076] It should be noted that the coupling information generation unit is indexed according to the clock module code and the clock instance code, and a query can be performed as long as this index is available. This index can be provided in any manner, and in the embodiment of the present invention, it is provided by the clock branch traverser when traversing the clock output branch. However, the present invention is not limited to this method of providing an index, and can also be directly specified or otherwise determined.
[0077] Optionally, the clock source information on the clock source information data sheet 11 includes reference clock frequency information, clock multiplication factor information, clock post-processing division factor information and clock source output clock frequency information; the clock source information collection unit 10 includes:
[0078] A first data matrix generating subunit, the first data matrix generating subunit is used to arrange the clock source information data slices of a plurality of clock sources to generate a first data matrix;
[0079] The first link voucher archiving subunit is used to encode the index of the clock source information data piece in the first data matrix to form a first link voucher when retrieving the clock source information data piece 11, and save the first link voucher; the first link voucher corresponds to the clock source information data piece 11 one by one. (The first link voucher archiving unit and the first data matrix generating subunit are not shown)
[0080] Specifically, the clock source information data slice 11 includes reference clock frequency information, clock multiplication coefficient information, clock post-processing division coefficient information, clock source output clock frequency information, etc., including but not limited to the above information. The first data matrix generation subunit uniformly arranges the above information and generates a data matrix (first data matrix) in a unified format. The first link voucher archiving subunit uniformly numbers this cluster of data slices in the data matrix as the link voucher (first link voucher) of the clock source information data slice 11. This cluster of link vouchers is archived to form a clock source information database. The clock source information data slice 11 corresponds to the first link voucher one by one, that is, the clock source information data slice 11 can be determined by determining the first link voucher.
[0081] Among them, the first link certificate is composed of three levels of codes: clock circuit module code, clock circuit instance code and clock source code. The circuit clock frequency inspection device provided by the embodiment of the present invention can inspect different clock circuits, and the clock circuit is determined by two levels of codes: clock circuit module code and clock circuit instance code. In every two clock circuits, at least one of the clock circuit module code and the clock circuit instance code is different. The clock circuit module code corresponds to the first-level index, and the clock circuit instance code corresponds to the second-level index. If the clock circuit module codes of two clock circuits are the same, the structures of the two clock circuits are the same or similar. If the clock circuit module codes of two clock circuits are different, the structures of the two clock circuits are different and the difference is large.
[0082] It can be understood that if the clock circuit module codes of two clock circuits are the same, the two clock circuits belong to the same clock circuit module. Figure 2 is a schematic diagram of a clock circuit module provided by an embodiment of the present invention, with reference to Figure 2 , the clock circuit module 100 includes multiple clock circuit instances 110, and the clock circuit instance code represents the code of the clock circuit instance 110 in the clock circuit module 100. The clock source code corresponds to the three-level index, and each clock circuit includes one or more clock sources 111 ( Figure 2 In the figure, one of the clock circuit instances includes two clock sources), and the clock source code represents the code of the clock source 111 in the clock circuit instance 110.
[0083] For example, the first link voucher of a clock source information data piece 11 is 1-1-2, and the first link voucher of another clock source information data piece 11 is 1-1-3; then the clock sources corresponding to the two clock source information data pieces belong to the same clock circuit instance under the same clock circuit module. For example, the first link voucher of a clock source information data piece 11 is 1-1-2, and the first link voucher of another clock source information data piece 11 is 1-2-2; then the clock sources corresponding to the two clock source information data pieces belong to different clock circuit instances under the same clock circuit module. For example, the first link voucher of a clock source information data piece 11 is 1-1-2, and the first link voucher of another clock source information data piece 11 is 2-1-2; then the clock sources corresponding to the two clock source information data pieces belong to different clock circuit modules. The first link voucher can also be represented by letters, or by a combination of letters and numbers, or by other representations, and the representation method of the link voucher is not limited here.
[0084] Correspondingly, the clock source index number includes three levels of codes: clock circuit module code, clock circuit instance code and clock source code. When acquiring the clock source information data piece, the link voucher of the clock source information data piece 11 is traversed and compared in sequence from the high-level index to the low-level index (from the first-level index to the third-level index) until the clock source information data piece 11 corresponding to the link is retrieved. Optionally, the clock source information collection unit 10 also includes: a clock source information data piece output subunit (not shown), which is used to output the corresponding clock source information data piece 11 when the received clock source index number matches the third-level code of the first link voucher.
[0085] Optionally, the clock output branch information on the clock output branch information data slice 21 includes data path selection branch information, data path frequency coefficient information and data path frequency division control information; the clock output branch information collection unit 20 includes:
[0086] A second data matrix generating subunit, the second data matrix generating subunit is used to arrange the clock output branch information data pieces 21 of the plurality of clock output branches to generate a second data matrix;
[0087] The second link voucher archiving subunit is used to encode the index of the clock output branch information data piece 21 in the second data matrix to form a second link voucher when retrieving the clock output branch information data piece 21, and save the second link voucher, and the second link voucher corresponds to the clock output branch information data piece 21 one by one. (The second link voucher archiving unit and the second data matrix generating subunit are not shown)
[0088] Specifically, the output clock branch information data piece includes data path selection branch information, data path frequency coefficient information, data path frequency division control information, etc., including but not limited to the above information. The second data matrix generation subunit arranges and archives multiple data information pieces to generate a data matrix (second data matrix) in a unified format. The second link voucher archiving subunit uniformly numbers this cluster of data information pieces in the data matrix as the link voucher (second link voucher) of the clock branch information data piece, and archives this cluster of link vouchers to form a clock output branch information database. The clock output branch information data piece 21 corresponds to the second link voucher one by one, that is, the clock output branch information data piece 21 can be determined by determining the second link voucher.
[0089] The second link voucher includes three levels of codes: clock circuit module code, clock circuit instance code and clock output branch code. The clock circuit module code and clock circuit instance code of the second link voucher refer to the clock circuit module code and clock circuit instance code of the first link voucher, and will not be repeated here. Figure 2Each clock circuit 110 also includes one or more clock output branches 112 ( Figure 2 In the example of FIG. 1 , three clock output branches are drawn as an example. The clock source in each clock circuit provides a clock signal to the clock output branch in the same clock circuit. The clock output branch code represents the code of the clock output branch in the clock circuit example. One clock source can provide clock signals to multiple clock output branches, and one clock output branch is provided with a clock signal by one clock source at the same time.
[0090] Correspondingly, the clock output branch index number includes the three-level code of the clock circuit module code, the clock circuit instance code and the clock output branch code. When the clock output branch information data piece is acquired, the link voucher of the clock output branch information data piece 21 is traversed and compared in sequence from the high-level index to the low-level index (from the first-level index to the third-level index) until the clock output branch information data piece 21 corresponding to the link is retrieved. Optionally, the clock output branch information collection unit 20 also includes: a clock output branch information data piece output subunit (not shown), which is used to output the corresponding clock output branch information data piece 21 when the received clock output branch index number matches the third-level code of the second link voucher.
[0091] In the embodiment of the present invention, the clock circuit module code and the clock circuit instance code are used as indexes of data slices in the information database, which improves the aggregation of information storage, reduces the time cost of searching for information, and greatly improves the operating efficiency of the device.
[0092] Optionally, the clock source is used to provide a clock signal for one or more clock output branches; the clock source and the clock output branch belong to the same circuit instance; the clock circuit module code and the clock circuit instance code of the clock output branch are the same as the clock circuit module code and the clock circuit instance code of the clock source that provides the clock signal to it. Figure 3 is a schematic diagram of the composition and operation of a clock frequency calculation unit provided by an embodiment of the present invention, with reference to Figure 3 , combined with Figure 1 , the clock frequency calculation unit 40 includes: a clock output branch traverser 41 and a clock frequency calculation subunit 42;
[0093] The clock output branch traverser 41 is used to traverse the clock output branches in sequence, and send the circuit module code and the clock circuit instance code of the clock output branch determined in the traversal process to the coupling information generating unit 30;
[0094] The coupling information generating unit 30 is further used to index the coupling logic information between multiple clock sources and multiple clock output branches in the same clock circuit instance under the same circuit module according to the circuit module code and the clock circuit instance code, and generate a coupling information query table 31 based on the coupling logic information and feed it back to the clock frequency calculating subunit;
[0095] The clock frequency calculation subunit is further used to determine the clock source code of the clock source corresponding to the traversed clock output branch according to the coupling information query table 31, and determine the clock source index number according to the clock circuit module code, the clock circuit instance code and the clock source code; wherein the clock source index number is used to determine the clock source information data piece 11; the clock output branch information data piece 21 is determined during the traversal process of the clock output branch traverser;
[0096] The clock frequency calculation subunit 42 is used to calculate the expected clock frequency of the clock output branch according to the clock source information on the clock source information data sheet 11 and the clock output branch information on the clock output branch information data sheet 21 .
[0097] Specifically, the clock frequency calculation unit 40 is built with a clock output branch traverser 41, which can traverse all output clock branches and determine the circuit module code, clock circuit instance code and clock output branch code of the clock output branch during the traversal process. The circuit module code and clock circuit instance code of the clock output branch determined during the traversal process are sent to the coupling information generation unit 30. The coupling information generation unit 30 indexes the coupling logic information through the clock circuit module code and the clock circuit instance code, and generates a coupling information query table 31 containing the correspondence between all clock sources and all output clock branches in the clock circuit to which the output clock branch belongs.
[0098] After the coupling information generation unit 30 feeds back the coupling information query table 31 to the clock frequency calculation subunit 42, the clock frequency calculation subunit 42 can determine the clock source index number that supplies the clock to the output clock branch to be checked according to the coupling information query table 31, thereby obtaining the corresponding clock source information data slice 11 from the clock source information database according to the clock source index number, and then the clock frequency calculation subunit 42 can calculate the expected clock frequency of the clock output branch according to the clock source information on the clock source information data slice 11 and the clock output branch information on the clock output branch information data slice 21. The device uses the clock circuit module code and the clock circuit instance code as the index of the coupling logic information, which improves the aggregation degree of the coupling information in the coupling information query table 31. When traversing the clock output branches in the same clock circuit instance under the same clock circuit module, the coupling information query table 31 only needs to be obtained once, without multiple acquisitions, which reduces the time cost of searching for information and greatly improves the operation efficiency of the device.
[0099] Optionally, the clock output branch traverser 41 directly traverses the clock output branch data slices 21, and determines the index number of each clock output branch data slice in the process of traversing the clock output branch data slices 21. By directly traversing the clock output branch data slices, it is no longer necessary to obtain the clock output branch data slices from the clock output branch information database according to the index numbers of the clock output branch data slices, which simplifies the steps, further reduces the time cost of searching for information, and greatly improves the operating efficiency of the device.
[0100] The coupling information query table generated by the coupling information generation unit includes the correspondence between the clock source and the clock output branch, and also includes the index number of the clock source information and the index number of the clock branch information. After the clock frequency calculation unit obtains the coupling information query table, it can obtain the clock source information data piece according to the index matching first connection credential.
[0101] Optionally, for a clock source used to provide a clock signal for one or more clock output branches; the clock source and the clock output branch belong to different circuit instances; the clock circuit module code and the clock circuit instance code of the clock output branch belonging to the different circuit instance are different from at least one of the clock circuit module code and the clock circuit instance code of the clock source providing the clock signal therefor;
[0102] The clock output branch traverser 41 is used to traverse the clock output branches in sequence, and send the circuit module code, clock circuit instance code and clock output branch code of the clock output branch determined in the traversal process to the coupling information generation unit 30;
[0103] The coupling information generating unit 30 is further used to index the coupling logic information between the clock output branch and the clock source providing the clock signal therefor according to the three-level codes of the circuit module code, the clock circuit instance code and the clock output branch code, and generate the coupling information query table 31 based on the coupling logic information and feed it back to the clock frequency calculating subunit 42;
[0104] The clock frequency calculation subunit 42 is used to determine the clock circuit module code, the clock circuit instance code and the clock source code of the clock source corresponding to the traversed clock output branch according to the coupling information query table 31, so as to determine the clock source index number; wherein the clock source index number is used to retrieve the clock source information data piece in the clock source information library;
[0105] The clock frequency calculation subunit 42 is further used to calculate the expected clock frequency of the clock output branch according to the clock source information on the clock source information data sheet 11 and the clock output branch information on the clock output branch information data sheet 21 .
[0106] An embodiment of the present invention further provides a method for checking a circuit clock frequency, which is performed by the circuit clock frequency checking device described in any of the above embodiments; Figure 4 is a flow chart of a circuit clock frequency checking method provided by an embodiment of the present invention, with reference to Figure 4 , the circuit clock frequency checking methods include:
[0107] S110. The clock source information collection unit stores a plurality of clock source information data pieces to form a clock source information database; the clock source information data pieces correspond to the clock sources one by one.
[0108] S120. The clock output branch information collection unit stores a plurality of clock output branch information data pieces to form a clock output branch information database; the clock output branch information data pieces correspond to the clock output branches one by one.
[0109] S130. The clock frequency calculation unit traverses the clock output branch, and determines the index number of the traversed clock output branch and the clock output branch information data piece in the process of traversing the clock output branch.
[0110] S140, the coupling information generating unit determines the coupling logic information between the clock source and the clock output branch according to the index number of the clock output branch, and generates a coupling information query table based on the coupling logic information and feeds it back to the clock frequency calculating unit; the coupling information generating unit is connected to the clock frequency calculating unit.
[0111] S150. The clock frequency calculation unit obtains a corresponding clock source information data piece according to the index number of the clock output branch and the coupling information query table.
[0112] S160. The clock frequency calculation unit calculates the expected clock frequency of the clock output branch according to the clock source information on the clock source information data sheet and the clock output branch information on the clock output branch information data sheet; wherein the expected clock frequency is used to check the actual clock frequency of the clock output branch.
[0113] S170 , the clock frequency comparison unit obtains the expected clock frequency and the actual clock frequency of the clock output branch, and checks whether the actual clock frequency is accurate based on the expected clock frequency.
[0114] An embodiment of the present invention provides a method for checking the clock frequency of a circuit. By establishing a clock source information collection unit and an output clock branch information collection unit to store information of a multi-branch clock generation circuit, the method has excellent scalability and adaptability when the clock source and the output clock branch in the circuit change. A coupling information generation unit is used alone to calculate the logical relationship between the clock source and the output clock in the multi-branch clock generation circuit, and the clock source is decoupled from the output clock branch, which greatly improves the scalability of the device. Thereby, efficient indexing and utilization of the clock source data information and the clock output branch information is achieved, while having high scalability and improving the efficiency and accuracy of circuit clock frequency inspection.
[0115] The clock frequency calculation unit includes: a clock output branch traverser and a clock frequency calculation subunit; the clock output branch index number includes three levels of codes: a clock circuit module code, a clock circuit instance code and a clock output branch code.
[0116] Optionally, the clock frequency calculation unit includes: a clock output branch traverser and a clock frequency calculation subunit; the clock output branch index number includes three types of codes: clock circuit module code, clock circuit instance code and clock output branch code.
[0117] For a clock source used to provide a clock signal for one or more clock output branches; the clock source and the clock output branch belong to the same circuit instance; the clock circuit module code and the clock circuit instance code of the clock output branch are the same as the clock circuit module code and the clock circuit instance code of the clock source that provides the clock signal for the clock source:
[0118] The clock frequency calculation unit traverses the clock output branch and determines the index number of the traversed clock output branch in the process of traversing the clock output branch, including:
[0119] The clock output branch traverser traverses the clock output branch and determines the circuit module code and the clock circuit instance code of the clock output branch during the traversal process;
[0120] The clock frequency calculation unit acquires the corresponding clock source information data piece according to the index number of the clock output branch and the coupling information query table, including:
[0121] The clock frequency calculation subunit receives the coupling information query table fed back by the coupling information generation unit; the coupling information query table is generated by the coupling information generation unit according to the coupling logic information between the multiple clock sources and the multiple clock output branches indexed by the circuit module code and the clock circuit instance code;
[0122] The clock frequency calculation subunit determines the clock source code of the clock source corresponding to the traversed clock output branch according to the coupling information query table; and sends the clock source index number determined according to the clock circuit module code, the clock circuit instance code and the clock source code to the clock source information collection unit;
[0123] The clock frequency calculation subunit receives the clock source information data piece indexed by the clock source information collection unit according to the clock source index number.
[0124] For the case where a clock source is used to provide a clock signal for one or more clock output branches; the clock source and the clock output branch belong to different circuit instances; the clock circuit module code and the clock circuit instance code of the clock output branch are different from at least one of the clock circuit module code and the clock circuit instance code of the clock source that provides the clock signal for the clock output branch,
[0125] The clock frequency calculation unit traverses the clock output branch and determines the index number of the traversed clock output branch in the process of traversing the clock output branch, including:
[0126] The clock output branch traverser traverses the clock output branch and determines a three-level code consisting of a circuit module code, a clock circuit instance code and a clock output branch code of the clock output branch during the traversal process;
[0127] The clock frequency calculation unit obtains the corresponding clock source information data piece according to the index number of the clock output branch and the coupling information query table, including:
[0128] The clock frequency calculation subunit receives the coupling information query table fed back by the coupling information generation unit; the coupling information query table is generated by the coupling information generation unit according to the coupling logic information between the clock output branch and the clock source providing the clock signal therefor, which is indexed by the three-level code consisting of the circuit module code, the clock circuit instance code and the clock output branch code;
[0129] The clock frequency calculation subunit determines the clock circuit module code, the clock circuit instance code and the clock source code of the clock source corresponding to the traversed clock output branch according to the coupling information query table, and sends the determined clock source index number to the clock source information collection unit;
[0130] The clock frequency calculation subunit receives the clock source information data piece indexed by the clock source information collection unit according to the clock source index number.
[0131] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A circuit clock frequency inspection device, characterized in that: include: A clock source information collection unit, including a plurality of clock source information data slices; The clock source information data slice is used to store clock source information; The clock source information data piece corresponds one-to-one to the clock source; A clock output branch information collection unit, comprising a plurality of clock output branch information data slices; the clock output branch information data slices are used to store clock output branch information; The clock output branch information data pieces correspond one to one with the clock output branches; A clock frequency calculation unit, the clock frequency calculation unit is used to traverse the clock output branch and obtain the index number of the clock output branch and the clock output branch information data piece in the process of traversing the clock output branch; A coupling information generating unit connected to the clock frequency calculating unit, the coupling information generating unit being used to determine the coupling logic information between the clock source and the clock output branch according to the index number of the clock output branch, and to generate a coupling information query table based on the coupling logic information and feed it back to the clock frequency calculating unit; The clock frequency calculation unit is further used to obtain a corresponding clock source information data slice according to the index number of the clock output branch and the coupling information query table, and calculate the expected clock frequency of the clock output branch according to the clock source information on the clock source information data slice and the clock output branch information on the clock output branch information data slice; A clock frequency comparison unit, the clock frequency comparison unit is used to receive the expected clock frequency calculated by the clock frequency calculation unit, and obtain the actual clock frequency of the clock output branch, and check whether the actual clock frequency is accurate according to the expected clock frequency; The clock source information on the clock source information data sheet includes reference clock frequency information, clock multiplication factor information, clock post-processing division factor information and clock source output clock frequency information; The clock source information collection unit includes: a first data matrix generating subunit, the first data matrix generating subunit being used for arranging clock source information data slices of a plurality of clock sources to generate a first data matrix; a first link voucher archiving subunit, the first link voucher archiving subunit being used to encode the index of the clock source information data piece in the first data matrix to form a first link voucher when retrieving the clock source information data piece, and to save the first link voucher; the first link voucher corresponds to the clock source information data piece one by one; The clock output branch information on the clock output branch information data slice includes data path selection branch information, data path frequency coefficient information and data path frequency division control information; the clock output branch information collection unit includes: a second data matrix generating subunit, the second data matrix generating subunit being used for arranging the clock output branch information data slices of the plurality of clock output branches to generate a second data matrix; a second link voucher archiving subunit, the second link voucher archiving subunit being used to encode the index of the clock output branch information data piece in the second data matrix to form a second link voucher when retrieving the clock output branch information data piece, and to save the second link voucher, wherein the second link voucher corresponds to the clock output branch information data piece in a one-to-one manner; The first link credential includes three levels of codes: a clock circuit module code, a clock circuit instance code and a clock source code; the clock source index number includes three levels of codes: a clock circuit module code, a clock circuit instance code and a clock source code; the clock source information collection unit also includes: A clock source information data slice output subunit, the clock source information data slice output subunit being used to output a corresponding clock source information data slice when the received clock source index number matches the third-level code of the first link voucher; The second link voucher includes three levels of codes: a clock circuit module code, a clock circuit instance code and a clock output branch code; the clock output branch index number includes three levels of codes: a clock circuit module code, a clock circuit instance code and a clock output branch code; the clock output branch information collection unit also includes: A clock output branch information data slice output subunit, wherein the clock output branch information data slice output subunit is used to output the corresponding clock output branch information data slice when the received clock output branch index number matches the third-level code of the second link voucher.
2. The circuit clock frequency inspection device according to claim 1, characterized in that: The clock source is used to provide a clock signal for one or more clock output branches; the clock source and the clock output branch belong to the same circuit instance; the clock circuit module code and the clock circuit instance code of the clock output branch are the same as the clock circuit module code and the clock circuit instance code of the clock source that provides the clock signal to it.
3. The circuit clock frequency inspection device according to claim 2, characterized in that: The clock frequency calculation unit includes: a clock output branch traverser and a clock frequency calculation subunit; The clock output branch traverser is used to traverse the clock output branches in sequence, and send the circuit module code and the clock circuit instance code of the clock output branch determined during the traversal process to the coupling information generation unit; The coupling information generating unit is further used to index the coupling logic information between multiple clock sources and multiple clock output branches in the same clock circuit instance under the same circuit module according to the circuit module code and the clock circuit instance code, and generate a coupling information query table based on the coupling logic information and feed it back to the clock frequency calculating subunit; The clock frequency calculation subunit is used to determine the clock source code of the clock source corresponding to the traversed clock output branch according to the coupling information query table, and determine the clock source index number according to the clock circuit module code, the clock circuit instance code and the clock source code; wherein the clock source index number is used to retrieve the clock source information data piece in the clock source information library; The clock frequency calculation subunit is further used to calculate the expected clock frequency of the clock output branch according to the clock source information on the clock source information data sheet and the clock output branch information on the clock output branch information data sheet.
4. The circuit clock frequency inspection device according to claim 1, characterized in that: The clock source is used to provide a clock signal for one or more clock output branches; the clock source and the clock output branches belong to different circuit instances; The clock circuit module code and the clock circuit instance code of the clock output branch in different circuit instances are different from at least one of the clock circuit module code and the clock circuit instance code of the clock source providing the clock signal therefor.
5. The circuit clock frequency inspection device according to claim 4, characterized in that: The clock frequency calculation unit includes: a clock output branch traverser and a clock frequency calculation subunit; The clock output branch traverser is used to traverse the clock output branches in sequence, and send the three-level codes of the circuit module code, clock circuit instance code and clock output branch code of the clock output branch determined in the traversal process to the coupling information generation unit; The coupling information generating unit is further used to index the coupling logic information between the clock output branch and the clock source providing the clock signal therefor according to the three-level codes of the circuit module code, the clock circuit instance code and the clock output branch code, and generate a coupling information query table based on the coupling logic information and feed it back to the clock frequency calculating subunit; The clock frequency calculation subunit is used to determine the clock circuit module code, the clock circuit instance code and the clock source code of the clock source corresponding to the traversed clock output branch according to the coupling information query table, so as to determine the clock source index number; wherein the clock source index number is used to retrieve the clock source information data piece in the clock source information library; The clock frequency calculation subunit is further used to calculate the expected clock frequency of the clock output branch according to the clock source information on the clock source information data sheet and the clock output branch information on the clock output branch information data sheet.
6. A method for checking a circuit clock frequency, characterized in that: The method is performed by the circuit clock frequency checking device according to any one of claims 1 to 5; comprising: The clock source information collection unit stores a plurality of clock source information data pieces to form a clock source information database; the clock source information data pieces correspond one to one with the clock sources; The clock output branch information collection unit stores a plurality of clock output branch information data pieces to form a clock output branch information database; the clock output branch information data pieces correspond to the clock output branches one by one; The clock frequency calculation unit traverses the clock output branch, and determines the index number of the traversed clock output branch and the clock output branch information data piece in the process of traversing the clock output branch; The coupling information generating unit determines the coupling logic information between the clock source and the clock output branch according to the index number of the clock output branch, and generates a coupling information query table based on the coupling logic information and feeds it back to the clock frequency calculating unit; the coupling information generating unit is connected to the clock frequency calculating unit; The clock frequency calculation unit acquires a corresponding clock source information data piece according to the index number of the clock output branch and the coupling information query table; The clock frequency calculation unit calculates the expected clock frequency of the clock output branch according to the clock source information on the clock source information data sheet and the clock output branch information on the clock output branch information data sheet; The clock frequency comparison unit obtains the expected clock frequency and the actual clock frequency of the clock output branch, and checks whether the actual clock frequency is accurate based on the expected clock frequency.
7. The circuit clock frequency inspection method according to claim 6, characterized in that: The clock frequency calculation unit comprises: a clock output branch traverser and a clock frequency calculation subunit; the clock output branch index number comprises three codes: a clock circuit module code, a clock circuit instance code and a clock output branch code; a clock source is used to provide a clock signal for one or more clock output branches; the clock source and the clock output branch belong to the same circuit instance; the clock circuit module code and the clock circuit instance code of the clock output branch are the same as the clock circuit module code and the clock circuit instance code of the clock source that provides the clock signal for the clock output branch; The clock frequency calculation unit traverses the clock output branch and determines the index number of the traversed clock output branch in the process of traversing the clock output branch, including: The clock output branch traverser traverses the clock output branch and determines the circuit module code and the clock circuit instance code of the clock output branch during the traversal process; The clock frequency calculation unit acquires the corresponding clock source information data piece according to the index number of the clock output branch and the coupling information query table, including: The clock frequency calculation subunit receives the coupling information query table fed back by the coupling information generation unit; the coupling information query table is generated by the coupling information generation unit according to the coupling logic information between the multiple clock sources and the multiple clock output branches indexed by the circuit module code and the clock circuit instance code; The clock frequency calculation subunit determines the clock source code of the clock source corresponding to the traversed clock output branch according to the coupling information query table; and sends the clock source index number determined according to the clock circuit module code, the clock circuit instance code and the clock source code to the clock source information collection unit; The clock frequency calculation subunit receives the clock source information data piece indexed by the clock source information collection unit according to the clock source index number.
8. The circuit clock frequency inspection method according to claim 6, characterized in that: The clock frequency calculation unit comprises: a clock output branch traverser and a clock frequency calculation subunit; the clock output branch index number comprises three levels of codes: a clock circuit module code, a clock circuit instance code and a clock output branch code; a clock source is used to provide a clock signal for one or more clock output branches; the clock source and the clock output branch belong to different circuit instances; the clock circuit module code and the clock circuit instance code of the clock output branch are different from at least one of the clock circuit module code and the clock circuit instance code of the clock source that provides the clock signal for the clock output branch; The clock frequency calculation unit traverses the clock output branch and determines the index number of the traversed clock output branch in the process of traversing the clock output branch, including: The clock output branch traverser traverses the clock output branch and determines a three-level code consisting of a circuit module code, a clock circuit instance code and a clock output branch code of the clock output branch during the traversal process; The clock frequency calculation unit acquires the corresponding clock source information data piece according to the index number of the clock output branch and the coupling information query table, including: The clock frequency calculation subunit receives the coupling information query table fed back by the coupling information generation unit; the coupling information query table is generated by the coupling information generation unit according to the coupling logic information between the clock output branch and the clock source providing the clock signal therefor, which is indexed by the three-level code consisting of the circuit module code, the clock circuit instance code and the clock output branch code; The clock frequency calculation subunit determines the clock circuit module code, the clock circuit instance code and the clock source code of the clock source corresponding to the traversed clock output branch according to the coupling information query table, and sends the determined clock source index number to the clock source information collection unit; The clock frequency calculation subunit receives the clock source information data piece indexed by the clock source information collection unit according to the clock source index number.
Citation Information
Patent Citations
Device and method for implementing optical network unit switching clock source
CN101860430A
Light source frequency detection circuit using bipolar transistor
CN101868968A
