amaranth/amaranth
Catherine aaec7e0d27 tracer: return default name on unrecognized opcode.
The default name is more commonly returned on code such as:

    x, y = Signal(), Signal()

The case where the opcode is not recognized is only encountered
when older Amaranth is ran on a newer Python interpreter (with more
opcodes).

Returning None instead of a name here caused issues in the RTLIL
backend, which would incorrectly use $\d+ names for ports, since
the RTLIL backend assumed the name of a signal is always a string.

Fixes #733.
2023-01-31 10:34:57 +00:00
..
_toolchain Fix several typos. NFC. 2023-01-20 19:48:29 +00:00
back back.rtlil: add assertions guarding against $\d+ port names. 2023-01-31 10:34:57 +00:00
build Use all-uppercase toolchain_env_var names. 2022-11-16 02:37:53 +00:00
compat Rename nMigen to Amaranth HDL. 2021-12-10 10:34:13 +00:00
hdl hdl.ast: Do not warn on int Enums in Cat. 2023-01-22 23:40:39 +00:00
lib Fix several typos. NFC. 2023-01-20 19:48:29 +00:00
sim sim._pyrtl: translate ArrayProxy to pattern matching when supported. 2022-09-24 10:22:47 +00:00
test Rename nMigen to Amaranth HDL. 2021-12-10 10:34:13 +00:00
vendor vendor.xilinx: Add support for more parts when using Symbiflow. 2023-01-23 19:26:58 +00:00
__init__.py Rename nMigen to Amaranth HDL. 2021-12-10 10:34:13 +00:00
_unused.py Rename nMigen to Amaranth HDL. 2021-12-10 10:34:13 +00:00
_utils.py _utils: don't crash trying to flatten() strings. 2021-12-11 07:39:35 +00:00
asserts.py Rename nMigen to Amaranth HDL. 2021-12-10 10:34:13 +00:00
cli.py back.rtlil,cli: allow suppressing generation of src attributes. 2021-12-11 11:38:40 +00:00
rpc.py Rename nMigen to Amaranth HDL. 2021-12-10 10:34:13 +00:00
tracer.py tracer: return default name on unrecognized opcode. 2023-01-31 10:34:57 +00:00
utils.py Rename nMigen to Amaranth HDL. 2021-12-10 10:34:13 +00:00