This commit is contained in:
Sebastien Bourdeauducq 2019-04-26 17:42:03 +08:00
parent 40eced0136
commit 3b2f6a222e
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> {}}:
{ pkgs }:
(import ./derivations.nix { inherit pkgs; }) // {
vivado = import ./eda/vivado.nix { inherit pkgs; };
}

View File

@ -2,7 +2,7 @@
, hx ? import ../default.nix { inherit pkgs; }}:
let
vivadoInput = pkgs.runCommand "test-vivado-input" {
vivadoInput = pkgs.runCommand "helloworld-vivado-input" {
buildInputs = [ (pkgs.python3.withPackages(ps: [hx.nmigen hx.heavycomps])) hx.yosys ];
}
''
@ -43,6 +43,6 @@ let
'';
in
hx.vivado.buildBitstream {
name = "test-design";
name = "helloworld-bitstream";
src = vivadoInput;
}