From 2543bcd567f5a3f61036b63a189c4689ead0856f Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Wed, 24 Aug 2022 12:42:56 +0300 Subject: [PATCH] Added scripts --- scripts/compile_flow_quartus.bat | 18 ++++++++++++++++++ scripts/convert_sof_to_jic.bat | 11 +++++++++++ 2 files changed, 29 insertions(+) create mode 100644 scripts/compile_flow_quartus.bat create mode 100644 scripts/convert_sof_to_jic.bat diff --git a/scripts/compile_flow_quartus.bat b/scripts/compile_flow_quartus.bat new file mode 100644 index 0000000..ab15fb2 --- /dev/null +++ b/scripts/compile_flow_quartus.bat @@ -0,0 +1,18 @@ +@echo off +rem ---------------------------------------------------------------------------- +rem compile_flow_quartus.bat +rem Konstantin Pavlov, pavlovconst@gmail.com +rem ---------------------------------------------------------------------------- + +rem The simplest way to compile Quartus project from commandline + + +for /R %%f in (*.qpf) do ( + echo "Project name is %%~nf" + + quartus_sh --flow compile %%~nf +) +echo "DONE!" + +pause +exit diff --git a/scripts/convert_sof_to_jic.bat b/scripts/convert_sof_to_jic.bat new file mode 100644 index 0000000..57a74e7 --- /dev/null +++ b/scripts/convert_sof_to_jic.bat @@ -0,0 +1,11 @@ +@echo off +rem ---------------------------------------------------------------------------- +rem convert_sof_to_jic.bat +rem Konstantin Pavlov, pavlovconst@gmail.com +rem ---------------------------------------------------------------------------- + + +echo "onverting .SOF to .JIC" +del /s /q .\out\SYNC_MM_PG_prj_128.jic +quartus_cpf -c -d EPCQ128 -s 5CGXFC4C7 .\out\PRJ_NAME.sof .\out\PRJ_NAME_128.jic +