Hi Chen,

The debug output messages are controlled in three places: at compile time,
in the debug.cfg file, and at run time.  After you compile flexus with the
"vverb" debug level, you can turn on output at the simics> prompt by using
the flexus.set-debug-severity command (you can use tab completion in simics
to get more information about it).

You can also find a bit about the debugging system and the SimFlex
methodology in the PDF slides of the tutorial presented at PACT last year.
A new version of the tutorial will be given again at MICRO this year in New
York.

The best place to look for the L1/L2 interface is in the wiring.cpp file of
the simulator which you are working with (for example,
simulators/CMPFlex.OoO/wiring.cpp).  At the bottom of the file you can see
the connections between the various simulator component instances, including
the L1 and L2.  You can find the names of the exact components (C++ classes)
in the top of the file where these objects are declared and instantiated.

Regards,
Evangelos++

-----Original Message-----
From: simflex-bounces at ece.cmu.edu [mailto:simflex-bounces at ece.cmu.edu] On
Behalf Of Chen Tian
Sent: Saturday, July 25, 2009 3:26 PM
To: simflex at ece.cmu.edu
Subject: [Simflex] How can I get debug info?

Hi,

After spending more time, I got some basic understanding about this
tool.  Now I want to investigate what is going on during the
simulation. I wrote a simple script to run the OOO timing
simulation(CMPFlex.OoO) for 20000 cycles of one flexpoint (obtained by
TraceFlex). Although I compiled CMPFlex.OoO with vverb debug level, I
didn't get anything like trace info. Are these info supposed to be in
file runs/run-xxx/flexpoint-xxx./exec/trace.out ? This file is empty.
I must have missed some configurations. Please let me how can I get
the debug info when or after the simulation is running.

Also, if I want to track all the memory request from the core the
L1/L2 Cache, should I modify the CacheController or CmpCache or Cache?
It would be great if you can give a brief description of these three
components.

Thank you.

Best,
Chen
_______________________________________________
SimFlex mailing list
SimFlex at ece.cmu.edu
https://sos.ece.cmu.edu/mailman/listinfo/simflex
SimFlex web page: http://www.ece.cmu.edu/~simflex

Reply via email to