Files
Mini-Nav/devenv.nix
SikongJueluo e1a34d6540 refactor!: remove legacy match_engine and related CAM modules
- Delete popcount.sv, argmax_update.sv, cam_core.sv, match_engine.sv
- Remove obsolete VERILOG_SOURCES entries from Makefile
- Update comment in cam_top.sv to reference match_engine_pipeline
- Add verilator to devenv.nix for simulation support
2026-05-13 19:11:33 +08:00

35 lines
674 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
];
enterShell = ''
export UV_PROJECT_ENVIRONMENT=$MAMBA_ROOT_PREFIX/envs/mini-nav
eval "$(micromamba shell hook --shell bash)"
micromamba activate mini-nav
which uv
which python
'';
# See full reference at https://devenv.sh/reference/options/
}