Re: [myhdl-list] Setting of enum values
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2014-12-29 07:46:56
|
On 12/28/14, 5:24 AM, Henry Gomersall wrote: > Is there a way to set an enum to have a specific value? No, but you can set the "encoding" type. States = enum("IDLE", ..., encoding='binary') http://docs.myhdl.org/en/latest/manual/reference.html#myhdl.enum Regards, Chris |