Hi Lei, We have not tested with any versions newer than 2.2.12. However, if you work around the bug/change in the cpu_switch_time python command, I would expect Flexus itself will work without modification. Typically, the only changes we see in Simics point revs are like the one you have just run into - Virtutech makes some change in their python support libraries that breaks a script. Simics' C API, which is how the Flexus code interacts with Simics, tends to be much more stable.
Best Regards, -Tom Wenisch On Tue, 7 Mar 2006, Jin Lei wrote: > Hi, Tomas, > > I am using simics 2.2.19 since I could not find the version specified in the > instruction. Did you test this version? > > Lei > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Thomas Wenisch > Sent: Tuesday, March 07, 2006 3:27 PM > To: SimFlex software support > Subject: RE: [Simflex] Error when trying to collect the checkpoints > > Hi Lei, > > On Tue, 7 Mar 2006, Jin Lei wrote: > > > Hi, Tomas, > > > > This is the complete output of simics console: > > > > Using user-specified disk files > > Unknown callback, arg is 266394 . Ignoring... > > [sc0 info] OBP 0x4000 > > > > Prompt reached > > [cpu0] v:0x0000000010047184 p:0x0000000002c47184 bne,a,pt %icc, > 0x100471b8 > > Warmup start call back triggered > > Traceback (most recent call last): > > File "<string>", line 3, in hap_magic_callback > > File "<string>", line 6, in call_back_Warmup > > File > > > "/afs/cs.pitt.edu/projects/cast/jinlei/SimFlex/simics/x86-linux/lib/python/s > > im_commands.py", line 3607, in cpu_switch_time_cmd > > if poly[0] == int_t: > > TypeError: unsubscriptable object > > Exception in hap handler: exception in python callback > > Exception in hap handler > > Hmm, this is very strange. This error is in a script file supplied by > Virtutech. The error is triggered by the following line in > flexus-test.simics: > > sim_commands.cpu_switch_time_cmd(1) > > I would guess that you are using a newer version of Simics than the most > recent version we have tested with, and Virtutech either changed the > interface for this command, or broke it. Which version of Simics are you > using? > > The purpose of the command is to change the Simics simulation quantum > (number of instructions simulated on one CPU before switching to the next) > to a single instruction. This change is neccessary for in-order Flexus > simulation. > > To work around this bug, you can comment out/delete the offending line in > flexus_test.simics. Then, after running the script, you will need to > manually edit the Simics checkpoints the script creates to change the > cpu_switch_time setting to one. It appears near the top of the checkpoint > description file (the file without an extension that Simics creates when > a checkpoint is saved). > > > > Warmup start call back executed > > [flexus-test.simics:141] the command did not complete properly; > interrupting > > script > > > > I did not change anything in flexus-test.simics file. > > > > Lei > > > > Regards, > -Tom Wenisch > Computer Architecture Lab > Carnegie Mellon University > _______________________________________________ > SimFlex mailing list > [email protected] > https://sos.ece.cmu.edu/mailman/listinfo/simflex > SimFlex web page: http://www.ece.cmu.edu/~simflex > > > _______________________________________________ > SimFlex mailing list > [email protected] > https://sos.ece.cmu.edu/mailman/listinfo/simflex > SimFlex web page: http://www.ece.cmu.edu/~simflex > From sharb at ufl.edu Wed Mar 8 12:22:56 2006 From: sharb at ufl.edu (Shadi Harb) List-Post: [email protected] Date: Wed Mar 8 09:23:18 2006 Subject: [Simflex] Building L3 cache In-Reply-To: <[email protected]> Message-ID: <000601c642d4$f13fd470$ce671...@shadilaptop> Hi all, I am wondering if I can get any help or suggestions to point to the code that I can build a third level of cache which is shared in CMPs system. Thanks for the help in advance Shadi -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Tuesday, March 07, 2006 9:00 AM To: [email protected] Subject: SimFlex Digest, Vol 10, Issue 3 Send SimFlex mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://sos.ece.cmu.edu/mailman/listinfo/simflex or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of SimFlex digest..." Today's Topics: 1. Re: About Piranha Cache (lu peng) 2. Re: Error when trying to collect the checkpoints (Thomas Wenisch) 3. Re: About Piranha Cache (Jared C. Smolens) ---------------------------------------------------------------------- Message: 1 List-Post: [email protected] Date: Tue, 07 Mar 2006 03:38:16 +0000 From: "lu peng" <[email protected]> Subject: Re: [Simflex] About Piranha Cache To: [email protected], [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" An HTML attachment was scrubbed... URL: http://sos.ece.cmu.edu/pipermail/simflex/attachments/20060307/91e726c9/attac hment-0001.html ------------------------------ Message: 2 List-Post: [email protected] Date: Mon, 6 Mar 2006 23:40:17 -0500 (EST) From: Thomas Wenisch <[email protected]> Subject: Re: [Simflex] Error when trying to collect the checkpoints To: SimFlex software support <[email protected]> Message-ID: <pine.lnx.4.53l-ece.cmu.edu.0603062337550.32...@coleburn.ece.cmu.edu> Content-Type: TEXT/PLAIN; charset=US-ASCII Hi Lei, Sorry for the delay in replying. On Thu, 2 Mar 2006, Jin Lei wrote: > Hi, > > > > I followed the getting started guide. When I run > SIMICS_PATH/scripts/start-simics -x flexus-test.simics to collect > checkpoints, the system booted up successfully: > > The system is ready. > > sarek.network.sim console login: root > > Jun 2 07:00:47 sarek.network.sim login: ROOT LOGIN /dev/console > > Sun Microsystems Inc. SunOS 5.8 Generic Patch February 2004 > > # mount /dev/dsk/c0t1d0s0 /mnt; cd /mnt/src; ./flexus-test-app 8 10 > > Running 8 threads for 10 iterations each. So far everything is normal and the test application has started > > But just after that the simulation was stopped with the following error > information: > > [flexus-test.simics:141] the command did not complete properly; interrupting > script Hmm... Are there any error messages prior to this? Did the simulation advance at all before issuing this message? It is unusual for simics to fail to execute the "run" command. Can you post a copy of the flexus-test.simics file and complete output on the simics console? > > I checked the script file, it is the last "run" command in the script file > cause the error. How can I figure it out? > Regards, -Tom Wenisch Computer Architecture Lab Carnegie Mellon University ------------------------------ Message: 3 List-Post: [email protected] Date: Tue, 7 Mar 2006 03:39:48 -0500 (EST) From: "Jared C. Smolens" <[email protected]> Subject: Re: [Simflex] About Piranha Cache To: [email protected] Message-ID: <[email protected]> Hi Lu, In the shared state when the block exists in the L2, theOwner is irrelevant. I believe that it will always be directory owned in this situation, but there may be a sequence of transactions where theOwner isn't set reset consistently. In the owned state theOwner must always point to the L1 that is responsible for the last copy of the block within the CMP, regardless of the state of L2. If there is no such L1, you are not in the owned state (by definition). Jared Excerpts From "lu peng" <[email protected]>: Re: [Simflex] About Piranha Cache: "lu peng" <[email protected]> >Date: Tue, 07 Mar 2006 03:38:16 +0000 >To: [email protected], [email protected] >From: "lu peng" <[email protected]> >Subject: Re: [Simflex] About Piranha Cache > ><html><div style='background-color:'><DIV class=RTE> ><P>Hi, Jared,</P> ><P>How are you recenlty? Are there any case that the theOwner points to L1 (ei >ther L1I or L1D), but l2lookup hits and the PiranhaDir is in the Shared or Own >ed state? If so, in what situation?</P> ><P>Thanks,</P> ><P>Lu<BR><BR></P></DIV> ><DIV></DIV> ><BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2 >px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma >,sans-serif"> ><HR color=#a0c6e5 SIZE=1> > ><DIV></DIV>From: <I>"Jared C. Smolens" <[email protected]> >;</I><BR>To: <I>[email protected], [email protected]</I><BR>Su >bject: <I>Re: [Simflex] About Piranha Cache</I><BR>Date:   >;<I>Thu, 2 Feb 2006 12:07:30 -0500 (EST)</I><BR>>Hi Lu,<BR>><BR>>Yes, > the simulation model maintains a PiranhaDirEntry for every valid<BR>>line >in the CMP (in one or more L1s, L2, or both).<BR>><BR>>To fully determin >e where the line is, you need to consider its state,<BR>>it's owner, and th >e l2Lookup structure:<BR>><BR>>theOwner points to a cache which can supp >ly a coherent value for the<BR>>line.<BR>>For the Shared and Owner state >s, it's safe to read the L2 value if<BR>>l2Lookup shows a hit, since all co >pies of the line must be identical in<BR>>these states. If l2Loo >kup shows a miss, follow theOwner to the >correct<BR>>L1. For the Modified state, always follow theOwner ( >set to the core<BR>>index or -1 if the L2 owns the line).<BR>><BR>>Ja >red<BR>><BR></FONT></BLOCKQUOTE></div></html> > Jared Smolens ----------- Electrical and Computer Engineering www.rabidpenguin.org ------------- Carnegie Mellon University jsmolens AT ece.cmu.edu ------ HH A-313 ------ Pittsburgh, PA ------------------------------ _______________________________________________ SimFlex mailing list [email protected] https://sos.ece.cmu.edu/mailman/listinfo/simflex SimFlex web page: http://www.ece.cmu.edu/~simflex End of SimFlex Digest, Vol 10, Issue 3 **************************************
