Use Verilator's --timescale option
Closes
@@ -32,9 +32,7 @@ ifeq ($(VERILATOR_TRACE),1)
EXTRA_ARGS += --trace --trace-structs
endif
-ifdef COCOTB_HDL_TIMEPRECISION
- SIM_BUILD_FLAGS += -DVL_TIME_PRECISION_STR=$(COCOTB_HDL_TIMEPRECISION)
-endif
+EXTRA_ARGS += --timescale $(COCOTB_HDL_TIMEUNIT)/$(COCOTB_HDL_TIMEPRECISION)
SIM_BUILD_FLAGS += -std=c++11
