Finally, I decided to make a pull request on github. Hope this can be accepted at some point so as to allow the development of component integration third party frameworks based on MyHDL.
I found it was a key feature for Evercore that was missing in MyHDL.