3 .PHONY
: help Makefile gitupdate
install run_sim
test htmlupload
7 git submodule update
--init
--recursive
--remote
11 cp pinmux
/ls180
/ls180_pins.py src
/soc
/debug
12 cp pinmux
/ls180
/ls180_pins.py src
/soc
/litex
/florent
/libresoc
14 install: gitupdate develop mkpinmux svanalysis
17 python3 src
/soc
/decoder
/pseudo
/pywriter.py
20 python3 libreriscv
/openpower
/sv_analysis.py
23 python3 setup.py develop
# yes, develop, not install
25 # build and run libresoc litex simulation
27 python3 src
/soc
/simple
/issuer_verilog.py
--disable-svp64 \
28 src
/soc
/litex
/florent
/libresoc
/libresoc.v
29 python3 src
/soc
/litex
/florent
/sim.py
--cpu
=libresoc
31 # and with test gpio (useful for XICS IRC testing)
33 python3 src
/soc
/simple
/issuer_verilog.py \
34 src
/soc
/litex
/florent
/libresoc
/libresoc.v \
36 python3 src
/soc
/litex
/florent
/sim.py
--cpu
=libresoc \
37 --variant
=standardjtagtestgpio
40 python3 src
/soc
/simple
/issuer_verilog.py \
41 --debug
=jtag
--enable-core
--disable-pll \
42 --enable-xics
--disable-svp64 \
43 src
/soc
/litex
/florent
/libresoc
/libresoc.v
46 python3 src
/soc
/simple
/issuer_verilog.py \
47 --debug
=jtag
--enable-core
--enable-pll \
48 --enable-xics
--disable-svp64 \
49 src
/soc
/litex
/florent
/libresoc
/libresoc.v
52 python3 src
/soc
/simple
/issuer_verilog.py \
53 --debug
=jtag
--enable-core
--enable-pll \
54 --enable-xics
--enable-sram4x4kblock
--disable-svp64 \
55 src
/soc
/litex
/florent
/libresoc
/libresoc.v
57 # build the litex libresoc SoC without 4k SRAMs
58 ls180_verilog_build
: ls180_verilog
59 make
-C soc
/soc
/litex
/florent ls180
61 # build the litex libresoc SoC with 4k SRAMs
62 ls180_4ksram_verilog_build
: ls180_4k_verilog
63 make
-C soc
/soc
/litex
/florent ls1804k
65 # testing (usually done at install time)
67 python3 setup.py
test # could just run nosetest3...
69 # Minimal makefile for Sphinx documentation
72 # You can set these variables from the command line.
74 SPHINXBUILD
= sphinx-build
75 SPHINXPROJ
= Libre-SOC
79 # Put it first so that "make" without argument is like "make help".
81 @
$(SPHINXBUILD
) -M help
"$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS
) $(O
)
83 # copies all documentation to libre-soc (libre-soc admins only)
84 htmlupload
: clean html
85 rsync
-HPavz
--delete build
/html
/* \
86 libre-soc.org
:/var
/www
/libre-soc.org
/docs
/soc
/
88 # Catch-all target: route all unknown targets to Sphinx using the new
89 # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
91 echo
"catch-all falling through to sphinx for document building"
92 mkdir
-p
"$(SOURCEDIR)"/src
/gen
93 sphinx-apidoc
--ext-autodoc
-o
"$(SOURCEDIR)"/src
/gen .
/src
/soc
94 @
$(SPHINXBUILD
) -M
$@
"$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS
) $(O
)