From 541116faf588191c3702ce7a5b373b7e0678ee39 Mon Sep 17 00:00:00 2001 From: Ganesh Gore Date: Sun, 12 Feb 2023 11:50:11 -0700 Subject: [PATCH] Updated docker image --- Dockerfile | 11 ++++++++++- openfpga.sh | 5 +++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b10c68b15..4c369edc1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/lnis-uofu/openfpga-master:10ffa828 +FROM ghcr.io/lnis-uofu/openfpga-master:9e4936f9 # Install node js USER root @@ -6,10 +6,19 @@ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - RUN curl -fsSL https://code-server.dev/install.sh | sh RUN apt-get install -y nodejs RUN apt-get install tree + +# = = = = = = = VSCODE Extension installation = = = = = = = +# Python support in vscode RUN code-server --install-extension ms-python.python +# For CSV file alignment RUN code-server --install-extension mechatroner.rainbow-csv +# For VCD Viewer RUN code-server --install-extension wavetrace.wavetrace +# For XML Linting RUN code-server --install-extension dotjoshjohnson.xml +# For git graphs +RUN code-server --install-extension mhutchie.git-graph +# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = RUN usermod -u 2000 openfpga_user RUN groupmod -g 2000 openfpga_user diff --git a/openfpga.sh b/openfpga.sh index 787fe5c88..8773c3b30 100755 --- a/openfpga.sh +++ b/openfpga.sh @@ -42,8 +42,9 @@ create-task () { fi template="template_tasks/yosys_vpr_template" if [ ${#2} -ge 1 ]; then - if [[ "$2" == "vpr_blif" ]]; then template="template_tasks/${2}_template/"; - elif [[ "$2" == "yosys_vpr" ]]; then template="template_tasks/${2}_template/"; + if [[ "$2" == "fabric_netlist_gen" ]]; then template="template_tasks/${2}_template/"; + elif [[ "$2" == "fabric_verification" ]]; then template="template_tasks/${2}_template/"; + elif [[ "$2" == "frac-lut-arch-explore" ]]; then template="template_tasks/${2}_template/"; elif [[ "$2" == "vtr_benchmarks" ]]; then template="template_tasks/${2}_template/"; else template="$2" fi