This is more consistent with other environment variables nMigen uses.
@property
def _toolchain_env_var(self):
- return f"NMIGEN_{self.toolchain}_env"
+ return f"NMIGEN_ENV_{self.toolchain}"
def build(self, elaboratable, name="top",
build_dir="build", do_build=True,
* ``ecppack``
The environment is populated by running the script specified in the environment variable
- ``NMIGEN_Trellis_env``, if present.
+ ``NMIGEN_ENV_Trellis``, if present.
Available overrides:
* ``verbose``: enables logging of informational messages to standard error.
* ``ddtcmd``
The environment is populated by running the script specified in the environment variable
- ``NMIGEN_Diamond_env``, if present.
+ ``NMIGEN_ENV_Diamond``, if present.
Available overrides:
* ``script_project``: inserts commands before ``prj_project save`` in Tcl script.
* ``icepack``
The environment is populated by running the script specified in the environment variable
- ``NMIGEN_IceStorm_env``, if present.
+ ``NMIGEN_ENV_IceStorm``, if present.
Available overrides:
* ``verbose``: enables logging of informational messages to standard error.
* ``vivado``
The environment is populated by running the script specified in the environment variable
- ``NMIGEN_Vivado_env``, if present.
+ ``NMIGEN_ENV_Vivado``, if present.
Available overrides:
* ``script_after_read``: inserts commands after ``read_xdc`` in Tcl script.
* ``bitgen``
The environment is populated by running the script specified in the environment variable
- ``NMIGEN_ISE_env``, if present.
+ ``NMIGEN_ENV_ISE``, if present.
Available overrides:
* ``script_after_run``: inserts commands after ``run`` in XST script.