Description • How To Use • Download • Credits • License Find us on
## Description [(Back to top)](#table-of-contents) These scripts can be used as for: **Git Repos** * [EDA_libs](https://gitlab.hevs.ch/course/ElN/eda_libs.git) * [ELN_labs](https://gitlab.hevs.ch/course/ElN/eln_labs.git) * [SEm_exams](https://gitlab.hevs.ch/course/SEm/exams.git) * [ELN_chrono](https://gitlab.hevs.ch/course/ElN/eln_chrono.git) * [ELN_cursor](https://gitlab.hevs.ch/course/ElN/eln_cursor.git) * [ELN_kart](https://gitlab.hevs.ch/course/ElN/eln_kart.git) * [ELN_inverter](https://gitlab.hevs.ch/course/ElN/eln_inverter.git) * [ELN_synchro](https://gitlab.hevs.ch/course/ElN/eln_synchro.git) * [SEm_labs](https://gitlab.hevs.ch/course/SEm/sem_labs.git) * [ELN-kart](https://gitlab.hevs.ch/course/ElN/eln_kart_sodimm200.git) * [ELN-display](https://gitlab.hevs.ch/course/ElN/eln_display.git) **SVN Repos** * [CanSat](https://repos.hevs.ch/svn/eda/VHDL/labs/CanSat) (TODO) :rotating_light: * [ELN_support](https://repos.hevs.ch/svn/eda/VHDL/labs/ELN_support) (TODO) :rotating_light: * [EPTM_AudioAmp](https://repos.hevs.ch/svn/eda/VHDL/labs/AudioAmp) (TODO) :rotating_light: * [EPTM_Radio](https://repos.hevs.ch/svn/eda/VHDL/labs/EPTM_radio) (TODO) :rotating_light: * ... ### Files **Linux** * ``changeDefaultViews.bash`` - Changes RTL <=> studentVersion * Usage master => student: ``changeDefaultViews.bash -v -a masterVersion -n studentVersion`` * Usage master => student: ``changeDefaultViews.bash -v -a master@version -n student@version`` * Usage student => master: ``changeDefaultViews.bash -v -a studentVersion -n masterVersion`` * Usage student => master: ``changeDefaultViews.bash -v -a student@version -n master@version`` * Note: use the ``-r`` otion to also delete the specified actual_view * ``cleanGenerated.bash`` - Deletes all intermediate files * Usage: ``./cleanGenerated.bash`` * ``hdlDesigner.bash`` - Main script for starting HDL-Designer * ``deployLibs.bash`` - Execution from eln_libs repo, copy required libraries to student repo and commit/push it. * Usage: ``./Scripts/deployLibs.bash -v -p synd_eln_labs -r https://github.com/hei-synd-2131-eln/eln_labs.git`` * ``deployLibsAll.bash`` - Execution from eln_libs repo, copy required libraries to all student repo's and commit/push it. * Usage: ``./Scripts/deployLibsAll.bash`` * ``deployLab.bash`` - Execution from Laborepo, copy required laboratory files to student repo and commits/push it. * Usage: ``./Scripts/deployLab.bash -v -p synd_eln_labs -r https://github.com/hei-synd-2131-eln/eln_labs.git`` * ``deployScripts.bash`` - Copy required scripts to student repo and commits/push it. * Usage: ``./deployScripts.bash -v -p synd_eln_labs -r https://github.com/hei-synd-2131-eln/eln_labs.git`` * ``deployScriptsAll.bash`` - Execution from eln_scripts repo, copy required scripts to all student repo's and commit/push it. * Usage: ``./deployScriptsAll.bash`` **Windows** * ``cleanGenerated.bat`` - Deletes all intermediate files * Usage: ``./cleanGenerated.bat`` * ``cleanScratch.bat`` - Delete scratch directory * Usage: ``` bash set SCRATCH_DIR=C:\temp\eda\%username% ./cleanScratch.bat ``` * ``hdlDesigner.bat`` - Main script for starting HDL-Designer * ``searchPaths.bat`` - Search for required Libraries and tools * Usage: ``` bash :: Define required Tools to be present set REQUIRE_LIBS=1 set REQUIRE_HDS=1 set REQUIRE_MODELSIM=1 set REQUIRE_ISE=1 set REQUIRE_LIBERO=0 set HEI_LIBS_DIR=R:\SYND\Ele_2131\ELN\Labs\Libraries set HDS_HOME=C:\eda\MentorGraphics\HDS set MODELSIM_HOME=C:\eda\MentorGraphics\Modelsim\win64 set ISE_VERSION=14.7 set ISE_HOME=C:\eda\Xilinx\%ISE_VERSION%\ISE_DS\ISE set LIBERO_HOME=C:\eda\Microsemi\Libero set design_name=eln_labs ./searchPaths.bat ``` **Perl Scripts** Perl scripts are used to launch different tasks from HDL-Designer * ``trimLibs.pl`` - Comment regular libraries in an concatenated file * Parameter : ``trimlibs.pl