File size: 316 Bytes
ce57c19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
include ../../../common.mk

DOT_NAMES = opt_share opt_muxtree opt_merge opt_expr

DOTS := $(addsuffix .dot,$(DOT_NAMES))

.PHONY: all dots examples
all: dots examples
dots: $(DOTS)
examples:

%.dot: %.ys
	@$(YOSYS) $< >/dev/null 2>&1
	@gvpack -u -o $@ $*_full.dot >/dev/null 2>&1

.PHONY: clean
clean:
	@rm -f *.dot