[Libre-soc-bugs] [Bug 629] New: TRAP pipeline unit test failures

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Apr 23 20:22:21 BST 2021


https://bugs.libre-soc.org/show_bug.cgi?id=629

            Bug ID: 629
           Summary: TRAP pipeline unit test failures
           Product: Libre-SOC's first SoC
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Source Code
          Assignee: lkcl at lkcl.net
          Reporter: lkcl at lkcl.net
                CC: libre-soc-bugs at lists.libre-soc.org
   NLnet milestone: ---

======================================================================
ERROR: run_all (__main__.TestRunner) [case_3_mtmsr_0]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "fu/trap/test/test_pipe_caller.py", line 144, in process
    sim, code)
  File "fu/trap/test/test_pipe_caller.py", line 181, in check_alu_outputs
    ALUHelpers.check_fast_spr1(self, res, sim_o, code)
  File "/home/lkcl/src/libresoc/openpower-isa/src/openpower/test/common.py",
line 493, in check_fast_spr1
    expected = sim_o['fast1']
KeyError: 'fast1'

======================================================================
FAIL: run_all (__main__.TestRunner) [case_1_rfid]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "fu/trap/test/test_pipe_caller.py", line 144, in process
    sim, code)
  File "fu/trap/test/test_pipe_caller.py", line 184, in check_alu_outputs
    ALUHelpers.check_msr(self, res, sim_o, code)
  File "/home/lkcl/src/libresoc/openpower-isa/src/openpower/test/common.py",
line 524, in check_msr
    dut.assertEqual(expected, alu_out, msg)
AssertionError: 50808 != 54904 : rfid

======================================================================
FAIL: run_all (__main__.TestRunner) [case_0_trap_eq_imm]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "fu/trap/test/test_pipe_caller.py", line 144, in process
    sim, code)
  File "fu/trap/test/test_pipe_caller.py", line 183, in check_alu_outputs
    ALUHelpers.check_nia(self, res, sim_o, code)
  File "/home/lkcl/src/libresoc/openpower-isa/src/openpower/test/common.py",
line 531, in check_nia
    dut.assertEqual(expected, alu_out, msg)
AssertionError: 4 != 305419896 : twi 4, 1, 0

======================================================================
FAIL: run_all (__main__.TestRunner) [case_4_mtmsrd_0]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "fu/trap/test/test_pipe_caller.py", line 144, in process
    sim, code)
  File "fu/trap/test/test_pipe_caller.py", line 184, in check_alu_outputs
    ALUHelpers.check_msr(self, res, sim_o, code)
  File "/home/lkcl/src/libresoc/openpower-isa/src/openpower/test/common.py",
line 524, in check_msr
    dut.assertEqual(expected, alu_out, msg)
AssertionError: 17293822569098506238 != 32770 : mtmsrd 1,0


======================================================================
FAIL: run_all (__main__.TestRunner) [case_6_mtmsr_priv_0]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "fu/trap/test/test_pipe_caller.py", line 144, in process
    sim, code)
  File "fu/trap/test/test_pipe_caller.py", line 184, in check_alu_outputs
    ALUHelpers.check_msr(self, res, sim_o, code)
  File "/home/lkcl/src/libresoc/openpower-isa/src/openpower/test/common.py",
line 524, in check_msr
    dut.assertEqual(expected, alu_out, msg)
AssertionError: 9223372036854775809 != 32770 : mtmsr 1,0

======================================================================
FAIL: run_all (__main__.TestRunner) [case_8_mfmsr]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "fu/trap/test/test_pipe_caller.py", line 144, in process
    sim, code)
  File "fu/trap/test/test_pipe_caller.py", line 180, in check_alu_outputs
    ALUHelpers.check_int_o(self, res, sim_o, code)
  File "/home/lkcl/src/libresoc/openpower-isa/src/openpower/test/common.py",
line 517, in check_int_o
    dut.assertEqual(expected, alu_out, msg)
AssertionError: 18446744073709535231 != 0 : mfmsr 1

======================================================================
FAIL: run_all (__main__.TestRunner) [case_999_illegal]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "fu/trap/test/test_pipe_caller.py", line 144, in process
    sim, code)
  File "fu/trap/test/test_pipe_caller.py", line 182, in check_alu_outputs
    ALUHelpers.check_fast_spr2(self, res, sim_o, code)
  File "/home/lkcl/src/libresoc/openpower-isa/src/openpower/test/common.py",
line 503, in check_fast_spr2
    dut.assertEqual(expected, alu_out, msg)
AssertionError: 524288 != 278528 : tbegin.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list