Download chips/yosys/nix/shell.nix from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 455 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/nix/shell.nix
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/nix/shell.nix
-
curl -L -o shell.nix https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/nix/shell.nix
455 Bytes
| { pkgs, yosys }: | |
| pkgs.mkShell.override { stdenv = yosys.stdenv; } { | |
| inputsFrom = [ | |
| yosys | |
| ]; | |
| packages = with pkgs; [ | |
| llvmPackages.clang-tools | |
| llvmPackages.bintools | |
| iverilog | |
| gtkwave | |
| (python3.withPackages (ps: [ | |
| ps.pybind11 | |
| ps.cxxheaderparser | |
| ps.click | |
| ])) | |
| ]; | |
| shellHook = '' | |
| DRIVER_ROOT="${yosys.stdenv.cc}/bin" | |
| export CLANGD_FLAGS="--query-driver $DRIVER_ROOT/$CC,$DRIVER_ROOT/$CXX" | |
| ''; | |
| } | |