File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright 2024 ETH Zurich and University of Bologna.
2+ # Solderpad Hardware License, Version 0.51, see LICENSE for details.
3+ # SPDX-License-Identifier: SHL-0.51
4+
5+ # Some CI tests run on our GitLab servers due to licenses and tools
6+ name : verilator-ci
7+ on : [push, pull_request, workflow_dispatch]
8+ jobs :
9+ verilator-ci :
10+ name : Public Verilator CI
11+ runs-on : fconti/pulp-verilator
12+ steps :
13+ - name : Test
14+ # Skip on forks or pull requests from forks due to missing secrets.
15+ if :
16+ github.repository == 'pulp-platform/pulpissimo' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
17+ run : echo "HELLO"
Original file line number Diff line number Diff line change @@ -67,6 +67,12 @@ $(VERILATOR_BUILD_DIR)/obj_dir/Vtb_pulp: $(VERILATOR_BUILD_DIR)/pulpissimo.f
6767
6868.PHONY : verilate
6969verilate : clean-verilator-bender verilator-bender $(VERILATOR_BUILD_DIR ) /obj_dir/Vtb_pulp
70+ ifneq ($(VERILATOR_PATH ) , $(PULPISSIMO_ROOT ) /build/verilator)
71+ @echo ""
72+ @echo "To run a simulation directly with the PULP runtime or SDK \`make run\` commands execute the following:"
73+ @echo ""
74+ @echo " export VERILATOR_PATH=$(PULPISSIMO_ROOT)/build/verilator"
75+ endif
7076
7177clean-verilate :
7278 rm -rf $(VERILATOR_BUILD_DIR ) /obj_dir
You can’t perform that action at this time.
0 commit comments