Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
* [libre-riscv-dev] [Bug 284] New: TypeError Object is not an nMigen signal
@ 2020-04-14  8:26 bugzilla-daemon
  2020-04-14  8:38 ` [libre-riscv-dev] [Bug 284] " bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2020-04-14  8:26 UTC (permalink / raw)
  To: libre-riscv-dev

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@lkcl.net
          Reporter: libre-soc@platen-software.de
                CC: libre-riscv-dev@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.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, back to index

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14  8:26 [libre-riscv-dev] [Bug 284] New: TypeError Object is not an nMigen signal bugzilla-daemon
2020-04-14  8:38 ` [libre-riscv-dev] [Bug 284] " bugzilla-daemon
2020-04-14 11:09 ` bugzilla-daemon
2020-04-14 11:37 ` bugzilla-daemon
2020-04-15 16:57 ` bugzilla-daemon
2020-04-15 21:08 ` bugzilla-daemon

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git