Hi,
I found the following link:
I followed the steps to make warm checkpoint in the
above link.
However, It looks my simulator is
stopped.
I did the following steps to make warm checkpoint.
1. make OS Checkpoint
cd GEMS/simics-2.2.19/home/sarek
./simics
simics> write-configuration
CHKPT_DIR/sarek-16p.check
simics> quit
2. make cold Checkpoint
since I wish to "use
MOESI_CMP_directory",
cd
GEMS/simics-2.2.19/home/MOESI_CMP_token
./simics
simics> read-configuration
CHKPT_DIR/sarek-16p.check
(simics> magic-break-enable)
<== I didn't take this step since my application didn't have
MAGIC_BREAKPOINT.
simics> c
<YellowConsole> /mount /host
<YellowConsole> cd /host/MyAPP/
<YellowConsole> myapp 100
myapp showed correct results here in
YellowConsole.
simics>CTRL+C
simics> write-configuration
CHKPT_DIR/myapp-cold-16p.check
simics> quit
3. make warm Checkpoint
cd
GEMS/simics-2.2.19/home/MOESI_CMP_token
./simics -stall
#Read configuration
simics> read-configuration
CHKPT_DIR/myapp-cold-16p.check
#Load python scripts
simics>
@sys.path.append("../../../gen-scripts");
simics> @import mfacet
#Configure Simics
simics> instruction-fetch-mode
instruction-fetch-trace
simics> istc-disable
simics>dstc-disable
(simics> magic-break-enable)
<== I didn't take this step since my application didn't have
MAGIC_BREAKPOINT.
#Load module
simics> load-module ruby
#Initialize
simics> ruby0.init
simics> c
My question is:
After type "c" in
simics, the YellowConsole is changed to (running) state.
But I can't type
anything in YellowConsole. Did I take wrong steps
in described above?
(After last step above, I will take steps as
following)
<YellowConsole> myapp 100
simics> ruby0.save-caches
myapp.chache.gz
simics> write-configuration
CHKPT_DIR/myapp-warm-16p.check
Thanks in advance for any help.
Kyueun
|