HeavyX/examples/helloworld_kintex7.nix

10 lines
261 B
Nix
Raw Normal View History

2019-06-06 17:25:11 +08:00
{ pkgs, hx }:
2019-03-25 16:10:07 +08:00
pkgs.runCommand "helloworld-bitstream" {
buildInputs = [ (pkgs.python3.withPackages(ps: [hx.nmigen hx.nmigen-boards hx.heavycomps])) pkgs.yosys ];
2019-03-25 16:10:07 +08:00
}
''
export VIVADO=${hx.vivado}/bin/vivado
python ${./helloworld_kintex7.py} $out
''