Sha256: fc97a7e26b8be2cf933349b0ad1797278d353f9f9f839fdd42bca6dd627d03a5

Contents?: true

Size: 825 Bytes

Versions: 58

Compression:

Stored size: 825 Bytes

Contents

# ********************************************************************************
# Any attributes defined in this file be added to <%= @fullname %>
<% unless @nested -%>
# and all of its derivatives (if any).
<% end -%>
# ********************************************************************************

# To define an attribute simply declare instance variables and assign their
# values as shown below.
# Derivative classes will automatically inherit the values defined here unless
# they are overridden by a derivative attribute file.
#
# @address_width = 32
# @has_feature_x = true
#
# Accessors will automatically be created for any attributes defined in this file:
#
#   dut.address_width   # => 32
#   dut.has_feature_x   # => true
#   dut.has_feature_x?  # => true  <attribute>? methods are also added for booleans

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
origen-0.59.7 templates/code_generators/attributes.rb
origen-0.59.6 templates/code_generators/attributes.rb
origen-0.59.5 templates/code_generators/attributes.rb
origen-0.59.4 templates/code_generators/attributes.rb
origen-0.59.3 templates/code_generators/attributes.rb
origen-0.59.2 templates/code_generators/attributes.rb
origen-0.59.1 templates/code_generators/attributes.rb
origen-0.59.0 templates/code_generators/attributes.rb
origen-0.58.0 templates/code_generators/attributes.rb
origen-0.57.2 templates/code_generators/attributes.rb
origen-0.57.1 templates/code_generators/attributes.rb
origen-0.57.0 templates/code_generators/attributes.rb
origen-0.56.0 templates/code_generators/attributes.rb
origen-0.55.5 templates/code_generators/attributes.rb
origen-0.55.4 templates/code_generators/attributes.rb
origen-0.55.3 templates/code_generators/attributes.rb
origen-0.55.2 templates/code_generators/attributes.rb
origen-0.55.1 templates/code_generators/attributes.rb
origen-0.55.0 templates/code_generators/attributes.rb
origen-0.54.6 templates/code_generators/attributes.rb