Re: [myhdl-list] myhdl with cython?
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2016-01-28 13:07:35
|
On 1/28/2016 2:02 AM, David Belohrad wrote: > when talking about pypy - has anyone succeeded to install there > scipy? I'm using that quite a lot to do all the signal analysis. I > did not manage to install it so for the moment I have to stick to > cPython to do myhdl (as from such analyses I usually get bit widths > and coefficients and other funny stuff). > > .d. No, I have not successfully used numpy/scipy with pypy. In the past I have done one of the following: 1) ran the HDL simulation separate in pypy and analysis in cpython; 2) implemented the functions I needed in pure python [1]. There seem to be some pure numpy implementations that can be used with pypy: https://github.com/wadetb/tinynumpy https://bitbucket.org/dblank/pure-numpy Regards, Chris [1] https://speakerdeck.com/cfelton/python-scientific-and-numerical-computing-fast-with-pypy > > > > Christopher Felton <chr...@gm...> writes: > >>> My question, what would taking all of time? >> >> The pypy jit has a "warm-up" time it will not improve run-time on >> simulations that execute quickly (less than a minute?). >> >> Regards, Chris >> >> |