amaranth/nmigen/build
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
..
__init__.py build.{dsl,res,plat}: apply clock constraints to signals, not resources. 2019-06-05 08:52:30 +00:00
dsl.py build.dsl: allow strings to be used as connector numbers. 2020-01-31 03:11:34 +00:00
plat.py buil.plat: enable strict undefined behavior in Jinja2. 2020-04-14 06:17:16 +00:00
res.py build.res,vendor: place clock constraint on port, not net, if possible. 2020-02-06 23:37:15 +00:00
run.py Clarify a few comments. NFC. 2020-04-13 13:55:23 +00:00