Clock simulation device and methods thereof
First Claim
Patent Images
1. A method comprising:
- receiving a design file representative of a data processing device;
receiving at a computer a first frequency value indicating a frequency of a first external clock signal to be provided to a first external interface of the data processing device;
receiving at the computer a second frequency value indicating a frequency of a second external clock signal to be provided to a second external interface of the data processing device;
identifying a plurality of internal clock signals corresponding to internal nodes of the data processing device, the internal clock signals generated internally by one or more modules of the data processing device;
for each internal clock signal of the plurality of internal clock signals, determining a multiplier expressing a ratio between a frequency of the internal clock signal and the first frequency value, thereby determining a plurality of multipliers;
determining at the computer a first least common multiple representing a least common multiple of the plurality of multipliers;
determining at the computer a second least common multiple representing a least common multiple of the first frequency value and the second frequency value;
determining at the computer a first pulse width of the first external clock signal based on the first least common multiple and the second least common multiple; and
simulating operation of the data processing device based on the first external clock signal having the first pulse width.
31 Assignments
0 Petitions
Accused Products
Abstract
A pulse width of a simulated external system clock is set by determining a least common multiple of the frequency of selected internal clock signals relative to the frequency of the external system clock. The pulse width can be further adjusted based on the frequency of simulated external clocks. By setting the pulse width of the simulated external system clock based on the least common multiple value, the time required to complete the simulation can be reduced while ensuring proper operation of the simulated clock signals during the simulation.
46 Citations
18 Claims
-
1. A method comprising:
-
receiving a design file representative of a data processing device; receiving at a computer a first frequency value indicating a frequency of a first external clock signal to be provided to a first external interface of the data processing device; receiving at the computer a second frequency value indicating a frequency of a second external clock signal to be provided to a second external interface of the data processing device; identifying a plurality of internal clock signals corresponding to internal nodes of the data processing device, the internal clock signals generated internally by one or more modules of the data processing device; for each internal clock signal of the plurality of internal clock signals, determining a multiplier expressing a ratio between a frequency of the internal clock signal and the first frequency value, thereby determining a plurality of multipliers; determining at the computer a first least common multiple representing a least common multiple of the plurality of multipliers; determining at the computer a second least common multiple representing a least common multiple of the first frequency value and the second frequency value; determining at the computer a first pulse width of the first external clock signal based on the first least common multiple and the second least common multiple; and simulating operation of the data processing device based on the first external clock signal having the first pulse width. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method, comprising:
-
receiving a design file representative of a data processing device; determining at a computer a plurality of external clock signals to be simulated, each external clock signal of the plurality of external clock signals to be provided to corresponding external interfaces of the data processing device, the plurality of external clock signals including a first external clock signal having a first frequency; determining at the computer a plurality of internal clock signals of the data processing device, the internal clock signals corresponding to internal nodes of the data processing device, the internal clock signals generated internally by one or more modules of the data processing device; for each internal clock signal of the plurality of internal clock signals, determining a ratio between a frequency of the internal clock signal and the first frequency, thereby determining a plurality of frequency ratios; determining at the computer a first least common multiple representing a least common multiple of the plurality of frequency ratios; determining at the computer a second least common multiple representing a least common multiple of a frequency of each of the plurality of external clock signals; setting a number of simulation time intervals associated with the first external clock signal to be simulated based on the first least common multiple and the second least common multiple; and simulating, at the computer operation of the data processing device based on the first external clock signal by determining a simulated state of the data processing device at each of the simulation time intervals. - View Dependent Claims (11)
-
-
12. A non-transitory computer readable medium storing a set of instructions, the set of instructions comprising instructions to manipulate a processing system to:
-
determine a first least common multiple representing a least common multiple of a first plurality of frequency values, each of the first plurality of frequency values indicating a frequency of a corresponding one of a plurality of external clock signals available to be simulated, each external clock signal of the plurality of external clock signals to be provided to a corresponding external interface of a data processing device to be simulated, the plurality of external clock signals including a first external clock signal having a first frequency; determine a second least common multiple representing a least common multiple of plurality of a frequency ration, each frequency ratio of the plurality of frequency ratios expressing a ratio between a frequency of an internal clock signal of a plurality of internal clock signals and the first frequency, the internal clock signals corresponding to internal nodes of the data processing device, the internal clock signals generated internally by of one or more modules of the data processing device; determine a first pulse width of a first clock signal of the plurality of clock signals based on the first least common multiple and the second least common multiple; and simulate operation of the data processing device based on the first external clock signal having the first pulse width. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
Specification