2023-11-13 17:55:39 -06:00
|
|
|
PROGRAM_PREFIX :=
|
|
|
|
|
2023-11-13 23:54:16 -06:00
|
|
|
YOSYS ?= ../../../../$(PROGRAM_PREFIX)yosys
|
2023-11-13 17:55:39 -06:00
|
|
|
|
2024-01-24 17:35:03 -06:00
|
|
|
.PHONY: all dots
|
|
|
|
all: dots
|
2023-11-13 23:54:16 -06:00
|
|
|
dots: red_or3x1.dot sym_mul.dot mymul.dot mulshift.dot addshift.dot
|
2023-11-13 17:55:39 -06:00
|
|
|
|
|
|
|
red_or3x1.dot: red_or3x1_*
|
|
|
|
$(YOSYS) red_or3x1_test.ys
|
|
|
|
|
|
|
|
sym_mul.dot: sym_mul_*
|
|
|
|
$(YOSYS) sym_mul_test.ys
|
|
|
|
|
|
|
|
mymul.dot: mymul_*
|
|
|
|
$(YOSYS) mymul_test.ys
|
|
|
|
|
|
|
|
mulshift.dot: mulshift_*
|
|
|
|
$(YOSYS) mulshift_test.ys
|
|
|
|
|
|
|
|
addshift.dot: addshift_*
|
|
|
|
$(YOSYS) addshift_test.ys
|
2023-11-14 22:39:37 -06:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -f *.dot
|