From ca291ae0f5d1b15caededd4151dec79292be4228 Mon Sep 17 00:00:00 2001 From: Las Safin Date: Sat, 11 Sep 2021 20:53:05 +0000 Subject: [PATCH] Get build starting --- nix/verilog.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.30.2