Hi ,

I am trying to run dhrystone on riscv. The number of Loops/Runs = 10.  Once i 
start the run, it doesnt get completed. No error was thrown either:

./build/RISCV/gem5.opt ./configs/example/se.py -c ./tests/dhrystone_riscv_u74 

gem5 Simulator System.  http://gem5.org

gem5 is copyrighted software; use the --copyright option for details.

gem5 version 21.2.1.0

gem5 compiled Jun  8 2022 04:45:26

gem5 started Jun  8 2022 11:40:40

gem5 executing on eden, pid 496235

command line: ./build/RISCV/gem5.opt ./configs/example/se.py -c 
./tests/dhrystone_riscv_u74

Global frequency set at 1000000000000 ticks per second

warn: No dot file generated. Please install pydot to generate the dot file and 
pdf.

build/RISCV/mem/mem_interface.cc:791: warn: DRAM device capacity (8192 Mbytes) 
does not match the address range assigned (512 Mbytes)

0: system.remote_gdb: listening for remote gdb on port 7002

\*\*\*\* REAL SIMULATION \*\*\*\*

build/RISCV/sim/simulate.cc:194: info: Entering event queue @ 0.  Starting 
simulation...

build/RISCV/sim/mem_state.cc:443: info: Increasing stack size by one page.

build/RISCV/sim/syscall_emul.cc:74: warn: ignoring syscall mprotect(...) 

Then i tried running with “Exec” debug trace and the following instructions 
were the last of the executed ones:

`4163000: system.cpu: T0 : 0x2a144 @read+14    : c_bnez a5, 32              : 
IntAlu : `

`4164000: system.cpu: T0 : 0x2a146 @read+16    : addi a7, zero, 63          : 
IntAlu :  D=0x000000000000003f`

**`4165000: system.cpu: T0 : 0x2a14a @read+20    : ecall                      : 
No_OpClass :`**

So then i tried using “All” debug flag and i got the following:

`13157165000: read.wrapped_function_event: EventFunctionWrapped 263105 
scheduled @ 13157215000`

`13157215000: read.wrapped_function_event: EventFunctionWrapped 263105 executed 
@ 13157215000`

`13157215000: system.cpu.[tid:0]: Reading int reg 10 (10) as 0.`

`13157215000: system.cpu.[tid:0]: Reading int reg 11 (11) as 0x85f30.`

`13157215000: system.cpu.[tid:0]: Reading int reg 12 (12) as 0x2000.`

`13157215000: system.cpu: T0 : syscall Retrying read(0, 548656, 8192)...`

`13157215000: system.cpu.[tid:0]: Reading int reg 10 (10) as 0.`

`13157215000: system.cpu.[tid:0]: Reading int reg 11 (11) as 0x85f30.`

`13157215000: system.cpu.[tid:0]: Reading int reg 12 (12) as 0x2000.`

**`13157215000: system.cpu: T0 : syscall read still needs retry.`**

Any suggestion on how to fix it?

Regards,

Tom
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to