From 1b18858d5f28c64beece6c9d5b94ec27b01d3c4f Mon Sep 17 00:00:00 2001 From: Mario Romero Date: Mon, 27 Feb 2023 23:26:17 -0300 Subject: [PATCH] Rename include folder --- cmake/utils.cmake | 2 +- include/timescale.sv | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 include/timescale.sv diff --git a/cmake/utils.cmake b/cmake/utils.cmake index 0e7cba1..8efbc22 100644 --- a/cmake/utils.cmake +++ b/cmake/utils.cmake @@ -44,7 +44,7 @@ function(rvscc_add_test) PREFIX verilator_${TEST_TOP} TOP_MODULE ${TEST_TOP} TRACE - VERILATOR_ARGS --timing --assert -I${PROJECT_SOURCE_DIR}/hwinc + VERILATOR_ARGS --timing --assert -I${PROJECT_SOURCE_DIR}/include ) target_compile_definitions(${TEST_TARGET_NAME} PRIVATE TEST_HEADER="verilator_${TEST_TOP}.h" diff --git a/include/timescale.sv b/include/timescale.sv new file mode 100644 index 0000000..b9c3f3d --- /dev/null +++ b/include/timescale.sv @@ -0,0 +1,2 @@ +// Project timescale +`timescale 1ns / 1ps