timescale in verilator command
This commit is contained in:
@@ -21,7 +21,8 @@ all: $(SIM_TARGET) $(BIN_TARGET)
|
|||||||
$(BUILD_DIR)/Vtop.cc: $(RTL_SRC)
|
$(BUILD_DIR)/Vtop.cc: $(RTL_SRC)
|
||||||
@echo "Running verilator"
|
@echo "Running verilator"
|
||||||
@mkdir -p $(BUILD_DIR)
|
@mkdir -p $(BUILD_DIR)
|
||||||
@$(VERILATOR) --trace -Wall -GWIDTH=10 -cc $^ --top-module top --Mdir $(BUILD_DIR)
|
@$(VERILATOR) --trace -Wall -GWIDTH=10 -cc $^ --top-module top\
|
||||||
|
--Mdir $(BUILD_DIR) --timescale-override 10ns/1ns
|
||||||
|
|
||||||
$(BUILD_DIR)/Vtop__ALL.a: $(BUILD_DIR)/Vtop.cc
|
$(BUILD_DIR)/Vtop__ALL.a: $(BUILD_DIR)/Vtop.cc
|
||||||
@make --no-print-directory -C $(BUILD_DIR) -f Vtop.mk
|
@make --no-print-directory -C $(BUILD_DIR) -f Vtop.mk
|
||||||
|
|||||||
Reference in New Issue
Block a user