Re: [myhdl-list] fixbv to current version of myhdl
Brought to you by:
jandecaluwe
From: Jose M. G. C. <ch...@gm...> - 2015-05-02 15:19:42
|
Dear Edward, That's the reason for the classes I made, they include the resize an it is fully working. Best, Jose M. > El 02/05/2015, a las 15:55, Edward Vidal <dev...@sb...> escribió: > > Chris, > At http://dev.myhdl.org/meps/mep-111.html > Limitations no resize (function yet). > Is this still true? > I see that you have a myhdl/_resize.py (in this merge). > > The steps you provided worked okay on my Ubuntu system. > > I will be trying on my Windows 8.1 box. > What does "develop" do when used in the setup.py? > > These are the results I get > python > Python 2.7.3 (default, Sep 26 2013, 20:03:06) > [GCC 4.6.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from myhdl import * > >>> ww = (26,18) > >>> ca1 = fixbv(-1.586134342)[ww] > >>> x2 = fixbv(100.0)[ww] > >>> print ca1 > -1.585938 > >>> print ca1*x2 > -158.593750 > Thanks > Regards > > Edward Vidal Jr. > e-mail dev...@sb... > 915-595-1613 > > > > On Friday, May 1, 2015 4:14 PM, Christopher Felton <chr...@gm...> wrote: > > > On 5/1/15 2:36 PM, Edward Vidal wrote: > > Hello all, > > I need Chris's fixbv in myhdl current 6afefa 04/28/15. > > What is the preferred method to add fixbv support? > > I have _fixbv.py from an older version. This wants to import from > > _intbv import intbv & from _simulator import now. > > Are these the only files that I need in my current working directory? > > Is fixbv going to be added sometime soon? > > The latest fixbv implementation is available on my > myhdl fork: > > https://github.com/cfelton/myhdl/tree/mep111_fixbv > > I believe you are familiar with the MEP that describes > the feature: > http://dev.myhdl.org/meps/mep-111.html > > Some additional information here: > http://www.dsprelated.com/showarticle/580.php (at the end) > > > To merge the fixbv into your clone you should be able to > do the following: > > >> cd <to your myhdl clone> > >> git remote add fixbv_repo https://github.com/cfelton/myhdl > >> git pull fixbv_repo mep111_fixbv > >> sudo python setup.py develop > > This will pull the fixbv into your MyHDL. When there are > updates you can update with a pull. > > Let me know if you have any issues. > > Regards, > > Chris > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > myhdl-list mailing list > myh...@li... > https://lists.sourceforge.net/lists/listinfo/myhdl-list > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > myhdl-list mailing list > myh...@li... > https://lists.sourceforge.net/lists/listinfo/myhdl-list |