From: Tobias Platen <libre-soc@platen-software.de>
To: libre-riscv-dev@lists.libre-riscv.org
Subject: [libre-riscv-dev] test_decoder_gas.py still fails after update for unknown reason
Date: Wed, 1 Apr 2020 08:59:21 +0200
Message-ID: <20200401085921.19fb39bec4ce5c52e2ea1928@platen-software.de> (raw)
I installed a working version of the GNU toolchain (via buildroot),
but the test_decoder_gas.py still fails. Both soc and nmigen have been
updated to the latest version.
ERROR: test_rot (__main__.DecoderTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_decoder_gas.py", line 448, in test_rot
self.run_tst(RotateOp, "rot")
File "test_decoder_gas.py", line 432, in run_tst
traces=[pdecode2.ports()]):
File "/usr/local/lib/python3.7/dist-packages/nmigen-0.3.dev12+g2d1e12d-py3.7.egg/nmigen/back/pysim.py", line 1120, in write_vcd
vcd_file=vcd_file, gtkw_file=gtkw_file, traces=traces)
File "/usr/local/lib/python3.7/dist-packages/nmigen-0.3.dev12+g2d1e12d-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.dev12+g2d1e12d-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.dev12+g2d1e12d-py3.7.egg/nmigen/hdl/ast.py", line 1582, in __init__
raise TypeError("Object {!r} is not an nMigen signal".format(signal))
TypeError: Object [(sig raw_opcode_in), (sig bigendian), (sig opcode_in), (sig function_unit), (sig in1_sel), (sig in2_sel), (sig in3_sel), (sig out_sel), (sig ldst_len), (sig rc_sel), (sig internal_op), (sig form), (sig cr_in), (sig cr_out), (sig inv_a), (sig inv_out), (sig cry_out), (sig br), (sig sgn_ext), (sig upd), (sig rsrv), (sig is_32b), (sig sgn), (sig lk), (sig sgl_pipe), (sig valid), (sig insn_type), (sig nia), (sig lk), (sig invert_a), (sig invert_out), (sig input_carry), (sig output_carry), (sig input_cr), (sig output_cr), (sig is_32bit), (sig is_signed), (sig insn), (sig data_len), (sig byte_reverse), (sig sign_extend), (sig update), (sig oe), (sig oe_ok), (sig rc), (sig rc_ok), (sig spro), (sig spro_ok), (sig spr1), (sig spr1_ok), (sig spr2), (sig spr2_ok), (sig rego), (sig rego_ok), (sig reg1), (sig reg1_ok), (sig reg2), (sig reg2_ok), (sig reg3), (sig reg3_ok), (sig imm), (sig imm_ok)] is not an nMigen signal
--
Tobias Platen <libre-soc[at]platen-software[dot]de>
_______________________________________________
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-01 6:59 Tobias Platen [this message]
2020-04-01 10:14 ` Luke Kenneth Casson Leighton
2020-04-01 14:54 ` Michael Nolan
2020-04-01 15:16 ` Luke Kenneth Casson Leighton
2020-04-02 18:04 ` Tobias Platen
2020-04-02 18:33 ` Luke Kenneth Casson Leighton
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=20200401085921.19fb39bec4ce5c52e2ea1928@platen-software.de \
--to=libre-soc@platen-software.de \
--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