Add utility targets for getting plain text outputs.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
parent
b3dcc9d507
commit
8ef5411f70
@ -1,7 +1,7 @@
|
|||||||
include ../common.mk
|
include ../common.mk
|
||||||
|
|
||||||
.DELETE_ON_ERROR:
|
.DELETE_ON_ERROR:
|
||||||
.PHONY: all debug clean
|
.PHONY: all debug clean netlist_yaml phys_yaml
|
||||||
|
|
||||||
all: build/$(DESIGN).dcp
|
all: build/$(DESIGN).dcp
|
||||||
|
|
||||||
@ -25,6 +25,8 @@ build/$(DESIGN)_netlist.yaml: build/$(DESIGN).netlist
|
|||||||
build/$(DESIGN).netlist \
|
build/$(DESIGN).netlist \
|
||||||
build/$(DESIGN)_netlist.yaml
|
build/$(DESIGN)_netlist.yaml
|
||||||
|
|
||||||
|
netlist_yaml: build/$(DESIGN)_netlist.yaml
|
||||||
|
|
||||||
build/$(DESIGN).phys: build/$(DESIGN).netlist
|
build/$(DESIGN).phys: build/$(DESIGN).netlist
|
||||||
$(NEXTPNR_BIN) \
|
$(NEXTPNR_BIN) \
|
||||||
--chipdb $(BBA_PATH) \
|
--chipdb $(BBA_PATH) \
|
||||||
@ -42,6 +44,8 @@ build/$(DESIGN)_phys.yaml: build/$(DESIGN).phys
|
|||||||
build/$(DESIGN).phys \
|
build/$(DESIGN).phys \
|
||||||
build/$(DESIGN)_phys.yaml
|
build/$(DESIGN)_phys.yaml
|
||||||
|
|
||||||
|
phys_yaml: build/$(DESIGN)_phys.yaml
|
||||||
|
|
||||||
debug: build/$(DESIGN).netlist
|
debug: build/$(DESIGN).netlist
|
||||||
gdb --args $(NEXTPNR_BIN) \
|
gdb --args $(NEXTPNR_BIN) \
|
||||||
--chipdb $(BBA_PATH) \
|
--chipdb $(BBA_PATH) \
|
||||||
|
Loading…
Reference in New Issue
Block a user