[libre-riscv-dev] [Bug 284] New: TypeError Object is not an nMigen signal

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Apr 14 09:26:14 BST 2020


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

            Bug ID: 284
           Summary: TypeError Object is not an nMigen signal
           Product: Libre-SOC's first SoC
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Source Code
          Assignee: lkcl at lkcl.net
          Reporter: libre-soc at platen-software.de
                CC: libre-riscv-dev at lists.libre-riscv.org
   NLnet milestone: ---

When running tests with the latest version of nmigen I get the following error:

Traceback (most recent call last):
  File "test_sim.py", line 98, in test_sub
    self.run_tst_program(program, [1, 2, 3, 4, 5])
  File "test_sim.py", line 102, in run_tst_program
    self.run_tst(prog, simulator)
  File "test_sim.py", line 49, in run_tst
    traces=pdecode2.ports()):
  File
"/usr/local/lib/python3.7/dist-packages/nmigen-0.3.dev20+g0e40dc0-py3.7.egg/nmigen/back/pysim.py",
line 1125, in write_vcd
    vcd_file=vcd_file, gtkw_file=gtkw_file, traces=traces)
  File
"/usr/local/lib/python3.7/dist-packages/nmigen-0.3.dev20+g0e40dc0-py3.7.egg/nmigen/back/pysim.py",
line 95, in __init__
    if trace not in signal_names:
  File "/usr/lib/python3.7/_collections_abc.py", line 666, in __contains__
    self[key]
  File
"/usr/local/lib/python3.7/dist-packages/nmigen-0.3.dev20+g0e40dc0-py3.7.egg/nmigen/hdl/ast.py",
line 1392, in __getitem__
    key = None if key is None else self._map_key(key)
  File
"/usr/local/lib/python3.7/dist-packages/nmigen-0.3.dev20+g0e40dc0-py3.7.egg/nmigen/hdl/ast.py",
line 1582, in __init__
    raise TypeError("Object {!r} is not an nMigen signal".format(signal))
TypeError: Object (rec <unnamed> rego rego_ok) is not an nMigen signal

I already fixed that kind of error and it reappeared after running git pull.

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


More information about the libre-riscv-dev mailing list