Files
Mini-Nav/devenv.nix
SikongJueluo e5d13917b2 feat(cam): add Bernoulli noise mask module and cocotb tests
- Add noise_mask_bernoulli.sv RTL module for probabilistic masking
- Add cocotb test suite with reset, threshold, determinism, and distribution checks  
- Update rtl-sources.mk to include new module
- Fix PYTHONPATH in devenv.nix shell hook
2026-05-26 19:41:17 +08:00

42 lines
737 B
Nix

{
pkgs,
lib,
config,
inputs,
...
}:
let
pkgs-nixgl =
(import inputs.nixpkgs {
system = pkgs.stdenv.hostPlatform.system;
config.allowUnfree = true;
overlays = [ inputs.nixgl.overlay ];
}).nixgl.override
{
nvidiaVersionFile = "/proc/driver/nvidia/version";
nvidiaVersion = "580.126.09";
};
in
{
packages = with pkgs; [
nil
verilator
yosys
graphviz
xdot
];
enterShell = ''
export UV_PROJECT_ENVIRONMENT=$MAMBA_ROOT_PREFIX/envs/mini-nav
unset PYTHONPATH
eval "$(micromamba shell hook --shell bash)"
micromamba activate mini-nav
which uv
which python
'';
# See full reference at https://devenv.sh/reference/options/
}