mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 14:17:51 -04:00
[sim] add simulation check to sw makefiles as target 'sim-check'
This commit is contained in:
parent
f4a6365e38
commit
118cccf6ed
4 changed files with 7 additions and 4 deletions
2
.github/workflows/Processor.yml
vendored
2
.github/workflows/Processor.yml
vendored
|
@ -36,7 +36,7 @@ jobs:
|
|||
- name: '🚧 Run Processor Hardware Tests with shell script'
|
||||
uses: docker://ghcr.io/stnolting/neorv32/sim
|
||||
with:
|
||||
args: ./sim/simple/ghdl.sh
|
||||
args: make -C sw/example/processor_check sim-check
|
||||
|
||||
|
||||
VUnit-Container:
|
||||
|
|
|
@ -41,6 +41,3 @@ if [ -n "$GHDL_DEVNULL" ]; then
|
|||
else
|
||||
$runcmd
|
||||
fi
|
||||
|
||||
# verify results of processor check: sw/example/processor_check
|
||||
cat neorv32.uart0.sim_mode.text.out | grep "PROCESSOR TEST COMPLETED SUCCESSFULLY!"
|
||||
|
|
|
@ -2,3 +2,6 @@
|
|||
NEORV32_HOME ?= ../../..
|
||||
|
||||
include $(NEORV32_HOME)/sw/common/common.mk
|
||||
|
||||
sim-check: sim
|
||||
cat $(NEORV32_HOME)/sim/simple/neorv32.uart0.sim_mode.text.out | grep "Hello world! :)"
|
||||
|
|
|
@ -2,3 +2,6 @@
|
|||
NEORV32_HOME ?= ../../..
|
||||
|
||||
include $(NEORV32_HOME)/sw/common/common.mk
|
||||
|
||||
sim-check: sim
|
||||
cat $(NEORV32_HOME)/sim/simple/neorv32.uart0.sim_mode.text.out | grep "PROCESSOR TEST COMPLETED SUCCESSFULLY!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue