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.
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>
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>