发明名称 METHOD FOR SIMULATING NUMBER OF INSTRUCTION EXECUTION CLOCK
摘要 PROBLEM TO BE SOLVED: To provide a method for simulating the number of instruction execution clocks for estimating the executing time of a program with an error which is negligible in practice while maintaining the simulation speed of an instruction set simulator. SOLUTION: While an instruction storage state is maintained and the number of execution clocks uniquely decided according to the present instruction storage state and an instruction and the next instruction storage state are successively obtained, the total sum of the number of execution clocks is calculated. The instruction storage state is obtained as the state of the number of instructions held in an instruction prefetch buffer for holding instructions preliminarily fetched prior to the decoding of the instruction, and takes a finite number of states decided by the structure of a processor. The decided number of execution clocks includes a parameter including the number of clocks in the bus cycle of load and store and the number of clocks in the bus cycle of instruction fetch, and the parameter is decided according to the bit width of the bus and the number of wait of the memory.
申请公布号 JP2001154882(A) 申请公布日期 2001.06.08
申请号 JP19990338864 申请日期 1999.11.30
申请人 MATSUSHITA ELECTRIC IND CO LTD 发明人 SUZUKI MASATO
分类号 G06F9/38;G06F11/28;(IPC1-7):G06F11/28 主分类号 G06F9/38
代理机构 代理人
主权项
地址