Skip to main content
HWComponents

Area, energy, latency, and leak power models for hardware components.


PyPI Python License Docs

CI Code style: black PRs Welcome


HWComponents provides area, energy, latency, and leak power estimates for hardware components in hardware architectures. It is part of the CiMLoop project and serves as the estimation backend for AccelForge.

Learn more at the website or on GitHub.

⚡ Features

  • Simple Python API for writing area, energy, latency, and leak power models. New models can be written in minutes.
  • Automatic parameter scaling across configurations, including scaling to different technology nodes.
  • Plugin ecosystem that automatically gathers components from installed Python packages.
  • Included model packages for multiple projects, plus a general-purpose component library.

📦 Install

# Core package
pip install hwcomponents

# Model packages
pip install hwcomponents-cacti
pip install hwcomponents-neurosim
pip install hwcomponents-adc
pip install hwcomponents-library

# List available models
hwc --list

🧪 Examples

See the notebooks/ directory for tutorials, and the docs for the full API.

📚 Cite

If you use HWComponents in your work, please cite this repository and the CiMLoop project:

@software{hwcomponents,
  author={Andrulis, Tanner},
  title={HWComponents},
  url={https://github.com/Accelergy-Project/hwcomponents},
  license={MIT},
}

@INPROCEEDINGS{cimloop,
  author={Andrulis, Tanner and Emer, Joel S. and Sze, Vivienne},
  booktitle={2024 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS)},
  title={CiMLoop: A Flexible, Accurate, and Fast Compute-In-Memory Modeling Tool},
  year={2024},
  pages={10-23},
  doi={10.1109/ISPASS61541.2024.00012}
}

Metadata

Release files for hwcomponents 1.0.114

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hwcomponents 1.0.114
File Size Uploaded Provenance
hwcomponents-1.0.114.tar.gz 42.6 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for hwcomponents 1.0.114
File Interpreter ABI Platform
hwcomponents-1.0.114-py3-none-any.whl Python 3 none any Details

Total release size: 42.6 MB

Release files / hwcomponents-1.0.114.tar.gz

Download URL hwcomponents-1.0.114.tar.gz
Size 42.6 MB
Tags Source
SHA-256 checksum
How to use checksums
42070f7af62f0a23184b0da6c8cbaff0e2cd2c4ef9ad9654de4ad9214cbb5dc7
BLAKE2b-256 checksum
How to use checksums
3e1d47725a2ff7d4d0428428e3de2fe3846f3d90fe96e41594931b803b23d8b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / hwcomponents-1.0.114-py3-none-any.whl

Download URL hwcomponents-1.0.114-py3-none-any.whl
Size 30.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97f4be0a08f69da7308dd4c003058aa1176fd6064b91291b43fde79211a33736
BLAKE2b-256 checksum
How to use checksums
ae191eb3413b59a06ff0d30b6ae74d9d033a08e2dc44eb0120947306943ba03d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Security for hwcomponents 1.0.114

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hwcomponents-1.0.114.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.114 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page