Compare commits

..

1 Commits

Author SHA1 Message Date
5ff92a05c1 admin (#15)
Reviewed-on: #15
Co-authored-by: Erik Örtenberg <erik.ortenberg@gmail.com>
Co-committed-by: Erik Örtenberg <erik.ortenberg@gmail.com>
2025-03-14 11:24:01 +01:00
2 changed files with 3 additions and 5 deletions

View File

@ -2,8 +2,8 @@
This repository is the public part of the thesis work created by Adam Magnusson and Erik Örtenberg at Chalmers Univerity of Technology. The work contained wihtin this repo details how a network interface will work, mostly built in VHDL. This repository is the public part of the thesis work created by Adam Magnusson and Erik Örtenberg at Chalmers Univerity of Technology. The work contained wihtin this repo details how a network interface will work, mostly built in VHDL.
# Tool instructions # Tool instructions
Read the README.md in `./scripts` Building is facilitated by [Gantry](https://git.kryddan.xyz/kryddan/gantry). A dockerized version of GHDL is available in `scripts`
# Build instructions # Build instructions
TBW Enter `src/ganimede` and run `gantry elab ganimede_toplevel rtl` to build. Run `gantry run ganimede_toplevel_tb tb` to simulate and view wave forms of the project.

View File

@ -2,7 +2,5 @@
VARS="$@" VARS="$@"
COMMAND="ghdl $VARS" COMMAND="ghdl $VARS"
PROJ_HOME=/home/thesis1/repos/exjobb-public PROJ_HOME=/home/thesis1/repos/exjobb-public
USER_ID=$(id -u "$USER")
GROUP_ID=$(id -g "$USER")
RELPATH=$(realpath -m --relative-to="$PROJ_HOME" .) RELPATH=$(realpath -m --relative-to="$PROJ_HOME" .)
docker run -it -v "$PROJ_HOME"/src:/src -w /"$RELPATH" --user "$USER_ID":"$GROUP_ID" ghdl/ghdl:5.0.0-dev-gcc-ubuntu-24.04 bash -c "$COMMAND" docker run -it -v "$PROJ_HOME"/src:/src -w /"$RELPATH" ghdl/ghdl:5.0.0-dev-gcc-ubuntu-24.04 bash -c "$COMMAND"