lib/origen/registers/reg.rb
# Returns the full name of the register when this has been specified in the register
# description like this:
#
#   # ** This is the Register Full Name **
#   # This register blah blah
#
# This method will also be called by bit collections to look up the name when
# defined in a similar manner in the bit description.
#
# If no name has been specified this will return nil.
Returns the full name of the register when this has been specified in the register
description like this.

This is the Register Full Name
This register blah blah

This method will also be called by bit collections to look up the name when
defined in a similar manner in the bit description.

If no name has been specified this will return nil.
Returns the full name of the register when this has been specified in the register description like this . This is the Register Full Name This register blah blah This method will also be called by bit collections to look up the name when defined in a similar manner in the bit description . If no name has been specified this will return nil .
def full_name(bitname = :_reg, _options = {})
        bitname, options = :_reg, bitname if bitname.is_a?(Hash)
        desc = description(bitname).first
        if desc && desc =~ /\s*\*\*\s*([^\*.]*)\s*\*\*/
          Regexp.last_match[1].strip
        end
      end
def full_name ( bitname = :_reg , _options = { } ) bitname , options = :_reg , bitname if bitname . is_a? ( Hash ) desc = description ( bitname ) . first if desc && desc =~ / \s * \* \* \s *([^ \* .]*) \s * \* \* / Regexp . last_match [ 1 ] . strip end end
Returns the full name of the register when this has been specified in the register
description like this:
Returns the full name of the register when this has been specified in the register description like this :
# Capture something like this: # ** This is the full name ** - This bit blah blah
bitname
<not_specific>
_options
<not_specific>