Re: [myhdl-list] myhdl with cython?
Brought to you by:
jandecaluwe
From: David B. <da...@be...> - 2016-01-26 14:05:08
|
Ok, It seems that I have missed that page. I'll check with PyPy then. Thanks .d. Christopher Felton <chr...@gm...> writes: > On 1/26/2016 2:13 AM, David Belohrad wrote: >> i've been fiddling with myhdl for about a week or so. I've tried to >> do some real stuff I do at work using myhdl. As a part of the project >> involves FIR filtering, I have used the example found on Christopher >> Felton's page (https://bitbucket.org/cfelton/examples) and hacked >> away m_firfilt entity using my own coefficients. Now, my filter has >> 891 taps and I've tried to simulate using a testbench how it reacts >> on unit-amplitude (it is a bandpass) input signal. >> >> It works great, at the same time it takes 'ages'. Simulation of such >> filter with roughly 5000 clock cycles takes almost 2 minutes. 4 times >> longer than I do with modelsim (from mentor). > > If you haven't seen this page it has some useful information: > http://www.myhdl.org/docs/performance.html > > >> >> So I wanted to check, whether it is feasible to use cython for these >> things. Following >> http://docs.cython.org/src/tutorial/cython_tutorial.html I hae >> created the setup and compiled in-the module using build_ext >> --inplace. >> > > I have not tried cython but I won't be surprised that > it would fail. It seems reasonable that you could > maybe compile only the function > > As far as the error posted, it seems the cython changed > the function somehow but that is just a guess. > > Regards, > Chris > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > myhdl-list mailing list > myh...@li... > https://lists.sourceforge.net/lists/listinfo/myhdl-list |