From 0023d0cb74f58cb9eca2c56b1ad798758df2f0dd Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Thu, 5 Nov 2020 14:28:39 +0100
Subject: [PATCH] Added ARGS commands.

---
 .../doc/prestudy/desp_howtools_erko.txt       | 39 +++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/applications/lofar2/doc/prestudy/desp_howtools_erko.txt b/applications/lofar2/doc/prestudy/desp_howtools_erko.txt
index 7bdc861dd8..51147cf58c 100755
--- a/applications/lofar2/doc/prestudy/desp_howtools_erko.txt
+++ b/applications/lofar2/doc/prestudy/desp_howtools_erko.txt
@@ -1,6 +1,7 @@
 * RadioHDL with GIT (LOFAR2.0)
 * RadioHDL with SVN (APERTIF/ARTS)
 * RadioHDL issues
+* ARGS
 * GIT workflow
 * Confluence
 * Polarion
@@ -106,6 +107,35 @@ Temporary fix commented line 4,5 in:
 https://git.astron.nl/desp/hdl/-/blob/L2SDP-36/libraries/technology/ip_arria10_e1sg/jesd204b/hdllib.cfg
 
 
+*******************************************************************************
+* ARGS
+*******************************************************************************
+
+1) Synthesis flow
+cd ~/git/hdl
+. ./init_hdl.sh
+compile_altera_simlibs unb2b
+generate_altera_simlibs unb2b
+sudo mv $RADIOHDL_WORK/build/quartus/18.0  /home/software/modelsim_altera_libs
+
+run_qsys_pro unb2b unb2b_minimal
+
+# Overwrite rom_system_info with mmap, using -a to have base addresses from QSYS
+gen_rom_mmap.py --fpga unb2b_minimal --avalon
+run_reg unb2b unb2b_minimal
+
+run_qcomp unb2b unb2b_minimal
+run_rbf unb2b unb2b_minimal
+
+2) Create mmap
+gen_rom_mmap.py --fpga unb2b_minimal   # using ARGS base addresses
+                                       # result in build/unb2b/args/unb2b_minimal/c
+
+3) Create document
+gen_doc.py --fpga unb2b_minimal  # result in build/unb2b/args/unb2b_minimal/doc/
+
+
+
 *******************************************************************************
 * GIT references
 *******************************************************************************
@@ -686,10 +716,19 @@ dop466_0 = HDD
 > grep -rl 'search text in files' .  # -r for recursive, -l for only list filename
 
 
+Start --> Administration --> Synaptic package manager
+
 > sudo -s   # to become root
 > sudo pip install numpy      # to run Python2 library installer as root
 > sudo pip3 install numpy     # to run Python3 library installer as root
 
+> sudo pip3 install --upgrade setuptools
+> sudo pip3 install pylatex
+> sudo apt-get install texlive-latex-base
+> sudo apt-get install texlive-fonts-recommended
+> sudo apt-get install texlive-fonts-extra
+> sudo apt-get install texlive-latex-extra
+
 > sudo apt-get install pip    # to install Python2 library installer
 
 > ifconfig
-- 
GitLab