Re: [myhdl-list] Setting of enum values
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2015-01-10 08:53:58
|
On 01/07/2015 01:23 PM, Henry Gomersall wrote: > Further to this, why not just extend the existing python Enum: MyHDL's enum was needed and implemented long before a python Enum proposal emerged. It may be useful to review the python Enum and reuse if possible. I have not done that. However - MyHDL's enum is intended to be modeled after VHDL, not C or C++ which blur the distinction between abstract enum types and integers. Jan -- 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 |