Re: [myhdl-list] More thoughts and code towards dynamic code generation
Brought to you by:
jandecaluwe
From: Henry G. <he...@ma...> - 2016-05-02 12:12:24
|
On 02/05/16 12:50, Jan Decaluwe wrote: > Is the generated code convertible? Then we have an automated path > from initial code to silicon, and the problem is solved as > far as I am concerned. :) I think this could a be a really powerful technique. I'm going to have a play with it now - looking at e.g. auto loop unrolling. There is potentially a really neat tool flow here: Python -> High level translation library -> convertible code -> V* Currently, the convertible code has to be hand crafted, but it would be really cool if we could have an interim library that takes a MyHDL hierarchy and translates the functions into convertible code. It means complex cases can be handled through the translation library without it making the converter code unwieldy. I looked at PyPy for this a little while ago, but it was hard to penetrate (not least because of the rather dismissive response from the pypy developers) - Redbaron looks like it might be better suited to the problem (largely because it looks like it doesn't require any backend changes to the MyHDL converter code). Henry |