mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +00:00
docs: restructuring images directory
see also previous commit Also updates `scripting_intro.rst` to use literal includes, and uses individual image outputs to avoid the intermediary `.tex` file to join them all.
This commit is contained in:
parent
dbc38d72cf
commit
b6e61c16b1
44 changed files with 131 additions and 237 deletions
|
@ -7,18 +7,15 @@ TARGETS += abc_01
|
|||
|
||||
PROGRAM_PREFIX :=
|
||||
|
||||
YOSYS ?= ../../../$(PROGRAM_PREFIX)yosys
|
||||
YOSYS ?= ../../../../$(PROGRAM_PREFIX)yosys
|
||||
|
||||
all: $(addsuffix .pdf,$(TARGETS))
|
||||
DOTS = $(addsuffix .dot,$(TARGETS))
|
||||
|
||||
define make_pdf_template
|
||||
$(1).pdf: $(1)*.v $(1)*.ys
|
||||
$(YOSYS) -p 'script $(1).ys; show -notitle -prefix $(1) -format pdf'
|
||||
endef
|
||||
dots: $(DOTS)
|
||||
|
||||
$(foreach trg,$(TARGETS),$(eval $(call make_pdf_template,$(trg))))
|
||||
%.dot: %.v %.ys
|
||||
$(YOSYS) -p 'script $*.ys; show -notitle -prefix $* -format dot'
|
||||
|
||||
clean:
|
||||
rm -f $(addsuffix .pdf,$(TARGETS))
|
||||
rm -f $(addsuffix .dot,$(TARGETS))
|
||||
rm -f $(DOTS)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue