From b6e117551770aa9a3c4fb332aef6342b4084be33 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Mon, 22 Aug 2022 18:19:23 -0700 Subject: [PATCH] [script] update doc and avoid modify README.MD when updating arch files --- openfpga_flow/vpr_arch/Makefile | 2 +- openfpga_flow/vpr_arch/README.md | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/openfpga_flow/vpr_arch/Makefile b/openfpga_flow/vpr_arch/Makefile index c9710ba7c..55b6a7351 100644 --- a/openfpga_flow/vpr_arch/Makefile +++ b/openfpga_flow/vpr_arch/Makefile @@ -17,7 +17,7 @@ help: v1p1_to_v1p2: # This commands will update all the architecture file from v1.1 to v1.2 - for f in `ls .`; do ${PYTHON_EXEC} ${ARCH_UPDATER} --input_file $${f} --output_file $${f}; done; + for f in `ls *.xml`; do ${PYTHON_EXEC} ${ARCH_UPDATER} --input_file $${f} --output_file $${f}; done; # Functions to extract comments from Makefiles define COMMENT_EXTRACT diff --git a/openfpga_flow/vpr_arch/README.md b/openfpga_flow/vpr_arch/README.md index e5855b390..c29ce4465 100644 --- a/openfpga_flow/vpr_arch/README.md +++ b/openfpga_flow/vpr_arch/README.md @@ -29,3 +29,11 @@ Please reveal the following architecture features in the names to help quickly s - GlobalTileClk: How many clocks are defined through global ports from physical tiles. is the number of clocks Other features are used in naming should be listed here. + +# Update architecture files in batch + +## From v1.1 to v1.2 + +``` +make v1p1_to_v1p2 +```