-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMake_docs.mk
35 lines (26 loc) · 950 Bytes
/
Make_docs.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
all: docs
N ?= 16
ES ?= 1
WORD ?= 32
F ?= 32
CLK_FREQ ?= 100
MORTY_ARGS := \
-DN=$(N) \
-DES=$(ES) \
-DWORD=$(WORD) \
\
-DF=$(F) \
\
-DFX_M=$(31) \
-DFX_B=$(64) \
\
-DCLK_FREQ=$(CLK_FREQ) \
-DPIPELINE_DEPTH=$(0) \
-DINNER_PIPELINE_DEPTH=$(0) \
TOP ?= ppu_top
DOCS ?= ./docs/ppu-docs
bender:
bender sources --flatten --target test > sources.json
docs: bender
morty -f sources.json $(MORTY_ARGS) --top $(TOP) --doc $(DOCS)
open $(DOCS)/index.html