vendor.lattice_{ecp5,machxo_2_3l}: explain how to set up NMIGEN_ENV_Diamond on Windows.
This commit is contained in:
parent
d12c7827a0
commit
47ecc16283
|
@ -47,7 +47,12 @@ class LatticeECP5Platform(TemplatedPlatform):
|
||||||
* ``ddtcmd``
|
* ``ddtcmd``
|
||||||
|
|
||||||
The environment is populated by running the script specified in the environment variable
|
The environment is populated by running the script specified in the environment variable
|
||||||
``NMIGEN_ENV_Diamond``, if present.
|
``NMIGEN_ENV_Diamond``, if present. On Linux, diamond_env as provided by Diamond
|
||||||
|
itself is a good candidate. On Windows, the following script (named ``diamond_env.bat``,
|
||||||
|
for instance) is known to work::
|
||||||
|
|
||||||
|
@echo off
|
||||||
|
set PATH=C:\\lscc\\diamond\\%DIAMOND_VERSION%\\bin\\nt64;%PATH%
|
||||||
|
|
||||||
Available overrides:
|
Available overrides:
|
||||||
* ``script_project``: inserts commands before ``prj_project save`` in Tcl script.
|
* ``script_project``: inserts commands before ``prj_project save`` in Tcl script.
|
||||||
|
|
|
@ -16,7 +16,12 @@ class LatticeMachXO2Or3LPlatform(TemplatedPlatform):
|
||||||
* ``ddtcmd``
|
* ``ddtcmd``
|
||||||
|
|
||||||
The environment is populated by running the script specified in the environment variable
|
The environment is populated by running the script specified in the environment variable
|
||||||
``NMIGEN_ENV_Diamond``, if present.
|
``NMIGEN_ENV_Diamond``, if present. On Linux, diamond_env as provided by Diamond
|
||||||
|
itself is a good candidate. On Windows, the following script (named ``diamond_env.bat``,
|
||||||
|
for instance) is known to work::
|
||||||
|
|
||||||
|
@echo off
|
||||||
|
set PATH=C:\\lscc\\diamond\\%DIAMOND_VERSION%\\bin\\nt64;%PATH%
|
||||||
|
|
||||||
Available overrides:
|
Available overrides:
|
||||||
* ``script_project``: inserts commands before ``prj_project save`` in Tcl script.
|
* ``script_project``: inserts commands before ``prj_project save`` in Tcl script.
|
||||||
|
|
Loading…
Reference in a new issue