Re: Setting of enum values

Christopher Felton <[email protected]> Thu, 21 Jan 2016 13:09:55 -0600
Newsgroups gmane.comp.python.myhdl
Message-ID <[email protected]>
>
> I'm not happy about the solutions yet, altough I really appreciate the
> help I'm getting here (thanks!), but in my eyes, I just want to solve a
> simple problem. Has never anyone encountered this and made some
> thoughts? :/
>

Given your first example snips, this is one way to
generate constants:
https://gist.github.com/cfelton/50cb0fbed5f188fcc1bb#file-constant_type-py

Regards,
Chris




------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140