* `-g Binary:Yes` should be overridable.
* `-g Compress` is a good default.
* ``script_after_read``: inserts commands after ``read_ilang`` in Yosys script.
* ``script_after_synth``: inserts commands after ``synth_ice40`` in Yosys script.
* ``yosys_opts``: adds extra options for Yosys.
- * ``nextpnr_opts``: adds extra and overrides default options (``--placer heap``)
- for nextpnr.
+ * ``nextpnr_opts``: adds extra and overrides default options for nextpnr;
+ default options: ``--placer heap``.
Build products:
* ``{{name}}.rpt``: Yosys log.
""",
r"""
{{get_tool("bitgen")}}
- {{get_override("bitgen_opts")|default([])|options}}
+ {{get_override("bitgen_opts")|default(["-g Binary:Yes", "-g Compress"])|options}}
-w
- -g Binary:Yes
{{name}}_par.ncd
{{name}}.bit
"""