My leon2-simulator crashes nearly always while
accessing ac_pc.
For example:
0x000000000044bd83 in
leon2_parms::leon2_isa::_behavior_begin
(this=0x7fff11d71758) at leon2_isa.cpp:57
57 FE_DE.npc = ac_pc + 4;
(gdb) bt
#0 0x000000000044bd83 in
leon2_parms::leon2_isa::_behavior_begin
(this=0x7fff11d71758) at leon2_isa.cpp:57
#1 0x000000000044a5ad in leon2::init
(this=0x7fff11d6fbf0, ac=2, av=0x7fff11d73078) at
leon2.cpp:31
#2 0x000000000040383c in sc_main (ac=2,
av=0x7fff11d73078) at main.cpp:35
#3 0x000000000048cff3 in sc_elab_and_sim (argc=2,
argv=0x7fff11d73078) at sc_main_main.cpp:96
#4 0x000000000048ce2f in main (argc=2,
argv=0x7fff11d73078) at sc_main.cpp:49
leon2 cycle accurate model
Logged In: YES
user_id=1586237
Tried using systemc-2.2jun06beta (systemc-2.1 does not work
on x86_64)