-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sim] Add GHDL run flags variable (#715)
- Loading branch information
Showing
4 changed files
with
84 additions
and
64 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
# `GHDL` is used to check all VHDL files for syntax errors and to simulate the default testbench. The previously | ||
# installed CPU test program is executed and the console output (UART0 primary UART) is dumped to a text file. After the | ||
# simulation has finished, the text file is searched for a specific string. If the string is found, the CPU test was | ||
# successful. | ||
|
||
# Abort if any command returns != 0 | ||
set -e | ||
|
||
cd $(dirname "$0") | ||
|
||
./ghdl.setup.sh | ||
./ghdl.run.sh | ||
./ghdl.run.sh $1 |
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