# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/nvc>
- **版本:** 1.22.1
- **来源摘要:** VHDL compiler and simulator
- **主页:** <https://www.nickg.me.uk/nvc/>
- **仓库:** <https://github.com/nickg/nvc>
- **上游文档:** <https://www.nickg.me.uk/nvc/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/nickg/nvc/releases/download/r1.22.1/nvc-1.22.1.tar.gz>
- **最后更新:** 2026-08-01T11:05:56Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- nvc (cli)
- nvc (别名)

## 依赖

- llvm
- zstd

## 构建依赖

- check
- pkgconf

## macOS 提供的库

- libffi

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.22.1
- 管理器更新时间: 2026-08-01
- 本地数据: OK
- 上游仓库: https://github.com/nickg/nvc
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** nvc
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- 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


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [zstd](https://pkg.so/zh-hans/brew/zstd/) - Runtime dependency declared by Homebrew.
- [llvm](https://pkg.so/zh-hans/brew/llvm/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [check](https://pkg.so/zh-hans/brew/check/) - Build dependency declared by Homebrew.
- [dtc](https://pkg.so/zh-hans/brew/dtc/) - Shares pkgdb curated category or tags: cli, compiler, compilers, developer-tools.
- [nuitka](https://pkg.so/zh-hans/brew/nuitka/) - Shares pkgdb curated category or tags: cli, compiler, compilers, developer-tools.
- [cc65](https://pkg.so/zh-hans/brew/cc65/) - Shares pkgdb curated category or tags: cli, compiler, compilers, developer-tools.
- [pythran](https://pkg.so/zh-hans/brew/pythran/) - Shares pkgdb curated category or tags: cli, compiler, compilers, developer-tools.
- [mlton](https://pkg.so/zh-hans/brew/mlton/) - Shares pkgdb curated category or tags: cli, compiler, compilers, developer-tools.
- [m68k-elf-gcc](https://pkg.so/zh-hans/brew/m68k-elf-gcc/) - Shares pkgdb curated category or tags: cli, compiler, compilers, developer-tools.
- [mingw-w64](https://pkg.so/zh-hans/brew/mingw-w64/) - Shares pkgdb curated category or tags: cli, compilers, developer-tools.
- [creduce](https://pkg.so/zh-hans/brew/creduce/) - Shares pkgdb curated category or tags: cli, compilers, developer-tools.
- [bsc](https://pkg.so/zh-hans/brew/bsc/) - Local package facts share a topical domain. Shared terms: cli, compiler, description, developer, developer-tools.
- [alive2](https://pkg.so/zh-hans/brew/alive2/) - Local package facts share a topical domain. Shared terms: cli, compiler, developer, developer-tools, llvm.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
