amaranth/nmigen
whitequark 6cee280407 plat, vendor: systematically escape net and file names in Tcl.
Before this commit, there was only occasional quoting of some names
used in any Tcl files. (I'm not sure what I was thinking.)

After this commit, any substs that may include Tcl special characters
are escaped. This does not include build names (which are explicitly
restricted to ASCII to avoid this problem), or attribute names (which
are chosen from a predefined set). Ideally we'd use a more principled
approach but Jinja2 does not support custom escaping mechanisms.

Note that Vivado restricts clock names to a more restrictive set that
forbids using Tcl special characters even when escaped.

Fixes #375.
2020-05-02 10:41:18 +00:00
..
back back.rtlil: fix incorrect escaping of signed parameters. 2020-04-28 02:18:45 +00:00
build plat, vendor: systematically escape net and file names in Tcl. 2020-05-02 10:41:18 +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: use SignalSet, not ValueSet, for _[lr]hs_signals(). 2020-04-27 18:43:36 +00:00
lib lib.cdc: add missing documentation for AsyncFFSynchronizer. NFC. 2020-04-27 02:20:29 +00:00
test hdl.ir: typecheck convert(ports=) more carefully. 2020-04-24 21:15:00 +00:00
vendor plat, vendor: systematically escape net and file names in Tcl. 2020-05-02 10:41:18 +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