package hardcaml_c

  1. Overview
  2. Docs
Hardcaml C Simulation Backend

Install

Dune Dependency

Authors

Maintainers

Sources

hardcaml_c-v0.15.0.tar.gz
sha256=58b900c19485b8fae5cd7999e0600bde12d59f199df7318ef3878ddcbe425af5

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: 21 Mar 2022

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.15" & < "v0.16"
  5. ppx_deriving_hardcaml >= "v0.15" & < "v0.16"
  6. hardcaml >= "v0.15" & < "v0.16"
  7. core_unix >= "v0.15" & < "v0.16"
  8. core >= "v0.15" & < "v0.16"
  9. ocaml >= "4.08.0"

Dev Dependencies

None

Used by

None

Conflicts

None