1/1

|
or1ksim
by vjraj on Jul 24, 2012 |
vjraj
Posts: 30 Joined: Jun 2, 2010 Last seen: Jan 15, 2017 |
||
|
Hello,
I am trying to run "basic" test from or1ksim testsuite using "or32-elf-sim". I am observing that some instructions in "basic.S" file are being shown as "invalid" in the simulator, please clarify the same.
Reading script file from "./../or1ksim_be/sim.cfg"...
Warning: ./../or1ksim_be/sim.cfg: Unrecognized parameter: section at line 467; ignored.
Verbose on, simdebug off, interactive prompt on
Machine initialization...
Clock cycle: 100ns
No data cache.
No instruction cache.
BPB simulation off.
BTIC simulation off.
Or1ksim 0.5.0rc2
Building automata... done, num uncovered: 0/213.
Parsing operands data... done.
Warning: PS2 keyboard unable to open RX file stream.
Resetting Tick Timer.
Resetting Power Management.
Resetting PIC.
Starting at 0x00000000
loadcode: filename testsuite/test-code-or1k/basic/basic startaddr=00000000 virtphy_transl=00000000
Not COFF file format
ELF type: 0x0002
ELF machine: 0x005c
ELF version: 0x00000001
ELF sec = 6
Section: .text, vaddr: 0x00000000, paddr: 0x0 offset: 0x00002000, size: 0x000006dc
Section: .except, vaddr: 0x00000000, paddr: 0x6dc offset: 0x00004000, size: 0x00000004
00000100 : 18200000 l.movhi r1,0 (executed) [cycle 0, #1]
00000104: a8210110 (next insn)
GPR00: 00000000 GPR01: 00000000 GPR02: 00000000 GPR03: 00000000
GPR04: 00000000 GPR05: 00000000 GPR06: 00000000 GPR07: 00000000
GPR08: 00000000 GPR09: 00000000 GPR10: 00000000 GPR11: 00000000
GPR12: 00000000 GPR13: 00000000 GPR14: 00000000 GPR15: 00000000
GPR16: 00000000 GPR17: 00000000 GPR18: 00000000 GPR19: 00000000
GPR20: 00000000 GPR21: 00000000 GPR22: 00000000 GPR23: 00000000
GPR24: 00000000 GPR25: 00000000 GPR26: 00000000 GPR27: 00000000
GPR28: 00000000 GPR29: 00000000 GPR30: 00000000 GPR31: 00000000 flag: 0
(sim) de 0x100
00000100 : 18200000 l.movhi r1,0
00000104: a8210110
00000108: 44000800 l.jr r1
0000010c: 15000000 l.nop 0
00000110: 18609300 l.movhi r3,0x9300
00000114: a8630000
00000118: 9c830010
0000011c: 18a0f000 l.movhi r5,0xf000
00000120: b8a50086
00000124: a8a50025
00000128: d4042800
0000012c: 9c830014
00000130: 18a00000 l.movhi r5,0
00000134: a8a50103
00000138: d4042800
0000013c: 9c830008
Please let me know what could be the issue.
Thanks,
Rajani
|
|||
1/1

