2026-05-22 12:31:30 +02:00
|
|
|
include ../../../common.mk
|
2024-01-16 23:00:42 +01:00
|
|
|
|
|
|
|
|
DOT_NAMES = opt_share opt_muxtree opt_merge opt_expr
|
|
|
|
|
|
|
|
|
|
DOTS := $(addsuffix .dot,$(DOT_NAMES))
|
|
|
|
|
|
2024-10-07 10:56:23 +02:00
|
|
|
.PHONY: all dots examples
|
|
|
|
|
all: dots examples
|
2024-01-16 23:00:42 +01:00
|
|
|
dots: $(DOTS)
|
2024-10-07 10:56:23 +02:00
|
|
|
examples:
|
2024-01-16 23:00:42 +01:00
|
|
|
|
2024-10-07 10:56:23 +02:00
|
|
|
%.dot: %.ys
|
2026-05-22 12:31:30 +02:00
|
|
|
@$(YOSYS) $< >/dev/null 2>&1
|
|
|
|
|
@gvpack -u -o $@ $*_full.dot >/dev/null 2>&1
|
2024-01-16 23:00:42 +01:00
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
|
clean:
|
2026-05-22 12:31:30 +02:00
|
|
|
@rm -f *.dot
|