diff --git a/.gitignore b/.gitignore index feeab8e..8b5428d 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,5 @@ FemtoRV/FIRMWARE/TOOLS/firmware_words FemtoRV/RTL/CONFIGS/my_config.v FemtoRV/femtosoc.txt FemtoRV/FIRMWARE/config.mk +FemtoRV/TOOLS/environment.yml +FemtoRV/TOOLS/requirements.txt diff --git a/FemtoRV/TOOLS/get_symbiflow.sh b/FemtoRV/TOOLS/get_symbiflow.sh index 24429f6..18a572e 100755 --- a/FemtoRV/TOOLS/get_symbiflow.sh +++ b/FemtoRV/TOOLS/get_symbiflow.sh @@ -5,12 +5,15 @@ INSTALL_DIR=$HOME/opt/symbiflow FPGA_FAM=xc7 ARCH_DEFS_WEB=https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/367/20210822-000315 +SYMBIFLOW_EXAMPLES=https://raw.githubusercontent.com/SymbiFlow/symbiflow-examples/master/xc7 wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O conda_installer.sh +wget $SYMBIFLOW_EXAMPLES/environment.yml -O environment.yml +wget $SYMBIFLOW_EXAMPLES/requirements.txt -O requirements.txt bash conda_installer.sh -u -b -p $INSTALL_DIR/$FPGA_FAM/conda; . "$INSTALL_DIR/$FPGA_FAM/conda/etc/profile.d/conda.sh"; -$INSTALL_DIR/$FPGA_FAM/conda/bin/conda env create -f $FPGA_FAM/environment.yml +$INSTALL_DIR/$FPGA_FAM/conda/bin/conda env create -f environment.yml mkdir -p $INSTALL_DIR/xc7/install echo Getting arch defs