# 使用 Homebrew, Nix 安装 uhdm

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

## 安装

```sh
sudo av install brew:uhdm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install uhdm
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#uhdm
```

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

## 软件包事实

- **软件包键:** brew:uhdm
- **软件包管理器:** Homebrew
- **版本:** 1.86
- **来源摘要:** Universal Hardware Data Model, modeling of the SystemVerilog Object Model
- **主页:** <https://github.com/chipsalliance/UHDM>
- **仓库:** <https://github.com/chipsalliance/UHDM>
- **最后更新:** 2026-07-10T03:17:47Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- uhdm-cmp (别名)
- uhdm-dump (别名)
- uhdm-hier (别名)
- uhdm-lint (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

UHDM, the Universal Hardware Data Model, is a CHIPS Alliance data model and C++ library for representing the IEEE SystemVerilog object model with VPI access, serialization, visitors, listeners, and elaboration support.

### 项目历史

The public repository was created in 2019. The README describes UHDM's purpose as auto-generating a concrete C++ implementation of the SystemVerilog object model, a standard VPI facade, serialization and deserialization, visitor and listener traversal code, and elaboration logic.

UHDM's model is expressed in YAML files that follow the object-model portion of the SystemVerilog 2017 standard. The generated model can be populated by parsers such as Surelog or Verible and consumed by downstream tools such as Yosys and Verilator.

Release metadata shows v0.9.2 in 2022, v1.84 in 2024, and v1.85/v1.86 in 2025, reflecting its role as an evolving infrastructure library rather than a one-off command.

### 采用历史

UHDM adoption is strongest in the open-source EDA and hardware-description-language ecosystem. Its README explicitly names Surelog and Verible as producers and Yosys and Verilator as consumers, placing it in the interchange layer between SystemVerilog front ends and analysis, synthesis, or simulation tools.

The supplied package data records UHDM in Homebrew and Nix. For package users, that makes a complex C++/Cap'n Proto/SystemVerilog infrastructure component installable without building the entire open-source EDA stack by hand.

### 使用方式

Developers use UHDM as a library and toolset for creating, serializing, inspecting, elaborating, and traversing SystemVerilog designs. The Homebrew package exposes utilities such as uhdm-dump, uhdm-cmp, uhdm-hier, and uhdm-lint.

The README describes uhdm-dump as a way to produce a human-readable view of a serialized UHDM design, and it describes listener and visitor patterns for client applications that need to traverse designs while the data model evolves.

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

UHDM is significant to package maintainers because it is plumbing for open-source hardware tooling. It pulls together generated C++ code, serialization, VPI compatibility, optional Python bindings, and downstream EDA consumers, so a working package can unblock multiple SystemVerilog workflows.

In the package-nerd niche, UHDM represents the move from monolithic EDA tools toward separately packaged interchange libraries that distributions can compose into parsers, linters, synthesizers, and simulators.

### 时间线

- 2019: Public GitHub repository created.
- 2020: README linked a WOSET 2020 paper and presentation.
- 2022: v0.9.2 release published.
- 2024: v1.84 release published as a stable release.
- 2025: v1.86 release published.

### Related projects

- The README names Surelog and Verible as producers of UHDM data.
- The README names Yosys and Verilator as consumers of UHDM data.
- The README also points to Cap'n Proto for serialization and the IEEE SystemVerilog 2017 object model as the standards basis.

### 来源

- <https://api.github.com/repos/chipsalliance/UHDM>
- <https://api.github.com/repos/chipsalliance/UHDM/releases?per_page=10>
- <https://github.com/chipsalliance/UHDM>
- <https://raw.githubusercontent.com/chipsalliance/UHDM/master/INSTALL.md>
- <https://raw.githubusercontent.com/chipsalliance/UHDM/master/README.md>
- source_facts.executables
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - uhdm: normalized package name match | nixpkgs package indexes: pkgs/by-name/uh/uhdm/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/uhdm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/uhdm.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
