2019-04-26 17:42:03 +08:00
|
|
|
{ pkgs }:
|
2019-06-06 17:25:11 +08:00
|
|
|
rec {
|
2019-07-03 18:51:45 +08:00
|
|
|
vivado = import ./eda/vivado.nix { inherit pkgs; };
|
|
|
|
nmigen = pkgs.callPackage ./eda/nmigen.nix { };
|
|
|
|
nmigen-boards = pkgs.callPackage ./eda/nmigen-boards.nix { inherit nmigen; };
|
|
|
|
scala-spinalhdl = pkgs.callPackage ./eda/scala-spinalhdl.nix {};
|
2019-06-06 17:25:11 +08:00
|
|
|
|
2019-07-03 18:51:45 +08:00
|
|
|
jtagtap = pkgs.callPackage ./cores/jtagtap.nix { inherit nmigen; };
|
|
|
|
minerva = pkgs.callPackage ./cores/minerva.nix { inherit nmigen; inherit jtagtap; };
|
|
|
|
vexriscv-small = pkgs.callPackage ./cores/vexriscv.nix {
|
|
|
|
inherit scala-spinalhdl;
|
|
|
|
name = "vexriscv-small";
|
|
|
|
scalaToRun = "vexriscv.demo.GenSmallAndProductive";
|
|
|
|
};
|
|
|
|
litex = pkgs.callPackage ./cores/litex.nix { inherit nmigen; };
|
|
|
|
litedram = pkgs.callPackage ./cores/litedram.nix { inherit litex; };
|
2019-06-06 17:25:11 +08:00
|
|
|
|
2019-07-03 18:51:45 +08:00
|
|
|
heavycomps = pkgs.callPackage ./heavycomps.nix { inherit nmigen; };
|
2019-06-06 17:25:11 +08:00
|
|
|
|
2019-07-03 18:51:45 +08:00
|
|
|
binutils-riscv32 = pkgs.callPackage ./compilers/binutils.nix { platform = "riscv32"; };
|
|
|
|
gcc-riscv32 = pkgs.callPackage ./compilers/gcc.nix { platform = "riscv32"; platform-binutils = binutils-riscv32; };
|
|
|
|
binutils-riscv64 = pkgs.callPackage ./compilers/binutils.nix { platform = "riscv64"; };
|
|
|
|
gcc-riscv64 = pkgs.callPackage ./compilers/gcc.nix { platform = "riscv64"; platform-binutils = binutils-riscv64; };
|
|
|
|
rust-riscv32i-crates = pkgs.callPackage ./compilers/rust-riscv32i-crates.nix { };
|
2019-06-06 17:25:11 +08:00
|
|
|
|
2019-07-03 18:51:45 +08:00
|
|
|
fw-helloworld = pkgs.callPackage ./firmware { inherit rust-riscv32i-crates binutils-riscv32; };
|
2019-06-06 17:25:11 +08:00
|
|
|
}
|