Is implementing a classification algorithm possible w/ MyHDL?

Hello, I am trying to implement a OneR algorithm with MyHDL. Is it possible to model this with myhdl or would I have to make modifications/adjustments in order for it to convert successfully? An example of a OneR implementation in Python is https://github.com/mfreyeso/oner-scratch .

I suspect you’d need substantial changes - MyHDL does not convery arbitrary Python, but rather allows you to present your HDL in Python.

That said, it would be a good framework if you wanted to implement an HDL version of OneR…