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