build-examples: fix conda-prep-env instructions

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
This commit is contained in:
Alessandro Comodi 2021-07-02 13:17:05 +02:00
parent a5837bb0ba
commit 2dbe7e8b5a
2 changed files with 17 additions and 5 deletions

View File

@ -54,7 +54,7 @@ fi
# activate conda and enter example dir # activate conda and enter example dir
snippets="docs/building-examples.rst:export-install-dir,fpga-fam-$fpga_family,conda-prep-env,conda-act-env,enter-dir-$fpga_family" snippets="docs/building-examples.rst:export-install-dir,fpga-fam-$fpga_family,conda-prep-env-$fpga_family,conda-act-env,enter-dir-$fpga_family"
# Xilinx 7-Series examples # Xilinx 7-Series examples
if [ "$fpga_family" = "xc7" ]; then if [ "$fpga_family" = "xc7" ]; then

View File

@ -29,8 +29,20 @@ Select your FPGA family:
Next, prepare the environment: Next, prepare the environment:
.. tabs::
.. group-tab:: Artix-7
.. code-block:: bash .. code-block:: bash
:name: conda-prep-env :name: conda-prep-env-xc7
export PATH="$INSTALL_DIR/$FPGA_FAM/install/bin:$PATH";
source "$INSTALL_DIR/$FPGA_FAM/conda/etc/profile.d/conda.sh"
.. group-tab:: EOS S3
.. code-block:: bash
:name: conda-prep-env-eos-s3
export PATH="$INSTALL_DIR/$FPGA_FAM/quicklogic-arch-defs/bin:$PATH"; export PATH="$INSTALL_DIR/$FPGA_FAM/quicklogic-arch-defs/bin:$PATH";
source "$INSTALL_DIR/$FPGA_FAM/conda/etc/profile.d/conda.sh" source "$INSTALL_DIR/$FPGA_FAM/conda/etc/profile.d/conda.sh"