removing --user from make develop
[soc.git] / Makefile
index 80d96801d357760ed43586ac470ad05b4bef9376..820ca3f11dabc1f9318e4ccbe57001f6acc1c937 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,15 +4,39 @@ PYTHON3 ?= "python3"
 
 gitupdate:
        git submodule init
-       git submodule update --recursive
+       git submodule update --init --recursive --remote
 
-install:
+mkpinmux:
+       ./mkpinmux.sh
+       cp pinmux/ls180/ls180_pins.py src/soc/debug
+       cp pinmux/ls180/ls180_pins.py src/soc/litex/florent/libresoc
+
+install: develop mkpinmux
+
+pywriter:
+       python3 src/soc/decoder/pseudo/pywriter.py
+
+develop:
        python3 setup.py develop # yes, develop, not install
        python3 src/soc/decoder/pseudo/pywriter.py
 
 run_sim: install
-       # TODO: get it to work
-       python3 src/soc/litex/florent/sim.py
+       python3 src/soc/simple/issuer_verilog.py \
+                       src/soc/litex/florent/libresoc/libresoc.v
+       python3 src/soc/litex/florent/sim.py --cpu=libresoc
+
+testgpio_run_sim:
+       python3 src/soc/simple/issuer_verilog.py \
+                       src/soc/litex/florent/libresoc/libresoc.v \
+                       --enable-testgpio
+       python3 src/soc/litex/florent/sim.py --cpu=libresoc \
+                       --variant=standardjtagtestgpio
+
+ls180_verilog:
+       python3 src/soc/simple/issuer_verilog.py \
+               --debug=jtag --enable-core --enable-pll \
+               --enable-xics --enable-sram4x4kblock
+                       src/soc/litex/florent/libresoc/libresoc.v
 
 test: install
        python3 setup.py test # could just run nosetest3...