Commit Graph

7 Commits

Author SHA1 Message Date
Fabian Schuiki 719bbfde79
[CAPI] Add circt-capi target and build it in CI (#7017)
Add a `circt-capi` target that depends on all C API libraries. Introduce
a new `add_circt_public_c_api_library` CMake function that wraps around
the MLIR equivalent, but also adds a dependency from `circt-capi`. Make
at least the short integration tests CI job build the `circt-capi`
target to ensure it has a bit of CI coverage.
2024-05-09 11:21:33 -07:00
Schuyler Eldridge 48a2c30c67
[FIRRTL] latestFIRVersion -> exportFIRVersion, NFC
Change the name of the constexpr `latestFIRVersion` to `exportFIRVersion`
as this is not the "latest" version, but the version that is used when
exporting FIRRTL.  This will avoid confusion about what this is.

Make the `exportFIRVersion` the same as the `nextFIRVersion`.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
2023-09-28 13:54:45 -04:00
Robert Young eefcce8509
[FIRRTL] Clean up FIRVersion checking (#5865) 2023-08-16 21:21:33 -04:00
Sprite 17947c6047 [FIRRTL][CAPI] Get latest `FIRVersion` from a new static function 2023-08-14 23:27:24 +08:00
Sprite 9728f92ce2 [FIRRTL][CAPI] Fix undefined reference for `mlirExportFIRRTL` 2023-08-14 23:27:24 +08:00
Schuyler Eldridge 172afc3277
[FIRRTL] Change emitter to v3.0.0
Change the FIRRTL emitter to use v3.0.0 of the FIRRTL specification.
Logic for emitting an older version of the spec is still preserved.  There
is no option for choosing the spec version from the command line right
now.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
2023-06-30 12:02:46 -04:00
Sprite 1a71c4d957 [ExportFIRRTL] Implement C API 2023-06-13 23:46:35 +08:00