Re: More thoughts and code towards dynamic code generation
Henry Gomersall <[email protected]> Mon, 2 May 2016 13:12:11 +0100
| Newsgroups | gmane.comp.python.myhdl |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z