Skip to content

Commit 12218a4

Browse files
committed
fix(mem_direct): update getting verilator_root function in the makefile of mem_direct
1 parent d06e5a0 commit 12218a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/mem_direct/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ TOP_NAME?=
55

66
{% if __SIMULATOR__ == "verilator" %}
77
# Use the last VERILATOR_ROOT reported by `verilator -V`
8-
V_ROOT := $(shell verilator -V | grep ROOT | grep verilator | tail -n 1 | awk '{print $3}')
8+
V_ROOT := $(shell verilator -V | grep ROOT | grep verilator | tail -n 1 | awk '{print $$3}')
99

1010
CXXFLAGS += -I ${V_ROOT}/include -I ${V_ROOT}/include/vltstd/ \
1111
-I ../build/DPI${TOP_NAME} \

0 commit comments

Comments
 (0)