diff --git a/.cproject b/.cproject index 1cb85cc..1463a0b 100644 --- a/.cproject +++ b/.cproject @@ -16,7 +16,7 @@ - + diff --git a/.gitmodules b/.gitmodules index 587d5d6..f533ef3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "dbt-core"] path = dbt-core url = https://git.minres.com/DBT-RISE/DBT-RISE-Core.git +[submodule "coredsl"] + path = coredsl + url = https://git.minres.com/DBT-RISE/CoreDSL.git diff --git a/Modulefile b/Modulefile new file mode 100644 index 0000000..35bf3ea --- /dev/null +++ b/Modulefile @@ -0,0 +1,33 @@ +#%Module###################################################################### +## +## Project Module +## +proc ModulesHelp { } { + puts stderr "\tThe TGFS-ISS Project Module\n" + puts stderr "\tThis module loads PATHs and variables for accessing Verilator." +} + + +set distro [exec /bin/lsb_release -i -s] +if { $distro == "CentOS" && ![info exists ::env(PROJECT)] && ![info exists ::env(PCP_DIR)] } { + puts stderr "Don't forget to execute 'scl enable devtoolset-7 bash'" +} + +if {![info exists ::env(PROJECT)] && [file exists $::env(HOME)/.sdkman/candidates/java/11.0.9.hs-adpt/] != 1} { + puts stderr "Please install java via 'sdk install java 11.0.9.hs-adpt'!" + prereq java/11.0.9 +} else { + prepend-path PATH $::env(HOME)/.sdkman/candidates/java/11.0.9.hs-adpt/bin +} + +if {![info exists ::env(PROJECT)] && [file exists $::env(HOME)/.sdkman/candidates/maven/3.6.3] != 1} { + puts stderr "Please install sbt via 'sdk install maven 3.6.3'!" + prereq maven/3.6.3 +} else { + prepend-path PATH $::env(HOME)/.sdkman/candidates/sbt/1.4.4/bin +} + +module load tools/cmake + +setenv PROJECT TGFS-ISS + diff --git a/coredsl b/coredsl new file mode 160000 index 0000000..303d3d4 --- /dev/null +++ b/coredsl @@ -0,0 +1 @@ +Subproject commit 303d3d4b0466cc0df278684100dfdc5567a87c51 diff --git a/tgfs b/tgfs index d43b359..ab55453 160000 --- a/tgfs +++ b/tgfs @@ -1 +1 @@ -Subproject commit d43b35949e60c45e45ec43af1977478d0f93869d +Subproject commit ab554539e37566f7ca8f06d5ddf701bdf231a110