amaranth/nmigen
whitequark 3346f2c505 buil.plat: enable strict undefined behavior in Jinja2.
By default, if an operation produces an undefined value (a Jinja2
concept that corresponds to Python's KeyError, AttributeError, etc)
then this value may be printed in a template, which is a nop. This
behavior can hide bugs.

This commit changes the Jinja2 behavior to raise an error instead of
producing an undefined value in all cases. (We produce undefined
values deliberately in a few places. Those are unaffected; it is OK
to use several kinds of undefined values in one Jinja2 environment.)

Fixes #337.
2020-04-14 06:17:16 +00:00
..
back back.rtlil: don't emit connections to zero width ports. 2020-04-13 17:04:13 +00:00
build buil.plat: enable strict undefined behavior in Jinja2. 2020-04-14 06:17:16 +00:00
compat Add support for using non-compat Elaboratable instances with compat.fhdl.verilog.convert and compat.run_simulation 2020-04-02 02:46:44 +00:00
hdl hdl.ast: add Value.{rotate_left,rotate_right}. 2020-04-13 13:40:39 +00:00
lib Correctly handle resets in AsyncFIFO. 2020-03-14 23:26:07 +00:00
test hdl.ast: add Value.{rotate_left,rotate_right}. 2020-04-13 13:40:39 +00:00
vendor buil.plat: enable strict undefined behavior in Jinja2. 2020-04-14 06:17:16 +00:00
__init__.py Remove everything deprecated in nmigen 0.1. 2020-01-12 13:59:26 +00:00
_toolchain.py Refactor build script toolchain lookups. 2019-10-13 13:53:24 +00:00
_unused.py _unused: extract must-use logic from hdl.ir. 2020-02-01 01:35:05 +00:00
_utils.py hdl.ir: allow disabling UnusedElaboratable warning in file scope. 2019-10-26 06:17:14 +00:00
asserts.py hdl.ast,back.rtlil: implement Cover. 2019-09-03 01:32:24 +00:00
cli.py cli: update use of deprecated code. 2020-02-12 14:42:24 +00:00
rpc.py rpc: add public Records as module ports. 2019-09-30 18:28:21 +00:00
tracer.py tracer: fix typo. 2019-08-19 20:20:18 +00:00
utils.py {,_}tools→{,_}utils 2019-10-13 18:53:38 +00:00