From: bugzilla-daemon@libre-soc.org
To: libre-riscv-dev@lists.libre-riscv.org
Subject: [libre-riscv-dev] [Bug 284] New: TypeError Object is not an nMigen signal
Date: Tue, 14 Apr 2020 08:26:14 +0000
Message-ID: <bug-284-13@https.bugs.libre-soc.org/> (raw)
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
next reply index
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-14 8:26 bugzilla-daemon [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-284-13@https.bugs.libre-soc.org/ \
--to=bugzilla-daemon@libre-soc.org \
--cc=libre-riscv-dev@lists.libre-riscv.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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