|
|
 | | From: | OJ | | Subject: | PowerPC cycle/stage simulator | | Date: | 16 Jan 2005 21:48:51 -0800 |
|
|
 | hi all,
i am looking for a cycle simulator for the powerpc. what i exactly need is a program/application/applet/anything in which input would be some assembly code and output is the individual cycles/stages (fetch, decode, execute, etc.) that the processor goes through while executing that assembly code, plus the number of cycles it takes to execute that code.
i am looking for something like this: http://www.ece.gatech.edu/research/ccss/academic/Java/1997.Summer/Projects/cha_elm/applet.html
it is a mips simulator which provides the functionality i mentioned above.
can somebody help me out here?
regards, OJ.
|
|
 | | From: | Joe Chisolm | | Subject: | Re: PowerPC cycle/stage simulator | | Date: | Mon, 17 Jan 2005 11:38:50 -0700 |
|
|
 | On Sun, 16 Jan 2005 21:48:51 -0800, OJ wrote:
> hi all, > > i am looking for a cycle simulator for the powerpc. what i exactly need is > a program/application/applet/anything in which input would be some > assembly code and output is the individual cycles/stages (fetch, decode, > execute, etc.) that the processor goes through while executing that > assembly code, plus the number of cycles it takes to execute that code. > > i am looking for something like this: > http://www.ece.gatech.edu/research/ccss/academic/Java/1997.Summer/Projects/cha_elm/applet.html > > it is a mips simulator which provides the functionality i mentioned above. > > can somebody help me out here? > > regards, > OJ.
You might try the PPC version of SimOS. Google for simos ppc
-- Joe Chisolm Phoenix Arizona USA
|
|
 | | From: | Michael Engel | | Subject: | Re: PowerPC cycle/stage simulator | | Date: | Mon, 17 Jan 2005 06:14:09 +0000 (UTC) |
|
|
 | Hi,
OJ wrote: > i am looking for a cycle simulator for the powerpc. what i exactly need > is a program/application/applet/anything in which input would be some > assembly code and output is the individual cycles/stages (fetch, > decode, execute, etc.) that the processor goes through while executing > that assembly code, plus the number of cycles it takes to execute that > code.
It might not be exactly what you need, but simg4 and simg5, part of Apples CHUD package, could be of interest to you:
simg4 is a command-line tool that is a cycle-accurate simulator of the Motorola 7400 processor. This tool takes TT6 traces as input.
simg5 is a command-line tool that is a cycle-accurate simulator of the IBM 970 (G5) processor. This tool takes TT6E traces as input.
See http://developer.apple.com/hardware/ve/g5.html for more information.
regards, Michael -- Michael Engel - engel@informatik.uni-marburg.de Philipps-Universitaet Marburg - FB Mathematik und Informatik Hans-Meerwein-Str. - 35032 Marburg Tel. 06421 / 28 21562 - Fax: 06421 / 28 21573
|
|
|