circt/test/firtool
Hideto Ueno 316ee410d0
[firtool] Add an option to emit HW MLIR into file (#8169)
This commit adds -output-hw-mlir option to firtool which emits HW IR into file in a similar way to -output-final-mlir.

This commit adds DumpIR pass to simplify the emission. It's currently not exposed to other tool as it's very specific to firtool pipeline (actually the pass indirectly uses cl options defined in firtool.cpp)
2025-02-10 10:19:22 -08:00
..
spec/refs [FIRRTL] Bump minimum to 2.0.0, remove partial conect (#5075) 2024-06-11 11:07:18 -05:00
annotation-error.fir [FIRRTL] Remove test usage of '<=' connect, NFC 2024-10-25 16:59:12 -04:00
annotation-openaggs-error.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
annotation-openaggs.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
assign-output-dirs.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
async-reset-anno.fir [FIRRTL][InferResets] Generalize FART to support sync reset (#7476) 2024-08-08 21:39:25 -07:00
async-reset.fir [FIRRTL][InferResets] Generalize FART to support sync reset (#7476) 2024-08-08 21:39:25 -07:00
blackbox-directories.fir [FIRRTL] Compute LCA of BlackBoxDir output files 2024-08-23 17:07:01 -04:00
blackbox-path.v [FIRRTL] Add black box reader pass (#918) 2021-05-21 20:01:58 +02:00
blackbox.mlir [FIRRTL] Make tests with filepaths platform agnostic 2022-10-19 17:41:50 -07:00
btor2-assertproperty.fir [HWToBTOR2] Generate register initial constant before state declaration (#7939) 2024-12-03 19:33:46 +00:00
btor2.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
canonicalize-away-assert-under-layer.fir [FIRRTL] Run canonicalizer again after IMCP (#7796) 2024-11-12 15:26:42 -05:00
chirrtl.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
chisel-interface.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
chisel_assert.fir [FIRRTL][NFC] Drop use of intmodule's in tests. (#7008) 2024-05-08 16:32:32 -05:00
classes-dedupe.fir [FIRRTL] Bump "next" FIRRTL version to 4.2.0 2025-01-02 15:06:14 -05:00
clock-gate.fir [FIRRTL][NFC] Replace intmodules with intrinsic expressions in test. (#7041) 2024-05-15 11:05:35 -05:00
clocking.fir [FIRRTL][NFC] Replace intmodules with intrinsic expressions in test. (#7041) 2024-05-15 11:05:35 -05:00
combinational-loop-errors.fir [firtool] Move SpecializeLayers before LowerLayers 2024-06-18 08:45:22 -07:00
combinational-loops.fir [firtool] verify that comb loop checking resolves last connects 2024-06-18 08:45:22 -07:00
commandline.mlir Don't read lowering options from hidden global options (#4038) 2022-10-04 15:41:03 -05:00
connect-errors.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
connect.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
convention.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
dedup-modules-with-output-dirs.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
dpi.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
export-ref.fir [FIRRTL][LowerXMR] Use FIRRTL 4.0 ref ABI. (#6677) 2024-02-08 16:46:43 -06:00
extract-test-code.fir [SV] Add Intermediary Assert Op for better enable polarity flip (#7302) 2024-07-12 10:34:04 -07:00
firtool-errors.mlir [firrtl] Remove CircuitOp::getMainModule 2023-11-28 15:48:40 -05:00
firtool.fir [FIRRTL] Remove all traces of OMIR JSON support. (#7907) 2024-11-26 16:42:55 -07:00
firtool.fir.anno.1.json [FIRRTL] clang-format annotation JSON, NFC 2022-07-06 22:19:43 -04:00
firtool.fir.anno.json [FIRRTL] clang-format annotation JSON, NFC 2022-07-06 22:19:43 -04:00
firtool.fir.omir.anno.json Object Model 2.0, Part 1: Read in OM 2.0 (#1915) 2021-10-01 20:55:54 -04:00
firtool.mlir [firtool] Add an option to emit HW MLIR into file (#8169) 2025-02-10 10:19:22 -08:00
formal.mlir [firtool] Fix formal test (#7894) 2024-11-25 13:01:48 -08:00
has_been_reset.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
import-ref.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
include-dirs-annotations.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
include-dirs.fir [firrtl] Remove CircuitOp::getMainModule 2023-11-28 15:48:40 -05:00
initialization-checking-errors.fir [firtool] Move SpecializeLayers before LowerLayers 2024-06-18 08:45:22 -07:00
instchoice.fir [FIRRTL] Bump "next" FIRRTL version to 4.2.0 2025-01-02 15:06:14 -05:00
layer-merge-across-inlined-submodule.fir [firtool] Run layer merge after inliner (#7780) 2024-11-07 17:25:37 -05:00
layers-rwprobe.fir fixup! [FIRRTL] Use new layer ABI 2024-08-29 17:13:42 -04:00
layers.fir fixup! [FIRRTL] Use new layer ABI 2024-08-29 17:13:42 -04:00
locators-diagnostics.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
lower-layers-directories.fir fixup! [FIRRTL] Use new layer ABI 2024-08-29 17:13:42 -04:00
lower-layers.fir [FIRRTL] Use PRINTF_FD macro instead of 0x80000002 as printf fd 2025-01-07 13:07:26 -08:00
lower-memories.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
mark-dut.fir [FIRRTL] Support MarkDUTAnnotation on extmodules. (#8001) 2024-12-17 13:11:34 -07:00
memory.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
memoryLowering.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
memoryMetadata.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
memoryMetadata.fir.anno.json [FIRRTL][CreateSifiveMetadata] Use symbols for memory metadata (#5482) 2023-06-27 14:02:50 -07:00
memoryMetadataRenameFail.fir [FIRRTL] Remove test usage of '<=' connect, NFC 2024-10-25 16:59:12 -04:00
memoryMetadataRenameFail.fir.anno.json [FIRRTL] rm SeqMemInstanceMetadataAnnotation, NFC 2024-11-06 23:20:27 -05:00
module-hier.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
name-preservation.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
optimizations.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
phase-ordering.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
plusargs.fir [FIRRTL][NFC] Replace intmodules with intrinsic expressions in test. (#7041) 2024-05-15 11:05:35 -05:00
prefixMemory.fir [FIRRTL] Remove NestedPrefixModulesAnnotation (#7944) 2024-12-04 13:34:14 -05:00
print-before.fir [FIRRTL] Bump minimum to 2.0.0, remove partial conect (#5075) 2024-06-11 11:07:18 -05:00
print.fir [FIRRTL] Use PRINTF_FD macro instead of 0x80000002 as printf fd 2025-01-07 13:07:26 -08:00
properties.fir [FIRRTL] Add end to end properties example 2023-08-23 15:54:56 -07:00
refs-in-aggs.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
register-optimization.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
register-randomization.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
specialize-layers-cli.fir [firtool] Change layer specialization CLI interface (#7520) 2024-08-15 10:55:22 -07:00
specialize-layers-default.fir [firtool] Add option to specify default layer specialization mode 2024-07-30 13:43:29 -07:00
specialize-layers.fir fixup! [FIRRTL] Use new layer ABI 2024-08-29 17:13:42 -04:00
split-verilog.mlir [ExportVerilog] Drop external module emission (#7558) 2024-08-28 10:56:55 -04:00
stop.fir [SV] Add MacroRefOp to represet macro statement (#7607) 2024-09-25 17:29:57 +09:00
style.fir [FIRRTL] Bump minimum to 2.0.0, remove partial conect (#5075) 2024-06-11 11:07:18 -05:00
sv-attr.fir [FIRRTL] Migrate tests to connect, invalidate, NFC 2024-10-25 01:03:45 -04:00
unr-only.fir [FIRRTL] Don't prefix an empty label for unclocked assume. (#7016) 2024-05-09 12:18:46 -05:00
verbatim-parameter.fir [FIRRTL][HW] Add verbatim literal support (#5774) 2023-08-08 10:15:09 -04:00
verbose-pass-executions.fir [FIRRTL] Bump minimum to 2.0.0, remove partial conect (#5075) 2024-06-11 11:07:18 -05:00
verif-under-when.fir [FIRRTL] Fix folding of when conditions into LTL properties (#7760) 2024-11-01 12:42:45 -07:00
verif.fir [FIRRTL][NFC] Replace intmodules with intrinsic expressions in test. (#7041) 2024-05-15 11:05:35 -05:00
views-directories-yaml.fir [FIRTOOL][NFC] Remove TODO from test. 2025-02-07 16:58:56 -06:00