Initial commit
This commit is contained in:
14
Libs/RiscV_test/NEORV32_test/simple/ghdl.sh
Normal file
14
Libs/RiscV_test/NEORV32_test/simple/ghdl.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user