Skip to content

Console Output

+ PYTHONPATH=/eda/processor-ci-communication PORT=/dev/ttyACM0 python /eda/processor-ci-communication/run_tests.py

Running tests...
----------------------------------------------------------------------
..FFFFFFFFFFFFF
======================================================================
ERROR [0.106s]: test_jalr (test_00.TestTypeIBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_00.py", line 112, in test_jalr
    self.assertEqual(int.from_bytes(retorno, "big"), 7)
AssertionError: 10 != 7

======================================================================
ERROR [0.106s]: test_jalr_2 (test_00.TestTypeIBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_00.py", line 119, in test_jalr_2
    self.assertEqual(int.from_bytes(retorno, "big"), 7)
AssertionError: 10 != 7

======================================================================
ERROR [0.105s]: test_lb (test_00.TestTypeIBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_00.py", line 105, in test_lb
    self.assertEqual(int.from_bytes(retorno, "big"), 0xFF)
AssertionError: 10 != 255

======================================================================
ERROR [0.105s]: test_lh (test_00.TestTypeIBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_00.py", line 98, in test_lh
    self.assertEqual(int.from_bytes(retorno, "big"), 0xFFC0)
AssertionError: 10 != 65472

======================================================================
ERROR [0.105s]: test_lw (test_00.TestTypeIBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_00.py", line 91, in test_lw
    self.assertEqual(int.from_bytes(retorno, "big"), 0x809)
AssertionError: 10 != 2057

======================================================================
ERROR [0.105s]: test_ori (test_00.TestTypeIBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_00.py", line 35, in test_ori
    self.assertEqual(int.from_bytes(retorno, "big"), 7)
AssertionError: 10 != 7

======================================================================
ERROR [0.105s]: test_slli (test_00.TestTypeIBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_00.py", line 70, in test_slli
    self.assertEqual(int.from_bytes(retorno, "big"), 8)
AssertionError: 10 != 8

======================================================================
ERROR [0.105s]: test_slli_2 (test_00.TestTypeIBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_00.py", line 77, in test_slli_2
    self.assertEqual(int.from_bytes(retorno, "big"), 0x10)
AssertionError: 10 != 16

======================================================================
ERROR [0.105s]: test_slti (test_00.TestTypeIBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_00.py", line 49, in test_slti
    self.assertEqual(int.from_bytes(retorno, "big"), 0)
AssertionError: 10 != 0

======================================================================
ERROR [0.105s]: test_slti_2 (test_00.TestTypeIBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_00.py", line 56, in test_slti_2
    self.assertEqual(int.from_bytes(retorno, "big"), 1)
AssertionError: 10 != 1

======================================================================
ERROR [0.105s]: test_sltiu (test_00.TestTypeIBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_00.py", line 63, in test_sltiu
    self.assertEqual(int.from_bytes(retorno, "big"), 1)
AssertionError: 10 != 1

======================================================================
ERROR [0.105s]: test_srli (test_00.TestTypeIBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_00.py", line 84, in test_srli
    self.assertEqual(int.from_bytes(retorno, "big"), 2)
AssertionError: 10 != 2

======================================================================
ERROR [0.105s]: test_xori (test_00.TestTypeIBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_00.py", line 42, in test_xori
    self.assertEqual(int.from_bytes(retorno, "big"), 6)
AssertionError: 10 != 6

----------------------------------------------------------------------
Ran 15 tests in 1.577s

FAILED (errors=13)

Generating XML reports...

Running tests...
----------------------------------------------------------------------
.FFFFFFF.F
======================================================================
ERROR [0.106s]: test_and (test_01.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_01.py", line 35, in test_and
    self.assertEqual(int.from_bytes(retorno, "big"), 1)
AssertionError: 10 != 1

======================================================================
ERROR [0.106s]: test_or (test_01.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_01.py", line 42, in test_or
    self.assertEqual(int.from_bytes(retorno, "big"), 7)
AssertionError: 10 != 7

======================================================================
ERROR [0.105s]: test_sll (test_01.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_01.py", line 70, in test_sll
    self.assertEqual(int.from_bytes(retorno, "big"), 8)
AssertionError: 10 != 8

======================================================================
ERROR [0.105s]: test_slt (test_01.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_01.py", line 56, in test_slt
    self.assertEqual(int.from_bytes(retorno, "big"), 0)
AssertionError: 10 != 0

======================================================================
ERROR [0.105s]: test_sltu (test_01.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_01.py", line 63, in test_sltu
    self.assertEqual(int.from_bytes(retorno, "big"), 0)
AssertionError: 10 != 0

======================================================================
ERROR [0.105s]: test_sra (test_01.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_01.py", line 84, in test_sra
    self.assertEqual(int.from_bytes(retorno, "big"), 2)
AssertionError: 10 != 2

======================================================================
ERROR [0.105s]: test_srl (test_01.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_01.py", line 77, in test_srl
    self.assertEqual(int.from_bytes(retorno, "big"), 2)
AssertionError: 10 != 2

======================================================================
ERROR [0.105s]: test_xor (test_01.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_01.py", line 49, in test_xor
    self.assertEqual(int.from_bytes(retorno, "big"), 6)
AssertionError: 10 != 6

----------------------------------------------------------------------
Ran 10 tests in 1.051s

FAILED (errors=8)

Generating XML reports...

Running tests...
----------------------------------------------------------------------
FFF
======================================================================
ERROR [0.105s]: test_sb (test_02.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_02.py", line 35, in test_sb
    self.assertEqual(int.from_bytes(retorno, "big"), 0xFE)
AssertionError: 10 != 254

======================================================================
ERROR [0.105s]: test_sh (test_02.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_02.py", line 28, in test_sh
    self.assertEqual(int.from_bytes(retorno, "big"), 0xFFC0)
AssertionError: 10 != 65472

======================================================================
ERROR [0.105s]: test_sw (test_02.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_02.py", line 21, in test_sw
    self.assertEqual(int.from_bytes(retorno, "big"), 0x1E)
AssertionError: 10 != 30

----------------------------------------------------------------------
Ran 3 tests in 0.315s

FAILED (errors=3)

Generating XML reports...

Running tests...
----------------------------------------------------------------------
F.F.F.F.F.F.
======================================================================
ERROR [0.106s]: test_beq (test_03.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_03.py", line 21, in test_beq
    self.assertEqual(int.from_bytes(retorno, "big"), 0x11)
AssertionError: 10 != 17

======================================================================
ERROR [0.106s]: test_bge (test_03.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_03.py", line 63, in test_bge
    self.assertEqual(int.from_bytes(retorno, "big"), 0x11)
AssertionError: 10 != 17

======================================================================
ERROR [0.106s]: test_bgeu (test_03.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_03.py", line 91, in test_bgeu
    self.assertEqual(int.from_bytes(retorno, "big"), 0x11)
AssertionError: 10 != 17

======================================================================
ERROR [0.106s]: test_blt (test_03.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_03.py", line 49, in test_blt
    self.assertEqual(int.from_bytes(retorno, "big"), 0x11)
AssertionError: 10 != 17

======================================================================
ERROR [0.105s]: test_bltu (test_03.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_03.py", line 77, in test_bltu
    self.assertEqual(int.from_bytes(retorno, "big"), 0x11)
AssertionError: 10 != 17

======================================================================
ERROR [0.106s]: test_bne (test_03.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_03.py", line 35, in test_bne
    self.assertEqual(int.from_bytes(retorno, "big"), 0x11)
AssertionError: 10 != 17

----------------------------------------------------------------------
Ran 12 tests in 1.266s

FAILED (errors=6)

Generating XML reports...

Running tests...
----------------------------------------------------------------------
FF
======================================================================
ERROR [0.105s]: test_auipc (test_04.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_04.py", line 21, in test_auipc
    self.assertEqual(int.from_bytes(retorno, "big"), 0x000DA004)
AssertionError: 10 != 892932

======================================================================
ERROR [0.105s]: test_lui (test_04.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_04.py", line 28, in test_lui
    self.assertEqual(int.from_bytes(retorno, "big"), 0x0006D000)
AssertionError: 10 != 446464

----------------------------------------------------------------------
Ran 2 tests in 0.210s

FAILED (errors=2)

Generating XML reports...

Running tests...
----------------------------------------------------------------------
.F
======================================================================
ERROR [0.106s]: test_jal_2 (test_05.TestTypeRBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_05.py", line 28, in test_jal_2
    self.assertEqual(int.from_bytes(retorno, "big"), 0xF)
AssertionError: 10 != 15

----------------------------------------------------------------------
Ran 2 tests in 0.211s

FAILED (errors=1)

Generating XML reports...