[Libre-soc-dev] Attempt to run baselines: error

Lauri Kasanen cand at gmx.com
Mon May 24 13:58:41 BST 2021

On Mon, 24 May 2021 13:22:45 +0100
Luke Kenneth Casson Leighton <lkcl at lkcl.net> wrote:

> On Monday, May 24, 2021, Lauri Kasanen <cand at gmx.com> wrote:
> >
> > I will add the inits later.

SILENCELOG=1 pypowersim -g audio/mp3/mp3_0.gpr -i audio/mp3/mp3_0_apply_window_float.bin

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
  File "/home/lauri/openpower-isa/src/openpower/decoder/isa/pypowersim.py", line 135, in run_tst
  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
  File "/home/lauri/nmigen/nmigen/sim/pysim.py", line 308, in _step
  File "/home/lauri/nmigen/nmigen/sim/_pycoro.py", line 123, in run
  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 1168, in call
    results = info.func(self, *inputs)
  File "/home/lauri/openpower-isa/src/openpower/decoder/isa/caller.py", line 1351, in decorator
    result = func(*args, **kwargs)
  File "/home/lauri/openpower-isa/src/openpower/decoder/isa/sprset.py", line 29, in op_mtspr
    SPR[_n] = RS
NameError: name '_n' is not defined

- Lauri

More information about the Libre-soc-dev mailing list