cleanup
This commit is contained in:
parent
40eced0136
commit
3b2f6a222e
@ -1,4 +1,4 @@
|
||||
{ pkgs ? import <nixpkgs> {}}:
|
||||
{ pkgs }:
|
||||
(import ./derivations.nix { inherit pkgs; }) // {
|
||||
vivado = import ./eda/vivado.nix { inherit pkgs; };
|
||||
}
|
||||
|
@ -33,5 +33,5 @@ in
|
||||
mkdir $out
|
||||
cp *.dcp *.rpt *.bit $out
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user