From 1fc2cd5bf2edd86f4bd4dc0168bbeef52576c20f Mon Sep 17 00:00:00 2001 From: Las Safin Date: Mon, 13 Sep 2021 18:50:43 +0000 Subject: [PATCH] Get pinmux working --- nix/verilog.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 \ -- 2.30.2