| Summary: | bug in ISACaller unit tests found during demo video | ||
|---|---|---|---|
| Product: | Libre-SOC's first SoC | Reporter: | Luke Kenneth Casson Leighton <lkcl> |
| Component: | Source Code | Assignee: | Luke Kenneth Casson Leighton <lkcl> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | libre-soc-bugs |
| Priority: | --- | ||
| Version: | unspecified | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| NLnet milestone: | --- | total budget (EUR) for completion of task and all subtasks: | 0 |
| budget (EUR) for this task, excluding subtasks' budget: | 0 | parent task for budget allocation: | |
| child tasks for budget allocation: | The table of payments (in EUR) for this task; TOML format: | ||
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=dc901b5cf8db63c428a55a6b01b90d82f0ce83ee re-running unit tests now all good. |
ERROR: test_branch_ctr (__main__.DecoderTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "openpower/decoder/isa/test_caller.py", line 146, in test_branch_ctr sim = self.run_tst_program(program) File "openpower/decoder/isa/test_caller.py", line 324, in run_tst_program simulator = run_tst(prog, initial_regs) File "openpower/decoder/isa/test_caller.py", line 72, in run_tst sim.run() File "/home/src/nmigen/nmigen/sim/core.py", line 165, in run while self.advance(): File "/home/src/nmigen/nmigen/sim/core.py", line 156, in advance return self._engine.advance() File "/home/src/nmigen/nmigen/sim/pysim.py", line 319, in advance self._step() File "/home/src/nmigen/nmigen/sim/pysim.py", line 308, in _step process.run() File "/home/src/nmigen/nmigen/sim/_pycoro.py", line 123, in run self.coroutine.throw(exn) File "/home/src/nmigen/nmigen/sim/_pycoro.py", line 64, in run command = self.coroutine.send(response) File "/home/src/nmigen/nmigen/sim/core.py", line 81, in wrapper yield from process() File "openpower/decoder/isa/test_caller.py", line 65, in process yield from simulator.execute_one() File "/home/src/openpower-isa/src/openpower/decoder/isa/caller.py", line 861, in execute_one yield from self.call(opname) # execute the instruction File "/home/src/openpower-isa/src/openpower/decoder/isa/caller.py", line 1135, in call results = info.func(self, *inputs) File "/home/src/openpower-isa/src/openpower/decoder/isa/caller.py", line 1318, in decorator result = func(*args, **kwargs) File "/home/src/openpower-isa/src/openpower/decoder/isa/sprset.py", line 29, in op_mtspr SPR[_n] = RS NameError: name '_n' is not defined