cxxrtl: add a C API for driving and introspecting designs.
authorwhitequark <whitequark@whitequark.org>
Fri, 5 Jun 2020 13:52:30 +0000 (13:52 +0000)
committerwhitequark <whitequark@whitequark.org>
Sat, 6 Jun 2020 21:12:55 +0000 (21:12 +0000)
commitc399359ed6ea8f1d380a88779664f95f9c2e58a9
tree4f0ef7d83ea87a27968226b32b4e269001022dbb
parentf6e16e7f4c65440783047d3f2b03563f36f6dae8
cxxrtl: add a C API for driving and introspecting designs.

Compared to the C++ API, the C API currently has two limitations:
  1. Memories cannot be updated in a race-free way.
  2. Black boxes cannot be implemented in C.
backends/cxxrtl/cxxrtl.cc
backends/cxxrtl/cxxrtl.h
backends/cxxrtl/cxxrtl_capi.cc [new file with mode: 0644]
backends/cxxrtl/cxxrtl_capi.h [new file with mode: 0644]