From: Las Safin Date: Mon, 13 Sep 2021 18:50:43 +0000 (+0000) Subject: Get pinmux working X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1fc2cd5bf2edd86f4bd4dc0168bbeef52576c20f;p=soc.git Get pinmux working --- diff --git a/nix/verilog.nix b/nix/verilog.nix index afd884bf..ce5167c1 100644 --- a/nix/verilog.nix +++ b/nix/verilog.nix @@ -1,6 +1,6 @@ { version }: -{ stdenv, python3Packages }: +{ stdenv, python3Packages, python2 }: stdenv.mkDerivation { pname = "libresoc.v"; @@ -18,6 +18,9 @@ stdenv.mkDerivation { buildPhase = '' runHook preBuild + env -C pinmux ${python2}/bin/python src/pinmux_generator.py -v -s ls180 -o ls180 + cp pinmux/ls180/ls180_pins.py src/soc/debug + cp pinmux/ls180/ls180_pins.py src/soc/litex/florent/libresoc cd src export PYTHONPATH="$PWD:$PYTHONPATH" python3 soc/simple/issuer_verilog.py \