[Libre-soc-dev] Soc compunit tests failing me

Kyle Lehman klehman9 at comcast.net
Fri Sep 3 14:21:02 BST 2021


Perhaps lack of sleep and not being the sharpest of knives, tests such as alu_comp_unit fails with:

======================================================================
ERROR: run_all (__main__.ALUTestRunner) [case_cmpeqb]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/klehman/src/soc/src/soc/fu/compunits/test/test_compunit.py", line 361, in process
    test)
  File "/home/klehman/src/soc/src/soc/fu/compunits/test/test_compunit.py", line 280, in execute
    res = yield from get_cu_outputs(cu, code)
  File "/home/klehman/src/soc/src/soc/fu/compunits/test/test_compunit.py", line 91, in get_cu_outputs
    valid_o = yield cu.alu.n.valid_o
AttributeError: 'NextControl' object has no attribute 'valid_o'


Fairly certain I followed everything to the letter.



More information about the Libre-soc-dev mailing list