Add utility targets for getting plain text outputs.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
Keith Rothman 2021-02-17 11:58:57 -08:00
parent b3dcc9d507
commit 8ef5411f70

View File

@ -1,7 +1,7 @@
include ../common.mk
.DELETE_ON_ERROR:
.PHONY: all debug clean
.PHONY: all debug clean netlist_yaml phys_yaml
all: build/$(DESIGN).dcp
@ -25,6 +25,8 @@ build/$(DESIGN)_netlist.yaml: build/$(DESIGN).netlist
build/$(DESIGN).netlist \
build/$(DESIGN)_netlist.yaml
netlist_yaml: build/$(DESIGN)_netlist.yaml
build/$(DESIGN).phys: build/$(DESIGN).netlist
$(NEXTPNR_BIN) \
--chipdb $(BBA_PATH) \
@ -42,6 +44,8 @@ build/$(DESIGN)_phys.yaml: build/$(DESIGN).phys
build/$(DESIGN).phys \
build/$(DESIGN)_phys.yaml
phys_yaml: build/$(DESIGN)_phys.yaml
debug: build/$(DESIGN).netlist
gdb --args $(NEXTPNR_BIN) \
--chipdb $(BBA_PATH) \