Re: [myhdl-list] Slicing an unsigned intbv to a signed one
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2008-06-20 08:07:12
|
Blubaugh, David A. wrote: > Jan, > > > It looks as though I will have to utilize MyHDL for my Master's thesis. Sounds like you're not too happy with it, I hope it's not that bad :-) > In any case, I was wondering if there is a way to utilize fixed-point > within MyHDL as a way to successfully emulate floating-point? MyHDL is a pure python package, and designed in such a way that you should be able to use anything that Python offers for modeling. In particular, you should be able to use any number representation from the standard library or third parties in your models. I anticipate that you're going to ask about conversion and so I want to stress once again: MyHDL modeling is unconstrained, but conversion is very constrained. Conversion is limited to the few datatypes as described in the manual. in particular, in terms of number representation, you're limited to integers. Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Kaboutermansstraat 97, B-3000 Leuven, Belgium From Python to silicon: http://myhdl.jandecaluwe.com |