forked from tgingold-cern/cheby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI - Run RTL elaboration during tests, add SV tests, use argparse in …
…tests The RTL elaboration is done using ghdl and verilator. In the case of verilator, a apptainer container is used to get a newer (>=5) version of verilator. Also adds the necessary packages for the SV files.
- Loading branch information
1 parent
92413bc
commit cc0b9bd
Showing
6 changed files
with
234 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.sif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
IMAGE='verilator/verilator:v5.018' | ||
IMAGE_FILE=$(dirname $0)/verilator.sif | ||
|
||
if [ ! -f $IMAGE_FILE ]; then | ||
apptainer pull $IMAGE_FILE docker://$IMAGE | ||
fi | ||
|
||
export LC_ALL="C" | ||
apptainer run $IMAGE_FILE $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.