# 使用 Homebrew, Nix 安装 nvc

查看 nvc 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:nvc
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nvc
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#nvc
```

  证据: nixpkgs package indexes: pkgs/by-name/nv/nvc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:nvc
- **软件包管理器:** Homebrew
- **版本:** 1.22.1
- **来源摘要:** VHDL compiler and simulator
- **主页:** <https://www.nickg.me.uk/nvc/>
- **仓库:** <https://github.com/nickg/nvc>
- **最后更新:** 2026-08-01T11:05:56Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- nvc (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.22.1
## 项目历史与用法

NVC is a free software VHDL compiler and simulator. The project emphasizes simulation performance by compiling VHDL to native machine code through LLVM, and its README states that it supports almost all of VHDL-2008 except PSL, with experimental Verilog and VHDL-2019 work under development.

### 项目历史

Nick Gasson wrote in 2011 about a VHDL compiler named `nvc`, and his GitHub Sponsors profile later described NVC as a spare-time Free Software VHDL compiler and simulator project he had worked on for 10 years. That small independent compiler has since grown into a maintained simulator with releases, Windows packaging, Homebrew/Nix packaging, verification-framework integration, and mixed-language work.

### 采用历史

NVC sits in the open HDL tooling ecosystem: not a synthesizer, but useful for compiling, elaborating, and running VHDL test benches. The README explicitly calls out support for OSVVM, UVVM, VUnit, and cocotb, which is the practical adoption surface for verification users. Homebrew analytics on 2026-07-01 showed 783 installs over 365 days, a modest but real signal for a specialized EDA tool.

### 使用方式

The normal workflow is three commands: analyze source files into a work library with `nvc -a`, elaborate a top-level test bench with `nvc -e`, then run it with `nvc -r`. Users can combine those steps in one command for quick test-bench runs, install standard verification libraries, dump waveforms, and experiment with newer mixed VHDL/Verilog support when their designs fit the supported subset.

### 为什么软件包爱好者会关心

NVC matters to package nerds because it is a compact, open HDL simulator that packages cleanly and complements heavier commercial simulators and GHDL. Its LLVM-native-code design also gives it a distinct performance story in the VHDL simulation niche.

### 时间线

- 2011-11-05: Nick Gasson publishes a post about writing a VHDL compiler named `nvc`.
- 2026-04-12: GitHub releases show NVC 1.20.0 with improved Verilog and mixed-language support.
- 2026-07-01: Homebrew lists NVC 1.21.1 with LLVM and zstd dependencies.

### Related projects

- GHDL
- LLVM
- OSVVM
- UVVM
- VUnit
- cocotb

### 来源

- <https://formulae.brew.sh/formula/nvc>
- <https://github.com/nickg/nvc>
- <https://github.com/nickg/nvc/releases>
- <https://github.com/sponsors/nickg>
- <https://www.doof.me.uk/2011/11/05/writing-a-vhdl-compiler/>
- <https://www.nickg.me.uk/nvc/manual.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - nvc: normalized package name match | nixpkgs package indexes: pkgs/by-name/nv/nvc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/nvc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nvc.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
