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
|
|
|
|
2023-11-13 23:54:16 -06:00
|
|
|
DOTS = macc_simple_xmap.dot macc_xilinx_xmap.dot
|
2023-11-13 17:55:39 -06:00
|
|
|
|
2024-10-07 03:56:23 -05:00
|
|
|
.PHONY: all dots examples
|
|
|
|
all: dots examples
|
2023-11-13 23:54:16 -06:00
|
|
|
dots: $(DOTS)
|
2024-10-07 03:56:23 -05:00
|
|
|
examples:
|
2023-11-13 23:54:16 -06:00
|
|
|
|
|
|
|
macc_simple_xmap.dot: macc_simple_*.v macc_simple_test.ys
|
2023-11-13 17:55:39 -06:00
|
|
|
$(YOSYS) macc_simple_test.ys
|
|
|
|
|
2023-11-13 23:54:16 -06:00
|
|
|
macc_xilinx_xmap.dot: macc_xilinx_*.v macc_xilinx_test.ys
|
2023-11-13 17:55:39 -06:00
|
|
|
$(YOSYS) macc_xilinx_test.ys
|
|
|
|
|
2023-11-14 22:39:37 -06:00
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -f *.dot
|
|
|
|
|