From: Las Safin Date: Sat, 11 Sep 2021 20:53:05 +0000 (+0000) Subject: Get build starting X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca291ae0f5d1b15caededd4151dec79292be4228;p=soc.git Get build starting --- diff --git a/nix/verilog.nix b/nix/verilog.nix index 55755343..cb6df044 100644 --- a/nix/verilog.nix +++ b/nix/verilog.nix @@ -10,13 +10,15 @@ stdenv.mkDerivation { strictDeps = true; - nativeBuildInputs = with python3Packages; [ python libresoc-ieee754fpu libresoc-openpower-isa ]; + nativeBuildInputs = with python3Packages; [ nmigen-soc python libresoc-ieee754fpu libresoc-openpower-isa ]; configurePhase = "true"; buildPhase = '' runHook preBuild - python3 src/soc/simple/issuer_verilog.py \ + cd src + export PYTHONPATH="$PWD:$PYTHONPATH" + python3 soc/simple/issuer_verilog.py \ --debug=jtag --enable-core --enable-pll \ --enable-xics --enable-sram4x4kblock --disable-svp64 \ libresoc.v