add example on how to access regs list for cmp
[soc.git] / Makefile
index 37d353c14d21749351e06d6163f777ea4476dc2d..cd8c001dce74d25484ef460619d40e756170f96b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,13 +14,21 @@ mkpinmux:
 install: develop mkpinmux
 
 develop:
-       python3 setup.py develop # yes, develop, not install
+       python3 setup.py develop --user # yes, develop, not install
        python3 src/soc/decoder/pseudo/pywriter.py
 
 run_sim: install
-       python3 src/soc/simple/issuer_verilog.py src/soc/litex/florent/libresoc/libresoc.v
+       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
+
 test: install
        python3 setup.py test # could just run nosetest3...