[Libre-soc-dev] Attempt to run baselines: error
Lauri Kasanen
cand at gmx.com
Mon May 24 09:39:58 BST 2021
Hi Luke,
I committed the mp3 C baselines, and tried to run them with just
"pypowersim -i my.bin", just to see how long it would run. The tool
doesn't seem yet complete enough, but I thought I'd try this.
Both error out:
Traceback (most recent call last):
File "/usr/local/bin/pypowersim", line 11, in <module>
load_entry_point('libresoc-openpower-isa', 'console_scripts', 'pypowersim')()
File "/home/lauri/openpower-isa/src/openpower/decoder/isa/pypowersim.py", line 206, in run_simulation
initial_fprs=initial_fprs)
File "/home/lauri/openpower-isa/src/openpower/decoder/isa/pypowersim.py", line 135, in run_tst
sim.run()
File "/home/lauri/nmigen/nmigen/sim/core.py", line 165, in run
while self.advance():
File "/home/lauri/nmigen/nmigen/sim/core.py", line 156, in advance
return self._engine.advance()
File "/home/lauri/nmigen/nmigen/sim/pysim.py", line 319, in advance
self._step()
File "/home/lauri/nmigen/nmigen/sim/pysim.py", line 308, in _step
process.run()
File "/home/lauri/nmigen/nmigen/sim/_pycoro.py", line 123, in run
self.coroutine.throw(exn)
File "/home/lauri/nmigen/nmigen/sim/_pycoro.py", line 64, in run
command = self.coroutine.send(response)
File "/home/lauri/nmigen/nmigen/sim/core.py", line 81, in wrapper
yield from process()
File "/home/lauri/openpower-isa/src/openpower/decoder/isa/pypowersim.py", line 130, in process
yield from simulator.execute_one()
File "/home/lauri/openpower-isa/src/openpower/decoder/isa/caller.py", line 888, in execute_one
yield from self.call(opname) # execute the instruction
File "/home/lauri/openpower-isa/src/openpower/decoder/isa/caller.py", line 1026, in call
info = self.instrs[name]
KeyError: 'nop'
Traceback (most recent call last):
File "/usr/local/bin/pypowersim", line 11, in <module>
load_entry_point('libresoc-openpower-isa', 'console_scripts', 'pypowersim')()
File "/home/lauri/openpower-isa/src/openpower/decoder/isa/pypowersim.py", line 206, in run_simulation
initial_fprs=initial_fprs)
File "/home/lauri/openpower-isa/src/openpower/decoder/isa/pypowersim.py", line 135, in run_tst
sim.run()
File "/home/lauri/nmigen/nmigen/sim/core.py", line 165, in run
while self.advance():
File "/home/lauri/nmigen/nmigen/sim/core.py", line 156, in advance
return self._engine.advance()
File "/home/lauri/nmigen/nmigen/sim/pysim.py", line 319, in advance
self._step()
File "/home/lauri/nmigen/nmigen/sim/pysim.py", line 308, in _step
process.run()
File "/home/lauri/nmigen/nmigen/sim/_pycoro.py", line 123, in run
self.coroutine.throw(exn)
File "/home/lauri/nmigen/nmigen/sim/_pycoro.py", line 64, in run
command = self.coroutine.send(response)
File "/home/lauri/nmigen/nmigen/sim/core.py", line 81, in wrapper
yield from process()
File "/home/lauri/openpower-isa/src/openpower/decoder/isa/pypowersim.py", line 130, in process
yield from simulator.execute_one()
File "/home/lauri/openpower-isa/src/openpower/decoder/isa/caller.py", line 888, in execute_one
yield from self.call(opname) # execute the instruction
File "/home/lauri/openpower-isa/src/openpower/decoder/isa/caller.py", line 1026, in call
info = self.instrs[name]
KeyError: 'NONE'
You should be able to build them under the media dir yourself.
- Lauri
More information about the Libre-soc-dev
mailing list