From 67b2e94f8232188f3d3fb90cb6c3d7370fdd94fd Mon Sep 17 00:00:00 2001 From: goekce <18174744+goekce@users.noreply.github.com> Date: Mon, 21 Oct 2024 17:14:25 +0200 Subject: [PATCH] Verilator requires at least c++14 --- src/test/cpp/briey/makefile | 2 +- src/test/cpp/murax/makefile | 2 +- src/test/cpp/regression/makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/cpp/briey/makefile b/src/test/cpp/briey/makefile index e0a024b..1e4f0f4 100644 --- a/src/test/cpp/briey/makefile +++ b/src/test/cpp/briey/makefile @@ -48,7 +48,7 @@ run: compile verilate: ../../../../Briey.v rm -f Briey.v*.bin cp ../../../../Briey.v*.bin . | true - verilator -cc ../../../../Briey.v -CFLAGS -std=c++11 ${ADDCFLAGS} --gdbbt ${VERILATOR_ARGS} -Wno-WIDTH -Wno-UNOPTFLAT --x-assign unique --exe main.cpp + verilator -cc ../../../../Briey.v ${ADDCFLAGS} --gdbbt ${VERILATOR_ARGS} -Wno-WIDTH -Wno-UNOPTFLAT --x-assign unique --exe main.cpp compile: verilate make -j -C obj_dir/ -f VBriey.mk VBriey diff --git a/src/test/cpp/murax/makefile b/src/test/cpp/murax/makefile index 7c946ae..4f5a243 100644 --- a/src/test/cpp/murax/makefile +++ b/src/test/cpp/murax/makefile @@ -31,7 +31,7 @@ run: compile verilate: ../../../../Murax.v rm -f Murax.v*.bin cp ../../../../Murax.v*.bin . | true - verilator -I../../../.. -cc ../../../../Murax.v -CFLAGS -std=c++11 ${ADDCFLAGS} --gdbbt ${VERILATOR_ARGS} -Wno-WIDTH -Wno-UNOPTFLAT --x-assign unique --exe main.cpp + verilator -I../../../.. -cc ../../../../Murax.v ${ADDCFLAGS} --gdbbt ${VERILATOR_ARGS} -Wno-WIDTH -Wno-UNOPTFLAT --x-assign unique --exe main.cpp compile: verilate make -j -C obj_dir/ -f VMurax.mk VMurax diff --git a/src/test/cpp/regression/makefile b/src/test/cpp/regression/makefile index 30d11b6..d113bbe 100644 --- a/src/test/cpp/regression/makefile +++ b/src/test/cpp/regression/makefile @@ -350,7 +350,7 @@ run: compile verilate: ${VEXRISCV_FILE} cp ${VEXRISCV_FILE}*.bin . | true - verilator -cc ${VEXRISCV_FILE} -O3 -CFLAGS -std=c++11 -LDFLAGS -pthread ${ADDCFLAGS} --gdbbt ${VERILATOR_ARGS} -Wno-UNOPTFLAT -Wno-WIDTH --x-assign unique --exe main.cpp + verilator -cc ${VEXRISCV_FILE} -O3 -LDFLAGS -pthread ${ADDCFLAGS} --gdbbt ${VERILATOR_ARGS} -Wno-UNOPTFLAT -Wno-WIDTH --x-assign unique --exe main.cpp compile: verilate make -j${THREAD_COUNT} -C obj_dir/ -f VVexRiscv.mk VVexRiscv