Skip to content

Commit 782cafa

Browse files
Merge pull request #7 from verilator/master
[pull] master from verilator:master
2 parents dfd2de2 + f8cb831 commit 782cafa

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/build.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@ name: build
44
on:
55
push:
66
pull_request:
7+
workflow_dispatch:
78
schedule:
89
- cron: '0 0 * * 0' # weekly
910

1011
jobs:
1112
build:
12-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1314
steps:
1415
- name: Checkout
15-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1617

1718
# This uses the ":stable" version of Verilator, you may prefer ":latest"
1819
# We run make from inside the container, overriding default entry point (Verilator binary itself)

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ VERILATOR_FLAGS += -cc --exe
4242
# Generate makefile dependencies (not shown as complicates the Makefile)
4343
#VERILATOR_FLAGS += -MMD
4444
# Optimize
45-
VERILATOR_FLAGS += -x-assign 0
45+
VERILATOR_FLAGS += --x-assign 0
4646
# Warn abount lint issues; may not want this on less solid designs
4747
VERILATOR_FLAGS += -Wall
4848
# Make waveforms
@@ -81,6 +81,7 @@ run:
8181

8282
@echo
8383
@echo "-- VERILATE ----------------"
84+
$(VERILATOR) --version
8485
$(VERILATOR) $(VERILATOR_FLAGS) $(VERILATOR_INPUT)
8586

8687
@echo

0 commit comments

Comments
 (0)