mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-08-22 14:17:29 +02:00
Add utility targets for getting plain text outputs.
Signed-off-by: Keith Rothman <[email protected]>
This commit is contained in:
@@ -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) \
|
||||||
|
|||||||
Reference in New Issue
Block a user