HF RL Explorer

Repair a verified behavior in ucsbarchlab/pyrtl.

Repair a verified behavior in ucsbarchlab/pyrtl.: a task in OriGent-SFT-Data (Harbor dataset). When a design containing a RomBlock is exported with OutputToVerilog , the generated Verilog declares the ROM storage but omits its initial contents. For example, build a design with a 2-bit input named…

The task

When a design containing a `RomBlock` is exported with `OutputToVerilog`, the generated Verilog declares the ROM storage but omits its initial contents. For example, build a design with a 2-bit input named `addr`, an 8-bit output named `data`, and `RomBlock(bitwidth=8, addrwidth=2, romdata=[0x12, 0xA5, 0x3C, 0x7E],…

Part of henryen/OriGent-SFT-Data.