package hardcaml_c

  1. Overview
  2. Docs
Hardcaml C Simulation Backend

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=a7c11117b5dfe0fe95a6f7401b26fa6dfe1aa2df1233d0ac96525d7f3fa4acbb

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: 26 May 2024

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 >= "3.11.0"
  2. ctypes-foreign
  3. ctypes >= "0.18.0"
  4. ppx_jane >= "v0.17" & < "v0.18"
  5. ppx_hardcaml >= "v0.17" & < "v0.18"
  6. hardcaml >= "v0.17" & < "v0.18"
  7. core_unix >= "v0.17" & < "v0.18"
  8. core >= "v0.17" & < "v0.18"
  9. ocaml >= "5.1.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.