Repair a verified behavior in clash-lang/clash-compiler.
Repair a verified behavior in clash-lang/clash-compiler.: a task in OriGent-RL-Data (Harbor dataset). Clash's HDL code generation for the Integral class methods mishandles signed operands: the results of div on signed numbers are sometimes off by one, the results of mod are sometimes off by one…
The task
Clash's HDL code generation for the `Integral` class methods mishandles signed operands: the results of `div` on signed numbers are sometimes off by one, the results of `mod` are sometimes off by one divisor, some of the blackboxes emit HDL that is not valid, and `divMod`/`quotRem` on `Integer` cannot be compiled to…
Part of henryen/OriGent-RL-Data.