Dear
Gems-Users,
I am developing an adaptive router structure based on
Garnet
Network. I get headache on debugging the code changed
in \ruby\network\garnet-fixed-pipeline. Currently, the
debug environment is --
1) change code in \garnet-fixed-pipeline
2) compile ruby (which is successful)
3) run Simics, load checkpoint (with benchmark program)
and
then load ruby module
4) run benchmark program, get error after press "c"
Segmentation fault (SIGSEGV) in main thread
The simulation state has been corrupted.
Simulation
cannot continue.
Please restart Simics.
[cpu0] cs:0xc0106eac p:0x00106eac hlt
Before certain changes, I can successfully run the
benchmark
program in Simics, and get stats in output file. There must be some
logic errors corrupt network function. But, I can't get efficient error
information for debugging.
My questions are
1) How can I enable "Internal Ruby Testers" like Random
test,
so I don't need enable Simics? Is there any document for reference?
2) Is there any tool or method which support Garnet code
debug
efficiently (like run step by step)?
3) How can I get accurate error information (like print
debug
message)?
Any reply will be appreciated. Thanks in advance.
Best regards,
Ben