2024-08-12 09:36:28 +02:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { nixpkgs, flake-utils, ... }:
|
|
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
system = system;
|
|
|
|
config = { allowUnfree = true; };
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
devShell = pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
bluespec
|
|
|
|
vscode
|
|
|
|
dfu-util
|
|
|
|
fujprog
|
|
|
|
git
|
|
|
|
go_1_22
|
|
|
|
gotools
|
|
|
|
gtkwave
|
|
|
|
imagemagick
|
|
|
|
nextpnr
|
|
|
|
openfpgaloader
|
|
|
|
picocom
|
2024-08-12 11:13:05 +02:00
|
|
|
(python3.withPackages (py-pkgs: [
|
|
|
|
py-pkgs.invoke
|
2024-08-21 04:29:09 +02:00
|
|
|
py-pkgs.distutils
|
|
|
|
py-pkgs.xdot
|
2024-08-12 11:13:05 +02:00
|
|
|
]))
|
2024-08-21 04:29:09 +02:00
|
|
|
svlint
|
|
|
|
svls
|
2024-08-12 09:36:28 +02:00
|
|
|
symbiyosys
|
|
|
|
trellis
|
|
|
|
verilator
|
|
|
|
xdot
|
|
|
|
yices
|
|
|
|
yosys
|
|
|
|
z3
|
|
|
|
kgraphviewer
|
2024-08-21 04:29:09 +02:00
|
|
|
iverilog
|
2024-08-12 09:36:28 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|