Skip to content
pubscout

rohd

0.7.4, released 4 days ago by an unverified publisher

Framework for describing and verifying hardware in Dart.

$ flutter pub add rohd
Source repository

What it does

ROHD lets you model hardware components, simulate them, and generate SystemVerilog or SystemC code. It includes a fast event‑based simulator, waveform capture, and tooling for IP integration.

AI-written summary of version 0.7.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a Dart‑based hardware description language
  • You want to generate SystemVerilog/SystemC from Dart
  • You want to unit‑test hardware logic in Dart

Skip it when

  • You are targeting a language other than Dart
  • You need a full EDA toolchain with vendor support

Strengths

  • Full Dart language support
  • Fast simulator with 4‑value logic
  • Integrated tooling (schematic, wave viewer, debugger)
  • Open source and free

Weaknesses

  • Not a traditional HDL, limited vendor tool integration
  • Requires learning a new framework
  • No native support for commercial EDA tools

Setup

Kind
Pure Dart
Effort
Medium
Code generation
No
Direct dependencies
6

Add rohd to pubspec, run `dart pub get`, optionally install VS Code extension for syntax and viewers.

import 'package:rohd/rohd.dart';

class MyModule extends Module {
  MyModule() : super('my_module');
  @override
  void build() {
    // define ports and logic here
  }
}

void main() {
  final m = MyModule();
  m.simulate();
}

Works with

Packages commonly used together with rohd: ones it builds on, ones built on it, and its own family.