Re: [myhdl-list] Restrictions for conversion
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2012-05-21 17:00:18
|
On 05/21/2012 02:06 PM, Christopher Felton wrote: > As I write this, I think the rules should be : > > 1. intbv can have a type None but not the other > Python built-in types: bool, int, long, etc. > (I realize only bool is convertible). Can you tell me in one sentence why intbv would need this, unlike the other types? It used to be a like that, and then I kicked it out because of too many issues with operators, and lack of a use case. None is used in TristateSignal to represent high-impedance. I don't see another useful use case. -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Python as a HDL: http://www.myhdl.org VHDL development, the modern way: http://www.sigasi.com World-class digital design: http://www.easics.com |