HF RL Explorer

Repair a verified behavior in llvm/circt.

Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The HWMemSimImpl pass (the -hw-memory-sim pass of circt-opt) lowers hw.module.generated modules that use the @FIRRTLMem generator schema into explicit simulation models. As part of that lowering it emits an…

The task

The HWMemSimImpl pass (the `-hw-memory-sim` pass of circt-opt) lowers `hw.module.generated` modules that use the `@FIRRTLMem` generator schema into explicit simulation models. As part of that lowering it emits an `ENABLE_INITIAL_MEM_` initial block in which, under `RANDOMIZE_MEM_INIT`, nested `sv.for` loops fill the…

Part of henryen/OriGent-SFT-Data.