From 9e88807ad589a5cb252fa519aa1b249f432e5d74 Mon Sep 17 00:00:00 2001 From: James Stine Date: Wed, 18 Sep 2024 12:47:08 -0500 Subject: [PATCH] fix some missing hard-coded paths #647 --- bin/fparchtest.sh | 2 -- linux/buildroot-packages/fpga-axi-sdc/fpga-axi-sdc.mk~ | 7 ------- site-setup.sh | 4 ++++ 3 files changed, 4 insertions(+), 9 deletions(-) delete mode 100644 linux/buildroot-packages/fpga-axi-sdc/fpga-axi-sdc.mk~ diff --git a/bin/fparchtest.sh b/bin/fparchtest.sh index 7c5b0d28f..852cafecb 100755 --- a/bin/fparchtest.sh +++ b/bin/fparchtest.sh @@ -13,8 +13,6 @@ # pip3 install git+https://github.com/riscv/riscv-isac.git # Put ~/.local/bin in $PATH to find riscv_isac and riscv_ctg -RISCVCTG=/home/harris/repos/riscv-ctg - #riscv_isac --verbose debug normalize -c $RISCVCTG/sample_cgfs/dataset.cgf -c $RISCVCTG/sample_cgfs/sample_cgfs_fext/RV32F/fadd.s.cgf -o $RISCVCTG/tests/normalizedfadd.cgf -x 32 #riscv_isac --verbose debug normalize -c $RISCVCTG/sample_cgfs/dataset.cgf -c $RISCVCTG/sample_cgfs/sample_cgfs_fext/RV32H/fadd_b1.s.cgf -o $RISCVCTG/tests/normalizedfadd16_b1.cgf -x 32 riscv_ctg -cf $RISCVCTG/tests/normalizedfadd16_b1.cgf -d $RISCVCTG/tests --base-isa rv32i --verbose debug diff --git a/linux/buildroot-packages/fpga-axi-sdc/fpga-axi-sdc.mk~ b/linux/buildroot-packages/fpga-axi-sdc/fpga-axi-sdc.mk~ deleted file mode 100644 index 92308225d..000000000 --- a/linux/buildroot-packages/fpga-axi-sdc/fpga-axi-sdc.mk~ +++ /dev/null @@ -1,7 +0,0 @@ -FPGA_AXI_SDC_MODULE_VERSION = 1.0 -FPGA_AXI_SDC_SITE = /home/jpease/repos/fpga-axi-sdc -FPGA_AXI_SDC_SITE_METHOD = local -FPGA_AXI_SDC_LICENSE = GPLv2 - -$(eval $(kernel-module)) -$(eval $(generic-package)) diff --git a/site-setup.sh b/site-setup.sh index 80e9acbbe..0c8ac69d9 100755 --- a/site-setup.sh +++ b/site-setup.sh @@ -30,6 +30,10 @@ export SYN_MW=/home/jstine/MW export SYN_memory=/home/jstine/WallyMem/rv64gc/ #export osumemory=/import/yukari1/pdk/TSMC/WallyMem/rv64gc/ +# Environmental variables for FPGA +export RISCVCTG=/home/harris/repos/riscv-ctg + + # GCC if [ -z "$LD_LIBRARY_PATH" ]; then export LD_LIBRARY_PATH=$RISCV/riscv64-unknown-elf/lib