build.plat: NMIGEN_<toolchain>_env→NMIGEN_ENV_<toolchain>
This is more consistent with other environment variables nMigen uses.
This commit is contained in:
parent
2dc6ae4ac5
commit
07a82ed70e
|
@ -62,7 +62,7 @@ class Platform(ResourceManager, metaclass=ABCMeta):
|
|||
|
||||
@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,
|
||||
|
|
4
nmigen/vendor/lattice_ecp5.py
vendored
4
nmigen/vendor/lattice_ecp5.py
vendored
|
@ -18,7 +18,7 @@ class LatticeECP5Platform(TemplatedPlatform):
|
|||
* ``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.
|
||||
|
@ -46,7 +46,7 @@ class LatticeECP5Platform(TemplatedPlatform):
|
|||
* ``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.
|
||||
|
|
2
nmigen/vendor/lattice_ice40.py
vendored
2
nmigen/vendor/lattice_ice40.py
vendored
|
@ -15,7 +15,7 @@ class LatticeICE40Platform(TemplatedPlatform):
|
|||
* ``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.
|
||||
|
|
2
nmigen/vendor/xilinx_7series.py
vendored
2
nmigen/vendor/xilinx_7series.py
vendored
|
@ -13,7 +13,7 @@ class Xilinx7SeriesPlatform(TemplatedPlatform):
|
|||
* ``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.
|
||||
|
|
2
nmigen/vendor/xilinx_spartan_3_6.py
vendored
2
nmigen/vendor/xilinx_spartan_3_6.py
vendored
|
@ -21,7 +21,7 @@ class XilinxSpartan3Or6Platform(TemplatedPlatform):
|
|||
* ``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.
|
||||
|
|
Loading…
Reference in a new issue