From f79778404119f21ac59fed6ae1ea01c36f25f4d9 Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Wed, 15 Jun 2022 15:50:11 +0200
Subject: [PATCH] Added alias initsdp.

---
 doc/erko_howto_tools.txt | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/doc/erko_howto_tools.txt b/doc/erko_howto_tools.txt
index 30cefc41d2..15c830661b 100755
--- a/doc/erko_howto_tools.txt
+++ b/doc/erko_howto_tools.txt
@@ -46,6 +46,9 @@
 # Setup RadioHDL development environment for hdl/. The hdl/libraries, hdl/boards and hdl/applications are
 # developed simultaneously and therefor in one git hdl/ repository
 
+> cd git
+  alias initsdp='cd $HOMEDATA/git/hdl;. ./init_hdl.sh;cd ../upe_gear;. ./init_upe.sh;cd ../sdptr;. ./init_sdptr.sh;cd ..'
+
 > cd ~/git/hdl
 
 > . ./init_hdl.sh
@@ -59,6 +62,7 @@
     - cp ${RADIOHDL_WORK}/hdl_user_components.ipx $altera_dir/ip/altera/user_components.ipx
 
   * init_hdl.sh automatically also sources ../radiohdl/init_radiohdl.sh if necessary
+  * init_hdl.sh automatically also sources ../args/init_args.sh if necessary
 
 
 source also radiohdl tools
@@ -101,13 +105,24 @@ during tb simulation load --> fixed by "sudo chmod a+w -R modelsim_altera_libs/1
 
 > run_quartus unb1 &
 
-# Run command line synthesis
+# Run command line synthesis for dts
+quartus_config unb2c
 run_qsys_pro unb2c lofar2_unb2c_sdp_station_full;
 gen_rom_mmap.py --avalon -d lofar2_unb2c_sdp_station -r lofar2_unb2c_sdp_station_full;
 run_reg unb2c lofar2_unb2c_sdp_station_full;
 run_qcomp unb2c lofar2_unb2c_sdp_station_full --clk=CLK;
 run_rbf unb2c lofar2_unb2c_sdp_station_full
 
+# Run command line synthesis for sdp-arts
+quartus_config unb2b
+run_qsys_pro unb2b lofar2_unb2b_sdp_station_full_wg
+gen_rom_mmap.py --avalon -d lofar2_unb2b_sdp_station -r lofar2_unb2b_sdp_station_full_wg
+run_reg unb2b lofar2_unb2b_sdp_station_full_wg
+run_qcomp unb2b lofar2_unb2b_sdp_station_full_wg --clk=CLK
+run_rbf unb2b lofar2_unb2b_sdp_station_full_wg
+
+> quartus_config unb2b; run_qsys_pro unb2b lofar2_unb2b_sdp_station_full_wg; gen_rom_mmap.py --avalon -d lofar2_unb2b_sdp_station -r lofar2_unb2b_sdp_station_full_wg; run_reg unb2b lofar2_unb2b_sdp_station_full_wg; run_qcomp unb2b lofar2_unb2b_sdp_station_full_wg --clk=CLK; run_rbf unb2b lofar2_unb2b_sdp_station_full_wg
+
 *******************************************************************************
 * RadioHDL with SVN
 *******************************************************************************
-- 
GitLab