This patch adds code for the name() enumeration method. It currently only works in a context that defines the return width (e.g. an assignment). We may need to implement the string data type to get this to work 100%. Currently this will work if the width is defined and generates a "sorry" message if the method is called in a self-determined context.
This is only for development and there are currently no test suite changes.
Patch file
Applied to git master.