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,11 +29,23 @@ Select your FPGA family:
Next, prepare the environment: Next, prepare the environment:
.. code-block:: bash .. tabs::
:name: conda-prep-env
export PATH="$INSTALL_DIR/$FPGA_FAM/quicklogic-arch-defs/bin:$PATH"; .. group-tab:: Artix-7
source "$INSTALL_DIR/$FPGA_FAM/conda/etc/profile.d/conda.sh"
.. code-block:: bash
: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";
source "$INSTALL_DIR/$FPGA_FAM/conda/etc/profile.d/conda.sh"
Finally, enter your working Conda environment: Finally, enter your working Conda environment: