hfim-cli 1.15.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hfim_cli-1.15.6/LICENSE +21 -0
- hfim_cli-1.15.6/PKG-INFO +131 -0
- hfim_cli-1.15.6/README.md +90 -0
- hfim_cli-1.15.6/THIRD_PARTY_NOTICES +166 -0
- hfim_cli-1.15.6/fim/__init__.py +42 -0
- hfim_cli-1.15.6/fim/analysis/__init__.py +53 -0
- hfim_cli-1.15.6/fim/analysis/burst_sdc.py +160 -0
- hfim_cli-1.15.6/fim/analysis/classifier.py +924 -0
- hfim_cli-1.15.6/fim/analysis/comparator.py +738 -0
- hfim_cli-1.15.6/fim/analysis/consolidate.py +625 -0
- hfim_cli-1.15.6/fim/analysis/csv_io.py +28 -0
- hfim_cli-1.15.6/fim/analysis/ecc_quartet.py +167 -0
- hfim_cli-1.15.6/fim/analysis/nvm_endurance_matrix.py +170 -0
- hfim_cli-1.15.6/fim/analysis/observable_state.py +945 -0
- hfim_cli-1.15.6/fim/analysis/reporter.py +712 -0
- hfim_cli-1.15.6/fim/analysis/results_txt.py +229 -0
- hfim_cli-1.15.6/fim/campaigns/__init__.py +28 -0
- hfim_cli-1.15.6/fim/campaigns/base_campaign.py +5151 -0
- hfim_cli-1.15.6/fim/campaigns/cache_campaign.py +233 -0
- hfim_cli-1.15.6/fim/campaigns/campaign_view.py +135 -0
- hfim_cli-1.15.6/fim/campaigns/csr_campaign.py +31 -0
- hfim_cli-1.15.6/fim/campaigns/fault_plan.py +105 -0
- hfim_cli-1.15.6/fim/campaigns/faultlist_builder.py +503 -0
- hfim_cli-1.15.6/fim/campaigns/gem5_parallel_runner.py +210 -0
- hfim_cli-1.15.6/fim/campaigns/golden_gate.py +158 -0
- hfim_cli-1.15.6/fim/campaigns/injection_point_selector.py +473 -0
- hfim_cli-1.15.6/fim/campaigns/memory_campaign.py +686 -0
- hfim_cli-1.15.6/fim/campaigns/parallel_runner.py +510 -0
- hfim_cli-1.15.6/fim/campaigns/register_campaign.py +617 -0
- hfim_cli-1.15.6/fim/campaigns/serial_feeder.py +169 -0
- hfim_cli-1.15.6/fim/cli.py +2652 -0
- hfim_cli-1.15.6/fim/configs/benchmarks/bitcount.yaml +11 -0
- hfim_cli-1.15.6/fim/configs/benchmarks/checksum.yaml +11 -0
- hfim_cli-1.15.6/fim/configs/benchmarks/dotprod_f64.yaml +12 -0
- hfim_cli-1.15.6/fim/configs/benchmarks/fibonacci.yaml +10 -0
- hfim_cli-1.15.6/fim/configs/boards/board_spec_schema.yaml +216 -0
- hfim_cli-1.15.6/fim/configs/boards/raspberry_pi_5.yaml +122 -0
- hfim_cli-1.15.6/fim/configs/boards/xuantie_c906.yaml +127 -0
- hfim_cli-1.15.6/fim/configs/boards/xuantie_c906_ruby_nvmain.yaml +85 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR3_1Gb_x8_1333.ini +69 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR3_4Gb_x16_1600.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR3_4Gb_x16_1866.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR3_4Gb_x4_1600.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR3_4Gb_x4_1866.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR3_4Gb_x8_1600.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR3_4Gb_x8_1866.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR3_8Gb_x16_1600.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR3_8Gb_x16_1866.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR3_8Gb_x4_1600.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR3_8Gb_x4_1866.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR3_8Gb_x8_1600.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR3_8Gb_x8_1866.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x16_1866.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x16_2133.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x16_2133_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x16_2400.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x16_2400_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x16_2666.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x16_2666_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x4_1866.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x4_2133.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x4_2133_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x4_2400.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x4_2400_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x4_2666.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x4_2666_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x8_1866.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x8_2133.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x8_2133_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x8_2400.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x8_2400_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x8_2666.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_4Gb_x8_2666_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x16_1866.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x16_2133.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x16_2133_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x16_2400.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x16_2400_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x16_2666.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x16_2666_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x16_2933.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x16_2933_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x16_3200.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x4_1866.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x4_2133.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x4_2133_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x4_2400.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x4_2400_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x4_2666.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x4_2666_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x4_2933.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x4_2933_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x4_3200.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x8_1866.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x8_2133.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x8_2133_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x8_2400.ini +77 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x8_2400_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x8_2666.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x8_2666_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x8_2933.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x8_2933_2.ini +67 -0
- hfim_cli-1.15.6/fim/configs/dramsim3/DDR4_8Gb_x8_3200.ini +67 -0
- hfim_cli-1.15.6/fim/configs/ecc_policies/c906.yaml +26 -0
- hfim_cli-1.15.6/fim/configs/matmul_aarch64.yaml +62 -0
- hfim_cli-1.15.6/fim/configs/mcpat/c906.xml +481 -0
- hfim_cli-1.15.6/fim/configs/mcpat/raspberry_pi_5.xml +405 -0
- hfim_cli-1.15.6/fim/configs/mcpat/sTemplate.xml +444 -0
- hfim_cli-1.15.6/fim/configs/mcpat/template.xml +405 -0
- hfim_cli-1.15.6/fim/configs/mmult.yaml +140 -0
- hfim_cli-1.15.6/fim/configs/mmult_memory_gem5.yaml +23 -0
- hfim_cli-1.15.6/fim/configs/nvmain/2D_DRAM_example.config +249 -0
- hfim_cli-1.15.6/fim/configs/nvmain/3D_DRAMCache_OffChipMemory_example.config +154 -0
- hfim_cli-1.15.6/fim/configs/nvmain/3D_DRAMCache_example.config +275 -0
- hfim_cli-1.15.6/fim/configs/nvmain/3D_DRAM_example.config +237 -0
- hfim_cli-1.15.6/fim/configs/nvmain/3D_PredictorDRC_example.config +277 -0
- hfim_cli-1.15.6/fim/configs/nvmain/3D_VariableDRC_example.config +278 -0
- hfim_cli-1.15.6/fim/configs/nvmain/Hybrid_DRAM_channel.config +249 -0
- hfim_cli-1.15.6/fim/configs/nvmain/Hybrid_NVM_channel.config +208 -0
- hfim_cli-1.15.6/fim/configs/nvmain/Hybrid_NVM_channel_BitModel.config +208 -0
- hfim_cli-1.15.6/fim/configs/nvmain/Hybrid_example.config +72 -0
- hfim_cli-1.15.6/fim/configs/nvmain/Hybrid_example_BitModel.config +72 -0
- hfim_cli-1.15.6/fim/configs/nvmain/PCM_ISSCC_2012_4GB.config +217 -0
- hfim_cli-1.15.6/fim/configs/nvmain/PCM_ISSCC_2012_4GB_BitModel.config +217 -0
- hfim_cli-1.15.6/fim/configs/nvmain/PCM_ISSCC_2012_4GB_BitModel_ECP.config +222 -0
- hfim_cli-1.15.6/fim/configs/nvmain/PCM_ISSCC_2012_4GB_ByteModel.config +217 -0
- hfim_cli-1.15.6/fim/configs/nvmain/PCM_ISSCC_2012_4GB_RowModel.config +217 -0
- hfim_cli-1.15.6/fim/configs/nvmain/PCM_ISSCC_2012_4GB_WordModel.config +217 -0
- hfim_cli-1.15.6/fim/configs/nvmain/PCM_MLC_estimated.config +233 -0
- hfim_cli-1.15.6/fim/configs/nvmain/PCM_MLC_example.config +232 -0
- hfim_cli-1.15.6/fim/configs/nvmain/PCM_MLC_example_BitModel.config +232 -0
- hfim_cli-1.15.6/fim/configs/nvmain/PerfectMemory.config +229 -0
- hfim_cli-1.15.6/fim/configs/nvmain/RRAM_ISSCC_2012_4GB.config +218 -0
- hfim_cli-1.15.6/fim/configs/nvmain/STTRAM_Everspin_4GB.config +217 -0
- hfim_cli-1.15.6/fim/configs/nvmain/STTRAM_Everspin_4GB_BitModel.config +217 -0
- hfim_cli-1.15.6/fim/configs/nvmain/printtrace.config +145 -0
- hfim_cli-1.15.6/fim/configs/nvmain/printtrace_bitflip.config +146 -0
- hfim_cli-1.15.6/fim/configs/quicksort_dmr.yaml +225 -0
- hfim_cli-1.15.6/fim/configs/rust_sort_array.yaml +28 -0
- hfim_cli-1.15.6/fim/configs/rust_sort_bss.yaml +38 -0
- hfim_cli-1.15.6/fim/configs/sum.yaml +149 -0
- hfim_cli-1.15.6/fim/configs/template.yaml +418 -0
- hfim_cli-1.15.6/fim/configs/toolchains.remote.json +14 -0
- hfim_cli-1.15.6/fim/core/__init__.py +161 -0
- hfim_cli-1.15.6/fim/core/artifacts/__init__.py +25 -0
- hfim_cli-1.15.6/fim/core/artifacts/adapters/__init__.py +146 -0
- hfim_cli-1.15.6/fim/core/artifacts/adapters/board.py +38 -0
- hfim_cli-1.15.6/fim/core/artifacts/adapters/config.py +115 -0
- hfim_cli-1.15.6/fim/core/artifacts/adapters/sdk.py +435 -0
- hfim_cli-1.15.6/fim/core/artifacts/adapters/simulator.py +139 -0
- hfim_cli-1.15.6/fim/core/artifacts/adapters/template.py +107 -0
- hfim_cli-1.15.6/fim/core/artifacts/classification.py +95 -0
- hfim_cli-1.15.6/fim/core/artifacts/hashing.py +265 -0
- hfim_cli-1.15.6/fim/core/artifacts/inputs.py +179 -0
- hfim_cli-1.15.6/fim/core/artifacts/records.py +238 -0
- hfim_cli-1.15.6/fim/core/artifacts/retention.py +504 -0
- hfim_cli-1.15.6/fim/core/artifacts/staleness.py +486 -0
- hfim_cli-1.15.6/fim/core/artifacts/store.py +202 -0
- hfim_cli-1.15.6/fim/core/artifacts/workspace.py +108 -0
- hfim_cli-1.15.6/fim/core/checkpoint.py +338 -0
- hfim_cli-1.15.6/fim/core/checkpoint_policy.py +171 -0
- hfim_cli-1.15.6/fim/core/classifier_view.py +96 -0
- hfim_cli-1.15.6/fim/core/clock_view.py +99 -0
- hfim_cli-1.15.6/fim/core/configuration/__init__.py +13 -0
- hfim_cli-1.15.6/fim/core/configuration/frozen.py +85 -0
- hfim_cli-1.15.6/fim/core/configuration/groups.py +41 -0
- hfim_cli-1.15.6/fim/core/configuration/includes.py +249 -0
- hfim_cli-1.15.6/fim/core/configuration/lifecycle_rules.py +83 -0
- hfim_cli-1.15.6/fim/core/configuration/reference.py +200 -0
- hfim_cli-1.15.6/fim/core/configuration/reference_docs.py +344 -0
- hfim_cli-1.15.6/fim/core/configuration/resolver.py +495 -0
- hfim_cli-1.15.6/fim/core/configuration/run_context.py +51 -0
- hfim_cli-1.15.6/fim/core/configuration/schema.py +784 -0
- hfim_cli-1.15.6/fim/core/configuration/sources.py +121 -0
- hfim_cli-1.15.6/fim/core/configuration/template_pins.py +79 -0
- hfim_cli-1.15.6/fim/core/fault_models.py +261 -0
- hfim_cli-1.15.6/fim/core/fim.py +452 -0
- hfim_cli-1.15.6/fim/core/gdb_controller.py +2053 -0
- hfim_cli-1.15.6/fim/core/gem5_controller.py +1226 -0
- hfim_cli-1.15.6/fim/core/gem5_launch.py +489 -0
- hfim_cli-1.15.6/fim/core/gem5_observable.py +202 -0
- hfim_cli-1.15.6/fim/core/gem5_producers.py +684 -0
- hfim_cli-1.15.6/fim/core/gem5_simulator.py +724 -0
- hfim_cli-1.15.6/fim/core/golden_view.py +94 -0
- hfim_cli-1.15.6/fim/core/hardware_cluster.py +236 -0
- hfim_cli-1.15.6/fim/core/hardware_simulator.py +992 -0
- hfim_cli-1.15.6/fim/core/hardware_spec.py +352 -0
- hfim_cli-1.15.6/fim/core/hardware_station.py +374 -0
- hfim_cli-1.15.6/fim/core/hardware_view.py +64 -0
- hfim_cli-1.15.6/fim/core/hardware_window.py +102 -0
- hfim_cli-1.15.6/fim/core/hook_view.py +52 -0
- hfim_cli-1.15.6/fim/core/lifecycle.py +433 -0
- hfim_cli-1.15.6/fim/core/machine_binding.py +317 -0
- hfim_cli-1.15.6/fim/core/ovp_plan.py +419 -0
- hfim_cli-1.15.6/fim/core/ovp_protocol.py +647 -0
- hfim_cli-1.15.6/fim/core/ovp_simulator.py +1201 -0
- hfim_cli-1.15.6/fim/core/ovp_view.py +99 -0
- hfim_cli-1.15.6/fim/core/qemu_controller.py +1396 -0
- hfim_cli-1.15.6/fim/core/qemu_launch.py +179 -0
- hfim_cli-1.15.6/fim/core/qemu_simulator.py +329 -0
- hfim_cli-1.15.6/fim/core/results_store.py +218 -0
- hfim_cli-1.15.6/fim/core/results_view.py +94 -0
- hfim_cli-1.15.6/fim/core/simulator_controller.py +298 -0
- hfim_cli-1.15.6/fim/core/simulator_manifest.py +739 -0
- hfim_cli-1.15.6/fim/core/station_host.py +277 -0
- hfim_cli-1.15.6/fim/install/__init__.py +16 -0
- hfim_cli-1.15.6/fim/install/ensure.py +182 -0
- hfim_cli-1.15.6/fim/install/home.py +126 -0
- hfim_cli-1.15.6/fim/install/index.py +122 -0
- hfim_cli-1.15.6/fim/install/index.yaml +59 -0
- hfim_cli-1.15.6/fim/install/prebuilt.py +120 -0
- hfim_cli-1.15.6/fim/install/probes.py +182 -0
- hfim_cli-1.15.6/fim/install/remote.py +165 -0
- hfim_cli-1.15.6/fim/install/sdk.py +178 -0
- hfim_cli-1.15.6/fim/install/setup.py +184 -0
- hfim_cli-1.15.6/fim/install/simulators.py +323 -0
- hfim_cli-1.15.6/fim/install/template.py +147 -0
- hfim_cli-1.15.6/fim/install/uninstall.py +149 -0
- hfim_cli-1.15.6/fim/provision/__init__.py +48 -0
- hfim_cli-1.15.6/fim/provision/catalog.py +278 -0
- hfim_cli-1.15.6/fim/provision/commands.py +1051 -0
- hfim_cli-1.15.6/fim/provision/doctor.py +291 -0
- hfim_cli-1.15.6/fim/provision/drain.py +117 -0
- hfim_cli-1.15.6/fim/provision/forms/__init__.py +4 -0
- hfim_cli-1.15.6/fim/provision/forms/docker.py +469 -0
- hfim_cli-1.15.6/fim/provision/forms/fake.py +281 -0
- hfim_cli-1.15.6/fim/provision/forms/native.py +438 -0
- hfim_cli-1.15.6/fim/provision/fresh_layout.py +66 -0
- hfim_cli-1.15.6/fim/provision/hostdeps.py +229 -0
- hfim_cli-1.15.6/fim/provision/layout_units.py +148 -0
- hfim_cli-1.15.6/fim/provision/lock.py +100 -0
- hfim_cli-1.15.6/fim/provision/package.py +110 -0
- hfim_cli-1.15.6/fim/provision/plan.py +356 -0
- hfim_cli-1.15.6/fim/provision/privilege.py +259 -0
- hfim_cli-1.15.6/fim/provision/probe.py +117 -0
- hfim_cli-1.15.6/fim/provision/release.py +188 -0
- hfim_cli-1.15.6/fim/provision/sdk.py +102 -0
- hfim_cli-1.15.6/fim/provision/steps.py +324 -0
- hfim_cli-1.15.6/fim/provision/switch.py +80 -0
- hfim_cli-1.15.6/fim/provision/switch_recovery.py +165 -0
- hfim_cli-1.15.6/fim/remote/__init__.py +15 -0
- hfim_cli-1.15.6/fim/remote/access/__init__.py +203 -0
- hfim_cli-1.15.6/fim/remote/access/credential.py +46 -0
- hfim_cli-1.15.6/fim/remote/access/credentials/__init__.py +4 -0
- hfim_cli-1.15.6/fim/remote/access/credentials/command.py +50 -0
- hfim_cli-1.15.6/fim/remote/access/credentials/keychain.py +50 -0
- hfim_cli-1.15.6/fim/remote/access/credentials/none.py +16 -0
- hfim_cli-1.15.6/fim/remote/access/credentials/peer.py +25 -0
- hfim_cli-1.15.6/fim/remote/access/credentials/token.py +50 -0
- hfim_cli-1.15.6/fim/remote/access/spec.py +34 -0
- hfim_cli-1.15.6/fim/remote/access/transport.py +66 -0
- hfim_cli-1.15.6/fim/remote/access/transports/__init__.py +4 -0
- hfim_cli-1.15.6/fim/remote/access/transports/command.py +222 -0
- hfim_cli-1.15.6/fim/remote/access/transports/direct.py +39 -0
- hfim_cli-1.15.6/fim/remote/access/transports/ssh_tunnel.py +74 -0
- hfim_cli-1.15.6/fim/remote/api.py +245 -0
- hfim_cli-1.15.6/fim/remote/commands.py +625 -0
- hfim_cli-1.15.6/fim/remote/fetch.py +155 -0
- hfim_cli-1.15.6/fim/remote/follow.py +157 -0
- hfim_cli-1.15.6/fim/remote/journal.py +150 -0
- hfim_cli-1.15.6/fim/remote/location.py +108 -0
- hfim_cli-1.15.6/fim/remote/preflight.py +350 -0
- hfim_cli-1.15.6/fim/remote/servers.py +159 -0
- hfim_cli-1.15.6/fim/remote/snapshot.py +249 -0
- hfim_cli-1.15.6/fim/remote/submit.py +302 -0
- hfim_cli-1.15.6/fim/scripts/__init__.py +2 -0
- hfim_cli-1.15.6/fim/scripts/generate_report.py +108 -0
- hfim_cli-1.15.6/fim/scripts/run_campaign.py +1447 -0
- hfim_cli-1.15.6/fim/scripts/run_ecc_quartet.py +94 -0
- hfim_cli-1.15.6/fim/scripts/run_golden.py +2256 -0
- hfim_cli-1.15.6/fim/scripts/verify_provenance.py +61 -0
- hfim_cli-1.15.6/fim/utils/__init__.py +74 -0
- hfim_cli-1.15.6/fim/utils/board.py +378 -0
- hfim_cli-1.15.6/fim/utils/board_view.py +39 -0
- hfim_cli-1.15.6/fim/utils/config.py +1714 -0
- hfim_cli-1.15.6/fim/utils/coredump.py +28 -0
- hfim_cli-1.15.6/fim/utils/elf_parser.py +1118 -0
- hfim_cli-1.15.6/fim/utils/elf_provenance.py +140 -0
- hfim_cli-1.15.6/fim/utils/injection_file_writer.py +309 -0
- hfim_cli-1.15.6/fim/utils/logger.py +362 -0
- hfim_cli-1.15.6/fim/utils/picker.py +195 -0
- hfim_cli-1.15.6/fim/utils/prng.py +207 -0
- hfim_cli-1.15.6/fim/utils/provenance.py +873 -0
- hfim_cli-1.15.6/fim/utils/register_width.py +52 -0
- hfim_cli-1.15.6/hfim_cli.egg-info/PKG-INFO +131 -0
- hfim_cli-1.15.6/hfim_cli.egg-info/SOURCES.txt +444 -0
- hfim_cli-1.15.6/hfim_cli.egg-info/dependency_links.txt +1 -0
- hfim_cli-1.15.6/hfim_cli.egg-info/entry_points.txt +2 -0
- hfim_cli-1.15.6/hfim_cli.egg-info/requires.txt +12 -0
- hfim_cli-1.15.6/hfim_cli.egg-info/top_level.txt +1 -0
- hfim_cli-1.15.6/pyproject.toml +71 -0
- hfim_cli-1.15.6/scripts/gem5_to_mcpat.py +508 -0
- hfim_cli-1.15.6/setup.cfg +4 -0
- hfim_cli-1.15.6/tests/test_audit_fixes_core.py +495 -0
- hfim_cli-1.15.6/tests/test_backend_interface.py +75 -0
- hfim_cli-1.15.6/tests/test_backend_parity.py +409 -0
- hfim_cli-1.15.6/tests/test_base_campaign.py +2946 -0
- hfim_cli-1.15.6/tests/test_batch_config.py +205 -0
- hfim_cli-1.15.6/tests/test_bitwidth_coherence.py +148 -0
- hfim_cli-1.15.6/tests/test_board_geometry.py +69 -0
- hfim_cli-1.15.6/tests/test_board_properties.py +92 -0
- hfim_cli-1.15.6/tests/test_burst_sdc.py +246 -0
- hfim_cli-1.15.6/tests/test_c906_calibration.py +180 -0
- hfim_cli-1.15.6/tests/test_c906_inorder.py +182 -0
- hfim_cli-1.15.6/tests/test_c906_precision.py +128 -0
- hfim_cli-1.15.6/tests/test_cache_ecc.py +340 -0
- hfim_cli-1.15.6/tests/test_cache_ecc_on_read.py +713 -0
- hfim_cli-1.15.6/tests/test_cache_injection.py +406 -0
- hfim_cli-1.15.6/tests/test_cache_richness.py +392 -0
- hfim_cli-1.15.6/tests/test_checkpoint.py +439 -0
- hfim_cli-1.15.6/tests/test_checkpoint_multicluster.py +216 -0
- hfim_cli-1.15.6/tests/test_checkpoint_policy.py +155 -0
- hfim_cli-1.15.6/tests/test_classifier.py +1274 -0
- hfim_cli-1.15.6/tests/test_classifier_authority.py +219 -0
- hfim_cli-1.15.6/tests/test_cli.py +438 -0
- hfim_cli-1.15.6/tests/test_cli_golden_elf_path.py +71 -0
- hfim_cli-1.15.6/tests/test_comparator.py +959 -0
- hfim_cli-1.15.6/tests/test_comparator_classifier_integration.py +192 -0
- hfim_cli-1.15.6/tests/test_compare_state_dump.py +341 -0
- hfim_cli-1.15.6/tests/test_config.py +1525 -0
- hfim_cli-1.15.6/tests/test_contributor_collection.py +42 -0
- hfim_cli-1.15.6/tests/test_coredump.py +33 -0
- hfim_cli-1.15.6/tests/test_crash_oracle.py +102 -0
- hfim_cli-1.15.6/tests/test_dirty_preservation.py +217 -0
- hfim_cli-1.15.6/tests/test_dram_error_models.py +224 -0
- hfim_cli-1.15.6/tests/test_dramsim3.py +285 -0
- hfim_cli-1.15.6/tests/test_dramsim3_injection.py +113 -0
- hfim_cli-1.15.6/tests/test_ecc_check_bit_injection.py +314 -0
- hfim_cli-1.15.6/tests/test_ecc_quartet.py +222 -0
- hfim_cli-1.15.6/tests/test_elf_parser.py +1640 -0
- hfim_cli-1.15.6/tests/test_fault_models.py +412 -0
- hfim_cli-1.15.6/tests/test_fault_persistence.py +89 -0
- hfim_cli-1.15.6/tests/test_faultlist_replay.py +357 -0
- hfim_cli-1.15.6/tests/test_fim.py +663 -0
- hfim_cli-1.15.6/tests/test_fim_exit_icount_field.py +230 -0
- hfim_cli-1.15.6/tests/test_fim_sh.py +217 -0
- hfim_cli-1.15.6/tests/test_fleet_summary_files.py +202 -0
- hfim_cli-1.15.6/tests/test_fp_raw_transport.py +215 -0
- hfim_cli-1.15.6/tests/test_gdb_controller.py +2318 -0
- hfim_cli-1.15.6/tests/test_gdb_watchpoint.py +200 -0
- hfim_cli-1.15.6/tests/test_gem5_campaign_loop.py +288 -0
- hfim_cli-1.15.6/tests/test_gem5_controller_crash_detection.py +65 -0
- hfim_cli-1.15.6/tests/test_gem5_fault_draws.py +222 -0
- hfim_cli-1.15.6/tests/test_gem5_golden_cpu.py +76 -0
- hfim_cli-1.15.6/tests/test_gem5_launch.py +187 -0
- hfim_cli-1.15.6/tests/test_gem5_observable.py +108 -0
- hfim_cli-1.15.6/tests/test_gem5_patch_gate.py +133 -0
- hfim_cli-1.15.6/tests/test_gem5_producers.py +347 -0
- hfim_cli-1.15.6/tests/test_golden_execution_time.py +129 -0
- hfim_cli-1.15.6/tests/test_guest_console_completion.py +227 -0
- hfim_cli-1.15.6/tests/test_hybrid_channels.py +74 -0
- hfim_cli-1.15.6/tests/test_icount_hang_cutoff.py +278 -0
- hfim_cli-1.15.6/tests/test_injection_clock.py +50 -0
- hfim_cli-1.15.6/tests/test_injection_distribution.py +254 -0
- hfim_cli-1.15.6/tests/test_injection_file_writer.py +468 -0
- hfim_cli-1.15.6/tests/test_injection_landing_live.py +159 -0
- hfim_cli-1.15.6/tests/test_injection_window.py +364 -0
- hfim_cli-1.15.6/tests/test_integration.py +1986 -0
- hfim_cli-1.15.6/tests/test_lifecycle_hooks.py +234 -0
- hfim_cli-1.15.6/tests/test_logger.py +489 -0
- hfim_cli-1.15.6/tests/test_marker_witnesses.py +146 -0
- hfim_cli-1.15.6/tests/test_mcpat.py +356 -0
- hfim_cli-1.15.6/tests/test_memory_campaign.py +1460 -0
- hfim_cli-1.15.6/tests/test_memory_trust.py +664 -0
- hfim_cli-1.15.6/tests/test_mmult_memory_trust.py +368 -0
- hfim_cli-1.15.6/tests/test_model_enumeration.py +252 -0
- hfim_cli-1.15.6/tests/test_multi_arch.py +507 -0
- hfim_cli-1.15.6/tests/test_multi_bit_fault.py +188 -0
- hfim_cli-1.15.6/tests/test_multicore_injection.py +388 -0
- hfim_cli-1.15.6/tests/test_nvm_endurance_matrix_results.py +18 -0
- hfim_cli-1.15.6/tests/test_nvm_tech_coverage.py +83 -0
- hfim_cli-1.15.6/tests/test_nvmain.py +208 -0
- hfim_cli-1.15.6/tests/test_nvmain_addressing.py +130 -0
- hfim_cli-1.15.6/tests/test_nvmain_ecp.py +296 -0
- hfim_cli-1.15.6/tests/test_nvmain_endurance_models.py +143 -0
- hfim_cli-1.15.6/tests/test_o3cpu_coverage.py +250 -0
- hfim_cli-1.15.6/tests/test_observable_state.py +960 -0
- hfim_cli-1.15.6/tests/test_outcome_ownership.py +103 -0
- hfim_cli-1.15.6/tests/test_ovp_breakpoint.py +295 -0
- hfim_cli-1.15.6/tests/test_ovp_classification.py +108 -0
- hfim_cli-1.15.6/tests/test_ovp_config.py +153 -0
- hfim_cli-1.15.6/tests/test_ovp_csr.py +97 -0
- hfim_cli-1.15.6/tests/test_ovp_dispatch.py +79 -0
- hfim_cli-1.15.6/tests/test_ovp_driver_protocol.py +154 -0
- hfim_cli-1.15.6/tests/test_ovp_failure_paths.py +131 -0
- hfim_cli-1.15.6/tests/test_ovp_golden.py +84 -0
- hfim_cli-1.15.6/tests/test_ovp_hooks.py +135 -0
- hfim_cli-1.15.6/tests/test_ovp_inverted_cell.py +184 -0
- hfim_cli-1.15.6/tests/test_ovp_inverted_stack.py +94 -0
- hfim_cli-1.15.6/tests/test_ovp_memory.py +214 -0
- hfim_cli-1.15.6/tests/test_ovp_memory_per_core.py +180 -0
- hfim_cli-1.15.6/tests/test_ovp_memory_sections.py +42 -0
- hfim_cli-1.15.6/tests/test_ovp_multihart.py +355 -0
- hfim_cli-1.15.6/tests/test_ovp_multihart_bpdraw.py +220 -0
- hfim_cli-1.15.6/tests/test_ovp_multihart_draw.py +237 -0
- hfim_cli-1.15.6/tests/test_ovp_multihart_ext.py +160 -0
- hfim_cli-1.15.6/tests/test_ovp_outputs.py +161 -0
- hfim_cli-1.15.6/tests/test_ovp_package_parity.py +20 -0
- hfim_cli-1.15.6/tests/test_ovp_persistence.py +98 -0
- hfim_cli-1.15.6/tests/test_ovp_provenance.py +54 -0
- hfim_cli-1.15.6/tests/test_ovp_random.py +266 -0
- hfim_cli-1.15.6/tests/test_ovp_register_ext.py +120 -0
- hfim_cli-1.15.6/tests/test_ovp_smp_parity.py +48 -0
- hfim_cli-1.15.6/tests/test_ovp_stack_live_mh.py +296 -0
- hfim_cli-1.15.6/tests/test_ovp_stepi.py +239 -0
- hfim_cli-1.15.6/tests/test_ovp_stepi_draw.py +220 -0
- hfim_cli-1.15.6/tests/test_parallel_gem5.py +326 -0
- hfim_cli-1.15.6/tests/test_pc_exclude_hardening.py +177 -0
- hfim_cli-1.15.6/tests/test_pc_hit_trigger.py +136 -0
- hfim_cli-1.15.6/tests/test_per_level_ecc_policy.py +257 -0
- hfim_cli-1.15.6/tests/test_polarfire_u54_fp_inject.py +173 -0
- hfim_cli-1.15.6/tests/test_polarfire_u54_inject.py +211 -0
- hfim_cli-1.15.6/tests/test_power_model_provenance.py +169 -0
- hfim_cli-1.15.6/tests/test_precise_stop_margin.py +183 -0
- hfim_cli-1.15.6/tests/test_prng.py +348 -0
- hfim_cli-1.15.6/tests/test_provenance.py +467 -0
- hfim_cli-1.15.6/tests/test_provision_hostdeps.py +176 -0
- hfim_cli-1.15.6/tests/test_qemu_baseline_comparison.py +152 -0
- hfim_cli-1.15.6/tests/test_qemu_controller.py +812 -0
- hfim_cli-1.15.6/tests/test_register_campaign.py +654 -0
- hfim_cli-1.15.6/tests/test_register_trust.py +833 -0
- hfim_cli-1.15.6/tests/test_reporter.py +418 -0
- hfim_cli-1.15.6/tests/test_results_store.py +141 -0
- hfim_cli-1.15.6/tests/test_results_txt_harts.py +123 -0
- hfim_cli-1.15.6/tests/test_riscv_xlen_conformance.py +356 -0
- hfim_cli-1.15.6/tests/test_robot_det_gates.py +128 -0
- hfim_cli-1.15.6/tests/test_ruby_coherence.py +279 -0
- hfim_cli-1.15.6/tests/test_ruby_mask_fidelity.py +177 -0
- hfim_cli-1.15.6/tests/test_run_campaign.py +1177 -0
- hfim_cli-1.15.6/tests/test_run_golden.py +1066 -0
- hfim_cli-1.15.6/tests/test_serial_feeder_injection_outdir.py +109 -0
- hfim_cli-1.15.6/tests/test_server_install_fixes.py +91 -0
- hfim_cli-1.15.6/tests/test_simulator_manifest.py +840 -0
- hfim_cli-1.15.6/tests/test_smp_ruby.py +77 -0
- hfim_cli-1.15.6/tests/test_stack_sp_window.py +158 -0
- hfim_cli-1.15.6/tests/test_stall_record.py +40 -0
- hfim_cli-1.15.6/tests/test_stuck_at_cache.py +172 -0
- hfim_cli-1.15.6/tests/test_tag_array_ecc.py +270 -0
- hfim_cli-1.15.6/tests/test_target_core_draw.py +279 -0
- hfim_cli-1.15.6/tests/test_toolchain_host_aware.py +97 -0
- hfim_cli-1.15.6/tests/test_typeless_observables.py +158 -0
- hfim_cli-1.15.6/tests/test_u54_firmware_boot.py +253 -0
- hfim_cli-1.15.6/tests/test_u54_multicore_campaign.py +209 -0
- hfim_cli-1.15.6/tests/test_ultra_injector.py +262 -0
- hfim_cli-1.15.6/tests/test_wearstorm.py +122 -0
- hfim_cli-1.15.6/tests/test_zephyr_runtime.py +143 -0
hfim_cli-1.15.6/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 HI-REST and the HFIM contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
hfim_cli-1.15.6/PKG-INFO
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: hfim-cli
|
|
3
|
+
Version: 1.15.6
|
|
4
|
+
Summary: HFIM fault-injection controller. Drives packaged simulators (QEMU, gem5) against instrumented benchmarks and classifies the outcomes.
|
|
5
|
+
Author: HI-REST
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/HI-REST/hfim
|
|
8
|
+
Project-URL: Documentation, https://github.com/HI-REST/hfim/tree/main/docs
|
|
9
|
+
Project-URL: Issues, https://github.com/HI-REST/hfim/issues
|
|
10
|
+
Project-URL: Changelog, https://github.com/HI-REST/hfim/releases
|
|
11
|
+
Keywords: fault injection,reliability,soft errors,RISC-V,QEMU,gem5,OVP,SEU
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Environment :: Console
|
|
14
|
+
Classifier: Intended Audience :: Science/Research
|
|
15
|
+
Classifier: Operating System :: MacOS
|
|
16
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Topic :: Scientific/Engineering
|
|
25
|
+
Classifier: Topic :: System :: Emulators
|
|
26
|
+
Requires-Python: >=3.9
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
License-File: LICENSE
|
|
29
|
+
License-File: THIRD_PARTY_NOTICES
|
|
30
|
+
Requires-Dist: pyyaml>=6.0
|
|
31
|
+
Requires-Dist: pyelftools>=0.29
|
|
32
|
+
Requires-Dist: jinja2>=3.0
|
|
33
|
+
Requires-Dist: pygdbmi>=0.11
|
|
34
|
+
Requires-Dist: httpx>=0.27
|
|
35
|
+
Requires-Dist: keyring>=24
|
|
36
|
+
Requires-Dist: pyserial>=3.5
|
|
37
|
+
Provides-Extra: keychain
|
|
38
|
+
Provides-Extra: dev
|
|
39
|
+
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
40
|
+
Dynamic: license-file
|
|
41
|
+
|
|
42
|
+
<p align="center">
|
|
43
|
+
<picture>
|
|
44
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/HI-REST/hfim/main/docs/assets/hfim-wordmark-dark.svg">
|
|
45
|
+
<img src="https://raw.githubusercontent.com/HI-REST/hfim/main/docs/assets/hfim-wordmark-light.svg" alt="HFIM, a HI-REST project" width="620">
|
|
46
|
+
</picture>
|
|
47
|
+
</p>
|
|
48
|
+
|
|
49
|
+
<p align="center">
|
|
50
|
+
<a href="https://pypi.org/project/hfim-cli/"><img src="https://img.shields.io/pypi/v/hfim-cli?color=127c8c&label=PyPI" alt="PyPI version"></a>
|
|
51
|
+
<a href="https://pypi.org/project/hfim-cli/"><img src="https://img.shields.io/pypi/pyversions/hfim-cli?color=1d2340" alt="Python versions"></a>
|
|
52
|
+
<a href="https://github.com/HI-REST/hfim/blob/main/LICENSE"><img src="https://img.shields.io/badge/licence-MIT-127c8c" alt="MIT licence"></a>
|
|
53
|
+
<a href="https://hi-rest.github.io/hfim/"><img src="https://img.shields.io/badge/docs-manual-1d2340" alt="Manual"></a>
|
|
54
|
+
<a href="https://hi-rest.github.io/hfim/backends/index.html"><img src="https://img.shields.io/badge/backends-QEMU%20%C2%B7%20gem5%20%C2%B7%20OVP%20%C2%B7%20boards-e0a21b" alt="Backends: QEMU, gem5, OVP, boards"></a>
|
|
55
|
+
</p>
|
|
56
|
+
|
|
57
|
+
HFIM (Fault-Injection Manager) is an automated framework for early reliability assessment of embedded microprocessors, both single-core and multicore. It runs a program, flips bits in registers, memory, caches or deeper hardware structures at chosen instants, and classifies what each fault did to the result. Campaigns run on QEMU, gem5 and OVP, or on a real board, and are reproducible from a seed.
|
|
58
|
+
|
|
59
|
+
<p align="center">
|
|
60
|
+
<picture>
|
|
61
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/HI-REST/hfim/main/docs/assets/hfim-architecture-dark.svg">
|
|
62
|
+
<img src="https://raw.githubusercontent.com/HI-REST/hfim/main/docs/assets/hfim-architecture-light.svg" alt="A campaign file goes to the HFIM controller, which records a golden run, draws a seeded fault list and injects each fault into QEMU, gem5, OVP or a hardware board. Each run is classified as masked, sdc, detected, crash or timeout." width="100%">
|
|
63
|
+
</picture>
|
|
64
|
+
</p>
|
|
65
|
+
|
|
66
|
+
## Quick start
|
|
67
|
+
|
|
68
|
+
You need Linux or macOS, Python 3.9 or newer, git, pipx and a running Docker. The PyPI package is `hfim-cli`; the command it installs is `hfim`.
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
pipx install hfim-cli # or: python3 -m pip install hfim-cli
|
|
72
|
+
hfim init # pick a board template; installs its simulator and SDK
|
|
73
|
+
cd nezha-c906-qemu
|
|
74
|
+
hfim run campaigns/fibonacci/register.yaml
|
|
75
|
+
hfim report # HTML report of the latest campaign
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
`hfim init` lists the templates and asks for a folder; `hfim init nezha-c906-qemu my-campaigns` does the same without asking.
|
|
79
|
+
|
|
80
|
+
`hfim doctor` reports what the machine can run and the command for anything missing. The full walkthrough is in the [manual](https://hi-rest.github.io/hfim/#install).
|
|
81
|
+
|
|
82
|
+
## What it can do
|
|
83
|
+
|
|
84
|
+
| | QEMU | gem5 | OVP | Board |
|
|
85
|
+
|---|:---:|:---:|:---:|:---:|
|
|
86
|
+
| Registers, integer and float | ✓ | ✓ | ✓ | ✓ |
|
|
87
|
+
| Memory: variable, section, address range, stack | ✓ | ✓ | ✓ | ✓ |
|
|
88
|
+
| Caches: L1D, L1I, L2 data and tags, ECC check bits | | ✓ | | |
|
|
89
|
+
| DRAM error models, DRAM ECC, NVM tag store | | ✓ | | |
|
|
90
|
+
| Pipeline: ROB, LSQ, rename map, physical registers, branch predictor, TLB | | ✓ | | |
|
|
91
|
+
| Coherence state, Ruby MSHR, TBE, directory and message buffers | | ✓ | | |
|
|
92
|
+
| Time per injection | 1 to 3 s | 10 to 60 s | about 3 s | about 13 s |
|
|
93
|
+
|
|
94
|
+
Fault models: single-bit flip, multi-bit, stuck-at-0 and stuck-at-1, permanent faults on gem5, and exact replay of a fault list from CSV. Every injection ends as `masked`, `sdc`, `detected`, `crash` or `timeout`. See [fault targets](https://hi-rest.github.io/hfim/manual/fault-targets/index.html), [fault models](https://hi-rest.github.io/hfim/manual/fault-models/index.html) and [fault classification](https://hi-rest.github.io/hfim/manual/fault-classification.html).
|
|
95
|
+
|
|
96
|
+
## Examples
|
|
97
|
+
|
|
98
|
+
The [RV64 QEMU starter](https://github.com/HI-REST/hfim/blob/main/starters/virt-rv64-qemu/README.md) includes a Fibonacci benchmark and a motor controller. The controller exchanges samples with a separate plant process that you can replace with your own model.
|
|
99
|
+
|
|
100
|
+
## Documentation
|
|
101
|
+
|
|
102
|
+
- [Manual](https://hi-rest.github.io/hfim/): install, configure and run campaigns, read the results
|
|
103
|
+
- [Backends](https://hi-rest.github.io/hfim/backends/index.html) and [boards](https://hi-rest.github.io/hfim/boards/index.html): what each simulator and board supports
|
|
104
|
+
- [Reference](https://hi-rest.github.io/hfim/reference/index.html): every configuration key and output file
|
|
105
|
+
- [Server](https://github.com/HI-REST/hfim/blob/main/server/README.md): an optional queue and worker fleet for campaigns too long for one machine
|
|
106
|
+
|
|
107
|
+
## Contributing
|
|
108
|
+
|
|
109
|
+
See the [contributor guide](https://github.com/HI-REST/hfim/blob/main/CONTRIBUTING.md) for setup and tests, or the [extension guide](https://hi-rest.github.io/hfim/developers/extensions.html) to add a board, probe, model or connector. Report security issues as described in [SECURITY.md](https://github.com/HI-REST/hfim/blob/main/SECURITY.md).
|
|
110
|
+
|
|
111
|
+
## Contributors
|
|
112
|
+
|
|
113
|
+
- [Sergio Cuenca Asensi](https://es.linkedin.com/in/sergio-cuenca-asensi-1a33b29)
|
|
114
|
+
- [Alejandro Serrano Cases](https://es.linkedin.com/in/alejandro-serrano-cases)
|
|
115
|
+
- [Enrique Abma Romero](https://es.linkedin.com/in/enrique-abma-romero)
|
|
116
|
+
- [Maxim IJzelendoorn](https://es.linkedin.com/in/maxim-ijzelendoorn)
|
|
117
|
+
|
|
118
|
+
## Licence and citation
|
|
119
|
+
|
|
120
|
+
HFIM's original software is available under the [MIT License](https://github.com/HI-REST/hfim/blob/main/LICENSE). Bundled components have their own [third-party notices](https://github.com/HI-REST/hfim/blob/main/THIRD_PARTY_NOTICES).
|
|
121
|
+
|
|
122
|
+
If you use HFIM in a publication, please [cite HI-REST](https://github.com/HI-REST/hfim/blob/main/CITATION.cff) and include the release or commit you used.
|
|
123
|
+
|
|
124
|
+
<p align="center">
|
|
125
|
+
<a href="https://github.com/HI-REST">
|
|
126
|
+
<picture>
|
|
127
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/HI-REST/hfim/main/docs/assets/hi-rest-logo-dark.svg">
|
|
128
|
+
<img src="https://raw.githubusercontent.com/HI-REST/hfim/main/docs/assets/hi-rest-logo.svg" alt="HI-REST" width="140">
|
|
129
|
+
</picture>
|
|
130
|
+
</a>
|
|
131
|
+
</p>
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/HI-REST/hfim/main/docs/assets/hfim-wordmark-dark.svg">
|
|
4
|
+
<img src="https://raw.githubusercontent.com/HI-REST/hfim/main/docs/assets/hfim-wordmark-light.svg" alt="HFIM, a HI-REST project" width="620">
|
|
5
|
+
</picture>
|
|
6
|
+
</p>
|
|
7
|
+
|
|
8
|
+
<p align="center">
|
|
9
|
+
<a href="https://pypi.org/project/hfim-cli/"><img src="https://img.shields.io/pypi/v/hfim-cli?color=127c8c&label=PyPI" alt="PyPI version"></a>
|
|
10
|
+
<a href="https://pypi.org/project/hfim-cli/"><img src="https://img.shields.io/pypi/pyversions/hfim-cli?color=1d2340" alt="Python versions"></a>
|
|
11
|
+
<a href="https://github.com/HI-REST/hfim/blob/main/LICENSE"><img src="https://img.shields.io/badge/licence-MIT-127c8c" alt="MIT licence"></a>
|
|
12
|
+
<a href="https://hi-rest.github.io/hfim/"><img src="https://img.shields.io/badge/docs-manual-1d2340" alt="Manual"></a>
|
|
13
|
+
<a href="https://hi-rest.github.io/hfim/backends/index.html"><img src="https://img.shields.io/badge/backends-QEMU%20%C2%B7%20gem5%20%C2%B7%20OVP%20%C2%B7%20boards-e0a21b" alt="Backends: QEMU, gem5, OVP, boards"></a>
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
HFIM (Fault-Injection Manager) is an automated framework for early reliability assessment of embedded microprocessors, both single-core and multicore. It runs a program, flips bits in registers, memory, caches or deeper hardware structures at chosen instants, and classifies what each fault did to the result. Campaigns run on QEMU, gem5 and OVP, or on a real board, and are reproducible from a seed.
|
|
17
|
+
|
|
18
|
+
<p align="center">
|
|
19
|
+
<picture>
|
|
20
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/HI-REST/hfim/main/docs/assets/hfim-architecture-dark.svg">
|
|
21
|
+
<img src="https://raw.githubusercontent.com/HI-REST/hfim/main/docs/assets/hfim-architecture-light.svg" alt="A campaign file goes to the HFIM controller, which records a golden run, draws a seeded fault list and injects each fault into QEMU, gem5, OVP or a hardware board. Each run is classified as masked, sdc, detected, crash or timeout." width="100%">
|
|
22
|
+
</picture>
|
|
23
|
+
</p>
|
|
24
|
+
|
|
25
|
+
## Quick start
|
|
26
|
+
|
|
27
|
+
You need Linux or macOS, Python 3.9 or newer, git, pipx and a running Docker. The PyPI package is `hfim-cli`; the command it installs is `hfim`.
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
pipx install hfim-cli # or: python3 -m pip install hfim-cli
|
|
31
|
+
hfim init # pick a board template; installs its simulator and SDK
|
|
32
|
+
cd nezha-c906-qemu
|
|
33
|
+
hfim run campaigns/fibonacci/register.yaml
|
|
34
|
+
hfim report # HTML report of the latest campaign
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
`hfim init` lists the templates and asks for a folder; `hfim init nezha-c906-qemu my-campaigns` does the same without asking.
|
|
38
|
+
|
|
39
|
+
`hfim doctor` reports what the machine can run and the command for anything missing. The full walkthrough is in the [manual](https://hi-rest.github.io/hfim/#install).
|
|
40
|
+
|
|
41
|
+
## What it can do
|
|
42
|
+
|
|
43
|
+
| | QEMU | gem5 | OVP | Board |
|
|
44
|
+
|---|:---:|:---:|:---:|:---:|
|
|
45
|
+
| Registers, integer and float | ✓ | ✓ | ✓ | ✓ |
|
|
46
|
+
| Memory: variable, section, address range, stack | ✓ | ✓ | ✓ | ✓ |
|
|
47
|
+
| Caches: L1D, L1I, L2 data and tags, ECC check bits | | ✓ | | |
|
|
48
|
+
| DRAM error models, DRAM ECC, NVM tag store | | ✓ | | |
|
|
49
|
+
| Pipeline: ROB, LSQ, rename map, physical registers, branch predictor, TLB | | ✓ | | |
|
|
50
|
+
| Coherence state, Ruby MSHR, TBE, directory and message buffers | | ✓ | | |
|
|
51
|
+
| Time per injection | 1 to 3 s | 10 to 60 s | about 3 s | about 13 s |
|
|
52
|
+
|
|
53
|
+
Fault models: single-bit flip, multi-bit, stuck-at-0 and stuck-at-1, permanent faults on gem5, and exact replay of a fault list from CSV. Every injection ends as `masked`, `sdc`, `detected`, `crash` or `timeout`. See [fault targets](https://hi-rest.github.io/hfim/manual/fault-targets/index.html), [fault models](https://hi-rest.github.io/hfim/manual/fault-models/index.html) and [fault classification](https://hi-rest.github.io/hfim/manual/fault-classification.html).
|
|
54
|
+
|
|
55
|
+
## Examples
|
|
56
|
+
|
|
57
|
+
The [RV64 QEMU starter](https://github.com/HI-REST/hfim/blob/main/starters/virt-rv64-qemu/README.md) includes a Fibonacci benchmark and a motor controller. The controller exchanges samples with a separate plant process that you can replace with your own model.
|
|
58
|
+
|
|
59
|
+
## Documentation
|
|
60
|
+
|
|
61
|
+
- [Manual](https://hi-rest.github.io/hfim/): install, configure and run campaigns, read the results
|
|
62
|
+
- [Backends](https://hi-rest.github.io/hfim/backends/index.html) and [boards](https://hi-rest.github.io/hfim/boards/index.html): what each simulator and board supports
|
|
63
|
+
- [Reference](https://hi-rest.github.io/hfim/reference/index.html): every configuration key and output file
|
|
64
|
+
- [Server](https://github.com/HI-REST/hfim/blob/main/server/README.md): an optional queue and worker fleet for campaigns too long for one machine
|
|
65
|
+
|
|
66
|
+
## Contributing
|
|
67
|
+
|
|
68
|
+
See the [contributor guide](https://github.com/HI-REST/hfim/blob/main/CONTRIBUTING.md) for setup and tests, or the [extension guide](https://hi-rest.github.io/hfim/developers/extensions.html) to add a board, probe, model or connector. Report security issues as described in [SECURITY.md](https://github.com/HI-REST/hfim/blob/main/SECURITY.md).
|
|
69
|
+
|
|
70
|
+
## Contributors
|
|
71
|
+
|
|
72
|
+
- [Sergio Cuenca Asensi](https://es.linkedin.com/in/sergio-cuenca-asensi-1a33b29)
|
|
73
|
+
- [Alejandro Serrano Cases](https://es.linkedin.com/in/alejandro-serrano-cases)
|
|
74
|
+
- [Enrique Abma Romero](https://es.linkedin.com/in/enrique-abma-romero)
|
|
75
|
+
- [Maxim IJzelendoorn](https://es.linkedin.com/in/maxim-ijzelendoorn)
|
|
76
|
+
|
|
77
|
+
## Licence and citation
|
|
78
|
+
|
|
79
|
+
HFIM's original software is available under the [MIT License](https://github.com/HI-REST/hfim/blob/main/LICENSE). Bundled components have their own [third-party notices](https://github.com/HI-REST/hfim/blob/main/THIRD_PARTY_NOTICES).
|
|
80
|
+
|
|
81
|
+
If you use HFIM in a publication, please [cite HI-REST](https://github.com/HI-REST/hfim/blob/main/CITATION.cff) and include the release or commit you used.
|
|
82
|
+
|
|
83
|
+
<p align="center">
|
|
84
|
+
<a href="https://github.com/HI-REST">
|
|
85
|
+
<picture>
|
|
86
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/HI-REST/hfim/main/docs/assets/hi-rest-logo-dark.svg">
|
|
87
|
+
<img src="https://raw.githubusercontent.com/HI-REST/hfim/main/docs/assets/hi-rest-logo.svg" alt="HI-REST" width="140">
|
|
88
|
+
</picture>
|
|
89
|
+
</a>
|
|
90
|
+
</p>
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
Third-party notices for HFIM
|
|
2
|
+
============================
|
|
3
|
+
|
|
4
|
+
The following notices accompany material included or adapted in HFIM.
|
|
5
|
+
The license selected for HFIM's original contributions does not replace
|
|
6
|
+
the applicable upstream terms.
|
|
7
|
+
|
|
8
|
+
DRAMsim3 configurations
|
|
9
|
+
-----------------------
|
|
10
|
+
The INI files in fim/configs/dramsim3/ reproduce upstream DRAMsim3 configs.
|
|
11
|
+
Source: https://github.com/umd-memsys/DRAMsim3/tree/29817593b3389f1337235d63cac515024ab8fd6e/configs
|
|
12
|
+
Notice: https://github.com/umd-memsys/DRAMsim3/blob/29817593b3389f1337235d63cac515024ab8fd6e/LICENSE
|
|
13
|
+
|
|
14
|
+
Copyright (c) 2019, University of Maryland Memory-Systems Research
|
|
15
|
+
|
|
16
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
17
|
+
copy of this software and associated documentation files (the
|
|
18
|
+
"Software"), to deal in the Software without restriction, including
|
|
19
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
20
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
21
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
22
|
+
the following conditions:
|
|
23
|
+
|
|
24
|
+
The above copyright notice and this permission notice shall be included
|
|
25
|
+
in all copies or substantial portions of the Software.
|
|
26
|
+
|
|
27
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
28
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
29
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
30
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
31
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
32
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
33
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
34
|
+
|
|
35
|
+
NVMain configurations
|
|
36
|
+
---------------------
|
|
37
|
+
fim/configs/nvmain/ contains configurations from NVMain and variants
|
|
38
|
+
for different cell models and error correction. The upstream project
|
|
39
|
+
publishes its redistribution terms in its source headers.
|
|
40
|
+
Source: https://github.com/OMA-NVM/nv-NVmain/tree/05b0e363752177ec53b28a6f20929fc413bed74b/Config
|
|
41
|
+
Notice: https://github.com/OMA-NVM/nv-NVmain/blob/05b0e363752177ec53b28a6f20929fc413bed74b/Banks/BankFactory.cpp
|
|
42
|
+
|
|
43
|
+
Copyright (c) 2012-2014, The Microsystems Design Labratory (MDL)
|
|
44
|
+
Department of Computer Science and Engineering, The Pennsylvania State University
|
|
45
|
+
All rights reserved.
|
|
46
|
+
|
|
47
|
+
This source code is part of NVMain - A cycle accurate timing, bit accurate
|
|
48
|
+
energy simulator for both volatile (e.g., DRAM) and non-volatile memory
|
|
49
|
+
(e.g., PCRAM). The source code is free and you can redistribute and/or
|
|
50
|
+
modify it by providing that the following conditions are met:
|
|
51
|
+
|
|
52
|
+
1) Redistributions of source code must retain the above copyright notice,
|
|
53
|
+
this list of conditions and the following disclaimer.
|
|
54
|
+
|
|
55
|
+
2) Redistributions in binary form must reproduce the above copyright notice,
|
|
56
|
+
this list of conditions and the following disclaimer in the documentation
|
|
57
|
+
and/or other materials provided with the distribution.
|
|
58
|
+
|
|
59
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
60
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
61
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
62
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
63
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
64
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
65
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
66
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
67
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
68
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
69
|
+
|
|
70
|
+
Gem5McPatParser translator and x86 template
|
|
71
|
+
-------------------------------------------
|
|
72
|
+
scripts/gem5_to_mcpat.py and fim/configs/mcpat/sTemplate.xml contain
|
|
73
|
+
material from Gem5McPatParser's Gem5McPATParser.py and
|
|
74
|
+
templates/template_x86.xml, respectively, with local modifications.
|
|
75
|
+
Source: https://github.com/saideeptiku/Gem5McPatParser/tree/3809a8f823a0403d8b5d8c3adbf02f851e538dfa
|
|
76
|
+
Notice: https://github.com/saideeptiku/Gem5McPatParser/blob/3809a8f823a0403d8b5d8c3adbf02f851e538dfa/LICENSE
|
|
77
|
+
|
|
78
|
+
MIT License
|
|
79
|
+
|
|
80
|
+
Copyright (c) 2018 Dhruv Acharya
|
|
81
|
+
|
|
82
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
83
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
84
|
+
in the Software without restriction, including without limitation the rights
|
|
85
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
86
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
87
|
+
furnished to do so, subject to the following conditions:
|
|
88
|
+
|
|
89
|
+
The above copyright notice and this permission notice shall be included in all
|
|
90
|
+
copies or substantial portions of the Software.
|
|
91
|
+
|
|
92
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
93
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
94
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
95
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
96
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
97
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
98
|
+
SOFTWARE.
|
|
99
|
+
|
|
100
|
+
McPAT processor descriptions
|
|
101
|
+
----------------------------
|
|
102
|
+
The generic and Raspberry Pi 5 XML profiles adapt the typed component layout
|
|
103
|
+
and CACTI defaults from the McPAT regression input distributed with gem5.
|
|
104
|
+
HFIM supplies the topology expansion, workload counters and board parameters.
|
|
105
|
+
The C906 model also uses this reference with its own board parameters.
|
|
106
|
+
Source: https://github.com/gem5/gem5/blob/af72b9ba580546ac12ce05bfaac3fd53fa8699f4/ext/mcpat/regression/test-0/power_region0.xml
|
|
107
|
+
Notice: https://github.com/gem5/gem5/blob/af72b9ba580546ac12ce05bfaac3fd53fa8699f4/ext/mcpat/regression/README
|
|
108
|
+
|
|
109
|
+
Copyright (c) 2010-2014 Advanced Micro Devices, Inc.
|
|
110
|
+
All rights reserved.
|
|
111
|
+
|
|
112
|
+
Redistribution and use in source and binary forms, with or without
|
|
113
|
+
modification, are permitted provided that the following conditions are
|
|
114
|
+
met: redistributions of source code must retain the above copyright
|
|
115
|
+
notice, this list of conditions and the following disclaimer;
|
|
116
|
+
redistributions in binary form must reproduce the above copyright
|
|
117
|
+
notice, this list of conditions and the following disclaimer in the
|
|
118
|
+
documentation and/or other materials provided with the distribution;
|
|
119
|
+
neither the name of the copyright holders nor the names of its
|
|
120
|
+
contributors may be used to endorse or promote products derived from
|
|
121
|
+
this software without specific prior written permission.
|
|
122
|
+
|
|
123
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
124
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
125
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
126
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
127
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
128
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
129
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
130
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
131
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
132
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
133
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
134
|
+
|
|
135
|
+
Reference: https://github.com/HewlettPackard/mcpat/blob/74d4759f3ba2dff8f5a69e07a68efdb46b42fb8c/ProcessorDescriptionFiles/Xeon.xml
|
|
136
|
+
Notice: https://github.com/HewlettPackard/mcpat/blob/74d4759f3ba2dff8f5a69e07a68efdb46b42fb8c/array.cc
|
|
137
|
+
|
|
138
|
+
McPAT
|
|
139
|
+
SOFTWARE LICENSE AGREEMENT
|
|
140
|
+
Copyright 2012 Hewlett-Packard Development Company, L.P.
|
|
141
|
+
All Rights Reserved
|
|
142
|
+
|
|
143
|
+
Redistribution and use in source and binary forms, with or without
|
|
144
|
+
modification, are permitted provided that the following conditions are
|
|
145
|
+
met: redistributions of source code must retain the above copyright
|
|
146
|
+
notice, this list of conditions and the following disclaimer;
|
|
147
|
+
redistributions in binary form must reproduce the above copyright
|
|
148
|
+
notice, this list of conditions and the following disclaimer in the
|
|
149
|
+
documentation and/or other materials provided with the distribution;
|
|
150
|
+
neither the name of the copyright holders nor the names of its
|
|
151
|
+
contributors may be used to endorse or promote products derived from
|
|
152
|
+
this software without specific prior written permission.
|
|
153
|
+
|
|
154
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
155
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
156
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
157
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
158
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
159
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
160
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
161
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
162
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
163
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
164
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.”
|
|
165
|
+
|
|
166
|
+
*************************************************************************
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2026 HI-REST and the HFIM contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
3
|
+
|
|
4
|
+
"""
|
|
5
|
+
FIM - Fault Injection Manager.
|
|
6
|
+
|
|
7
|
+
A comprehensive fault injection framework for RISC-V C906 QEMU simulation.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
# The main controller is loaded lazily so that importing a lightweight
|
|
11
|
+
# subpackage (one that runs as a different OS user) does not drag in the whole core chain -- that chain opens the
|
|
12
|
+
# shared logs/fim.log at import time and dies with PermissionError when
|
|
13
|
+
# the importing user does not own the FIM tree.
|
|
14
|
+
__version__ = "1.15.6"
|
|
15
|
+
|
|
16
|
+
DOCS_URL = f"https://github.com/HI-REST/hfim/blob/v{__version__}/docs"
|
|
17
|
+
|
|
18
|
+
_LAZY = {
|
|
19
|
+
"FIM": "fim.core.fim",
|
|
20
|
+
"FIMError": "fim.core.fim",
|
|
21
|
+
"FIMConfigError": "fim.core.fim",
|
|
22
|
+
"FIMExecutionError": "fim.core.fim",
|
|
23
|
+
"create_fim": "fim.core.fim",
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def __getattr__(name):
|
|
28
|
+
module_path = _LAZY.get(name)
|
|
29
|
+
if module_path is None:
|
|
30
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
31
|
+
import importlib
|
|
32
|
+
|
|
33
|
+
module = importlib.import_module(module_path)
|
|
34
|
+
return getattr(module, name)
|
|
35
|
+
|
|
36
|
+
__all__ = [
|
|
37
|
+
"FIM",
|
|
38
|
+
"FIMError",
|
|
39
|
+
"FIMConfigError",
|
|
40
|
+
"FIMExecutionError",
|
|
41
|
+
"create_fim",
|
|
42
|
+
]
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2026 HI-REST and the HFIM contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
3
|
+
|
|
4
|
+
"""
|
|
5
|
+
FIM analysis package.
|
|
6
|
+
|
|
7
|
+
This package provides tools for analyzing fault injection campaign results:
|
|
8
|
+
- Outcome classification (FAIL* methodology)
|
|
9
|
+
- Golden run comparison
|
|
10
|
+
- Result reporting and visualization
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from fim.analysis.classifier import OutcomeClassifier, Outcome, ClassifierError
|
|
14
|
+
from fim.analysis.comparator import (
|
|
15
|
+
GoldenComparator,
|
|
16
|
+
StateComparator,
|
|
17
|
+
ComparatorError,
|
|
18
|
+
GoldenDataNotFoundError,
|
|
19
|
+
StateComparisonError,
|
|
20
|
+
DivergencePoint,
|
|
21
|
+
OutputDifference
|
|
22
|
+
)
|
|
23
|
+
from fim.analysis.reporter import CampaignReporter, ReporterError, generate_report
|
|
24
|
+
from fim.analysis.observable_state import (
|
|
25
|
+
ObservableState,
|
|
26
|
+
VariableValue,
|
|
27
|
+
MemoryRegion,
|
|
28
|
+
StateDifference,
|
|
29
|
+
ObservableStateError,
|
|
30
|
+
StateCaptureError
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
__all__ = [
|
|
34
|
+
'OutcomeClassifier',
|
|
35
|
+
'Outcome',
|
|
36
|
+
'ClassifierError',
|
|
37
|
+
'GoldenComparator',
|
|
38
|
+
'StateComparator',
|
|
39
|
+
'ComparatorError',
|
|
40
|
+
'GoldenDataNotFoundError',
|
|
41
|
+
'StateComparisonError',
|
|
42
|
+
'DivergencePoint',
|
|
43
|
+
'OutputDifference',
|
|
44
|
+
'CampaignReporter',
|
|
45
|
+
'ReporterError',
|
|
46
|
+
'generate_report',
|
|
47
|
+
'ObservableState',
|
|
48
|
+
'VariableValue',
|
|
49
|
+
'MemoryRegion',
|
|
50
|
+
'StateDifference',
|
|
51
|
+
'ObservableStateError',
|
|
52
|
+
'StateCaptureError',
|
|
53
|
+
]
|