Open hgomersall opened 3 years ago
Thanks for the suggestion. I think there are some differences between these two frameworks that are fundamentally different.
kratos
is designed from ground-up to be fast. Most of the implementation is done in C++ with maximum parallelism. The python front-end is just a thin layer that offers syntax sugars.That being said, I think lots of front-end implementation are very similar. It might be interesting to see if it possible to take kratos
as MyHDL backend.
Please let me know if you have any suggestion on how to proceed forward.
Would it be possible to use kratos
as backend to scala
based HDL as well?
My guess if we compile kratos
with jython
on JVM, we would be able to use it as backend to scala based HDL. The HDL syntax are very much friendly in SpinalHDL which is scala based HDL. I guess if we could provide similar front end implementation in scala by using kratos
as a backend, that would be much more powerful than currently the scala based HDLs are.
It looks to me like kratos and MyHDL languages are pretty similar in both approach and implementation. It would be wonderful if there was some collaboration to try and work out what commonalities can be shared.