- added new targets
git-svn-id: http://moon:8086/svn/vhdl/trunk@1547 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
+8
-1
@@ -16,7 +16,7 @@ BUILD_DIR ?= build/$(TARGET)
|
|||||||
WORK_DIR ?= $(BUILD_DIR)/$(WORK_LIB)
|
WORK_DIR ?= $(BUILD_DIR)/$(WORK_LIB)
|
||||||
|
|
||||||
# Can be pre-initialized by user
|
# Can be pre-initialized by user
|
||||||
RUN_OPTS += --stop-time=$(RUN_TIME)
|
RUN_OPTS += --stop-time=$(RUN_TIME) --disp-time
|
||||||
GHDL_OPTS += --work=$(WORK_LIB) --workdir=$(WORK_DIR) --std=$(LANG_STD) --ieee=$(IEEE_STD)
|
GHDL_OPTS += --work=$(WORK_LIB) --workdir=$(WORK_DIR) --std=$(LANG_STD) --ieee=$(IEEE_STD)
|
||||||
|
|
||||||
# -------------------------------------------------
|
# -------------------------------------------------
|
||||||
@@ -70,6 +70,9 @@ import:
|
|||||||
analyze: $(WORK_DIR) $(SRCS)
|
analyze: $(WORK_DIR) $(SRCS)
|
||||||
$(GHDL) -a $(GHDL_OPTS) $(SRCS)
|
$(GHDL) -a $(GHDL_OPTS) $(SRCS)
|
||||||
|
|
||||||
|
html: $(WORK_DIR) $(SRCS)
|
||||||
|
$(GHDL) --pp-html $(GHDL_OPTS) $(SRCS) >$(BUILD_DIR)/$(TARGET).html
|
||||||
|
|
||||||
anaborate: $(WORK_DIR) $(SRCS)
|
anaborate: $(WORK_DIR) $(SRCS)
|
||||||
$(GHDL) -c $(GHDL_OPTS) -o $(BUILD_DIR)/$(TARGET) $(SRCS) -e $(ENTITY)
|
$(GHDL) -c $(GHDL_OPTS) -o $(BUILD_DIR)/$(TARGET) $(SRCS) -e $(ENTITY)
|
||||||
|
|
||||||
@@ -94,6 +97,10 @@ wave: run_wave
|
|||||||
result:
|
result:
|
||||||
exec gtkwave -f $(SIM_FILE-y) -a $(BUILD_DIR)/$(TARGET).gtkw &
|
exec gtkwave -f $(SIM_FILE-y) -a $(BUILD_DIR)/$(TARGET).gtkw &
|
||||||
|
|
||||||
|
tree: analyze
|
||||||
|
$(GHDL) -r $(GHDL_OPTS) $(ENTITY) $(RUN_OPTS) --no-run --disp-tree=inst
|
||||||
|
|
||||||
|
|
||||||
.PHONY: list
|
.PHONY: list
|
||||||
INSTR = $(foreach number,$(SRCS),echo $(number);)
|
INSTR = $(foreach number,$(SRCS),echo $(number);)
|
||||||
list:
|
list:
|
||||||
|
|||||||
Reference in New Issue
Block a user