Files
yosys/docs/source/code_examples/synth_flow/Makefile
T

23 lines
367 B
Makefile
Raw Normal View History

2014-02-02 17:57:14 +01:00
2024-08-19 21:25:51 +12:00
DOT_TARGETS += proc_01 proc_02 proc_03
DOT_TARGETS += memory_01 memory_02
DOT_TARGETS += techmap_01
2014-02-02 17:57:14 +01:00
2023-08-08 11:53:36 +12:00
PROGRAM_PREFIX :=
2023-11-14 18:54:16 +13:00
YOSYS ?= ../../../../$(PROGRAM_PREFIX)yosys
2023-08-08 11:53:36 +12:00
2024-08-19 21:25:51 +12:00
DOTS = $(addsuffix .dot,$(DOT_TARGETS))
2014-02-02 17:57:14 +01:00
2024-01-25 12:35:03 +13:00
.PHONY: all dots
all: dots
2023-11-14 18:54:16 +13:00
dots: $(DOTS)
2014-02-02 17:57:14 +01:00
2023-11-14 18:54:16 +13:00
%.dot: %.v %.ys
$(YOSYS) -p 'script $*.ys; show -notitle -prefix $* -format dot'
2014-02-02 22:26:26 +01:00
2023-11-15 17:39:37 +13:00
.PHONY: clean
2014-02-02 22:26:26 +01:00
clean:
2023-11-15 17:39:37 +13:00
rm -f *.dot
2014-02-02 17:57:14 +01:00