Skip to content

Console Output

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

Running tests...
----------------------------------------------------------------------
FFFFFFFFFF.FFFF
======================================================================
ERROR [0.106s]: test_addi (test_00.TestTypeIBasic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/eda/processor-ci-communication/tests/test_00.py", line 21, in test_addi
    self.assertEqual(int.from_bytes(retorno, "big"), 5)
AssertionError: 0 != 5

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

======================================================================
ERROR [0.105s]: 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: 0 != 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: 0 != 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: 0 != 255

======================================================================
ERROR [0.106s]: 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: 0 != 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: 0 != 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: 0 != 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: 0 != 8

======================================================================
ERROR [0.106s]: 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: 0 != 16

======================================================================
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: 0 != 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: 0 != 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: 0 != 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: 0 != 6

----------------------------------------------------------------------
Ran 15 tests in 1.580s

FAILED (errors=14)

Generating XML reports...

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

======================================================================
ERROR [0.108s]: 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: 0 != 1

======================================================================
ERROR [0.105s]: 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: 0 != 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: 0 != 8

======================================================================
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: 0 != 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: 0 != 2

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

======================================================================
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: 0 != 6

----------------------------------------------------------------------
Ran 10 tests in 1.053s

FAILED (errors=8)

Generating XML reports...

Running tests...
----------------------------------------------------------------------
FFF
======================================================================
ERROR [0.106s]: 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: 0 != 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: 0 != 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: 0 != 30

----------------------------------------------------------------------
Ran 3 tests in 0.316s

FAILED (errors=3)

Generating XML reports...

Running tests...
----------------------------------------------------------------------
FFFFFFFFFFFF
======================================================================
ERROR [0.107s]: 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: 0 != 17

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

======================================================================
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: 0 != 17

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

======================================================================
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: 0 != 17

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

======================================================================
ERROR [0.105s]: 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: 0 != 17

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

======================================================================
ERROR [0.106s]: 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: 0 != 17

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

======================================================================
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: 0 != 17

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

----------------------------------------------------------------------
Ran 12 tests in 1.270s

FAILED (errors=12)

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: 0 != 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: 0 != 446464

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

FAILED (errors=2)

Generating XML reports...

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

======================================================================
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: 0 != 15

----------------------------------------------------------------------
Ran 2 tests in 0.212s

FAILED (errors=2)

Generating XML reports...