HF RL Explorer

Repair a verified behavior in spinalhdl/spinalhdl.

Repair a verified behavior in spinalhdl/spinalhdl.: a task in OriGent-RL-Data (Harbor dataset). SpinalHDL has no Johnson (twisted-ring/Möbius) counter alongside Counter and CounterOH. Add a public JohnsonCounter utility in spinal.lib. Its class must expose a public constructor accepting a…

The task

SpinalHDL has no Johnson (twisted-ring/Möbius) counter alongside Counter and CounterOH. Add a public JohnsonCounter utility in spinal.lib. Its class must expose a public constructor accepting a scala.math.BigInt width. It should use a width-bit state register initialized to zero and produce the standard 2*width-state…

Part of henryen/OriGent-RL-Data.