package hardcaml_c

  1. Overview
  2. Docs
Hardcaml C Simulation Backend

Install

Dune Dependency

Authors

Maintainers

Sources

hardcaml_c-v0.16.0.tar.gz
sha256=38bc7b0b0bdb958c7855005452f8842540d28ef4a16dededabf8d48e0e43d143

Description

A fast C-based simulation backend for Hardcaml circuits.

The library transparently compiles a Hardcaml Circuit to C code, which is in turn compiled and linked into the running executable. The generated simulation object can be used like any other cyclesim simulation.

Published: 14 Jun 2023

README

Hardcaml C

Convert a Hardcaml design to a C based, cycle accurate, simulation model.

The simulation models can be transparently compiled to a shared library and loaded into the running design. A cyclesim compatible API is provided.

Dependencies (9)

  1. dune >= "2.0.0"
  2. ctypes-foreign
  3. ctypes >= "0.18.0"
  4. ppx_jane >= "v0.16" & < "v0.17"
  5. ppx_deriving_hardcaml >= "v0.16" & < "v0.17"
  6. hardcaml >= "v0.16" & < "v0.17"
  7. core_unix >= "v0.16" & < "v0.17"
  8. core >= "v0.16" & < "v0.17"
  9. ocaml >= "4.14.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.