2023-11-13 17:55:39 -06:00
|
|
|
PROGRAM_PREFIX :=
|
|
|
|
|
|
|
|
YOSYS ?= ../../../../$(PROGRAM_PREFIX)yosys
|
|
|
|
|
|
|
|
SUMPROD = sumprod_00 sumprod_01 sumprod_02 sumprod_03 sumprod_04 sumprod_05
|
|
|
|
SUMPROD_DOTS := $(addsuffix .dot,$(SUMPROD))
|
|
|
|
|
|
|
|
MEMDEMO = memdemo_00 memdemo_01
|
|
|
|
MEMDEMO_DOTS := $(addsuffix .dot,$(MEMDEMO))
|
|
|
|
|
|
|
|
SUBMOD = submod_00 submod_01 submod_02 submod_03
|
|
|
|
SUBMOD_DOTS := $(addsuffix .dot,$(SUBMOD))
|
|
|
|
|
2024-01-24 17:35:03 -06:00
|
|
|
.PHONY: all dots
|
|
|
|
all: dots
|
2023-11-13 23:54:16 -06:00
|
|
|
dots: select.dot $(SUMPROD_DOTS) $(MEMDEMO_DOTS) $(SUBMOD_DOTS)
|
2023-11-13 17:55:39 -06:00
|
|
|
|
|
|
|
select.dot: select.v select.ys
|
|
|
|
$(YOSYS) select.ys
|
|
|
|
|
2023-11-14 22:39:37 -06:00
|
|
|
$(SUMPROD_DOTS): sumprod.v sumprod.ys
|
|
|
|
$(YOSYS) sumprod.ys
|
|
|
|
|
|
|
|
$(MEMDEMO_DOTS): memdemo.v memdemo.ys
|
|
|
|
$(YOSYS) memdemo.ys
|
|
|
|
|
|
|
|
$(SUBMOD_DOTS): memdemo.v submod.ys
|
2023-11-13 17:55:39 -06:00
|
|
|
$(YOSYS) submod.ys
|
2023-11-14 22:39:37 -06:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -rf *.dot
|